上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 94 下一页
摘要: ## 介绍 - java.io.DataInput - public interface DataInput ## API 读取字节 - readFully - `void readFully(byte b[]) throws IOException;` - `void readFully(byte 阅读全文
posted @ 2023-08-23 09:56 流星<。)#)))≦ 阅读(13) 评论(0) 推荐(0)
摘要: ## 介绍 - java.io.BufferedOutputStream - public class BufferedOutputStream extends FilterOutputStream - `write` 方法写入的字节先存入内部的 `byte buf[]` ,填满后再写入文件 ## 阅读全文
posted @ 2023-08-23 09:56 流星<。)#)))≦ 阅读(14) 评论(0) 推荐(0)
摘要: ## 介绍 - java.io.BufferedInputStream - public class BufferedInputStream extends FilterInputStream - `read` 方法读取字节时,先读取内部的缓冲区 `byte buf[]` ,当缓冲区读完后,从底层输 阅读全文
posted @ 2023-08-23 09:56 流星<。)#)))≦ 阅读(19) 评论(0) 推荐(0)
摘要: ## 介绍 - `java.io.Writer` - `public abstract class Writer implements Appendable, Closeable, Flushable` ## API - write - abstract void write(char cbuf[] 阅读全文
posted @ 2023-08-23 09:56 流星<。)#)))≦ 阅读(17) 评论(0) 推荐(0)
摘要: ## 介绍 - 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)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 94 下一页