摘要: 1、 runAsync 和 supplyAsync方法 CompletableFuture 提供了四个静态方法来创建一个异步操作。 public static CompletableFuture<Void> runAsync(Runnable runnable) public static Comp 阅读全文
posted @ 2021-05-30 17:12 LZ太热 阅读(74) 评论(0) 推荐(0) 编辑
摘要: JS数组的遍历方法有两种: 一:一般的for循环,例如: var a = new Array("first", "second", "third") for(var i = 0;i < a.length; i++) { document.write(a[i]+","); } 输出的结果:fitst, 阅读全文
posted @ 2021-05-30 16:29 LZ太热 阅读(635) 评论(0) 推荐(0) 编辑