摘要: 使用泛型与函数式接口定义类的转换工具类 函数式接口定义 @FunctionalInterface public interface MyListConverter<S,T> { T converter(S source); } 转换对象的定义 public class MyList<T> { pri 阅读全文
posted @ 2022-04-08 10:58 原来是晴天啊 阅读(255) 评论(0) 推荐(0)