上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 92 下一页
摘要: ## 介绍 - java.net.http.HttpRequest - public abstract class HttpRequest ## API ### Builder - uri - expectContinue - 请求服务器在发送正文之前确认请求 - 默认禁用 - 如果启用,则在客户端 阅读全文
posted @ 2023-08-30 17:16 流星<。)#)))≦ 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.io.Writer` - `public abstract class Writer implements Appendable, Closeable, Flushable` - 用于写入字符流的抽象类 - 只有一个抽象方法需要子类实现:`public abstract 阅读全文
posted @ 2023-08-30 17:16 流星<。)#)))≦ 阅读(3) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - java.util.concurrent.locks.Lock - public interface Lock - Lock 实现提供比使用 synchronized 更广泛的锁定操作。 它们允许更灵活的结构化,可能具有完全不同的属性,并且可以支持多个相关联的 Condition 对 阅读全文
posted @ 2023-08-30 17:16 流星<。)#)))≦ 阅读(9) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - java.lang.ThreadGroup - public class ThreadGroup implements Thread.UncaughtExceptionHandler - 线程组( `ThreadGroup` )是一个可以统一管理的线程集合。默认情况下,创建的所有线程 阅读全文
posted @ 2023-08-30 17:16 流星<。)#)))≦ 阅读(4) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.lang.Thread` - `public class Thread implements Runnable` ## API ### 常量 线程优先级: - MIN_PRIORITY - 1,最小 - NORM_PRIORITY - 5,默认 - MAX_PRIORIT 阅读全文
posted @ 2023-08-30 17:16 流星<。)#)))≦ 阅读(20) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.util.EnumMap` - `public class EnumMap, V> extends AbstractMap implements java.io.Serializable, Cloneable` - 键是枚举类型 ## API ### 构造器 - `Enu 阅读全文
posted @ 2023-08-30 17:16 流星<。)#)))≦ 阅读(31) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.util.Spliterator` - `public interface Spliterator` - 可分割迭代器 - `Spliterator` 用于将一个数据源分割为多个部分,每个部分可以在不同的线程中进行遍历。 `Spliterator` 也为并行流提供了支持。 阅读全文
posted @ 2023-08-30 17:16 流星<。)#)))≦ 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.util.EnumSet` - `public abstract class EnumSet> extends AbstractSet implements Cloneable, java.io.Serializable` ## API ### static - of - 阅读全文
posted @ 2023-08-30 17:16 流星<。)#)))≦ 阅读(1) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.util.Enumeration` - `public interface Enumeration` - 新的实现应该考虑使用 `Iterator` 而不是 `Enumeration` 。可以使用 `asIterator` 方法将 `Enumeration` 适配为 `I 阅读全文
posted @ 2023-08-30 17:16 流星<。)#)))≦ 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ## 介绍 - `java.util.Comparator` - 接口声明 ```java @FunctionalInterface public interface Comparator ``` ## API ### static - reverseOrder - `> Comparator re 阅读全文
posted @ 2023-08-30 17:16 流星<。)#)))≦ 阅读(4) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 92 下一页