摘要: 异步调用 CompletableFuture 异步执行 成功回调 失败回调 public class Demo01 { public static void main(String[] args) throws ExecutionException, InterruptedException { / 阅读全文
posted @ 2021-08-22 16:28 flypiggg 阅读(31) 评论(0) 推荐(0)
摘要: Stream流式计算 什么是Stream流式计算 大数据:存储+计算 集合、MySQL本质就是存储东西的 计算都应该交给流来操作 public class Test { public static void main(String[] args) { User u1 = new User(1,"a" 阅读全文
posted @ 2021-08-22 15:22 flypiggg 阅读(46) 评论(0) 推荐(0)