Package | Description |
---|---|
org.dromara.hutool.core.convert.impl |
各种类型转换的实现类,其都为Converter接口的实现,用于将未知的Object类型转换为指定类型
|
org.dromara.hutool.core.data.id |
提供各种ID生成
|
org.dromara.hutool.core.lang.mutable |
提供可变值对象的封装,用于封装int、long等不可变值,使其可变
|
org.dromara.hutool.core.lang.tuple | |
org.dromara.hutool.json.serializer.impl |
默认实现的序列化和反序列化
|
org.dromara.hutool.swing.img |
图像处理相关工具类封装
|
Modifier and Type | Method and Description |
---|---|
Pair<?,?> |
PairConverter.convert(Type leftType,
Type rightType,
Object value)
转换对象为指定键值类型的指定类型Map
|
Modifier and Type | Method and Description |
---|---|
Pair<Long,Long> |
Snowflake.getIdScopeByTimestamp(long timestampStart,
long timestampEnd)
根据传入时间戳-计算ID起终点
|
Pair<Long,Long> |
Snowflake.getIdScopeByTimestamp(long timestampStart,
long timestampEnd,
boolean ignoreCenterAndWorker)
根据传入时间戳-计算ID起终点 Gitee/issues/I60M14
|
Modifier and Type | Class and Description |
---|---|
class |
MutablePair<L,R>
可变二元组对象
|
class |
MutableTriple<L,M,R>
可变三元组对象
|
Modifier and Type | Class and Description |
---|---|
class |
Triple<L,M,R>
不可变三元组对象
|
Modifier and Type | Method and Description |
---|---|
Pair<L,R> |
Pair.clone() |
static <L,R> Pair<L,R> |
Pair.of(L left,
R right)
构建Pair对象
|
Modifier and Type | Method and Description |
---|---|
Pair<?,?> |
PairDeserializer.deserialize(JSON json,
Type deserializeType) |
Modifier and Type | Method and Description |
---|---|
static Pair<Integer,Integer> |
ImgUtil.getWidthAndHeight(ImageInputStream imageStream,
String type)
通过
ImageInputStream 获取对应类型的宽和高 |
static Pair<Integer,Integer> |
ImgUtil.getWidthAndHeight(InputStream imageStream,
String type)
通过
ImageInputStream 获取对应类型的宽和高 |
Copyright © 2025. All rights reserved.