摘要:
## 介绍 - java.util.concurrent.locks.AbstractQueuedSynchronizer - public abstract class AbstractQueuedSynchronizer extends AbstractOwnableSynchronizer i 阅读全文
posted @ 2023-08-22 17:40
流星<。)#)))≦
阅读(96)
评论(0)
推荐(0)
摘要:
## 介绍 - java.util.concurrent.locks.Condition - public interface Condition - Condition将Object监视器方法( wait 、 notify和notifyAll )分解为不同的对象,通过将它们与任意Lock实现的使用 阅读全文
posted @ 2023-08-22 17:40
流星<。)#)))≦
阅读(21)
评论(0)
推荐(0)
摘要:
## 介绍 - `java.util.concurrent.locks.LockSupport` - `public class LockSupport` ## API ### static - setCurrentBlocker - `void setCurrentBlocker(Object b 阅读全文
posted @ 2023-08-22 17:40
流星<。)#)))≦
阅读(20)
评论(0)
推荐(0)
摘要:
## 介绍 - `java.util.concurrent.locks.ReentrantLock` - `public class ReentrantLock implements Lock, java.io.Serializable` - `ReentrantLock` 是使用 AQS 的标准范 阅读全文
posted @ 2023-08-22 17:39
流星<。)#)))≦
阅读(24)
评论(0)
推荐(0)
摘要:
## 介绍 - java.util.concurrent.atomic.AtomicInteger - `public class AtomicInteger extends Number implements java.io.Serializable` ## API ### 构造器 - Atomi 阅读全文
posted @ 2023-08-22 17:39
流星<。)#)))≦
阅读(70)
评论(0)
推荐(0)
摘要:
## 介绍 - java.lang.invoke.VarHandle - public abstract class VarHandle implements Constable - 在并发编程和底层内存访问上提供了一种更为灵活、安全和高效的方式 ## API - get , set - 保证原子性 阅读全文
posted @ 2023-08-22 17:39
流星<。)#)))≦
阅读(46)
评论(0)
推荐(0)
摘要:
## 介绍 - 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)
摘要:
## 介绍 - `java.util.Random` - `public class Random implements RandomGenerator, java.io.Serializable` ## API ### 构造器 - Random() - Random(long seed) - `s 阅读全文
posted @ 2023-08-22 17:38
流星<。)#)))≦
阅读(19)
评论(0)
推荐(0)
摘要:
## 介绍 - `java.util.random.RandomGenerator` - `public interface RandomGenerator` - `java.util.Random` 的父接口 ## API ### static - of - getDefault - ### pu 阅读全文
posted @ 2023-08-22 17:38
流星<。)#)))≦
阅读(46)
评论(0)
推荐(0)
摘要:
## 介绍 - `java.util.stream.Collectors` - `public final class Collectors` ## API ### static #### 生成集合 - toCollection - toList - toUnmodifiableList - toS 阅读全文
posted @ 2023-08-22 17:38
流星<。)#)))≦
阅读(48)
评论(0)
推荐(0)
摘要:
## 介绍 - `java.util.stream.IntStream` - `public interface IntStream extends BaseStream` - 基本类型流,其他两个是 `LongStream` , `DoubleStream` - 流中的值是原始类型 `int` - 阅读全文
posted @ 2023-08-22 17:38
流星<。)#)))≦
阅读(19)
评论(0)
推荐(0)
浙公网安备 33010602011771号