会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
羽飞落
化繁为简
首页
管理
2024年4月28日
CompletableFuture 类详解
摘要: 1.runAsync、supplyAsync、get、join:开启异步任务,获取结果。 // runAsync:没有返回值 CompletableFuture<Void> future = CompletableFuture.runAsync(() -> { System.out.println(
阅读全文
posted @ 2024-04-28 20:07 Yfeil
阅读(51)
评论(0)
推荐(0)
编辑