随笔分类 -  jdk8新特性

摘要:public class Test { public static void main(String[] args) { User u1 = new User(1, "a", 21); User u2 = new User(2, "b", 22); User u3 = new User(3, "c" 阅读全文
posted @ 2022-04-19 21:40 不写代码想写诗的虫子 阅读(161) 评论(0) 推荐(0) 编辑
摘要:函数型接口 源码分析 @FunctionalInterface public interface Function<T, R> { /** * Applies this function to the given argument. * * @param t the function argumen 阅读全文
posted @ 2022-04-19 21:38 不写代码想写诗的虫子 阅读(29) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示