| Package | Description |
|---|---|
| org.dromara.hutool.core.codec |
编码解码封装编码封装
|
| org.dromara.hutool.core.lang.builder |
建造者工具
用于建造特定对象或结果,建造者模式的抽象。 |
| org.dromara.hutool.core.map |
Map相关封装,提供特殊Map实现以及Map工具MapUtil
|
| org.dromara.hutool.core.map.multi |
多参数类型的Map实现,包括集合类型值的MultiValueMap和Table
MultiValueMap:一个键对应多个值的集合的实现,类似于树的结构。 |
| org.dromara.hutool.core.net.ssl |
SSL相关封装
|
| org.dromara.hutool.core.net.url |
URL相关工具
|
| org.dromara.hutool.core.stream |
Java8的stream相关封装
|
| org.dromara.hutool.core.thread |
提供线程及高并发封装,入口为ThreadUtil
|
| org.dromara.hutool.core.tree |
提供通用树生成,特点:
1、每个字段可自定义
2、支持排序 树深度配置,自定义转换器等 3、支持额外属性扩展 4、贴心 许多属性,特性都有默认值处理 5、使用简单 可一行代码生成树 6、代码简洁轻量无额外依赖 |
| Modifier and Type | Class and Description |
|---|---|
static class |
PercentCodec.Builder
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenericBuilder<T>
通用Builder
参考: 一看就会的java8通用Builder
使用方法如下:
Box box = GenericBuilder
.of(Box::new)
.with(Box::setId, 1024L)
.with(Box::setTitle, "Hello World!")
|
| Modifier and Type | Class and Description |
|---|---|
class |
MapBuilder<K,V>
Map创建类
|
| Constructor and Description |
|---|
RowKeyTable(Map<R,Map<C,V>> raw,
Builder<? extends Map<C,V>> columnMapBuilder)
构造
|
| Modifier and Type | Class and Description |
|---|---|
class |
SSLContextBuilder
SSLContext构建器,可以自定义:协议(protocol),默认TLS KeyManager,默认空
TrustManager,默认null
SecureRandom,默认null
构建后可获得SSLContext,通过调用SSLContext.getSocketFactory()获取SSLSocketFactory |
| Modifier and Type | Class and Description |
|---|---|
class |
UrlBuilder
URL 生成器,格式形如:
[scheme:]scheme-specific-part[#fragment]
[scheme:][//authority][path][?
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EasyStream.Builder<T>
建造者
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExecutorBuilder
ThreadPoolExecutor 建造者
1. |
class |
ThreadFactoryBuilder
ThreadFactory创建器
参考:Guava的ThreadFactoryBuilder |
| Modifier and Type | Class and Description |
|---|---|
class |
TreeBuilder<E>
树构建器
|
Copyright © 2025. All rights reserved.