上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 92 下一页
摘要: ## 介绍 - `java.util.concurrent.CompletionStage` - `public interface CompletionStage` - `java.util.concurrent.CompletableFuture` 的父接口 ## API 注意事项: - 所有方 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(21) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - java.util.concurrent.Executor - public interface Executor ## API - execute - `void execute(Runnable command);` 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - java.util.concurrent.ExecutorService - public interface ExecutorService extends Executor ## API - shutdown - shutdownNow - isShutdown - isTerm 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(7) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - java.util.concurrent.ScheduledExecutorService - public interface ScheduledExecutorService extends ExecutorService ## API - schedule - `public 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(21) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - java.util.concurrent.ThreadPoolExecutor - public class ThreadPoolExecutor extends AbstractExecutorService ## API ### 构造器 - `ThreadPoolExecutor 阅读全文
posted @ 2023-08-22 17:39 流星<。)#)))≦ 阅读(12) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.util.stream.BaseStream` - `public interface BaseStream> extends AutoCloseable` ## API - iterator - 返回流的迭代器 - 终结操作 - spliterator - 返回可拆分迭 阅读全文
posted @ 2023-08-22 17:38 流星<。)#)))≦ 阅读(5) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.util.IntSummaryStatistics` - `public class IntSummaryStatistics implements IntConsumer` - 统计的指标:count, sum, min, average, max ## API ### 阅读全文
posted @ 2023-08-22 17:38 流星<。)#)))≦ 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.util.Optional` - 类声明 ```java @jdk.internal.ValueBased public final class Optional ``` - 包装一个可能为 null 的值 - 只有在正确使用的情况下才会更安全 - 对应基本类型类:`Op 阅读全文
posted @ 2023-08-22 17:38 流星<。)#)))≦ 阅读(14) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.util.Random` - `public class Random implements RandomGenerator, java.io.Serializable` ## API ### 构造器 - Random() - Random(long seed) - `s 阅读全文
posted @ 2023-08-22 17:38 流星<。)#)))≦ 阅读(9) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.util.random.RandomGenerator` - `public interface RandomGenerator` - `java.util.Random` 的父接口 ## API ### static - of - getDefault - ### pu 阅读全文
posted @ 2023-08-22 17:38 流星<。)#)))≦ 阅读(24) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 92 下一页