上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 94 下一页
摘要: ## 介绍 - java.lang.ThreadLocal - public class ThreadLocal - 线程局部变量 ## API ### static 方法 - withInitial - ` ThreadLocal withInitial(Supplier supplier)` - 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(18) 评论(0) 推荐(0)
摘要: ## 介绍 - `java.util.concurrent.CompletableFuture` - `public class CompletableFuture implements Future, CompletionStage` ## API ### static - supplyAsync 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(54) 评论(0) 推荐(0)
摘要: ## 介绍 - `java.util.concurrent.CompletionStage` - `public interface CompletionStage` - `java.util.concurrent.CompletableFuture` 的父接口 ## API 注意事项: - 所有方 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(52) 评论(0) 推荐(0)
摘要: ## 介绍 - java.util.concurrent.Executor - public interface Executor ## API - execute - `void execute(Runnable command);` 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(14) 评论(0) 推荐(0)
摘要: ## 介绍 - java.util.concurrent.ExecutorService - public interface ExecutorService extends Executor ## API - shutdown - shutdownNow - isShutdown - isTerm 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(13) 评论(0) 推荐(0)
摘要: ## 介绍 - java.util.concurrent.ScheduledExecutorService - public interface ScheduledExecutorService extends ExecutorService ## API - schedule - `public 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(28) 评论(0) 推荐(0)
摘要: ## 介绍 - java.util.concurrent.ThreadPoolExecutor - public class ThreadPoolExecutor extends AbstractExecutorService ## API ### 构造器 - `ThreadPoolExecutor 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(33) 评论(0) 推荐(0)
摘要: ## 介绍 - `java.util.stream.BaseStream` - `public interface BaseStream> extends AutoCloseable` ## API - iterator - 返回流的迭代器 - 终结操作 - spliterator - 返回可拆分迭 阅读全文
posted @ 2023-08-22 17:38 流星<。)#)))≦ 阅读(14) 评论(0) 推荐(0)
摘要: ## 介绍 - `java.util.IntSummaryStatistics` - `public class IntSummaryStatistics implements IntConsumer` - 统计的指标:count, sum, min, average, max ## API ### 阅读全文
posted @ 2023-08-22 17:38 流星<。)#)))≦ 阅读(15) 评论(0) 推荐(0)
摘要: ## 介绍 - `java.util.Optional` - 类声明 ```java @jdk.internal.ValueBased public final class Optional ``` - 包装一个可能为 null 的值 - 只有在正确使用的情况下才会更安全 - 对应基本类型类:`Op 阅读全文
posted @ 2023-08-22 17:38 流星<。)#)))≦ 阅读(23) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 94 下一页