跳过导航链接
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 

A

AbsCollValueMap<K,V,C extends Collection<V>> - cn.hutool.core.map.multi中的类
值作为集合的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
AbsCollValueMap() - 类 的构造器cn.hutool.core.map.multi.AbsCollValueMap
构造
AbsCollValueMap(int) - 类 的构造器cn.hutool.core.map.multi.AbsCollValueMap
构造
AbsCollValueMap(Map<? extends K, C>) - 类 的构造器cn.hutool.core.map.multi.AbsCollValueMap
构造
AbsCollValueMap(float, Map<? extends K, C>) - 类 的构造器cn.hutool.core.map.multi.AbsCollValueMap
构造
AbsCollValueMap(int, float) - 类 的构造器cn.hutool.core.map.multi.AbsCollValueMap
构造
AbstractConverter<T> - cn.hutool.core.convert中的类
抽象转换器,提供通用的转换逻辑,同时通过convertInternal实现对应类型的专属逻辑
转换器不会抛出转换异常,转换失败时会返回null
AbstractConverter() - 类 的构造器cn.hutool.core.convert.AbstractConverter
 
AbstractDateBasic - cn.hutool.core.date.format中的类
 
AbstractDateBasic(String, TimeZone, Locale) - 类 的构造器cn.hutool.core.date.format.AbstractDateBasic
构造,内部使用
accept(T, int) - 接口 中的方法cn.hutool.core.collection.CollUtil.Consumer
接受并处理一个参数
accept(K, V, int) - 接口 中的方法cn.hutool.core.collection.CollUtil.KVConsumer
接受并处理一对参数
accept(Class<?>...) - 类 中的方法cn.hutool.core.io.ValidateObjectInputStream
接受反序列化的类,用于反序列化验证
accept(T) - 接口 中的方法cn.hutool.core.lang.Filter
是否接受对象
accumulator() - 类 中的方法cn.hutool.core.stream.SimpleCollector
 
act - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
ActualTypeMapperPool - cn.hutool.core.lang.reflect中的类
泛型变量和泛型实际类型映射关系缓存
ActualTypeMapperPool() - 类 的构造器cn.hutool.core.lang.reflect.ActualTypeMapperPool
 
add(E) - 类 中的方法cn.hutool.core.collection.ConcurrentHashSet
 
add(boolean, FileFilter, File...) - 类 中的方法cn.hutool.core.compress.ZipWriter
对文件或文件目录进行压缩
add(Resource...) - 类 中的方法cn.hutool.core.compress.ZipWriter
添加资源到压缩包,添加后关闭资源流
add(String, InputStream) - 类 中的方法cn.hutool.core.compress.ZipWriter
添加文件流到压缩包,添加后关闭输入文件流
如果输入流为null,则只创建空目录
add(File...) - 类 中的方法cn.hutool.core.io.resource.MultiFileResource
增加文件资源
add(Collection<File>) - 类 中的方法cn.hutool.core.io.resource.MultiFileResource
增加文件资源
add(Resource) - 类 中的方法cn.hutool.core.io.resource.MultiFileResource
 
add(Resource) - 类 中的方法cn.hutool.core.io.resource.MultiResource
增加资源
add(T) - 类 中的方法cn.hutool.core.lang.ConsistentHash
增加节点
每增加一个节点,就会在闭环上增加给定复制节点数
例如复制节点数是2,则每调用此方法一次,增加两个虚拟节点,这两个节点指向同一Node 由于hash算法会调用node的toString方法,故按照toString去重
add(byte) - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
增加值
add(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
增加值
add(double) - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
增加值
add(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
增加值
add(float) - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
增加值
add(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
增加值
add(int) - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
增加值
add(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
增加值
add(long) - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
增加值
add(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
增加值
add(short) - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
增加值
add(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
增加值
add(T, double) - 类 中的方法cn.hutool.core.lang.WeightRandom
增加对象
add(WeightRandom.WeightObj<T>) - 类 中的方法cn.hutool.core.lang.WeightRandom
增加对象权重
add(int, int) - 类 中的静态方法cn.hutool.core.math.BitStatusUtil
增加状态
add(Money) - 类 中的方法cn.hutool.core.math.Money
货币加法。
add(CharSequence) - 类 中的方法cn.hutool.core.net.url.UrlPath
添加到path最后面
add(CharSequence, Object) - 类 中的方法cn.hutool.core.net.url.UrlQuery
增加键值对
add(String) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
add(int, String) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
add(float, float) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的加法运算
add(float, double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的加法运算
add(double, float) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的加法运算
add(double, double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的加法运算
add(Double, Double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的加法运算
add(Number, Number) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的加法运算
如果传入多个值为null或者空,则返回0
add(Number...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的加法运算
如果传入多个值为null或者空,则返回0
add(String...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的加法运算
如果传入多个值为null或者空,则返回0
add(BigDecimal...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的加法运算
如果传入多个值为null或者空,则返回0
addAll(E[]) - 类 中的方法cn.hutool.core.collection.BoundedPriorityQueue
添加多个元素
参数为集合的情况请使用AbstractQueue.addAll(java.util.Collection<? extends E>)
addAll(Collection<T>, Object) - 类 中的静态方法cn.hutool.core.collection.CollUtil
将指定对象全部加入到集合中
提供的对象如果为集合类型,会自动转换为目标元素类型
addAll(Collection<T>, Object, Type) - 类 中的静态方法cn.hutool.core.collection.CollUtil
将指定对象全部加入到集合中
提供的对象如果为集合类型,会自动转换为目标元素类型
如果为String,支持类似于[1,2,3,4] 或者 1,2,3,4 这种格式
addAll(Collection<T>, Iterator<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
加入全部
addAll(Collection<T>, Iterable<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
加入全部
addAll(Collection<T>, Enumeration<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
加入全部
addAll(Collection<T>, T[]) - 类 中的静态方法cn.hutool.core.collection.CollUtil
加入全部
addAll(Map<? extends CharSequence, ?>) - 类 中的方法cn.hutool.core.net.url.UrlQuery
批量增加键值对
addAll(Collection<? extends String>) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
addAll(int, Collection<? extends String>) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
addAll(T[]...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(byte[]...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(int[]...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(long[]...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(double[]...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(float[]...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(char[]...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(boolean[]...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(short[]...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAllIfNotContains(List<T>, List<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
将另一个列表中的元素加入到列表中,如果列表中已经存在此元素则忽略之
addBefore(CharSequence) - 类 中的方法cn.hutool.core.net.url.UrlPath
添加到path最前面
addBody(String...) - 类 中的方法cn.hutool.core.lang.ConsoleTable
添加体信息
addChain(Iterator<T>) - 类 中的方法cn.hutool.core.collection.IterChain
 
addChain(Comparator<E>) - 类 中的方法cn.hutool.core.comparator.ComparatorChain
 
addChain(Watcher) - 类 中的方法cn.hutool.core.io.watch.watchers.WatcherChain
 
addChain(E) - 接口 中的方法cn.hutool.core.lang.Chain
加入责任链
addChain(StrReplacer) - 类 中的方法cn.hutool.core.text.replacer.ReplacerChain
 
addChildren(Tree<T>...) - 类 中的方法cn.hutool.core.lang.tree.Tree
增加子节点,同时关联子节点的父节点为当前节点
addComparator(Comparator<E>) - 类 中的方法cn.hutool.core.comparator.ComparatorChain
在链的尾部添加比较器,使用正向排序
addComparator(Comparator<E>, boolean) - 类 中的方法cn.hutool.core.comparator.ComparatorChain
在链的尾部添加比较器,使用给定排序方式
addFrame(BufferedImage) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Adds next GIF frame.
addHeader(String...) - 类 中的方法cn.hutool.core.lang.ConsoleTable
添加头信息
addHeaderAlias(String, String) - 类 中的方法cn.hutool.core.text.csv.CsvConfig
增加标题别名
additiveHash(String, int) - 类 中的静态方法cn.hutool.core.util.HashUtil
加法hash
addJar(File) - 类 中的方法cn.hutool.core.lang.JarClassLoader
加载Jar文件,或者加载目录
addLibrary(File...) - 类 中的方法cn.hutool.core.compiler.JavaSourceCompiler
加入编译Java源码时所需要的jar包,jar包中必须为字节码
addListener(ClipboardListener) - 枚举 中的方法cn.hutool.core.swing.clipboard.ClipboardMonitor
设置 监听事件处理
addPath(String) - 类 中的方法cn.hutool.core.net.url.UrlBuilder
增加路径节点
addPrefixIfNot(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以prefix开头的,在开头补充 prefix
addQuery(String, String) - 类 中的方法cn.hutool.core.net.url.UrlBuilder
添加查询项,支持重复键
addRepeatWorker(Runnable) - 类 中的方法cn.hutool.core.thread.SyncFinisher
增加定义的线程数同等数量的worker
addResource(T) - 类 中的方法cn.hutool.core.lang.ResourceClassLoader
增加需要加载的类资源
address(String, int) - 类 中的静态方法cn.hutool.core.util.DesensitizedUtil
【地址】只显示到地区,不显示详细地址,比如:北京市海淀区****
addSafeCharacter(char) - 类 中的方法cn.hutool.core.net.URLEncoder
增加安全字符
安全字符不被编码
addShutdownHook(Runnable) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
增加一个JVM关闭后的钩子,用于在JVM关闭时执行某些操作
addSource(Resource...) - 类 中的方法cn.hutool.core.compiler.JavaSourceCompiler
向编译器中加入待编译的资源
支持 .java, 文件夹, 压缩文件 递归搜索文件夹内的压缩文件和jar包
addSource(File...) - 类 中的方法cn.hutool.core.compiler.JavaSourceCompiler
向编译器中加入待编译的文件
支持 .java, 文件夹, 压缩文件 递归搜索文件夹内的压缩文件和jar包
addSource(Map<String, String>) - 类 中的方法cn.hutool.core.compiler.JavaSourceCompiler
向编译器中加入待编译的源码Map
addSource(String, String) - 类 中的方法cn.hutool.core.compiler.JavaSourceCompiler
向编译器中加入待编译的源码
addSuffixIfNot(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以suffix结尾的,在尾部补充 suffix
addTo(Money) - 类 中的方法cn.hutool.core.math.Money
货币累加。
addURL(URL) - 类 中的方法cn.hutool.core.lang.JarClassLoader
 
addURL(File) - 类 中的方法cn.hutool.core.lang.JarClassLoader
增加class所在目录或文件
如果为目录,此目录用于搜索class文件,如果为文件,需为jar文件
addWorker(Runnable) - 类 中的方法cn.hutool.core.thread.SyncFinisher
增加工作线程
addWorker(SyncFinisher.Worker) - 类 中的方法cn.hutool.core.thread.SyncFinisher
增加工作线程
age(Calendar, Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
计算相对于dateToCompare的年龄,长用于计算指定生日在某年的年龄
age(long, long) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
计算相对于dateToCompare的年龄,长用于计算指定生日在某年的年龄
age(Date, Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
计算相对于dateToCompare的年龄,长用于计算指定生日在某年的年龄
ageOfNow(String) - 类 中的静态方法cn.hutool.core.date.DateUtil
生日转为年龄,计算法定年龄
ageOfNow(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
生日转为年龄,计算法定年龄
Alias - cn.hutool.core.annotation中的注释类型
别名注解,使用此注解的字段、方法、参数等会有一个别名,用于Bean拷贝、Bean转Map等
ALL - 枚举 中的静态变量cn.hutool.core.io.watch.WatchKind
全部事件
ALL - 类 中的静态变量cn.hutool.core.net.URLEncoder
全编码的URLEncoder
0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is '*', '-', '
allIterators - 类 中的变量cn.hutool.core.collection.IterChain
 
allocate(int) - 类 中的方法cn.hutool.core.math.Money
货币分配。
allocate(long[]) - 类 中的方法cn.hutool.core.math.Money
货币分配。
ALPHABIASSHIFT - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
alphadec - 类 中的变量cn.hutool.core.img.gif.NeuQuant
 
ALPHARADBIAS - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
ALPHARADBSHIFT - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
alterneigh(int, int, int, int, int) - 类 中的方法cn.hutool.core.img.gif.NeuQuant
 
altersingle(int, int, int, int, int) - 类 中的方法cn.hutool.core.img.gif.NeuQuant
 
alwaysDelimitText - 类 中的变量cn.hutool.core.text.csv.CsvWriteConfig
是否始终使用文本分隔符,文本包装符,默认false,按需添加
AMP - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:与 '&'
AMP - 类 中的静态变量cn.hutool.core.util.XmlUtil
字符串常量:XML And 符转义 "&amp;" -> "&"
analyzePixels() - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Analyzes image colors and creates color map.
and(boolean...) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
对Boolean数组取与 BooleanUtil.and(true, true) = true BooleanUtil.and(false, false) = false BooleanUtil.and(true, false) = false BooleanUtil.and(true, true, false) = false BooleanUtil.and(true, true, true) = true
andOfWrap(Boolean...) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
对Boolean数组取与 BooleanUtil.and(Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE BooleanUtil.and(Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE BooleanUtil.and(Boolean.TRUE, Boolean.FALSE) = Boolean.FALSE BooleanUtil.and(Boolean.TRUE, Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE BooleanUtil.and(Boolean.FALSE, Boolean.FALSE, Boolean.TRUE) = Boolean.FALSE BooleanUtil.and(Boolean.TRUE, Boolean.FALSE, Boolean.TRUE) = Boolean.FALSE
AnimatedGifEncoder - cn.hutool.core.img.gif中的类
动态GIF动画生成器,可生成一个或多个帧的GIF。
AnimatedGifEncoder() - 类 的构造器cn.hutool.core.img.gif.AnimatedGifEncoder
 
AnnotationUtil - cn.hutool.core.annotation中的类
注解工具类
快速获取注解对象、注解值等工具封装
AnnotationUtil() - 类 的构造器cn.hutool.core.annotation.AnnotationUtil
 
apHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
AP算法
APOS - 类 中的静态变量cn.hutool.core.util.XmlUtil
字符串常量:XML 单引号转义 "&apos" -> "'"
append(Object, Object) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two Objects.
append(Object, Object, Comparator<?>) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two Objects.
append(long, long) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two longs.
append(int, int) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two ints.
append(short, short) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two shorts.
append(char, char) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two chars.
append(byte, byte) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two bytes.
append(double, double) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two doubles.
append(float, float) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two floats.
append(boolean, boolean) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the comparison of two booleanss.
append(Object[], Object[]) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two Object arrays.
append(Object[], Object[], Comparator<?>) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two Object arrays.
append(long[], long[]) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two long arrays.
append(int[], int[]) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two int arrays.
append(short[], short[]) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two short arrays.
append(char[], char[]) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two char arrays.
append(byte[], byte[]) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two byte arrays.
append(double[], double[]) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two double arrays.
append(float[], float[]) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two float arrays.
append(boolean[], boolean[]) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the deep comparison of two boolean arrays.
append(Object, Object) - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Test if two Objects are equal using their equals method.
append(long, long) - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Test if two long s are equal.
append(int, int) - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Test if two ints are equal.
append(short, short) - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Test if two shorts are equal.
append(char, char) - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Test if two chars are equal.
append(byte, byte) - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Test if two bytes are equal.
append(double, double) - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Test if two doubles are equal by testing that the pattern of bits returned by doubleToLong are equal.
append(float, float) - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Test if two floats are equal byt testing that the pattern of bits returned by doubleToLong are equal.
append(boolean, boolean) - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Test if two booleanss are equal.
append(boolean) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a boolean.
append(boolean[]) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a boolean array.
append(byte) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a byte.
append(byte[]) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a byte array.
append(char) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a char.
append(char[]) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a char array.
append(double) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a double.
append(double[]) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a double array.
append(float) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a float.
append(float[]) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a float array.
append(int) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for an int.
append(int[]) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for an int array.
append(long) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a long.
append(long[]) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a long array.
append(Object) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for an Object.
append(Object[]) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for an Object array.
append(short) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a short.
append(short[]) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Append a hashCode for a short array.
append(char) - 类 中的方法cn.hutool.core.io.AppendableWriter
 
append(CharSequence, int, int) - 类 中的方法cn.hutool.core.io.AppendableWriter
 
append(CharSequence) - 类 中的方法cn.hutool.core.io.AppendableWriter
 
append(byte[], int, int) - 类 中的方法cn.hutool.core.io.FastByteBuffer
向快速缓冲加入数据
append(byte[]) - 类 中的方法cn.hutool.core.io.FastByteBuffer
向快速缓冲加入数据
append(byte) - 类 中的方法cn.hutool.core.io.FastByteBuffer
向快速缓冲加入一个字节
append(FastByteBuffer) - 类 中的方法cn.hutool.core.io.FastByteBuffer
将另一个快速缓冲加入到自身
append(String) - 类 中的方法cn.hutool.core.io.file.FileAppender
追加
append(String) - 类 中的方法cn.hutool.core.io.file.FileWriter
将String写入文件,追加模式
append(byte[], int, int) - 类 中的方法cn.hutool.core.io.file.FileWriter
追加数据到文件
append(Map<E, Tree<E>>) - 类 中的方法cn.hutool.core.lang.tree.TreeBuilder
增加节点列表,增加的节点是不带子节点的
append(Iterable<Tree<E>>) - 类 中的方法cn.hutool.core.lang.tree.TreeBuilder
增加节点列表,增加的节点是不带子节点的
append(List<T>, NodeParser<T, E>) - 类 中的方法cn.hutool.core.lang.tree.TreeBuilder
增加节点列表,增加的节点是不带子节点的
append(Object) - 类 中的方法cn.hutool.core.text.StrBuilder
追加对象,对象会被转换为字符串
append(char) - 类 中的方法cn.hutool.core.text.StrBuilder
追加一个字符
append(char[]) - 类 中的方法cn.hutool.core.text.StrBuilder
追加一个字符数组
append(char[], int, int) - 类 中的方法cn.hutool.core.text.StrBuilder
追加一个字符数组
append(CharSequence) - 类 中的方法cn.hutool.core.text.StrBuilder
 
append(CharSequence, int, int) - 类 中的方法cn.hutool.core.text.StrBuilder
 
append(Object) - 类 中的方法cn.hutool.core.text.StrJoiner
追加对象到拼接器中
append(T[]) - 类 中的方法cn.hutool.core.text.StrJoiner
追加数组中的元素到拼接器中
append(Iterator<T>) - 类 中的方法cn.hutool.core.text.StrJoiner
追加Iterator中的元素到拼接器中
append(T[], Function<T, ? extends CharSequence>) - 类 中的方法cn.hutool.core.text.StrJoiner
追加数组中的元素到拼接器中
append(Iterable<T>, Function<T, ? extends CharSequence>) - 类 中的方法cn.hutool.core.text.StrJoiner
追加Iterator中的元素到拼接器中
append(Iterator<T>, Function<T, ? extends CharSequence>) - 类 中的方法cn.hutool.core.text.StrJoiner
追加Iterator中的元素到拼接器中
append(CharSequence) - 类 中的方法cn.hutool.core.text.StrJoiner
 
append(CharSequence, int, int) - 类 中的方法cn.hutool.core.text.StrJoiner
 
append(char) - 类 中的方法cn.hutool.core.text.StrJoiner
 
append(T[], T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
append(Object, T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
append(Node, Object) - 类 中的静态方法cn.hutool.core.util.XmlUtil
追加数据子节点,可以是Map、集合、文本
append(Path, Path, CopyOption...) - 类 中的静态方法cn.hutool.core.util.ZipUtil
在zip文件中添加新文件或目录
新文件添加在zip根目录,文件夹包括其本身和内容
如果待添加文件夹是系统根路径(如/或c:/),则只复制文件夹下的内容
AppendableWriter - cn.hutool.core.io中的类
同时继承Writer和实现Appendable的聚合类,用于适配两种接口操作 实现来自:jodd
AppendableWriter(Appendable) - 类 的构造器cn.hutool.core.io.AppendableWriter
 
appendChild(Node, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
在已有节点上创建子节点
appendChild(Node, String, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
在已有节点上创建子节点
appendHex(StringBuilder, byte, boolean) - 类 中的静态方法cn.hutool.core.util.HexUtil
将byte值转为16进制并添加到StringBuilder
appendIfMissing(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
不忽略大小写
appendIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
appendIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
忽略大小写
appendLines(Collection<T>) - 类 中的方法cn.hutool.core.io.file.FileWriter
将列表写入文件,追加模式
appendLines(Collection<T>, String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,追加模式
appendLines(Collection<T>, File, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,追加模式
appendLines(Collection<T>, String, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,追加模式
appendLines(Collection<T>, File, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,追加模式
appendPath(CharSequence) - 类 中的方法cn.hutool.core.net.url.UrlBuilder
追加path节点
appendRange(int, int, Collection<Integer>) - 类 中的静态方法cn.hutool.core.util.NumberUtil
将给定范围内的整数添加到已有集合中,步进为1
appendRange(int, int, int, Collection<Integer>) - 类 中的静态方法cn.hutool.core.util.NumberUtil
将给定范围内的整数添加到已有集合中
appendString(String, String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,追加模式
appendString(String, String, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,追加模式
appendString(String, File, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,追加模式
appendString(String, File, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,追加模式
appendSuper(int) - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Appends to the builder the compareTo(Object) result of the superclass.
appendSuper(boolean) - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Adds the result of super.equals() to this builder.
appendSuper(int) - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Adds the result of super.hashCode() to this builder.
appendText(Node, CharSequence) - 类 中的静态方法cn.hutool.core.util.XmlUtil
创建文本子节点
appendUtf8Lines(Collection<T>, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,追加模式
appendUtf8Lines(Collection<T>, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,追加模式
appendUtf8String(String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,UTF-8编码追加模式
appendUtf8String(String, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,UTF-8编码追加模式
areColorsWithinTolerance(Color, Color, int) - 类 中的静态方法cn.hutool.core.img.BackgroundRemoval
判断颜色是否在容差范围内 对比两个颜色的相似度,判断这个相似度是否小于 tolerance 容差值
areColorsWithinTolerance(Color, Color, Color) - 类 中的静态方法cn.hutool.core.img.BackgroundRemoval
判断颜色是否在容差范围内 对比两个颜色的相似度,判断这个相似度是否小于 tolerance 容差值
Arrangement - cn.hutool.core.math中的类
排列A(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
Arrangement(String[]) - 类 的构造器cn.hutool.core.math.Arrangement
构造
arrangementCount(int, int) - 类 中的静态方法cn.hutool.core.math.MathUtil
计算排列数,即A(n, m) = n!
arrangementCount(int) - 类 中的静态方法cn.hutool.core.math.MathUtil
计算排列数,即A(n, n) = n!
arrangementSelect(String[], int) - 类 中的静态方法cn.hutool.core.math.MathUtil
排列选择(从列表中选择n个排列)
arrangementSelect(String[]) - 类 中的静态方法cn.hutool.core.math.MathUtil
全排列选择(列表全部参与排列)
array(int) - 类 中的方法cn.hutool.core.io.FastByteBuffer
根据索引位返回缓冲集中的缓冲
ArrayConverter - cn.hutool.core.convert.impl中的类
数组转换器,包括原始类型数组
ArrayConverter(Class<?>) - 类 的构造器cn.hutool.core.convert.impl.ArrayConverter
构造
ArrayConverter(Class<?>, boolean) - 类 的构造器cn.hutool.core.convert.impl.ArrayConverter
构造
ArrayIter<E> - cn.hutool.core.collection中的类
数组Iterator对象
ArrayIter(E[]) - 类 的构造器cn.hutool.core.collection.ArrayIter
构造
ArrayIter(Object) - 类 的构造器cn.hutool.core.collection.ArrayIter
构造
ArrayIter(Object, int) - 类 的构造器cn.hutool.core.collection.ArrayIter
构造
ArrayIter(Object, int, int) - 类 的构造器cn.hutool.core.collection.ArrayIter
构造
ArrayTypeGetter - cn.hutool.core.getter中的接口
数组类型的Get接口
ArrayUtil - cn.hutool.core.util中的类
数组工具类
ArrayUtil() - 类 的构造器cn.hutool.core.util.ArrayUtil
 
ASCIIStrCache - cn.hutool.core.text中的类
ASCII字符对应的字符串缓存
ASCIIStrCache() - 类 的构造器cn.hutool.core.text.ASCIIStrCache
 
ascToBcd(byte[]) - 类 中的静态方法cn.hutool.core.codec.BCD
ASCII转BCD
ascToBcd(byte[], int) - 类 中的静态方法cn.hutool.core.codec.BCD
ASCII转BCD
asEnumeration(Iterator<E>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
Iterator转换为Enumeration Adapt the specified Iterator to the Enumeration interface.
asIterable(Iterator<E>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
asIterable(Iterator<E>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
asIterator(Enumeration<E>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
Enumeration转换为Iterator Adapt the specified Enumeration to the Iterator interface
asIterator(Enumeration<E>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
Enumeration转换为Iterator Adapt the specified Enumeration to the Iterator interface
Assert - cn.hutool.core.lang中的类
断言
断言某些对象或值是否符合规定,否则抛出异常。
Assert() - 类 的构造器cn.hutool.core.lang.Assert
 
assertSameCurrencyAs(Money) - 类 中的方法cn.hutool.core.math.Money
断言本货币对象与另一货币对象是否具有相同的币种。
AT - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:艾特 '@'
AT - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:艾特 "@"
AtomicBooleanConverter - cn.hutool.core.convert.impl中的类
AtomicBoolean转换器
AtomicBooleanConverter() - 类 的构造器cn.hutool.core.convert.impl.AtomicBooleanConverter
 
AtomicIntegerArrayConverter - cn.hutool.core.convert.impl中的类
AtomicIntegerArrayConverter() - 类 的构造器cn.hutool.core.convert.impl.AtomicIntegerArrayConverter
 
AtomicLoader<T> - cn.hutool.core.lang.loader中的类
原子引用加载器
使用AtomicReference 实懒加载,过程如下 1.
AtomicLoader() - 类 的构造器cn.hutool.core.lang.loader.AtomicLoader
 
AtomicLongArrayConverter - cn.hutool.core.convert.impl中的类
AtomicLongArrayConverter() - 类 的构造器cn.hutool.core.convert.impl.AtomicLongArrayConverter
 
AtomicReferenceConverter - cn.hutool.core.convert.impl中的类
AtomicReferenceConverter() - 类 的构造器cn.hutool.core.convert.impl.AtomicReferenceConverter
 
AvgPartition<T> - cn.hutool.core.collection中的类
列表分区或分段
通过传入分区个数,将指定列表分区为不同的块,每块区域的长度均匀分布(个数差不超过1)
[1,2,3,4] -》 [1,2], [3, 4] [1,2,3,4] -》 [1,2], [3], [4] [1,2,3,4] -》 [1], [2], [3], [4] [1,2,3,4] -》 [1], [2], [3], [4], [] 分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
AvgPartition(List<T>, int) - 类 的构造器cn.hutool.core.collection.AvgPartition
列表分区
awaitTermination(long, TimeUnit) - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 

B

background - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
BackgroundRemoval - cn.hutool.core.img中的类
图片背景识别处理、背景替换、背景设置为矢量图 根据一定规则算出图片背景色的RGB值,进行替换 2020-05-21 16:36
BackgroundRemoval() - 类 的构造器cn.hutool.core.img.BackgroundRemoval
 
backgroundRemoval(String, String, int) - 类 中的静态方法cn.hutool.core.img.BackgroundRemoval
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(File, File, int) - 类 中的静态方法cn.hutool.core.img.BackgroundRemoval
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(File, File, Color, int) - 类 中的静态方法cn.hutool.core.img.BackgroundRemoval
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(BufferedImage, Color, int) - 类 中的静态方法cn.hutool.core.img.BackgroundRemoval
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(ByteArrayOutputStream, Color, int) - 类 中的静态方法cn.hutool.core.img.BackgroundRemoval
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(String, String, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(File, File, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(File, File, Color, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(BufferedImage, Color, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
backgroundRemoval(ByteArrayOutputStream, Color, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
背景移除 图片去底工具 将 "纯色背景的图片" 还原成 "透明背景的图片" 将纯色背景的图片转成矢量图 取图片边缘的像素点和获取到的图片主题色作为要替换的背景色 再加入一定的容差值,然后将所有像素点与该颜色进行比较 发现相同则将颜色不透明度设置为0,使颜色完全透明.
BACKSLASH - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:反斜杠 '\\'
BACKSLASH - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:反斜杠 "\\"
bankCard(String) - 类 中的静态方法cn.hutool.core.util.DesensitizedUtil
银行卡号脱敏 eg: 1101 **** **** **** 3256
Base32 - cn.hutool.core.codec中的类
Base32 - encodes and decodes RFC3548 Base32 (see http://www.faqs.org/rfcs/rfc3548.html )
base32就是用32(2的5次方)个特定ASCII码来表示256个ASCII码。
Base62 - cn.hutool.core.codec中的类
Base62工具类,提供Base62的编码和解码方案
Base62() - 类 的构造器cn.hutool.core.codec.Base62
 
Base62Codec - cn.hutool.core.codec中的类
Base62编码解码实现,常用于短URL
From https://github.com/seruco/base62
Base62Codec(byte[]) - 类 的构造器cn.hutool.core.codec.Base62Codec
构造
Base64 - cn.hutool.core.codec中的类
Base64工具类,提供Base64的编码和解码方案
base64编码是用64(2的6次方)个ASCII字符来表示256(2的8次方)个ASCII字符,
也就是三位二进制数组经过编码后变为四位的ASCII字符显示,长度比原来增加1/3。
Base64() - 类 的构造器cn.hutool.core.codec.Base64
 
Base64Decoder - cn.hutool.core.codec中的类
Base64解码实现
Base64Decoder() - 类 的构造器cn.hutool.core.codec.Base64Decoder
 
Base64Encoder - cn.hutool.core.codec中的类
Base64编码
Base64Encoder() - 类 的构造器cn.hutool.core.codec.Base64Encoder
 
BASE_CHAR - 类 中的静态变量cn.hutool.core.util.RandomUtil
用于随机选的字符
BASE_CHAR_NUMBER - 类 中的静态变量cn.hutool.core.util.RandomUtil
用于随机选的字符和数字
BASE_DAY - 类 中的静态变量cn.hutool.core.date.chinese.LunarInfo
1900-01-31
BASE_NUMBER - 类 中的静态变量cn.hutool.core.util.RandomUtil
用于随机选的数字
BASE_YEAR - 类 中的静态变量cn.hutool.core.date.chinese.LunarInfo
1900年
BaseFieldComparator<T> - cn.hutool.core.comparator中的类
已过时。
此类不再需要,使用FuncComparator代替更加灵活
BaseFieldComparator() - 类 的构造器cn.hutool.core.comparator.BaseFieldComparator
已过时。
 
BASIC_ESCAPE - 类 中的静态变量cn.hutool.core.text.escape.XmlEscape
 
BASIC_UNESCAPE - 类 中的静态变量cn.hutool.core.text.escape.XmlUnescape
 
BasicType - cn.hutool.core.convert中的枚举
基本变量类型的枚举
基本类型枚举包括原始类型和包装类型
BasicTypeGetter<K> - cn.hutool.core.getter中的接口
基本类型的getter接口
提供一个统一的接口定义返回不同类型的值(基本类型)
BCD - cn.hutool.core.codec中的类
BCD码(Binary-Coded Decimal)亦称二进码十进数或二-十进制代码
BCD码这种编码形式利用了四个位元来储存一个十进制的数码,使二进制和十进制之间的转换得以快捷的进行
see http://cuisuqiang.iteye.com/blog/1429956
BCD() - 类 的构造器cn.hutool.core.codec.BCD
 
bcdToStr(byte[]) - 类 中的静态方法cn.hutool.core.codec.BCD
BCD转ASCII字符串
BeanConverter<T> - cn.hutool.core.convert.impl中的类
Bean转换器,支持: Map =》 Bean Bean =》 Bean ValueProvider =》 Bean
BeanConverter(Type) - 类 的构造器cn.hutool.core.convert.impl.BeanConverter
构造,默认转换选项,注入失败的字段忽略
BeanConverter(Class<T>) - 类 的构造器cn.hutool.core.convert.impl.BeanConverter
构造,默认转换选项,注入失败的字段忽略
BeanConverter(Type, CopyOptions) - 类 的构造器cn.hutool.core.convert.impl.BeanConverter
构造
BeanCopier<T> - cn.hutool.core.bean.copier中的类
Bean拷贝,提供: 1.
BeanCopier(Object, T, Type, CopyOptions) - 类 的构造器cn.hutool.core.bean.copier.BeanCopier
构造
BeanDesc - cn.hutool.core.bean中的类
Bean信息描述做为BeanInfo替代方案,此对象持有JavaBean中的setters和getters等相关信息描述
查找Getter和Setter方法时会: 1.
BeanDesc(Class<?>) - 类 的构造器cn.hutool.core.bean.BeanDesc
构造
BeanDescCache - cn.hutool.core.bean中的枚举
Bean属性缓存
缓存用于防止多次反射造成的性能问题
BeanException - cn.hutool.core.bean中的异常错误
Bean异常
BeanException(Throwable) - 异常错误 的构造器cn.hutool.core.bean.BeanException
 
BeanException(String) - 异常错误 的构造器cn.hutool.core.bean.BeanException
 
BeanException(String, Object...) - 异常错误 的构造器cn.hutool.core.bean.BeanException
 
BeanException(String, Throwable) - 异常错误 的构造器cn.hutool.core.bean.BeanException
 
BeanException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.bean.BeanException
 
BeanInfoCache - cn.hutool.core.bean中的枚举
Bean属性缓存
缓存用于防止多次反射造成的性能问题
BeanPath - cn.hutool.core.bean中的类
Bean路径表达式,用于获取多层嵌套Bean中的字段值或Bean对象
根据给定的表达式,查找Bean中对应的属性值对象。
BeanPath(String) - 类 的构造器cn.hutool.core.bean.BeanPath
构造
beanToMap(Object) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
对象转Map,不进行驼峰转下划线,不忽略值为空的字段
beanToMap(Object, boolean, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
对象转Map
beanToMap(Object, Map<String, Object>, boolean, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
对象转Map
beanToMap(Object, Map<String, Object>, boolean, Editor<String>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
对象转Map
通过实现Editor 可以自定义字段值,如果这个Editor返回null则忽略这个字段,以便实现: 1.
beanToMap(Object, Map<String, Object>, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
对象转Map
通过自定义CopyOptions 完成抓换选项,以便实现: 1.
beanToXml(Object) - 类 中的静态方法cn.hutool.core.util.JAXBUtil
JavaBean转换成xml bean上面用的常用注解
beanToXml(Object, Charset, boolean) - 类 中的静态方法cn.hutool.core.util.JAXBUtil
JavaBean转换成xml
beanToXml(Object) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Bean转换为XML
beanToXml(Object, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Bean转换为XML
beanToXml(Object, String, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Bean转换为XML
BeanUtil - cn.hutool.core.bean中的类
Bean工具类 把一个拥有对属性进行set和get方法的类,我们就可以称之为JavaBean。
BeanUtil() - 类 的构造器cn.hutool.core.bean.BeanUtil
 
BeanValueProvider - cn.hutool.core.bean.copier.provider中的类
Bean的值提供者
BeanValueProvider(Object, boolean, boolean) - 类 的构造器cn.hutool.core.bean.copier.provider.BeanValueProvider
构造
beginLineNo - 类 中的变量cn.hutool.core.text.csv.CsvReadConfig
定义开始的行(包括),此处为原始文件行号
beginOfDay(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某天的开始时间
beginOfDay(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某天的开始时间
beginOfDay(LocalDateTime) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
修改为一天的开始时间,例如:2020-02-02 00:00:00,000
beginOfHour(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某小时的开始时间
beginOfHour(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某小时的开始时间
beginOfMinute(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某分钟的开始时间
beginOfMinute(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某分钟的开始时间
beginOfMonth(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某月的开始时间
beginOfMonth(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某月的开始时间
beginOfQuarter(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某季度的开始时间
beginOfQuarter(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某季度的开始时间
beginOfSecond(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取秒级别的开始时间,即忽略毫秒部分
beginOfSecond(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取秒级别的开始时间,即毫秒部分设置为0
beginOfWeek(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取给定日期当前周的开始时间,周一定为一周的开始时间
beginOfWeek(Calendar, boolean) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取给定日期当前周的开始时间
beginOfWeek(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某周的开始时间,周一定为一周的开始时间
beginOfWeek(Date, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某周的开始时间
beginOfYear(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某年的开始时间
beginOfYear(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某年的开始时间
bernstein(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
Bernstein's hash
BETA - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
BETAGAMMA - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
BETASHIFT - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
between(DateUnit) - 类 中的方法cn.hutool.core.date.DateBetween
判断两个日期相差的时长
返回 给定单位的时长差
between(Date) - 类 中的方法cn.hutool.core.date.DateTime
计算相差时长
between(Date, DateUnit) - 类 中的方法cn.hutool.core.date.DateTime
计算相差时长
between(Date, DateUnit, BetweenFormatter.Level) - 类 中的方法cn.hutool.core.date.DateTime
计算相差时长
between(Date, Date, DateUnit) - 类 中的静态方法cn.hutool.core.date.DateUtil
判断两个日期相差的时长,只保留绝对值
between(Date, Date, DateUnit, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
判断两个日期相差的时长
between(LocalDateTime, LocalDateTime) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
between(LocalDateTime, LocalDateTime, ChronoUnit) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
between(Temporal, Temporal) - 类 中的静态方法cn.hutool.core.date.TemporalUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
between(Temporal, Temporal, ChronoUnit) - 类 中的静态方法cn.hutool.core.date.TemporalUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
betweenDay(Date, Date, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
判断两个日期相差的天数
有时候我们计算相差天数的时候需要忽略时分秒。
BetweenFormatter - cn.hutool.core.date中的类
时长格式化器,用于格式化输出两个日期相差的时长
根据BetweenFormatter.Level不同,调用BetweenFormatter.format()方法后返回类似于: XX小时XX分XX秒 XX天XX小时 XX月XX天XX小时
BetweenFormatter(long, BetweenFormatter.Level) - 类 的构造器cn.hutool.core.date.BetweenFormatter
构造
BetweenFormatter(long, BetweenFormatter.Level, int) - 类 的构造器cn.hutool.core.date.BetweenFormatter
构造
BetweenFormatter.Level - cn.hutool.core.date中的枚举
格式化等级枚举
betweenMonth(boolean) - 类 中的方法cn.hutool.core.date.DateBetween
计算两个日期相差月数
在非重置情况下,如果起始日期的天大于结束日期的天,月数要少算1(不足1个月)
betweenMonth(Date, Date, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
计算两个日期相差月数
在非重置情况下,如果起始日期的天大于结束日期的天,月数要少算1(不足1个月)
betweenMs(Date, Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
判断两个日期相差的毫秒数
betweenPeriod(LocalDate, LocalDate) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
获取两个日期的表象时间差,如果结束时间早于开始时间,获取结果为负。
betweenWeek(Date, Date, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
计算指定时间区间内的周数
betweenYear(boolean) - 类 中的方法cn.hutool.core.date.DateBetween
计算两个日期相差年数
在非重置情况下,如果起始日期的月大于结束日期的月,年数要少算1(不足1年)
betweenYear(Date, Date, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
计算两个日期相差年数
在非重置情况下,如果起始日期的月大于结束日期的月,年数要少算1(不足1年)
bgColor - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
bgIndex - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
bias - 类 中的变量cn.hutool.core.img.gif.NeuQuant
 
bigIntegerToIPv6(BigInteger) - 类 中的静态方法cn.hutool.core.net.NetUtil
将大整数转换成ipv6字符串
BiMap<K,V> - cn.hutool.core.map中的类
双向Map
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
它与TableMap的区别是,BiMap维护两个Map实现高效的正向和反向查找
BiMap(Map<K, V>) - 类 的构造器cn.hutool.core.map.BiMap
构造
binary() - 类 中的方法cn.hutool.core.img.Img
彩色转为黑白二值化图片
binary(File, File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片,根据目标文件扩展名确定转换后的格式
binary(InputStream, OutputStream, String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片
此方法并不关闭流
binary(ImageInputStream, ImageOutputStream, String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白黑白二值化图片
此方法并不关闭流
binary(Image, File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片,根据目标文件扩展名确定转换后的格式
binary(Image, OutputStream, String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片
此方法并不关闭流,输出JPG格式
binary(Image, ImageOutputStream, String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片
此方法并不关闭流,输出JPG格式
binary(Image) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白二值化图片
binaryToInt(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
二进制转int
binaryToLong(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
二进制转long
BIRTHDAY - 类 中的静态变量cn.hutool.core.lang.PatternPool
生日
BIRTHDAY - 接口 中的静态变量cn.hutool.core.lang.RegexPool
生日
BIRTHDAY - 类 中的静态变量cn.hutool.core.lang.Validator
生日
BitStatusUtil - cn.hutool.core.math中的类
通过位运算表示状态的工具类
参数必须是 `偶数` 且 `大于等于0`!
BitStatusUtil() - 类 的构造器cn.hutool.core.math.BitStatusUtil
 
bkdrHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
BKDR算法
blankToDefault(CharSequence, String) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
如果字符串是null或者""或者空白,则返回指定默认字符串,否则返回字符串本身。
block - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
blockSize - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
BOMInputStream - cn.hutool.core.io中的类
读取带BOM头的流内容,getCharset()方法调用后会得到BOM头的编码,且会去除BOM头
BOM定义:http://www.unicode.org/unicode/faq/utf_bom.html
00 00 FE FF = UTF-32, big-endian FF FE 00 00 = UTF-32, little-endian EF BB BF = UTF-8 FE FF = UTF-16, big-endian FF FE = UTF-16, little-endian 使用:
String enc = "UTF-8"; // or NULL to use systemdefault
FileInputStream fis = new FileInputStream(file);
BOMInputStream uin = new BOMInputStream(fis, enc);
enc = uin.getCharset(); // check and skip possible BOM bytes


参考: http://akini.mbnet.fi/java/unicodereader/UnicodeInputStream.java.txt
BOMInputStream(InputStream) - 类 的构造器cn.hutool.core.io.BOMInputStream
构造
BOMInputStream(InputStream, String) - 类 的构造器cn.hutool.core.io.BOMInputStream
构造
BomReader - cn.hutool.core.io中的类
读取带BOM头的流内容的Reader,如果非bom的流或无法识别的编码,则默认UTF-8
BOM定义:http://www.unicode.org/unicode/faq/utf_bom.html 00 00 FE FF = UTF-32, big-endian FF FE 00 00 = UTF-32, little-endian EF BB BF = UTF-8 FE FF = UTF-16, big-endian FF FE = UTF-16, little-endian 使用:
FileInputStream fis = new FileInputStream(file);
BomReader uin = new BomReader(fis);
BomReader(InputStream) - 类 的构造器cn.hutool.core.io.BomReader
构造
BooleanConverter - cn.hutool.core.convert.impl中的类
波尔转换器 对象转为boolean,规则如下: 1、数字0为false,其它数字为true 2、转换为字符串,形如"true", "yes", "y", "t", "ok", "1", "on", "是", "对", "真", "對", "√"为true,其它字符串为false.
BooleanConverter() - 类 的构造器cn.hutool.core.convert.impl.BooleanConverter
 
BooleanUtil - cn.hutool.core.util中的类
Boolean类型相关工具类
BooleanUtil() - 类 的构造器cn.hutool.core.util.BooleanUtil
 
boundary - 类 中的变量cn.hutool.core.net.multipart.MultipartRequestInputStream
part部分边界
BoundedPriorityQueue<E> - cn.hutool.core.collection中的类
有界优先队列
按照给定的排序规则,排序元素,当队列满时,按照给定的排序规则淘汰末尾元素(去除末尾元素)
BoundedPriorityQueue(int) - 类 的构造器cn.hutool.core.collection.BoundedPriorityQueue
 
BoundedPriorityQueue(int, Comparator<? super E>) - 类 的构造器cn.hutool.core.collection.BoundedPriorityQueue
构造
BRACKET_END - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:中括号(右) ']'
BRACKET_END - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:中括号(右) "]"
BRACKET_START - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:中括号(左) '['
BRACKET_START - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:中括号(左) "["
brief(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
将给定字符串,变成 "xxx...xxx" 形式的字符串 abcdef 5 -》 a...f abcdef 4 -》 a..f abcdef 3 -》 a.f abcdef 2 -》 a.
browse(String) - 类 中的静态方法cn.hutool.core.swing.DesktopUtil
使用平台默认浏览器打开指定URL地址
browse(URI) - 类 中的静态方法cn.hutool.core.swing.DesktopUtil
使用平台默认浏览器打开指定URI地址
bufferSize - 类 中的变量cn.hutool.core.io.copy.IoCopier
 
bufferSize(long) - 类 中的方法cn.hutool.core.io.copy.IoCopier
缓存大小,取默认缓存和目标长度最小值
BufferUtil - cn.hutool.core.io中的类
ByteBuffer 工具类
此工具来自于 t-io 项目以及其它项目的相关部分收集
ByteBuffer的相关介绍见:https://www.cnblogs.com/ruber/p/6857159.html
BufferUtil() - 类 的构造器cn.hutool.core.io.BufferUtil
 
build() - 接口 中的方法cn.hutool.core.builder.Builder
构建
build() - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Returns a negative Integer, a positive Integer, or zero as the builder has judged the "left-hand" side as less than, greater than, or equal to the "right-hand" side.
build() - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Returns true if the fields that have been checked are all equal.
build() - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Returns the computed hashCode.
build() - 类 中的方法cn.hutool.core.lang.tree.TreeBuilder
 
build(List<TreeNode<Integer>>) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
树构建
build(List<TreeNode<E>>, E) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
树构建
build(List<T>, E, NodeParser<T, E>) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
树构建
build(List<T>, E, TreeNodeConfig, NodeParser<T, E>) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
树构建
build(Map<E, Tree<E>>, E) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
树构建,按照权重排序
build() - 类 中的方法cn.hutool.core.map.MapBuilder
创建后的map
build() - 类 中的方法cn.hutool.core.net.SSLContextBuilder
build() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
创建URL字符串
build(Charset) - 类 中的方法cn.hutool.core.net.url.UrlPath
构建path,前面带'/'
build(Charset) - 类 中的方法cn.hutool.core.net.url.UrlQuery
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=&key3=v3形式
build(Charset, boolean) - 类 中的方法cn.hutool.core.net.url.UrlQuery
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=&key3=v3形式
build() - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
构建ThreadPoolExecutor
build() - 类 中的方法cn.hutool.core.thread.ThreadFactoryBuilder
Builder<T> - cn.hutool.core.builder中的接口
建造者模式接口定义
builder() - 类 中的静态方法cn.hutool.core.map.MapUtil
创建链接调用map
builder(Map<K, V>) - 类 中的静态方法cn.hutool.core.map.MapUtil
创建链接调用map
builder(K, V) - 类 中的静态方法cn.hutool.core.map.MapUtil
创建链接调用map
builder(CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
创建StringBuilder对象
builder() - 类 中的静态方法cn.hutool.core.util.StrUtil
创建StringBuilder对象
builder(int) - 类 中的静态方法cn.hutool.core.util.StrUtil
创建StringBuilder对象
buildFinalizable() - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
创建有回收关闭功能的ExecutorService
buildInetSocketAddress(String, int) - 类 中的静态方法cn.hutool.core.net.NetUtil
构建InetSocketAddress
当host中包含端口时(用“:”隔开),使用host中的端口,否则使用默认端口
给定host为空时使用本地host(127.0.0.1)
buildList() - 类 中的方法cn.hutool.core.lang.tree.TreeBuilder
构建树列表,没有顶层节点,例如: -用户管理 -用户管理 +用户添加 - 部门管理 -部门管理 +部门添加
buildQuery(Map<String, ?>, Charset) - 类 中的静态方法cn.hutool.core.util.URLUtil
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值 key1=v1&key2=&key3=v3
buildQuietly() - 类 中的方法cn.hutool.core.net.SSLContextBuilder
buildSingle(List<TreeNode<Integer>>) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
构建单root节点树
buildSingle(List<TreeNode<E>>, E) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
构建单root节点树
buildSingle(List<T>, E, NodeParser<T, E>) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
构建单root节点树
buildSingle(List<T>, E, TreeNodeConfig, NodeParser<T, E>) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
构建单root节点树
buildSingle(Map<E, Tree<E>>, E) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
单点树构建,按照权重排序
byteBuffer(CharSequence, String) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
字符串转换为byteBuffer
byteLength(CharSequence, Charset) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串转为bytes后的byte数(byte长度)
bytes(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
编码字符串
使用系统默认编码
bytes(CharSequence, String) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
编码字符串
bytes(CharSequence, Charset) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
编码字符串
BytesResource - cn.hutool.core.io.resource中的类
基于byte[]的资源获取器
注意:此对象中getUrl方法始终返回null
BytesResource(byte[]) - 类 的构造器cn.hutool.core.io.resource.BytesResource
构造
BytesResource(byte[], String) - 类 的构造器cn.hutool.core.io.resource.BytesResource
构造
bytesToDouble(byte[]) - 类 中的静态方法cn.hutool.core.util.ByteUtil
byte数组转Double
默认以小端序转换
bytesToDouble(byte[], ByteOrder) - 类 中的静态方法cn.hutool.core.util.ByteUtil
byte数组转double
自定义端序
bytesToInt(byte[]) - 类 中的静态方法cn.hutool.core.convert.Convert
byte[]转int值
默认以小端序转换
bytesToInt(byte[]) - 类 中的静态方法cn.hutool.core.util.ByteUtil
byte[]转int值
默认以小端序转换
bytesToInt(byte[], ByteOrder) - 类 中的静态方法cn.hutool.core.util.ByteUtil
byte[]转int值
自定义端序
bytesToLong(byte[]) - 类 中的静态方法cn.hutool.core.convert.Convert
byte数组转long
默认以小端序转换
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
bytesToLong(byte[]) - 类 中的静态方法cn.hutool.core.util.ByteUtil
byte数组转long
默认以小端序转换
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
bytesToLong(byte[], ByteOrder) - 类 中的静态方法cn.hutool.core.util.ByteUtil
byte数组转long
自定义端序
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
bytesToShort(byte[]) - 类 中的静态方法cn.hutool.core.convert.Convert
byte数组转short
默认以小端序转换
bytesToShort(byte[]) - 类 中的静态方法cn.hutool.core.util.ByteUtil
byte数组转short
默认以小端序转换
bytesToShort(byte[], ByteOrder) - 类 中的静态方法cn.hutool.core.util.ByteUtil
byte数组转short
自定义端序
byteToUnsignedInt(byte) - 类 中的静态方法cn.hutool.core.convert.Convert
byte转无符号int
byteToUnsignedInt(byte) - 类 中的静态方法cn.hutool.core.util.ByteUtil
byte转无符号int
ByteUtil - cn.hutool.core.util中的类
对数字和字节进行转换。
ByteUtil() - 类 的构造器cn.hutool.core.util.ByteUtil
 
byteValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
 

C

C_AT - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:艾特 '@'
C_BACKSLASH - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:反斜杠 '\\'
C_BRACKET_END - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:中括号(右) ']'
C_BRACKET_START - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:中括号(左) '['
C_COLON - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:冒号 ':'
C_COMMA - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:逗号 ','
C_CR - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:回车符 '\r'
C_DELIM_END - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:花括号(右) '}'
C_DELIM_START - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:花括号(左) '{'
C_DOT - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:点 '.'
C_LF - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:换行符 '\n'
C_SLASH - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:斜杠 '/'
C_SPACE - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:空格符 ' '
C_TAB - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:制表符 '\t'
C_UNDERLINE - 接口 中的静态变量cn.hutool.core.text.StrPool
字符常量:下划线 '_'
Caesar - cn.hutool.core.codec中的类
凯撒密码实现
算法来自:https://github.com/zhaorenjie110/SymmetricEncryptionAndDecryption
Caesar() - 类 的构造器cn.hutool.core.codec.Caesar
 
calculate(String) - 类 中的方法cn.hutool.core.math.Calculator
按照给定的表达式计算
calculate(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
计算数学表达式的值,只支持加减乘除和取余
如:
   calculate("(0*1--3)-5/-4-(3*(-2.13))") -》 10.64
 
Calculator - cn.hutool.core.math中的类
数学表达式计算工具类
见:https://github.com/looly/hutool/issues/1090#issuecomment-693750140
Calculator() - 类 的构造器cn.hutool.core.math.Calculator
 
calendar() - 类 中的静态方法cn.hutool.core.date.CalendarUtil
创建Calendar对象,时间为默认时区的当前时间
calendar(Date) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
转换为Calendar对象
calendar(long) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
转换为Calendar对象
CalendarConverter - cn.hutool.core.convert.impl中的类
日期转换器
CalendarConverter() - 类 的构造器cn.hutool.core.convert.impl.CalendarConverter
 
CalendarUtil - cn.hutool.core.date中的类
针对Calendar 对象封装工具类
CalendarUtil() - 类 的构造器cn.hutool.core.date.CalendarUtil
 
call(P...) - 接口 中的方法cn.hutool.core.lang.func.Func
执行函数
call() - 接口 中的方法cn.hutool.core.lang.func.Func0
执行函数
call(P) - 接口 中的方法cn.hutool.core.lang.func.Func1
执行函数
call(P...) - 接口 中的方法cn.hutool.core.lang.func.VoidFunc
执行函数
call() - 接口 中的方法cn.hutool.core.lang.func.VoidFunc0
执行函数
call(P) - 接口 中的方法cn.hutool.core.lang.func.VoidFunc1
执行函数
Caller - cn.hutool.core.lang.caller中的接口
调用者接口
可以通过此接口的实现类方法获取调用者、多级调用者以及判断是否被调用
CallerUtil - cn.hutool.core.lang.caller中的类
调用者。
CallerUtil() - 类 的构造器cn.hutool.core.lang.caller.CallerUtil
 
callWithRuntimeException(P...) - 接口 中的方法cn.hutool.core.lang.func.Func
执行函数,异常包装为RuntimeException
callWithRuntimeException() - 接口 中的方法cn.hutool.core.lang.func.Func0
执行函数,异常包装为RuntimeException
callWithRuntimeException(P) - 接口 中的方法cn.hutool.core.lang.func.Func1
执行函数,异常包装为RuntimeException
callWithRuntimeException(P...) - 接口 中的方法cn.hutool.core.lang.func.VoidFunc
执行函数,异常包装为RuntimeException
callWithRuntimeException() - 接口 中的方法cn.hutool.core.lang.func.VoidFunc0
执行函数,异常包装为RuntimeException
callWithRuntimeException(P) - 接口 中的方法cn.hutool.core.lang.func.VoidFunc1
执行函数,异常包装为RuntimeException
CamelCaseLinkedMap<K,V> - cn.hutool.core.map中的类
驼峰Key风格的LinkedHashMap
对KEY转换为驼峰,get("int_value")和get("intValue")获得的值相同,put进入的值也会被覆盖
CamelCaseLinkedMap() - 类 的构造器cn.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(int) - 类 的构造器cn.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(Map<? extends K, ? extends V>) - 类 的构造器cn.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(float, Map<? extends K, ? extends V>) - 类 的构造器cn.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(int, float) - 类 的构造器cn.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseMap<K,V> - cn.hutool.core.map中的类
驼峰Key风格的Map
对KEY转换为驼峰,get("int_value")和get("intValue")获得的值相同,put进入的值也会被覆盖
CamelCaseMap() - 类 的构造器cn.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(int) - 类 的构造器cn.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(Map<? extends K, ? extends V>) - 类 的构造器cn.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(float, Map<? extends K, ? extends V>) - 类 的构造器cn.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(int, float) - 类 的构造器cn.hutool.core.map.CamelCaseMap
构造
captureScreen() - 类 中的静态方法cn.hutool.core.swing.RobotUtil
截取全屏
captureScreen(File) - 类 中的静态方法cn.hutool.core.swing.RobotUtil
截取全屏到文件
captureScreen(Rectangle) - 类 中的静态方法cn.hutool.core.swing.RobotUtil
截屏
captureScreen(Rectangle, File) - 类 中的静态方法cn.hutool.core.swing.RobotUtil
截屏
captureScreen() - 类 中的静态方法cn.hutool.core.swing.ScreenUtil
截取全屏
captureScreen(File) - 类 中的静态方法cn.hutool.core.swing.ScreenUtil
截取全屏到文件
captureScreen(Rectangle) - 类 中的静态方法cn.hutool.core.swing.ScreenUtil
截屏
captureScreen(Rectangle, File) - 类 中的静态方法cn.hutool.core.swing.ScreenUtil
截屏
CAR_DRIVING_LICENCE - 类 中的静态变量cn.hutool.core.lang.PatternPool
驾驶证 别名:驾驶证档案编号、行驶证编号 eg:430101758218 12位数字字符串 仅限:中国驾驶证档案编号
CAR_DRIVING_LICENCE - 接口 中的静态变量cn.hutool.core.lang.RegexPool
驾驶证 别名:驾驶证档案编号、行驶证编号 eg:430101758218 12位数字字符串 仅限:中国驾驶证档案编号
CAR_DRIVING_LICENCE - 类 中的静态变量cn.hutool.core.lang.Validator
驾驶证 别名:驾驶证档案编号、行驶证编号;12位数字字符串;仅限:中国驾驶证档案编号
CAR_VIN - 类 中的静态变量cn.hutool.core.lang.PatternPool
车架号 别名:车辆识别代号 车辆识别码 eg:LDC613P23A1305189 eg:LSJA24U62JG269225 十七位码、车架号 车辆的唯一标示
CAR_VIN - 接口 中的静态变量cn.hutool.core.lang.RegexPool
车架号 别名:车辆识别代号 车辆识别码 eg:LDC613P23A1305189 eg:LSJA24U62JG269225 十七位码、车架号 车辆的唯一标示
CAR_VIN - 类 中的静态变量cn.hutool.core.lang.Validator
车架号;别名:车辆识别代号 车辆识别码;十七位码
carLicense(String) - 类 中的静态方法cn.hutool.core.util.DesensitizedUtil
【中国车牌】车牌中间用*代替 eg1:null -》 "" eg1:"" -》 "" eg3:苏D40000 -》 苏D4***0 eg4:陕A12345D -》 陕A1****D eg5:京A123 -》 京A123 如果是错误的车牌,不处理
CaseInsensitiveLinkedMap<K,V> - cn.hutool.core.map中的类
忽略大小写的LinkedHashMap
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
CaseInsensitiveLinkedMap() - 类 的构造器cn.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(int) - 类 的构造器cn.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(Map<? extends K, ? extends V>) - 类 的构造器cn.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(float, Map<? extends K, ? extends V>) - 类 的构造器cn.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(int, float) - 类 的构造器cn.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveMap<K,V> - cn.hutool.core.map中的类
忽略大小写的Map
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
CaseInsensitiveMap() - 类 的构造器cn.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveMap(int) - 类 的构造器cn.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveMap(Map<? extends K, ? extends V>) - 类 的构造器cn.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveMap(float, Map<? extends K, ? extends V>) - 类 的构造器cn.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveMap(int, float) - 类 的构造器cn.hutool.core.map.CaseInsensitiveMap
构造
cast(Class<?>, Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
强转数组类型
强制转换的前提是数组元素类型可被强制转换
强制转换后会生成一个新数组
CastConverter<T> - cn.hutool.core.convert.impl中的类
强转转换器
CastConverter() - 类 的构造器cn.hutool.core.convert.impl.CastConverter
 
causeInstanceOf(Class<? extends Throwable>) - 异常错误 中的方法cn.hutool.core.io.IORuntimeException
导致这个异常的异常是否是指定类型的异常
causeInstanceOf(Class<? extends Throwable>) - 异常错误 中的方法cn.hutool.core.io.resource.NoResourceException
导致这个异常的异常是否是指定类型的异常
ceilDiv(int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
补充Math.ceilDiv() JDK8中添加了和Math.floorDiv()但却没有ceilDiv()
ceiling(Calendar, DateField) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
修改日期为某个时间字段结束时间
ceiling(Calendar, DateField, boolean) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
修改日期为某个时间字段结束时间
可选是否归零毫秒。
ceiling(Date, DateField) - 类 中的静态方法cn.hutool.core.date.DateUtil
修改日期为某个时间字段结束时间
ceiling(Date, DateField, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
修改日期为某个时间字段结束时间
可选是否归零毫秒。
center(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串 StrUtil.center(null, *) = null StrUtil.center("", 4) = " " StrUtil.center("ab", -1) = "ab" StrUtil.center("ab", 4) = " ab " StrUtil.center("abcd", 2) = "abcd" StrUtil.center("a", 4) = " a "
center(CharSequence, int, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串 StrUtil.center(null, *, *) = null StrUtil.center("", 4, ' ') = " " StrUtil.center("ab", -1, ' ') = "ab" StrUtil.center("ab", 4, ' ') = " ab " StrUtil.center("abcd", 2, ' ') = "abcd" StrUtil.center("a", 4, ' ') = " a " StrUtil.center("a", 4, 'y') = "yayy" StrUtil.center("abc", 7, ' ') = " abc "
center(CharSequence, int, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串 StrUtil.center(null, *, *) = null StrUtil.center("", 4, " ") = " " StrUtil.center("ab", -1, " ") = "ab" StrUtil.center("ab", 4, " ") = " ab " StrUtil.center("abcd", 2, " ") = "abcd" StrUtil.center("a", 4, " ") = " a " StrUtil.center("a", 4, "yz") = "yayz" StrUtil.center("abc", 7, null) = " abc " StrUtil.center("abc", 7, "") = " abc "
centToYuan(long) - 类 中的静态方法cn.hutool.core.math.MathUtil
金额分转换为元
Chain<E,T> - cn.hutool.core.lang中的接口
责任链接口
ChannelCopier - cn.hutool.core.io.copy中的类
ChannelCopier() - 类 的构造器cn.hutool.core.io.copy.ChannelCopier
构造
ChannelCopier(int) - 类 的构造器cn.hutool.core.io.copy.ChannelCopier
构造
ChannelCopier(int, long) - 类 的构造器cn.hutool.core.io.copy.ChannelCopier
构造
ChannelCopier(int, long, StreamProgress) - 类 的构造器cn.hutool.core.io.copy.ChannelCopier
构造
CharacterConverter - cn.hutool.core.convert.impl中的类
字符转换器
CharacterConverter() - 类 的构造器cn.hutool.core.convert.impl.CharacterConverter
 
characteristics() - 类 中的方法cn.hutool.core.collection.TransSpliterator
 
characteristics() - 类 中的方法cn.hutool.core.stream.SimpleCollector
 
charAt(int) - 类 中的方法cn.hutool.core.text.StrBuilder
 
CharFinder - cn.hutool.core.text.finder中的类
字符查找器
CharFinder(char) - 类 的构造器cn.hutool.core.text.finder.CharFinder
构造,不忽略字符大小写
CharFinder(char, boolean) - 类 的构造器cn.hutool.core.text.finder.CharFinder
构造
CharMatcherFinder - cn.hutool.core.text.finder中的类
字符匹配查找器
CharMatcherFinder(Matcher<Character>) - 类 的构造器cn.hutool.core.text.finder.CharMatcherFinder
构造
CharPool - cn.hutool.core.text中的接口
常用字符常量
CharSequenceResource - cn.hutool.core.io.resource中的类
CharSequence资源,字符串做为资源
CharSequenceResource(CharSequence) - 类 的构造器cn.hutool.core.io.resource.CharSequenceResource
构造,使用UTF8编码
CharSequenceResource(CharSequence, String) - 类 的构造器cn.hutool.core.io.resource.CharSequenceResource
构造,使用UTF8编码
CharSequenceResource(CharSequence, CharSequence, Charset) - 类 的构造器cn.hutool.core.io.resource.CharSequenceResource
构造
CharSequenceUtil - cn.hutool.core.text中的类
CharSequence 相关工具类封装
CharSequenceUtil() - 类 的构造器cn.hutool.core.text.CharSequenceUtil
 
charset - 类 中的变量cn.hutool.core.io.file.FileWrapper
 
charset(String) - 类 中的静态方法cn.hutool.core.util.CharsetUtil
转换为Charset对象
CHARSET_GBK - 类 中的静态变量cn.hutool.core.util.CharsetUtil
GBK
CHARSET_ISO_8859_1 - 类 中的静态变量cn.hutool.core.util.CharsetUtil
ISO-8859-1
CHARSET_UTF_8 - 类 中的静态变量cn.hutool.core.util.CharsetUtil
UTF-8
CharsetConverter - cn.hutool.core.convert.impl中的类
编码对象转换器
CharsetConverter() - 类 的构造器cn.hutool.core.convert.impl.CharsetConverter
 
CharsetDetector - cn.hutool.core.io中的类
编码探测器
CharsetDetector() - 类 的构造器cn.hutool.core.io.CharsetDetector
 
CharsetUtil - cn.hutool.core.util中的类
字符集工具类
CharsetUtil() - 类 的构造器cn.hutool.core.util.CharsetUtil
 
CharUtil - cn.hutool.core.util中的类
字符工具类
部分工具来自于Apache Commons系列
CharUtil() - 类 的构造器cn.hutool.core.util.CharUtil
 
check(String) - 类 中的静态方法cn.hutool.core.text.PasswdStrength
检查密码的健壮性
checkBetween(int, int, int, Supplier<? extends X>) - 类 中的静态方法cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(int, int, int, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(int, int, int) - 类 中的静态方法cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(long, long, long, Supplier<? extends X>) - 类 中的静态方法cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(long, long, long, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(long, long, long) - 类 中的静态方法cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(double, double, double, Supplier<? extends X>) - 类 中的静态方法cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(double, double, double, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(double, double, double) - 类 中的静态方法cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(Number, Number, Number) - 类 中的静态方法cn.hutool.core.lang.Assert
检查值是否在指定范围内
checkClientTrusted(X509Certificate[], String) - 类 中的方法cn.hutool.core.net.DefaultTrustManager
 
checkClientTrusted(X509Certificate[], String, Socket) - 类 中的方法cn.hutool.core.net.DefaultTrustManager
 
checkClientTrusted(X509Certificate[], String, SSLEngine) - 类 中的方法cn.hutool.core.net.DefaultTrustManager
 
checkIndex(int, int) - 类 中的静态方法cn.hutool.core.lang.Assert
检查下标(数组、集合、字符串)是否符合要求,下标必须满足: 0 ≤ index < size
checkIndex(int, int, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
检查下标(数组、集合、字符串)是否符合要求,下标必须满足: 0 ≤ index < size
checkServerTrusted(X509Certificate[], String) - 类 中的方法cn.hutool.core.net.DefaultTrustManager
 
checkServerTrusted(X509Certificate[], String, Socket) - 类 中的方法cn.hutool.core.net.DefaultTrustManager
 
checkServerTrusted(X509Certificate[], String, SSLEngine) - 类 中的方法cn.hutool.core.net.DefaultTrustManager
 
checkSlip(File, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
检查父完整路径是否为自路径的前半部分,如果不是说明不是子路径,可能存在slip注入。
checksum(File, Checksum) - 类 中的静态方法cn.hutool.core.io.FileUtil
计算文件校验码
checksum(InputStream, Checksum) - 类 中的静态方法cn.hutool.core.io.IoUtil
计算流的校验码,计算后关闭流
checksumCRC32(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
计算文件CRC32校验码
checksumCRC32(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
计算流CRC32校验码,计算后关闭流
checksumValue(InputStream, Checksum) - 类 中的静态方法cn.hutool.core.io.IoUtil
计算流的校验码,计算后关闭流
CHINESE - 类 中的静态变量cn.hutool.core.lang.PatternPool
单个中文汉字
CHINESE - 接口 中的静态变量cn.hutool.core.lang.RegexPool
单个中文汉字
CHINESE_DATE_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy年MM月dd日
CHINESE_DATE_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy年MM月dd日
CHINESE_DATE_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式:yyyy年MM月dd日
CHINESE_DATE_TIME_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy年MM月dd日HH时mm分ss秒
CHINESE_DATE_TIME_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy年MM月dd日HH时mm分ss秒
CHINESE_DATE_TIME_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式:yyyy年MM月dd日 HH时mm分ss秒
ChineseDate - cn.hutool.core.date中的类
农历日期工具,最大支持到2055年,支持: 通过公历日期构造获取对应农历 通过农历日期直接构造
ChineseDate(Date) - 类 的构造器cn.hutool.core.date.ChineseDate
通过公历日期构造
ChineseDate(int, int, int) - 类 的构造器cn.hutool.core.date.ChineseDate
构造方法传入日期
ChineseMonth - cn.hutool.core.date.chinese中的类
农历月份表示
ChineseMonth() - 类 的构造器cn.hutool.core.date.chinese.ChineseMonth
 
chineseName(String) - 类 中的静态方法cn.hutool.core.util.DesensitizedUtil
【中文姓名】只显示第一个汉字,其他隐藏为2个星号,比如:李**
CHINESES - 类 中的静态变量cn.hutool.core.lang.PatternPool
中文汉字
CHINESES - 接口 中的静态变量cn.hutool.core.lang.RegexPool
中文汉字
chineseToNumber(String) - 类 中的静态方法cn.hutool.core.convert.Convert
数字中文表示形式转数字 一百一十二 -》 112 一千零一十二 -》 1012
chineseToNumber(String) - 类 中的静态方法cn.hutool.core.convert.NumberChineseFormatter
把中文转换为数字 如 二百二十 220
见:https://www.d5.nz/read/sfdlq/text-part0000_split_030.html 一百一十二 -》 112 一千零一十二 -》 1012
CITIZEN_ID - 类 中的静态变量cn.hutool.core.lang.PatternPool
18位身份证号码
CITIZEN_ID - 接口 中的静态变量cn.hutool.core.lang.RegexPool
18位身份证号码
CITIZEN_ID - 类 中的静态变量cn.hutool.core.lang.Validator
身份证号码
CityHash - cn.hutool.core.lang.hash中的类
Google发布的Hash计算算法:CityHash64 与 CityHash128。
CityHash() - 类 的构造器cn.hutool.core.lang.hash.CityHash
 
cityHash128(byte[]) - 类 中的静态方法cn.hutool.core.util.HashUtil
CityHash算法128-bit实现
cityHash128(byte[], Number128) - 类 中的静态方法cn.hutool.core.util.HashUtil
CityHash算法128-bit实现
cityHash32(byte[]) - 类 中的静态方法cn.hutool.core.util.HashUtil
CityHash算法32-bit实现
cityHash64(byte[], long) - 类 中的静态方法cn.hutool.core.util.HashUtil
CityHash算法64-bit实现,种子1使用默认的CityHash#k2
cityHash64(byte[], long, long) - 类 中的静态方法cn.hutool.core.util.HashUtil
CityHash算法64-bit实现,种子1使用默认的CityHash#k2
cityHash64(byte[]) - 类 中的静态方法cn.hutool.core.util.HashUtil
CityHash算法64-bit实现
CLASS_EXT - 类 中的静态变量cn.hutool.core.io.FileUtil
Class文件扩展名
ClassConverter - cn.hutool.core.convert.impl中的类
类转换器
将类名转换为类,默认初始化这个类(执行static块)
ClassConverter() - 类 的构造器cn.hutool.core.convert.impl.ClassConverter
构造
ClassConverter(boolean) - 类 的构造器cn.hutool.core.convert.impl.ClassConverter
构造
ClassLoaderUtil - cn.hutool.core.util中的类
ClassLoader工具类
ClassLoaderUtil() - 类 的构造器cn.hutool.core.util.ClassLoaderUtil
 
CLASSPATH_URL_PREFIX - 类 中的静态变量cn.hutool.core.util.URLUtil
针对ClassPath路径的伪协议前缀(兼容Spring): "classpath:"
ClassPathResource - cn.hutool.core.io.resource中的类
ClassPath单一资源访问类
传入路径path必须为相对路径,如果传入绝对路径,Linux路径会去掉开头的“/”,而Windows路径会直接报错。
ClassPathResource(String) - 类 的构造器cn.hutool.core.io.resource.ClassPathResource
构造
ClassPathResource(String, ClassLoader) - 类 的构造器cn.hutool.core.io.resource.ClassPathResource
构造
ClassPathResource(String, Class<?>) - 类 的构造器cn.hutool.core.io.resource.ClassPathResource
构造
ClassPathResource(String, ClassLoader, Class<?>) - 类 的构造器cn.hutool.core.io.resource.ClassPathResource
构造
ClassScanner - cn.hutool.core.lang中的类
类扫描器
ClassScanner() - 类 的构造器cn.hutool.core.lang.ClassScanner
构造,默认UTF-8编码
ClassScanner(String) - 类 的构造器cn.hutool.core.lang.ClassScanner
构造,默认UTF-8编码
ClassScanner(String, Filter<Class<?>>) - 类 的构造器cn.hutool.core.lang.ClassScanner
构造,默认UTF-8编码
ClassScanner(String, Filter<Class<?>>, Charset) - 类 的构造器cn.hutool.core.lang.ClassScanner
构造
ClassUtil - cn.hutool.core.util中的类
类工具类
ClassUtil() - 类 的构造器cn.hutool.core.util.ClassUtil
 
clean(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
clean(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
cleanBlank(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
清理空白字符
cleanComment(String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
去除XML文本中的注释内容
cleanEmpty(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
清理空文件夹
此方法用于递归删除空的文件夹,不删除文件
如果传入的文件夹本身就是空的,删除这个文件夹
cleanInvalid(String) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
清除文件名中的在Windows下不支持的非法字符,包括: \ / : * ?
cleanInvalid(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
清除文件名中的在Windows下不支持的非法字符,包括: \ / : * ?
cleanInvalid(String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
去除XML文本中的无效字符
clear(Collection<?>...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
清除一个或多个集合内的元素,每个集合调用clear()方法
clear() - 类 中的方法cn.hutool.core.collection.ConcurrentHashSet
 
clear() - 类 中的方法cn.hutool.core.collection.TransCollection
 
clear() - 类 中的方法cn.hutool.core.date.GroupTimeInterval
清空所有定时记录
clear() - 类 中的静态方法cn.hutool.core.lang.PatternPool
清空缓存池
clear() - 类 中的方法cn.hutool.core.lang.SimpleCache
清空缓存池
clear() - 类 中的方法cn.hutool.core.lang.WeightRandom
清空权重表
clear() - 类 中的方法cn.hutool.core.map.BiMap
 
clear() - 类 中的方法cn.hutool.core.map.MapProxy
 
clear(Map<?, ?>...) - 类 中的静态方法cn.hutool.core.map.MapUtil
清除一个或多个Map集合内的元素,每个Map调用clear()方法
clear() - 类 中的方法cn.hutool.core.map.MapWrapper
 
clear() - 类 中的方法cn.hutool.core.map.TableMap
 
clear() - 类 中的静态方法cn.hutool.core.math.BitStatusUtil
清空状态就是0
clear() - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
clear() - 类 中的方法cn.hutool.core.text.StrBuilder
删除全部字符,位置归零
clearListener() - 枚举 中的方法cn.hutool.core.swing.clipboard.ClipboardMonitor
清空监听
clearWorker() - 类 中的方法cn.hutool.core.thread.SyncFinisher
清空工作线程对象
click() - 类 中的静态方法cn.hutool.core.swing.RobotUtil
模拟单击
鼠标单击包括鼠标左键的按下和释放
ClipboardListener - cn.hutool.core.swing.clipboard中的接口
剪贴板监听事件处理接口
用户通过实现此接口,实现监听剪贴板内容变化
ClipboardMonitor - cn.hutool.core.swing.clipboard中的枚举
剪贴板监听
ClipboardUtil - cn.hutool.core.swing.clipboard中的类
系统剪贴板工具类
ClipboardUtil() - 类 的构造器cn.hutool.core.swing.clipboard.ClipboardUtil
 
clockSequence() - 类 中的方法cn.hutool.core.lang.UUID
与此 UUID 相关联的时钟序列值。
clone() - 接口 中的方法cn.hutool.core.clone.Cloneable
克隆当前对象,浅复制
clone() - 类 中的方法cn.hutool.core.clone.CloneSupport
 
clone() - 类 中的方法cn.hutool.core.lang.Dict
 
clone(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
克隆数组
clone(T) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
克隆数组,如果非数组返回null
clone(T) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
克隆对象
如果对象实现Cloneable接口,调用其clone方法
如果实现Serializable接口,执行深度克隆
否则返回null
clone(T) - 类 中的静态方法cn.hutool.core.util.SerializeUtil
序列化后拷贝流的方式克隆
对象必须实现Serializable接口
Cloneable<T> - cn.hutool.core.clone中的接口
克隆支持接口
cloneByStream(T) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
序列化后拷贝流的方式克隆
对象必须实现Serializable接口
cloneIfPossible(T) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
返回克隆后的对象,如果克隆失败,返回原对象
CloneRuntimeException - cn.hutool.core.clone中的异常错误
克隆异常
CloneRuntimeException(Throwable) - 异常错误 的构造器cn.hutool.core.clone.CloneRuntimeException
 
CloneRuntimeException(String) - 异常错误 的构造器cn.hutool.core.clone.CloneRuntimeException
 
CloneRuntimeException(String, Object...) - 异常错误 的构造器cn.hutool.core.clone.CloneRuntimeException
 
CloneRuntimeException(String, Throwable) - 异常错误 的构造器cn.hutool.core.clone.CloneRuntimeException
 
CloneRuntimeException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.clone.CloneRuntimeException
 
CloneSupport<T> - cn.hutool.core.clone中的类
克隆支持类,提供默认的克隆方法
CloneSupport() - 类 的构造器cn.hutool.core.clone.CloneSupport
 
close() - 类 中的方法cn.hutool.core.collection.LineIter
关闭Reader
close() - 类 中的方法cn.hutool.core.compress.Deflate
 
close() - 类 中的方法cn.hutool.core.compress.Gzip
 
close() - 类 中的方法cn.hutool.core.compress.ZipReader
 
close() - 类 中的方法cn.hutool.core.compress.ZipWriter
 
close() - 类 中的方法cn.hutool.core.io.AppendableWriter
 
close() - 类 中的方法cn.hutool.core.io.BOMInputStream
 
close() - 类 中的方法cn.hutool.core.io.BomReader
 
close() - 类 中的方法cn.hutool.core.io.FastByteArrayOutputStream
此方法无任何效果,当流被关闭后不会抛出IOException
close() - 类 中的方法cn.hutool.core.io.FastStringWriter
 
close(Closeable) - 类 中的静态方法cn.hutool.core.io.IoUtil
关闭
关闭失败不会抛出异常
close(AutoCloseable) - 类 中的静态方法cn.hutool.core.io.NioUtil
关闭
关闭失败不会抛出异常
close() - 类 中的方法cn.hutool.core.io.watch.WatchServer
关闭监听
close() - 枚举 中的方法cn.hutool.core.swing.clipboard.ClipboardMonitor
关闭(停止)监听
close() - 类 中的方法cn.hutool.core.text.csv.CsvParser
 
close() - 类 中的方法cn.hutool.core.text.csv.CsvReader
 
close() - 类 中的方法cn.hutool.core.text.csv.CsvWriter
 
closeIfPosible(Object) - 类 中的静态方法cn.hutool.core.io.IoUtil
尝试关闭指定对象
判断对象如果实现了AutoCloseable,则调用之
closeStream - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
cn.hutool.core.annotation - 程序包 cn.hutool.core.annotation
注解包,提供增强型注解和注解工具类
cn.hutool.core.bean - 程序包 cn.hutool.core.bean
Bean相关操作,包括Bean信息描述,Bean路径表达式、动态Bean、Bean工具等
cn.hutool.core.bean.copier - 程序包 cn.hutool.core.bean.copier
Bean拷贝实现,包括拷贝选项等
cn.hutool.core.bean.copier.provider - 程序包 cn.hutool.core.bean.copier.provider
Bean值提供者方式封装
cn.hutool.core.builder - 程序包 cn.hutool.core.builder
建造者工具
用于建造特定对象或结果
cn.hutool.core.clone - 程序包 cn.hutool.core.clone
克隆封装
cn.hutool.core.codec - 程序包 cn.hutool.core.codec
BaseN以及BCD编码封装
cn.hutool.core.collection - 程序包 cn.hutool.core.collection
集合以及Iterator封装,包括集合工具CollUtil,Iterator和Iterable工具IterUtil
cn.hutool.core.comparator - 程序包 cn.hutool.core.comparator
各种比较器(Comparator)实现和封装
cn.hutool.core.compiler - 程序包 cn.hutool.core.compiler
运行时编译java源码,动态从字符串或外部文件加载类
cn.hutool.core.compress - 程序包 cn.hutool.core.compress
压缩解压封装
cn.hutool.core.convert - 程序包 cn.hutool.core.convert
万能类型转换器以及各种类型转换的实现类,其中Convert为转换器入口,提供各种toXXX方法和convert方法
cn.hutool.core.convert.impl - 程序包 cn.hutool.core.convert.impl
各种类型转换的实现类,其都为Converter接口的实现,用于将未知的Object类型转换为指定类型
cn.hutool.core.date - 程序包 cn.hutool.core.date
日期封装,日期的核心为DateTime类,DateUtil提供日期操作的入口
cn.hutool.core.date.chinese - 程序包 cn.hutool.core.date.chinese
农历相关类汇总,包括农历月、天干地支、农历节日、24节气等
cn.hutool.core.date.format - 程序包 cn.hutool.core.date.format
提供线程安全的日期格式的格式化和解析实现
cn.hutool.core.exceptions - 程序包 cn.hutool.core.exceptions
特殊异常封装,同时提供异常工具ExceptionUtil
cn.hutool.core.getter - 程序包 cn.hutool.core.getter
getXXX方法的接口和抽象实现
cn.hutool.core.img - 程序包 cn.hutool.core.img
图像处理相关工具类封装
cn.hutool.core.img.gif - 程序包 cn.hutool.core.img.gif
GIF处理,来自:https://github.com/rtyley/animated-gif-lib-for-java
cn.hutool.core.io - 程序包 cn.hutool.core.io
IO相关封装和工具类,包括Inputstream和OutputStream实现类,工具包括流工具IoUtil、文件工具FileUtil和Buffer工具BufferUtil
cn.hutool.core.io.checksum - 程序包 cn.hutool.core.io.checksum
IO校验相关库和工具
cn.hutool.core.io.checksum.crc16 - 程序包 cn.hutool.core.io.checksum.crc16
CRC16相关算法封装为Checksum
cn.hutool.core.io.copy - 程序包 cn.hutool.core.io.copy
IO流拷贝相关封装相关封装
cn.hutool.core.io.file - 程序包 cn.hutool.core.io.file
对文件读写的封装,包括文件拷贝、文件读取、文件写出、行处理等
cn.hutool.core.io.file.visitor - 程序包 cn.hutool.core.io.file.visitor
FileVisitor功能性实现,包括递归删除、拷贝等
cn.hutool.core.io.resource - 程序包 cn.hutool.core.io.resource
针对ClassPath和文件中资源读取的封装,主要入口为工具类ResourceUtil
cn.hutool.core.io.unit - 程序包 cn.hutool.core.io.unit
数据单位相关封装,包括DataUnit数据单位和DataSize数据大小
cn.hutool.core.io.watch - 程序包 cn.hutool.core.io.watch
基于JDK7+ WatchService的文件和目录监听封装,支持多级目录
cn.hutool.core.io.watch.watchers - 程序包 cn.hutool.core.io.watch.watchers
文件监听中的观察者实现类,包括延迟处理、处理链等
cn.hutool.core.lang - 程序包 cn.hutool.core.lang
语言特性包,包括大量便捷的数据结构,例如验证器Validator,分布式ID生成器Snowflake等
cn.hutool.core.lang.caller - 程序包 cn.hutool.core.lang.caller
调用者接口及实现。
cn.hutool.core.lang.copier - 程序包 cn.hutool.core.lang.copier
拷贝抽象实现,通过抽象拷贝,可以实现文件、流、Buffer之间的拷贝实现
cn.hutool.core.lang.func - 程序包 cn.hutool.core.lang.func
函数封装
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
cn.hutool.core.lang.generator - 程序包 cn.hutool.core.lang.generator
提供生成器接口及相关封装
cn.hutool.core.lang.hash - 程序包 cn.hutool.core.lang.hash
提供Hash算法的封装
cn.hutool.core.lang.id - 程序包 cn.hutool.core.lang.id
提供各种ID生成
cn.hutool.core.lang.intern - 程序包 cn.hutool.core.lang.intern
规范化表示形式封装
所谓规范化,即当两个对象equals时,规范化的对象则可以实现==
此包中的相关封装类似于 String#intern()
cn.hutool.core.lang.loader - 程序包 cn.hutool.core.lang.loader
加载器的抽象接口和实现,包括懒加载的实现等
cn.hutool.core.lang.mutable - 程序包 cn.hutool.core.lang.mutable
提供可变值对象的封装,用于封装int、long等不可变值,使其可变
cn.hutool.core.lang.reflect - 程序包 cn.hutool.core.lang.reflect
提供反射相关功能对象和类
cn.hutool.core.lang.tree - 程序包 cn.hutool.core.lang.tree
提供通用树生成,特点: 1、每个字段可自定义
2、支持排序 树深度配置,自定义转换器等
3、支持额外属性扩展
4、贴心 许多属性,特性都有默认值处理
5、使用简单 可一行代码生成树
6、代码简洁轻量无额外依赖
cn.hutool.core.lang.tree.parser - 程序包 cn.hutool.core.lang.tree.parser
 
cn.hutool.core.map - 程序包 cn.hutool.core.map
Map相关封装,提供特殊Map实现以及Map工具MapUtil
cn.hutool.core.map.multi - 程序包 cn.hutool.core.map.multi
列表类型值的Map实现
cn.hutool.core.math - 程序包 cn.hutool.core.math
提供数学计算相关封装,包括排列组合等,入口为MathUtil
cn.hutool.core.net - 程序包 cn.hutool.core.net
网络相关工具
cn.hutool.core.net.multipart - 程序包 cn.hutool.core.net.multipart
文件上传封装
cn.hutool.core.net.url - 程序包 cn.hutool.core.net.url
URL相关工具
cn.hutool.core.stream - 程序包 cn.hutool.core.stream
Java8的stream相关封装
cn.hutool.core.swing - 程序包 cn.hutool.core.swing
Swing和awt相关封装
cn.hutool.core.swing.clipboard - 程序包 cn.hutool.core.swing.clipboard
剪贴板相关的工具,包括剪贴板监听等
cn.hutool.core.text - 程序包 cn.hutool.core.text
提供文本相关操作的封装,还包括Unicode工具UnicodeUtil
cn.hutool.core.text.csv - 程序包 cn.hutool.core.text.csv
提供CSV文件读写的封装,入口为CsvUtil
cn.hutool.core.text.escape - 程序包 cn.hutool.core.text.escape
提供各种转义和反转义实现
cn.hutool.core.text.finder - 程序包 cn.hutool.core.text.finder
 
cn.hutool.core.text.replacer - 程序包 cn.hutool.core.text.replacer
文本替换类抽象及实现
cn.hutool.core.text.split - 程序包 cn.hutool.core.text.split
 
cn.hutool.core.thread - 程序包 cn.hutool.core.thread
提供线程及高并发封装,入口为ThreadUtil
cn.hutool.core.thread.lock - 程序包 cn.hutool.core.thread.lock
锁的实现
cn.hutool.core.thread.threadlocal - 程序包 cn.hutool.core.thread.threadlocal
ThreadLocal相关封装
cn.hutool.core.util - 程序包 cn.hutool.core.util
提供各种工具方法,按照归类入口为XXXUtil,如字符串工具StrUtil等
CollectionConverter - cn.hutool.core.convert.impl中的类
各种集合类转换器
CollectionConverter() - 类 的构造器cn.hutool.core.convert.impl.CollectionConverter
构造,默认集合类型使用Collection
CollectionConverter(Type) - 类 的构造器cn.hutool.core.convert.impl.CollectionConverter
构造
CollectionConverter(Class<?>) - 类 的构造器cn.hutool.core.convert.impl.CollectionConverter
构造
CollectionConverter(Type, Type) - 类 的构造器cn.hutool.core.convert.impl.CollectionConverter
构造
CollectionUtil - cn.hutool.core.collection中的类
集合相关工具类,包括数组,是CollUtil 的别名工具类类
CollectionUtil() - 类 的构造器cn.hutool.core.collection.CollectionUtil
 
CollectionValueMap<K,V> - cn.hutool.core.map.multi中的类
值作为集合的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
此类可以通过传入函数自定义集合类型的创建规则
CollectionValueMap() - 类 的构造器cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(int) - 类 的构造器cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(Map<? extends K, ? extends Collection<V>>) - 类 的构造器cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(float, Map<? extends K, ? extends Collection<V>>) - 类 的构造器cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(int, float) - 类 的构造器cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(float, Map<? extends K, ? extends Collection<V>>, Func0<Collection<V>>) - 类 的构造器cn.hutool.core.map.multi.CollectionValueMap
构造
CollectionValueMap(int, float, Func0<Collection<V>>) - 类 的构造器cn.hutool.core.map.multi.CollectionValueMap
构造
CollectorUtil - cn.hutool.core.stream中的类
可变的汇聚操作Collector 相关工具封装
CollectorUtil() - 类 的构造器cn.hutool.core.stream.CollectorUtil
 
CollStreamUtil - cn.hutool.core.collection中的类
集合的stream操作封装
CollStreamUtil() - 类 的构造器cn.hutool.core.collection.CollStreamUtil
 
CollUtil - cn.hutool.core.collection中的类
集合相关工具类 此工具方法针对Collection及其实现类封装的工具。
CollUtil() - 类 的构造器cn.hutool.core.collection.CollUtil
 
CollUtil.Consumer<T> - cn.hutool.core.collection中的接口
针对一个参数做相应的操作
此函数接口与JDK8中Consumer不同是多提供了index参数,用于标记遍历对象是第几个。
CollUtil.KVConsumer<K,V> - cn.hutool.core.collection中的接口
针对两个参数做相应的操作,例如Map中的KEY和VALUE
COLON - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:冒号 ':'
COLON - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:冒号 ":"
colorConvert(ColorSpace, BufferedImage) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图片颜色转换
可以使用灰度 (gray)等
colorDepth - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
colorMap() - 类 中的方法cn.hutool.core.img.gif.NeuQuant
 
colorTab - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
Combination - cn.hutool.core.math中的类
组合,即C(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
Combination(String[]) - 类 的构造器cn.hutool.core.math.Combination
组合,即C(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
CombinationAnnotationElement - cn.hutool.core.annotation中的类
组合注解 对JDK的原生注解机制做一个增强,支持类似Spring的组合注解。
CombinationAnnotationElement(AnnotatedElement) - 类 的构造器cn.hutool.core.annotation.CombinationAnnotationElement
构造
combinationCount(int, int) - 类 中的静态方法cn.hutool.core.math.MathUtil
计算组合数,即C(n, m) = n!
combinationSelect(String[], int) - 类 中的静态方法cn.hutool.core.math.MathUtil
组合选择(从列表中选择n个组合)
combiner() - 类 中的方法cn.hutool.core.stream.SimpleCollector
 
COMMA - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:逗号 ','
COMMA - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:逗号 ","
COMMENT_REGEX - 类 中的静态变量cn.hutool.core.util.XmlUtil
在XML中注释的内容 正则
commentCharacter - 类 中的变量cn.hutool.core.text.csv.CsvConfig
注释符号,用于区分注释行,默认'#'
ComparableComparator<E extends Comparable<? super E>> - cn.hutool.core.comparator中的类
针对 Comparable对象的默认比较器
ComparableComparator() - 类 的构造器cn.hutool.core.comparator.ComparableComparator
构造
comparator - 类 中的变量cn.hutool.core.comparator.NullComparator
 
ComparatorChain<E> - cn.hutool.core.comparator中的类
比较器链。
ComparatorChain() - 类 的构造器cn.hutool.core.comparator.ComparatorChain
构造空的比较器链,必须至少有一个比较器,否则会在compare时抛出UnsupportedOperationException
ComparatorChain(Comparator<E>) - 类 的构造器cn.hutool.core.comparator.ComparatorChain
构造,初始化单一比较器。
ComparatorChain(Comparator<E>, boolean) - 类 的构造器cn.hutool.core.comparator.ComparatorChain
构造,初始化单一比较器。
ComparatorChain(List<Comparator<E>>) - 类 的构造器cn.hutool.core.comparator.ComparatorChain
构造,使用已有的比较器列表
ComparatorChain(List<Comparator<E>>, BitSet) - 类 的构造器cn.hutool.core.comparator.ComparatorChain
构造,使用已有的比较器列表和对应的BitSet
BitSet中的boolean值需与list中的Comparator一一对应,true表示正序,false反序
ComparatorException - cn.hutool.core.comparator中的异常错误
比较异常
ComparatorException(Throwable) - 异常错误 的构造器cn.hutool.core.comparator.ComparatorException
 
ComparatorException(String) - 异常错误 的构造器cn.hutool.core.comparator.ComparatorException
 
ComparatorException(String, Object...) - 异常错误 的构造器cn.hutool.core.comparator.ComparatorException
 
ComparatorException(String, Throwable) - 异常错误 的构造器cn.hutool.core.comparator.ComparatorException
 
ComparatorException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.comparator.ComparatorException
 
compare(E, E) - 类 中的方法cn.hutool.core.comparator.ComparableComparator
比较两个Comparable对象 obj1.compareTo(obj2)
compare(E, E) - 类 中的方法cn.hutool.core.comparator.ComparatorChain
执行比较
按照比较器链的顺序分别比较,如果比较出相等则转向下一个比较器,否则直接返回
compare(T, T, Comparator<T>) - 类 中的静态方法cn.hutool.core.comparator.CompareUtil
对象比较,比较结果取决于comparator,如果被比较对象为null,传入的comparator对象应处理此情况
如果传入comparator为null,则使用默认规则比较(此时被比较对象必须实现Comparable接口) 一般而言,如果c1 < c2,返回数小于0,c1==c2返回0,c1 > c2 大于0
compare(T, T) - 类 中的静态方法cn.hutool.core.comparator.CompareUtil
null安全的对象比较,null对象小于任何对象
compare(T, T, boolean) - 类 中的静态方法cn.hutool.core.comparator.CompareUtil
null安全的对象比较
compare(T, T, boolean) - 类 中的静态方法cn.hutool.core.comparator.CompareUtil
自然比较两个对象的大小,比较规则如下: 1、如果实现Comparable调用compareTo比较 2、o1.equals(o2)返回0 3、比较hashCode值 4、比较toString值
compare(T, T) - 类 中的方法cn.hutool.core.comparator.IndexedComparator
 
compare(T, T) - 类 中的方法cn.hutool.core.comparator.InstanceComparator
 
compare(T, T) - 类 中的方法cn.hutool.core.comparator.NullComparator
 
compare(String, String) - 类 中的方法cn.hutool.core.comparator.PinyinComparator
 
compare(E, E) - 类 中的方法cn.hutool.core.comparator.ReverseComparator
 
compare(String, String) - 类 中的方法cn.hutool.core.comparator.VersionComparator
比较两个版本
null版本排在最小:即: compare(null, "v1") < 0 compare("v1", "v1") = 0 compare(null, null) = 0 compare("v1", null) > 0 compare("1.0.0", "1.0.2") < 0 compare("1.0.2", "1.0.2a") < 0 compare("1.13.0", "1.12.1c") > 0 compare("V0.0.20170102", "V0.0.20170101") > 0
compare(Calendar, Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
null安全的Calendar比较,null小于任何日期
compare(Date, Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
null安全的日期比较,null对象排在末尾
compare(Date, Date, String) - 类 中的静态方法cn.hutool.core.date.DateUtil
null安全的日期比较,并只比较指定格式; null对象排在末尾, 并指定日期格式;
compare(char, char) - 类 中的方法cn.hutool.core.math.Calculator
利用ASCII码-40做下标去算术符号优先级
compare(CharSequence, CharSequence, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
比较两个字符串,用于排序 StrUtil.compare(null, null, *) = 0 StrUtil.compare(null , "a", true) < 0 StrUtil.compare(null , "a", false) > 0 StrUtil.compare("a", null, true) > 0 StrUtil.compare("a", null, false) < 0 StrUtil.compare("abc", "abc", *) = 0 StrUtil.compare("a", "b", *) < 0 StrUtil.compare("b", "a", *) > 0 StrUtil.compare("a", "B", *) > 0 StrUtil.compare("ab", "abc", *) < 0
compare(char, char) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(double, double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(long, long) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(short, short) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(byte, byte) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较两个值的大小
compare(T, T) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
null安全的对象比较,null对象排在末尾
compare(T, T, boolean) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
null安全的对象比较
compareIgnoreCase(CharSequence, CharSequence, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
比较两个字符串,用于排序,大小写不敏感 StrUtil.compareIgnoreCase(null, null, *) = 0 StrUtil.compareIgnoreCase(null , "a", true) < 0 StrUtil.compareIgnoreCase(null , "a", false) > 0 StrUtil.compareIgnoreCase("a", null, true) > 0 StrUtil.compareIgnoreCase("a", null, false) < 0 StrUtil.compareIgnoreCase("abc", "abc", *) = 0 StrUtil.compareIgnoreCase("abc", "ABC", *) = 0 StrUtil.compareIgnoreCase("a", "b", *) < 0 StrUtil.compareIgnoreCase("b", "a", *) > 0 StrUtil.compareIgnoreCase("a", "B", *) < 0 StrUtil.compareIgnoreCase("A", "b", *) < 0 StrUtil.compareIgnoreCase("ab", "abc", *) < 0
compareItem(T, T, Field) - 类 中的方法cn.hutool.core.comparator.BaseFieldComparator
已过时。
比较两个对象的同一个字段值
compareTo(DataSize) - 类 中的方法cn.hutool.core.io.unit.DataSize
 
compareTo(MutableBool) - 类 中的方法cn.hutool.core.lang.mutable.MutableBool
比较
compareTo(MutableByte) - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
比较
compareTo(MutableDouble) - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
比较
compareTo(MutableFloat) - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
比较
compareTo(MutableInt) - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
比较
compareTo(MutableLong) - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
比较
compareTo(MutableShort) - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
比较
compareTo(Node) - 接口 中的方法cn.hutool.core.lang.tree.Node
 
compareTo(UUID) - 类 中的方法cn.hutool.core.lang.UUID
将此 UUID 与指定的 UUID 比较。
compareTo(Money) - 类 中的方法cn.hutool.core.math.Money
货币比较。
CompareToBuilder - cn.hutool.core.builder中的类
用于构建 Comparable.compareTo(Object) 方法的辅助工具 在Bean对象中,所有相关字段都参与比对,继承的字段不参与。
CompareToBuilder() - 类 的构造器cn.hutool.core.builder.CompareToBuilder
构造,构造后调用append方法增加比较项,然后调用CompareToBuilder.toComparison()获取结果
CompareUtil - cn.hutool.core.comparator中的类
比较工具类
CompareUtil() - 类 的构造器cn.hutool.core.comparator.CompareUtil
 
compareVersion(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
比较两个版本
null版本排在最小:即: StrUtil.compareVersion(null, "v1") < 0 StrUtil.compareVersion("v1", "v1") = 0 StrUtil.compareVersion(null, null) = 0 StrUtil.compareVersion("v1", null) > 0 StrUtil.compareVersion("1.0.0", "1.0.2") < 0 StrUtil.compareVersion("1.0.2", "1.0.2a") < 0 StrUtil.compareVersion("1.13.0", "1.12.1c") > 0 StrUtil.compareVersion("V0.0.20170102", "V0.0.20170101") > 0
comparingPinyin(Function<T, String>) - 类 中的静态方法cn.hutool.core.comparator.CompareUtil
中文比较器
comparingPinyin(Function<T, String>, boolean) - 类 中的静态方法cn.hutool.core.comparator.CompareUtil
中文比较器
compile(String...) - 类 中的静态方法cn.hutool.core.compiler.CompilerUtil
编译指定的源码文件
compile() - 类 中的方法cn.hutool.core.compiler.JavaSourceCompiler
编译所有文件并返回类加载器
CompilerException - cn.hutool.core.compiler中的异常错误
编译异常
CompilerException(Throwable) - 异常错误 的构造器cn.hutool.core.compiler.CompilerException
 
CompilerException(String) - 异常错误 的构造器cn.hutool.core.compiler.CompilerException
 
CompilerException(String, Object...) - 异常错误 的构造器cn.hutool.core.compiler.CompilerException
 
CompilerException(String, Throwable) - 异常错误 的构造器cn.hutool.core.compiler.CompilerException
 
CompilerException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.compiler.CompilerException
 
CompilerUtil - cn.hutool.core.compiler中的类
源码编译工具类,主要封装JavaCompiler 相关功能
CompilerUtil() - 类 的构造器cn.hutool.core.compiler.CompilerUtil
 
completeUrl(String, String) - 类 中的静态方法cn.hutool.core.util.URLUtil
补全相对路径
compress(File, File, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
压缩图像,输出图像只支持jpg文件
compute(K, BiFunction<? super K, ? super V, ? extends V>) - 类 中的方法cn.hutool.core.map.MapWrapper
 
computeIfAbsent(K, Function<? super K, ? extends V>) - 类 中的方法cn.hutool.core.map.MapWrapper
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - 类 中的方法cn.hutool.core.map.MapWrapper
 
ComputeIter<T> - cn.hutool.core.collection中的类
带有计算属性的遍历器
通过继承此抽象遍历器,实现ComputeIter.computeNext()计算下一个节点,即可完成节点遍历
当调用ComputeIter.hasNext()时将此方法产生的节点缓存,直到调用ComputeIter.next()取出
当无下一个节点时,须返回null表示遍历结束
ComputeIter() - 类 的构造器cn.hutool.core.collection.ComputeIter
 
computeNext() - 类 中的方法cn.hutool.core.collection.ComputeIter
计算新的节点,通过实现此方法,当调用ComputeIter.hasNext()时将此方法产生的节点缓存,直到调用ComputeIter.next()取出
当无下一个节点时,须返回null表示遍历结束
computeNext() - 类 中的方法cn.hutool.core.collection.LineIter
 
computeNext() - 类 中的方法cn.hutool.core.text.csv.CsvParser
 
computeNext() - 类 中的方法cn.hutool.core.text.split.SplitIter
 
concat(boolean, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
连接多个字符串为一个
concurrencyTest(int, Runnable) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
并发测试
此方法用于测试多线程下执行某些逻辑的并发性能
调用此方法会导致当前线程阻塞。
ConcurrencyTester - cn.hutool.core.thread中的类
高并发测试工具类 ps: //模拟1000个线程并发 ConcurrencyTester ct = new ConcurrencyTester(1000); ct.test(() -> { // 需要并发测试的业务代码 });
ConcurrencyTester(int) - 类 的构造器cn.hutool.core.thread.ConcurrencyTester
构造
ConcurrentHashSet<E> - cn.hutool.core.collection中的类
通过ConcurrentHashMap实现的线程安全HashSet
ConcurrentHashSet() - 类 的构造器cn.hutool.core.collection.ConcurrentHashSet
构造
触发因子为默认的0.75
ConcurrentHashSet(int) - 类 的构造器cn.hutool.core.collection.ConcurrentHashSet
构造
触发因子为默认的0.75
ConcurrentHashSet(int, float) - 类 的构造器cn.hutool.core.collection.ConcurrentHashSet
构造
ConcurrentHashSet(int, float, int) - 类 的构造器cn.hutool.core.collection.ConcurrentHashSet
构造
ConcurrentHashSet(Iterable<E>) - 类 的构造器cn.hutool.core.collection.ConcurrentHashSet
从已有集合中构造
ConsistentHash<T> - cn.hutool.core.lang中的类
一致性Hash算法 算法详解:http://blog.csdn.net/sparkliang/article/details/5279393 算法实现:https://weblogs.java.net/blog/2007/11/27/consistent-hashing
ConsistentHash(int, Collection<T>) - 类 的构造器cn.hutool.core.lang.ConsistentHash
构造,使用Java默认的Hash算法
ConsistentHash(Hash32<Object>, int, Collection<T>) - 类 的构造器cn.hutool.core.lang.ConsistentHash
构造
Console - cn.hutool.core.lang中的类
命令行(控制台)工具方法类
此类主要针对System.outSystem.err 做封装。
Console() - 类 的构造器cn.hutool.core.lang.Console
 
CONSOLE_HANDLER - 类 中的静态变量cn.hutool.core.io.file.Tailer
 
ConsoleLineHandler() - 类 的构造器cn.hutool.core.io.file.Tailer.ConsoleLineHandler
 
ConsoleTable - cn.hutool.core.lang中的类
控制台打印表格工具
ConsoleTable() - 类 的构造器cn.hutool.core.lang.ConsoleTable
 
contains(Collection<?>, Object) - 类 中的静态方法cn.hutool.core.collection.CollUtil
判断指定集合是否包含指定值,如果集合为空(null或者空),返回false,否则找到元素返回true
contains(Collection<T>, Predicate<? super T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
自定义函数判断集合是否包含某类值
contains(Object) - 类 中的方法cn.hutool.core.collection.ConcurrentHashSet
 
contains(Object) - 类 中的方法cn.hutool.core.lang.Tuple
判断元组中是否包含某元素
contains(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定字符是否在字符串中出现过
contains(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定字符串是否在字符串中出现过
contains(Object) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
contains(T[], T) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
数组中是否包含元素
contains(Class<E>, String) - 类 中的静态方法cn.hutool.core.util.EnumUtil
判断某个值是存在枚举中
contains(Object, Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
对象中是否包含元素
支持的对象类型包括: String Collection Map Iterator Enumeration Array
contains(long[], long) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(int[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(short[], short) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(char[], char) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(byte[], byte) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(double[], double) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(float[], float) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(boolean[], boolean) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组中是否包含元素
contains(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
指定内容中是否有表达式匹配的内容
contains(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
指定内容中是否有表达式匹配的内容
containsAll(Collection<?>, Collection<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
集合1中是否包含集合2中所有的元素,即集合2是否为集合1的子集
containsAll(Collection<?>) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
containsAll(T[], T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
数组中是否包含指定元素中的全部
containsAny(Collection<?>, Collection<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
其中一个集合在另一个集合中是否至少包含一个元素,即是两个集合是否至少有一个共同的元素
containsAny(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串
containsAny(CharSequence, char...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符列表中的任意一个字符
containsAny(T[], T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
数组中是否包含指定元素中的任意一个
containsAnyIgnoreCase(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串
忽略大小写
containsBlank(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串是否包含空白符(空白符包括空格、制表符、全角空格和不间断空格)
如果给定字符串为null或者"",则返回false
containsHeader - 类 中的变量cn.hutool.core.text.csv.CsvReadConfig
是否首行做为标题行,默认false
containsIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
是否包含特定字符,忽略大小写,如果给定两个参数都为null,返回true
containsIgnoreCase(CharSequence[], CharSequence) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
数组中是否包含元素,忽略大小写
containsInvalid(String) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
文件名中是否包含在Windows下不支持的非法字符,包括: \ / : * ?
containsInvalid(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
文件名中是否包含在Windows下不支持的非法字符,包括: \ / : * ?
containsKey(String) - 类 中的方法cn.hutool.core.bean.copier.provider.BeanValueProvider
 
containsKey(String) - 类 中的方法cn.hutool.core.bean.copier.provider.DynaBeanValueProvider
 
containsKey(String) - 类 中的方法cn.hutool.core.bean.copier.provider.MapValueProvider
 
containsKey(T) - 接口 中的方法cn.hutool.core.bean.copier.ValueProvider
是否包含指定KEY,如果不包含则忽略注入
此接口方法单独需要实现的意义在于:有些值提供者(比如Map)key是存在的,但是value为null,此时如果需要注入这个null,需要根据此方法判断
containsKey(Object) - 类 中的方法cn.hutool.core.map.CustomKeyMap
 
containsKey(Object) - 类 中的方法cn.hutool.core.map.MapProxy
 
containsKey(Object) - 类 中的方法cn.hutool.core.map.MapWrapper
 
containsKey(Object) - 类 中的方法cn.hutool.core.map.TableMap
 
containsOnly(CharSequence, char...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
检查指定字符串中是否只包含给定的字符
containsProp(String) - 类 中的方法cn.hutool.core.bean.DynaBean
检查是否有指定名称的bean属性
containsValue(Object) - 类 中的方法cn.hutool.core.map.MapProxy
 
containsValue(Object) - 类 中的方法cn.hutool.core.map.MapWrapper
 
containsValue(Object) - 类 中的方法cn.hutool.core.map.TableMap
 
contentEquals(File, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
比较两个文件内容是否相同
首先比较长度,长度一致再比较内容
此方法来自Apache Commons io
contentEquals(InputStream, InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
对比两个流内容是否相同
内部会转换流为 BufferedInputStream
contentEquals(Reader, Reader) - 类 中的静态方法cn.hutool.core.io.IoUtil
对比两个Reader的内容是否一致
内部会转换流为 BufferedInputStream
contentEqualsIgnoreEOL(File, File, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
比较两个文件内容是否相同
首先比较长度,长度一致再比较内容,比较内容采用按行读取,每行比较
此方法来自Apache Commons io
contentEqualsIgnoreEOL(Reader, Reader) - 类 中的静态方法cn.hutool.core.io.IoUtil
对比两个流内容是否相同,忽略EOL字符
内部会转换流为 BufferedInputStream
contest(int, int, int) - 类 中的方法cn.hutool.core.img.gif.NeuQuant
 
conversion(String) - 类 中的静态方法cn.hutool.core.math.Calculator
计算表达式的值
convert(Object, T) - 类 中的方法cn.hutool.core.convert.AbstractConverter
 
Convert - cn.hutool.core.convert中的类
类型转换器
Convert() - 类 的构造器cn.hutool.core.convert.Convert
 
convert(Class<T>, Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换值为指定类型
convert(TypeReference<T>, Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换值为指定类型
convert(Type, Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换值为指定类型
convert(Class<T>, Object, T) - 类 中的静态方法cn.hutool.core.convert.Convert
转换值为指定类型
convert(Type, Object, T) - 类 中的静态方法cn.hutool.core.convert.Convert
转换值为指定类型
convert(Object, T) - 接口 中的方法cn.hutool.core.convert.Converter
转换为指定类型
如果类型无法确定,将读取默认值的类型做为目标类型
convert(Type, Object, T, boolean) - 类 中的方法cn.hutool.core.convert.ConverterRegistry
转换值为指定类型
convert(Type, Object, T) - 类 中的方法cn.hutool.core.convert.ConverterRegistry
转换值为指定类型
自定义转换器优先
convert(Type, Object) - 类 中的方法cn.hutool.core.convert.ConverterRegistry
转换值为指定类型
convert(Object, Collection<?>) - 类 中的方法cn.hutool.core.convert.impl.CollectionConverter
 
convert(Object, Class<?>, Function<Object, String>) - 类 中的静态方法cn.hutool.core.convert.impl.NumberConverter
转换对象为数字
convert(Object, Class<?>, Function<Object, String>) - 类 中的静态方法cn.hutool.core.convert.impl.PrimitiveConverter
将指定值转换为原始类型的值
convert(File, File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像类型转换:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
convert(InputStream, String, OutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像类型转换:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
convert(Image, String, ImageOutputStream, boolean) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像类型转换:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
convert(String, String, String) - 类 中的静态方法cn.hutool.core.util.CharsetUtil
转换字符串的字符集编码
convert(String, Charset, Charset) - 类 中的静态方法cn.hutool.core.util.CharsetUtil
转换字符串的字符集编码
当以错误的编码读取为字符串时,打印字符串将出现乱码。
convert(File, Charset, Charset) - 类 中的静态方法cn.hutool.core.util.CharsetUtil
转换文件编码
此方法用于转换文件编码,读取的文件实际编码必须与指定的srcCharset编码一致,否则导致乱码
convert15To18(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
将15位身份证号码转换为18位
convertByClassName(String, Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换值为指定类型,类型采用字符串表示
convertCharset(String, String, String) - 类 中的静态方法cn.hutool.core.convert.Convert
给定字符串转换字符编码
如果参数为空,则返回原字符串,不报错。
convertCharset(File, Charset, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
转换文件编码
此方法用于转换文件编码,读取的文件实际编码必须与指定的srcCharset编码一致,否则导致乱码
Converter<T> - cn.hutool.core.convert中的接口
转换器接口,实现类型转换
ConverterRegistry - cn.hutool.core.convert中的类
转换器登记中心 将各种类型Convert对象放入登记中心,通过convert方法查找目标类型对应的转换器,将被转换对象转换之。
ConverterRegistry() - 类 的构造器cn.hutool.core.convert.ConverterRegistry
构造
ConvertException - cn.hutool.core.convert中的异常错误
转换异常
ConvertException(Throwable) - 异常错误 的构造器cn.hutool.core.convert.ConvertException
 
ConvertException(String) - 异常错误 的构造器cn.hutool.core.convert.ConvertException
 
ConvertException(String, Object...) - 异常错误 的构造器cn.hutool.core.convert.ConvertException
 
ConvertException(String, Throwable) - 异常错误 的构造器cn.hutool.core.convert.ConvertException
 
ConvertException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.convert.ConvertException
 
convertFromOrSuppressedThrowable(Throwable, Class<T>) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
转化指定异常为来自或者包含指定异常
convertFromOrSuppressedThrowable(Throwable, Class<T>, boolean) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
转化指定异常为来自或者包含指定异常
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.AbstractConverter
内部转换器,被 AbstractConverter.convert(Object, Object) 调用,实现基本转换逻辑
内部转换器转换后如果转换失败可以做如下操作,处理结果都为返回默认值: 1、返回 null 2、抛出一个RuntimeException异常
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.ArrayConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.AtomicBooleanConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.AtomicIntegerArrayConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.AtomicLongArrayConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.AtomicReferenceConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.BeanConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.BooleanConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.CalendarConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.CastConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.CharacterConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.CharsetConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.ClassConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.CollectionConverter
内部转换
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.CurrencyConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.DateConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.DurationConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.EnumConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.LocaleConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.MapConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.NumberConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.OptionalConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.PathConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.PeriodConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.PrimitiveConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.ReferenceConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.StackTraceElementConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.StringConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.TemporalAccessorConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.TimeZoneConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.URIConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.URLConverter
 
convertInternal(Object) - 类 中的方法cn.hutool.core.convert.impl.UUIDConverter
 
convertLineSeparator(File, Charset, LineSeparator) - 类 中的静态方法cn.hutool.core.io.FileUtil
转换换行符
将给定文件的换行符转换为指定换行符
convertQuietly(Object, T) - 类 中的方法cn.hutool.core.convert.AbstractConverter
不抛异常转换
当转换失败时返回默认值
convertQuietly(Type, Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换值为指定类型,不抛异常转换
当转换失败时返回null
convertQuietly(Type, Object, T) - 类 中的静态方法cn.hutool.core.convert.Convert
转换值为指定类型,不抛异常转换
当转换失败时返回默认值
convertTime(long, TimeUnit, TimeUnit) - 类 中的静态方法cn.hutool.core.convert.Convert
转换时间单位
convertToStr(Object) - 类 中的方法cn.hutool.core.convert.AbstractConverter
值转为String,用于内部转换中需要使用String中转的情况
转换规则为: 1、字符串类型将被强转 2、数组将被转换为逗号分隔的字符串 3、其它类型将调用默认的toString()方法
convertToStr(Object) - 类 中的方法cn.hutool.core.convert.impl.NumberConverter
 
convertToStr(Object) - 类 中的方法cn.hutool.core.convert.impl.PrimitiveConverter
 
convertWithCheck(Type, Object, T, boolean) - 类 中的静态方法cn.hutool.core.convert.Convert
转换值为指定类型,可选是否不抛异常转换
当转换失败时返回默认值
CopiedIter<E> - cn.hutool.core.collection中的类
复制 Iterator
为了解决并发情况下Iterator遍历导致的问题(当Iterator被修改会抛出ConcurrentModificationException) ,故使用复制原Iterator的方式解决此问题。
CopiedIter(Iterator<E>) - 类 的构造器cn.hutool.core.collection.CopiedIter
构造
Copier<T> - cn.hutool.core.lang.copier中的接口
拷贝接口
copy() - 类 中的方法cn.hutool.core.bean.copier.BeanCopier
 
copy(ByteBuffer, int, int) - 类 中的静态方法cn.hutool.core.io.BufferUtil
拷贝到一个新的ByteBuffer
copy(ByteBuffer, ByteBuffer) - 类 中的静态方法cn.hutool.core.io.BufferUtil
拷贝ByteBuffer
copy(ByteBuffer, ByteBuffer, int) - 类 中的静态方法cn.hutool.core.io.BufferUtil
拷贝ByteBuffer
copy(ByteBuffer, int, ByteBuffer, int, int) - 类 中的静态方法cn.hutool.core.io.BufferUtil
拷贝ByteBuffer
copy(ReadableByteChannel, WritableByteChannel) - 类 中的方法cn.hutool.core.io.copy.ChannelCopier
 
copy(S, T) - 类 中的方法cn.hutool.core.io.copy.IoCopier
执行拷贝
copy(Reader, Writer) - 类 中的方法cn.hutool.core.io.copy.ReaderWriterCopier
 
copy(InputStream, OutputStream) - 类 中的方法cn.hutool.core.io.copy.StreamCopier
 
copy() - 类 中的方法cn.hutool.core.io.file.FileCopier
执行拷贝
拷贝规则为: 1、源为文件,目标为已存在目录,则拷贝到目录下,文件名不变 2、源为文件,目标为不存在路径,则目标以文件对待(自动创建父级目录)比如:/dest/aaa,如果aaa不存在,则aaa被当作文件名 3、源为文件,目标是一个已存在的文件,则当FileCopier.setOverride(boolean)设为true时会被覆盖,默认不覆盖 4、源为目录,目标为已存在目录,当FileCopier.setCopyContentIfDir(boolean)为true时,只拷贝目录中的内容到目标目录中,否则整个源目录连同其目录拷贝到目标目录中 5、源为目录,目标为不存在路径,则自动创建目标为新目录,然后按照规则4复制 6、源为目录,目标为文件,抛出IO异常 7、源路径和目标路径相同时,抛出IO异常
copy(Path, Path, CopyOption...) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
拷贝文件或目录,拷贝规则为: 源文件为目录,目标也为目录或不存在,则拷贝整个目录到目标目录下 源文件为文件,目标为目录或不存在,则拷贝文件到目标目录下 源文件为文件,目标也为文件,则在StandardCopyOption.REPLACE_EXISTING情况下覆盖之
copy(String, String, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
复制文件或目录
如果目标文件为目录,则将源文件以相同文件名拷贝到目标目录
copy(File, File, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
复制文件或目录
情况如下: 1、src和dest都为目录,则将src目录及其目录下所有文件目录拷贝到dest下 2、src和dest都为文件,直接复制,名字为dest 3、src为文件,dest为目录,将src拷贝到dest目录下
copy(Reader, Writer) - 类 中的静态方法cn.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中 使用默认缓存大小,拷贝后不关闭Reader
copy(Reader, Writer, int) - 类 中的静态方法cn.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
copy(Reader, Writer, int, StreamProgress) - 类 中的静态方法cn.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
copy(Reader, Writer, int, long, StreamProgress) - 类 中的静态方法cn.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
copy(InputStream, OutputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
拷贝流,使用默认Buffer大小,拷贝后不关闭流
copy(InputStream, OutputStream, int) - 类 中的静态方法cn.hutool.core.io.IoUtil
拷贝流,拷贝后不关闭流
copy(InputStream, OutputStream, int, StreamProgress) - 类 中的静态方法cn.hutool.core.io.IoUtil
拷贝流,拷贝后不关闭流
copy(InputStream, OutputStream, int, long, StreamProgress) - 类 中的静态方法cn.hutool.core.io.IoUtil
拷贝流,拷贝后不关闭流
copy(FileInputStream, FileOutputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
拷贝文件流,使用NIO
copy(FileChannel, FileChannel) - 类 中的静态方法cn.hutool.core.io.NioUtil
拷贝文件Channel,使用NIO,拷贝后不会关闭channel
copy(ReadableByteChannel, WritableByteChannel) - 类 中的静态方法cn.hutool.core.io.NioUtil
拷贝流,使用NIO,不会关闭channel
copy(ReadableByteChannel, WritableByteChannel, int) - 类 中的静态方法cn.hutool.core.io.NioUtil
拷贝流,使用NIO,不会关闭channel
copy(ReadableByteChannel, WritableByteChannel, int, StreamProgress) - 类 中的静态方法cn.hutool.core.io.NioUtil
拷贝流,使用NIO,不会关闭channel
copy(ReadableByteChannel, WritableByteChannel, int, long, StreamProgress) - 类 中的静态方法cn.hutool.core.io.NioUtil
拷贝流,使用NIO,不会关闭channel
copy() - 接口 中的方法cn.hutool.core.lang.copier.Copier
执行拷贝
copy(OutputStream) - 类 中的方法cn.hutool.core.net.multipart.MultipartRequestInputStream
字节流复制到out,直到下一个boundary
copy(OutputStream, long) - 类 中的方法cn.hutool.core.net.multipart.MultipartRequestInputStream
复制字节流到out, 大于maxBytes或者文件末尾停止
copy(Object, int, Object, int, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
copy(Object, Object, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
包装 System.arraycopy(Object, int, Object, int, int)
数组复制,缘数组和目标数组都是从位置0开始复制
copyByNIO(InputStream, OutputStream, int, StreamProgress) - 类 中的静态方法cn.hutool.core.io.NioUtil
拷贝流 thanks to: https://github.com/venusdrogon/feilong-io/blob/master/src/main/java/com/feilong/io/IOWriteUtil.java
本方法不会关闭流
copyByNIO(InputStream, OutputStream, int, long, StreamProgress) - 类 中的静态方法cn.hutool.core.io.NioUtil
拷贝流
本方法不会关闭流
copyContent(Path, Path, CopyOption...) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
拷贝目录下的所有文件或目录到目标目录中,此方法不支持文件对文件的拷贝。
copyContent(File, File, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
复制文件或目录
情况如下: 1、src和dest都为目录,则讲src下所有文件目录拷贝到dest下 2、src和dest都为文件,直接复制,名字为dest 3、src为文件,dest为目录,将src拷贝到dest目录下
copyFile(Path, Path, StandardCopyOption...) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
copyFile(Path, Path, CopyOption...) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
copyFile(String, String, StandardCopyOption...) - 类 中的静态方法cn.hutool.core.io.FileUtil
通过JDK7+的 Files#copy(Path, Path, CopyOption...)
copyFile(File, File, StandardCopyOption...) - 类 中的静态方法cn.hutool.core.io.FileUtil
通过JDK7+的 Files#copy(Path, Path, CopyOption...)
copyFilesFromDir(File, File, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
复制文件或目录
情况如下: 1、src和dest都为目录,则讲src下所有文件(包括子目录)拷贝到dest下 2、src和dest都为文件,直接复制,名字为dest 3、src为文件,dest为目录,将src拷贝到dest目录下
copyFilter - 类 中的变量cn.hutool.core.lang.copier.SrcToDestCopier
拷贝过滤器,可以过滤掉不需要拷贝的源
copyImage(Image, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
将已有Image复制新的一份出来
copyImage(Image, int, Color) - 类 中的静态方法cn.hutool.core.img.ImgUtil
将已有Image复制新的一份出来
copyOf(Iterator<V>) - 类 中的静态方法cn.hutool.core.collection.CopiedIter
 
CopyOptions - cn.hutool.core.bean.copier中的类
属性拷贝选项
包括:
1、限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
2、是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
3、忽略的属性列表,设置一个属性列表,不拷贝这些属性值
CopyOptions() - 类 的构造器cn.hutool.core.bean.copier.CopyOptions
构造拷贝选项
CopyOptions(Class<?>, boolean, String...) - 类 的构造器cn.hutool.core.bean.copier.CopyOptions
构造拷贝选项
copyProperties(Object, Class<T>, String...) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
按照Bean对象属性创建对应的Class对象,并忽略某些属性
copyProperties(Object, Object, String...) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
copyProperties(Object, Object, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
复制Bean对象属性
copyProperties(Object, Object, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
copyToList(Collection<?>, Class<T>, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
复制集合中的Bean属性
此方法遍历集合中每个Bean,复制其属性后加入一个新的List中。
copyToList(Collection<?>, Class<T>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
复制集合中的Bean属性
此方法遍历集合中每个Bean,复制其属性后加入一个新的List中。
CopyVisitor - cn.hutool.core.io.file.visitor中的类
文件拷贝的FileVisitor实现,用于递归遍历拷贝目录,此类非线程安全
此类在遍历源目录并复制过程中会自动创建目标目录中不存在的上级目录。
CopyVisitor(Path, Path, CopyOption...) - 类 的构造器cn.hutool.core.io.file.visitor.CopyVisitor
构造
count(Iterable<T>, Matcher<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
集合中匹配规则的数量
count - 类 中的变量cn.hutool.core.io.copy.IoCopier
拷贝总数
count(int) - 类 中的静态方法cn.hutool.core.math.Arrangement
计算排列数,即A(n, n) = n!
count(int, int) - 类 中的静态方法cn.hutool.core.math.Arrangement
计算排列数,即A(n, m) = n!
count(int, int) - 类 中的静态方法cn.hutool.core.math.Combination
计算组合数,即C(n, m) = n!
count(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
统计指定内容中包含指定字符串的数量
参数为 null 或者 "" 返回 0.
count(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
统计指定内容中包含指定字符的数量
count() - 类 中的方法cn.hutool.core.thread.SyncFinisher
剩余任务数
count(int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
计算等份个数
count(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
计算指定字符串中,匹配pattern的个数
count(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
计算指定字符串中,匹配pattern的个数
countAll(int) - 类 中的静态方法cn.hutool.core.math.Arrangement
计算排列总数,即A(n, 1) + A(n, 2) + A(n, 3)...
countAll(int) - 类 中的静态方法cn.hutool.core.math.Combination
计算组合总数,即C(n, 1) + C(n, 2) + C(n, 3)...
countByIpRange(String, String) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
计算IP区间有多少个IP
countByMaskBit(int, boolean) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
计算子网大小
countMap(Iterable<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
根据集合返回一个元素计数的 Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
countMap(Iterator<T>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
根据集合返回一个元素计数的 Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
CR - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:回车符 '\r'
CR - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:回车符 "\r"
解释:该字符常用于表示 Linux 系统和 MacOS 系统下的文本换行
CRC16 - cn.hutool.core.io.checksum中的类
CRC16 循环冗余校验码(Cyclic Redundancy Check)实现,默认IBM算法
CRC16() - 类 的构造器cn.hutool.core.io.checksum.CRC16
 
CRC16(CRC16Checksum) - 类 的构造器cn.hutool.core.io.checksum.CRC16
构造
CRC16Ansi - cn.hutool.core.io.checksum.crc16中的类
CRC16_ANSI
CRC16Ansi() - 类 的构造器cn.hutool.core.io.checksum.crc16.CRC16Ansi
 
CRC16CCITT - cn.hutool.core.io.checksum.crc16中的类
CRC16_CCITT:多项式x16+x12+x5+1(0x1021),初始值0x0000,低位在前,高位在后,结果与0x0000异或 0x8408是0x1021按位颠倒后的结果。
CRC16CCITT() - 类 的构造器cn.hutool.core.io.checksum.crc16.CRC16CCITT
 
CRC16CCITTFalse - cn.hutool.core.io.checksum.crc16中的类
CRC16_CCITT_FALSE:多项式x16+x12+x5+1(0x1021),初始值0xFFFF,低位在后,高位在前,结果与0x0000异或
CRC16CCITTFalse() - 类 的构造器cn.hutool.core.io.checksum.crc16.CRC16CCITTFalse
 
CRC16Checksum - cn.hutool.core.io.checksum.crc16中的类
CRC16 Checksum,用于提供多种CRC16算法的通用实现
通过继承此类,重写update和reset完成相应算法。
CRC16Checksum() - 类 的构造器cn.hutool.core.io.checksum.crc16.CRC16Checksum
 
CRC16DNP - cn.hutool.core.io.checksum.crc16中的类
CRC16_DNP:多项式x16+x13+x12+x11+x10+x8+x6+x5+x2+1(0x3D65),初始值0x0000,低位在前,高位在后,结果与0xFFFF异或 0xA6BC是0x3D65按位颠倒后的结果
CRC16DNP() - 类 的构造器cn.hutool.core.io.checksum.crc16.CRC16DNP
 
CRC16IBM - cn.hutool.core.io.checksum.crc16中的类
CRC16_IBM:多项式x16+x15+x2+1(0x8005),初始值0x0000,低位在前,高位在后,结果与0x0000异或 0xA001是0x8005按位颠倒后的结果
CRC16IBM() - 类 的构造器cn.hutool.core.io.checksum.crc16.CRC16IBM
 
CRC16Maxim - cn.hutool.core.io.checksum.crc16中的类
CRC16_MAXIM:多项式x16+x15+x2+1(0x8005),初始值0x0000,低位在前,高位在后,结果与0xFFFF异或 0xA001是0x8005按位颠倒后的结果
CRC16Maxim() - 类 的构造器cn.hutool.core.io.checksum.crc16.CRC16Maxim
 
CRC16Modbus - cn.hutool.core.io.checksum.crc16中的类
CRC-16 (Modbus) CRC16_MODBUS:多项式x16+x15+x2+1(0x8005),初始值0xFFFF,低位在前,高位在后,结果与0x0000异或 0xA001是0x8005按位颠倒后的结果
CRC16Modbus() - 类 的构造器cn.hutool.core.io.checksum.crc16.CRC16Modbus
 
CRC16USB - cn.hutool.core.io.checksum.crc16中的类
CRC16_USB:多项式x16+x15+x2+1(0x8005),初始值0xFFFF,低位在前,高位在后,结果与0xFFFF异或 0xA001是0x8005按位颠倒后的结果
CRC16USB() - 类 的构造器cn.hutool.core.io.checksum.crc16.CRC16USB
 
CRC16X25 - cn.hutool.core.io.checksum.crc16中的类
CRC16_X25:多项式x16+x12+x5+1(0x1021),初始值0xffff,低位在前,高位在后,结果与0xFFFF异或 0x8408是0x1021按位颠倒后的结果。
CRC16X25() - 类 的构造器cn.hutool.core.io.checksum.crc16.CRC16X25
 
CRC16XModem - cn.hutool.core.io.checksum.crc16中的类
CRC-CCITT (XModem) CRC16_XMODEM:多项式x16+x12+x5+1(0x1021),初始值0x0000,低位在后,高位在前,结果与0x0000异或
CRC16XModem() - 类 的构造器cn.hutool.core.io.checksum.crc16.CRC16XModem
 
CRC8 - cn.hutool.core.io.checksum中的类
CRC8 循环冗余校验码(Cyclic Redundancy Check)实现
代码来自:https://github.com/BBSc0der
CRC8(int, short) - 类 的构造器cn.hutool.core.io.checksum.CRC8
构造
create(String) - 类 中的静态方法cn.hutool.core.bean.BeanPath
解析Bean路径表达式为Bean模式
Bean表达式,用于获取多层嵌套Bean中的字段值或Bean对象
根据给定的表达式,查找Bean中对应的属性值对象。
create(Object, T, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.copier.BeanCopier
创建BeanCopier
create(Object, T, Type, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.copier.BeanCopier
创建BeanCopier
create() - 类 中的静态方法cn.hutool.core.bean.copier.CopyOptions
创建拷贝选项
create(Class<?>, boolean, String...) - 类 中的静态方法cn.hutool.core.bean.copier.CopyOptions
创建拷贝选项
create(Object) - 类 中的静态方法cn.hutool.core.bean.DynaBean
创建一个DynaBean
create(Class<?>) - 类 中的静态方法cn.hutool.core.bean.DynaBean
创建一个DynaBean
create(Class<?>, Object...) - 类 中的静态方法cn.hutool.core.bean.DynaBean
创建一个DynaBean
create(Class<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
创建新的集合对象
create(ClassLoader) - 类 中的静态方法cn.hutool.core.compiler.JavaSourceCompiler
创建Java源码编译器
create(Date, Date) - 类 中的静态方法cn.hutool.core.date.DateBetween
创建
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
create(Date, Date, boolean) - 类 中的静态方法cn.hutool.core.date.DateBetween
创建
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
create(String) - 类 中的静态方法cn.hutool.core.date.StopWatch
创建计时任务(秒表)
create(byte[]) - 类 中的静态方法cn.hutool.core.io.BufferUtil
创建新Buffer
create(CharSequence, Charset) - 类 中的静态方法cn.hutool.core.io.BufferUtil
从字符串创建新Buffer
create(String, String) - 类 中的静态方法cn.hutool.core.io.file.FileCopier
新建一个文件复制器
create(File, File) - 类 中的静态方法cn.hutool.core.io.file.FileCopier
新建一个文件复制器
create(File, Charset) - 类 中的静态方法cn.hutool.core.io.file.FileReader
创建 FileReader
create(File) - 类 中的静态方法cn.hutool.core.io.file.FileReader
创建 FileReader, 编码:FileWrapper.DEFAULT_CHARSET
create(String) - 类 中的静态方法cn.hutool.core.io.file.FileSystemUtil
创建 FileSystem
create(File, Charset) - 类 中的静态方法cn.hutool.core.io.file.FileWriter
创建 FileWriter
create(File) - 类 中的静态方法cn.hutool.core.io.file.FileWriter
创建 FileWriter, 编码:FileWrapper.DEFAULT_CHARSET
create(Watcher...) - 类 中的静态方法cn.hutool.core.io.watch.watchers.WatcherChain
创建观察者链WatcherChain
create(URL, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(URL, int, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(URI, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(URI, int, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(File, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(File, int, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(String, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(String, int, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(Path, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(Path, int, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听
create(URL, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(URL, int, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(URI, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(URI, int, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(File, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(File, int, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(String, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(String, int, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(Path, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create(Path, int, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听
create() - 类 中的静态方法cn.hutool.core.lang.ConsoleTable
创建ConsoleTable对象
create() - 类 中的静态方法cn.hutool.core.lang.Dict
创建Dict
create() - 类 中的静态方法cn.hutool.core.lang.WeightRandom
创建权重随机获取器
create() - 类 中的静态方法cn.hutool.core.map.MapBuilder
创建Builder,默认HashMap实现
create(boolean) - 类 中的静态方法cn.hutool.core.map.MapBuilder
创建Builder
create(Map<K, V>) - 类 中的静态方法cn.hutool.core.map.MapBuilder
创建Builder
create(Map<?, ?>) - 类 中的静态方法cn.hutool.core.map.MapProxy
创建代理Map
此类对Map做一次包装,提供各种getXXX方法
create() - 类 中的静态方法cn.hutool.core.net.SSLContextBuilder
创建 SSLContextBuilder
create() - 类 中的静态方法cn.hutool.core.net.url.UrlBuilder
创建空的UrlBuilder
create() - 类 中的静态方法cn.hutool.core.text.StrBuilder
创建字符串构建器
create(int) - 类 中的静态方法cn.hutool.core.text.StrBuilder
创建字符串构建器
create(CharSequence...) - 类 中的静态方法cn.hutool.core.text.StrBuilder
创建字符串构建器
create() - 类 中的静态方法cn.hutool.core.thread.ExecutorBuilder
创建ExecutorBuilder,开始构建
create() - 类 中的静态方法cn.hutool.core.thread.ThreadFactoryBuilder
create(ReferenceUtil.ReferenceType, T) - 类 中的静态方法cn.hutool.core.util.ReferenceUtil
获得引用
create(ReferenceUtil.ReferenceType, T, ReferenceQueue<T>) - 类 中的静态方法cn.hutool.core.util.ReferenceUtil
获得引用
createAddress(String, int) - 类 中的静态方法cn.hutool.core.net.NetUtil
createAll(URI, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听,监听所有事件
createAll(URL, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听,监听所有事件
createAll(File, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听,监听所有事件
createAll(String, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听,监听所有事件
createAll(Path, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchMonitor
创建并初始化监听,监听所有事件
createAll(URL, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(URL, int, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(URI, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(URI, int, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(File, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(File, int, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(String, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(String, int, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(Path, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll(Path, int, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
createAll() - 类 中的静态方法cn.hutool.core.net.URLEncoder
创建URLEncoder
编码器针对URI路径编码,定义如下: 0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is '*', '-', '
createCharBuffer(int) - 类 中的静态方法cn.hutool.core.io.BufferUtil
createCollection() - 类 中的方法cn.hutool.core.map.multi.AbsCollValueMap
创建集合
此方法用于创建在putValue后追加值所在的集合,子类实现此方法创建不同类型的集合
createCollection() - 类 中的方法cn.hutool.core.map.multi.CollectionValueMap
 
createCollection() - 类 中的方法cn.hutool.core.map.multi.ListValueMap
 
createCollection() - 类 中的方法cn.hutool.core.map.multi.SetValueMap
 
createCompatibleImage(int, int, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
创建与当前设备颜色模式兼容的 BufferedImage
createDefault() - 类 中的静态方法cn.hutool.core.net.URLEncoder
创建默认URLEncoder
默认的编码器针对URI路径编码,定义如下: default = pchar / "/" pchar = unreserved(不处理) / pct-encoded / sub-delims(子分隔符) / ":" / "@" unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" sub-delims = "!"
createDocumentBuilder() - 类 中的静态方法cn.hutool.core.util.XmlUtil
创建 DocumentBuilder
createDocumentBuilderFactory() - 类 中的静态方法cn.hutool.core.util.XmlUtil
创建DocumentBuilderFactory 默认使用"com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"
如果使用第三方实现,请调用XmlUtil.disableDefaultDocumentBuilderFactory()
createDynaBean(Object) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
创建动态Bean
createEmptyNode(E) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
创建空Tree的节点
createFont() - 类 中的静态方法cn.hutool.core.img.FontUtil
创建默认字体
createFont(String, int) - 类 中的静态方法cn.hutool.core.img.FontUtil
创建指定名称的字体
createFont(File) - 类 中的静态方法cn.hutool.core.img.FontUtil
根据文件创建字体
首先尝试创建Font.TRUETYPE_FONT字体,此类字体无效则创建Font.TYPE1_FONT
createFont(InputStream) - 类 中的静态方法cn.hutool.core.img.FontUtil
根据文件创建字体
首先尝试创建Font.TRUETYPE_FONT字体,此类字体无效则创建Font.TYPE1_FONT
createFont(File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
根据文件创建字体
首先尝试创建Font.TRUETYPE_FONT字体,此类字体无效则创建Font.TYPE1_FONT
createFont(InputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
根据文件创建字体
首先尝试创建Font.TRUETYPE_FONT字体,此类字体无效则创建Font.TYPE1_FONT
createFragment() - 类 中的静态方法cn.hutool.core.net.URLEncoder
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下: fragment = *( pchar / "/" / "?"
createGmp() - 类 中的静态方法cn.hutool.core.codec.Base62Codec
创建GMP风格的Base62编码解码器对象
createGraphics(BufferedImage, Color) - 类 中的静态方法cn.hutool.core.img.GraphicsUtil
createGraphics(BufferedImage, Color) - 类 中的静态方法cn.hutool.core.img.ImgUtil
createImage(String, Font, Color, Color, ImageOutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
根据文字创建PNG图片
createImage(String, Font, Color, Color, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
根据文字创建图片
createInitialContext(Map<String, String>) - 类 中的静态方法cn.hutool.core.util.JNDIUtil
createInitialDirContext(Map<String, String>) - 类 中的静态方法cn.hutool.core.util.JNDIUtil
createInverted() - 类 中的静态方法cn.hutool.core.codec.Base62Codec
创建Inverted风格的Base62编码解码器对象
createJdkInterner() - 类 中的静态方法cn.hutool.core.lang.intern.InternUtil
创建JDK默认实现的字符串规范化器
createMap(Class<?>) - 类 中的静态方法cn.hutool.core.map.MapUtil
创建Map
传入抽象MapAbstractMapMap类将默认创建HashMap
createModify(URL, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(URL, int, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(URI, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(URI, int, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(File, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(File, int, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(String, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(String, int, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(Path, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createModify(Path, int, Watcher) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
createPathSegment() - 类 中的静态方法cn.hutool.core.net.URLEncoder
URL的Path的每一个Segment URLEncoder
默认的编码器针对URI路径的每一段编码,定义如下: pchar = unreserved / pct-encoded / sub-delims / ":"(非空segment不包含:) / "@" unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" sub-delims = "!"
createProxy(Map<?, ?>) - 类 中的静态方法cn.hutool.core.map.MapUtil
创建代理Map
MapProxy对Map做一次包装,提供各种getXXX方法
createQuery() - 类 中的静态方法cn.hutool.core.net.URLEncoder
创建用于查询语句的URLEncoder
编码器针对URI路径编码,定义如下: 0x20 ' ' =》 '+' 0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is '*', '-', '
createRandomAccessFile(Path, FileMode) - 类 中的静态方法cn.hutool.core.io.FileUtil
createRandomAccessFile(File, FileMode) - 类 中的静态方法cn.hutool.core.io.FileUtil
createReadWriteLock(boolean) - 类 中的静态方法cn.hutool.core.thread.lock.LockUtil
createSansSerifFont(int) - 类 中的静态方法cn.hutool.core.img.FontUtil
创建SansSerif字体
createScheduledExecutor(int) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
createSecureRandom(byte[]) - 类 中的静态方法cn.hutool.core.util.RandomUtil
创建SecureRandom,类提供加密的强随机数生成器 (RNG)
createSnowflake(long, long) - 类 中的静态方法cn.hutool.core.util.IdUtil
已过时。
此方法容易产生起义:多个Snowflake实例产生的ID会产生重复,此对象在单台机器上必须单例!
createSSLContext(String) - 类 中的静态方法cn.hutool.core.net.SSLUtil
创建SSLContext,默认新人全部
createSSLContext(String, KeyManager, TrustManager) - 类 中的静态方法cn.hutool.core.net.SSLUtil
createSSLContext(String, KeyManager[], TrustManager[]) - 类 中的静态方法cn.hutool.core.net.SSLUtil
创建和初始化SSLContext
createStampLock() - 类 中的静态方法cn.hutool.core.thread.lock.LockUtil
创建StampedLock
createStopWatch() - 类 中的静态方法cn.hutool.core.date.DateUtil
创建秒表StopWatch,用于对代码块的执行时间计数 使用方法如下: StopWatch stopWatch = DateUtil.createStopWatch(); // 任务1 stopWatch.start("任务一"); Thread.sleep(1000); stopWatch.stop(); // 任务2 stopWatch.start("任务二"); Thread.sleep(2000); stopWatch.stop(); // 打印出耗时 Console.log(stopWatch.prettyPrint());
createStopWatch(String) - 类 中的静态方法cn.hutool.core.date.DateUtil
创建秒表StopWatch,用于对代码块的执行时间计数 使用方法如下: StopWatch stopWatch = DateUtil.createStopWatch("任务名称"); // 任务1 stopWatch.start("任务一"); Thread.sleep(1000); stopWatch.stop(); // 任务2 stopWatch.start("任务二"); Thread.sleep(2000); stopWatch.stop(); // 打印出耗时 Console.log(stopWatch.prettyPrint());
createStringInterner(boolean) - 类 中的静态方法cn.hutool.core.lang.intern.InternUtil
创建字符串规范化器
createTempFile(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建临时文件
创建后的文件名为 prefix[Randon].tmp
createTempFile(File, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建临时文件
创建后的文件名为 prefix[Randon].tmp
createTempFile(String, String, File, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建临时文件
创建后的文件名为 prefix[Randon].suffix From com.jodd.io.FileUtil
createThreadFactoryBuilder() - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
创建ThreadFactoryBuilder
createThreadLocal(boolean) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
创建本地线程对象
createThreadLocal(Supplier<? extends T>) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
创建本地线程对象
createUtf8(CharSequence) - 类 中的静态方法cn.hutool.core.io.BufferUtil
从字符串创建新Buffer,使用UTF-8编码
createWeakInterner() - 类 中的静态方法cn.hutool.core.lang.intern.InternUtil
创建WeakHshMap实现的字符串规范化器
createXml() - 类 中的静态方法cn.hutool.core.util.XmlUtil
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
createXml(String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
createXml(String, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
createXPath() - 类 中的静态方法cn.hutool.core.util.XmlUtil
创建XPath
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
createZip(String) - 类 中的静态方法cn.hutool.core.io.file.FileSystemUtil
创建 Zip的FileSystem,默认UTF-8编码
createZip(String, Charset) - 类 中的静态方法cn.hutool.core.io.file.FileSystemUtil
创建 Zip的FileSystem
CREDIT_CODE - 类 中的静态变量cn.hutool.core.lang.PatternPool
社会统一信用代码 第一部分:登记管理部门代码1位 (数字或大写英文字母) 第二部分:机构类别代码1位 (数字或大写英文字母) 第三部分:登记管理机关行政区划码6位 (数字) 第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母) 第五部分:校验码1位 (数字或大写英文字母)
CREDIT_CODE - 接口 中的静态变量cn.hutool.core.lang.RegexPool
社会统一信用代码 第一部分:登记管理部门代码1位 (数字或大写英文字母) 第二部分:机构类别代码1位 (数字或大写英文字母) 第三部分:登记管理机关行政区划码6位 (数字) 第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母) 第五部分:校验码1位 (数字或大写英文字母)
CREDIT_CODE_PATTERN - 类 中的静态变量cn.hutool.core.util.CreditCodeUtil
 
CreditCodeUtil - cn.hutool.core.util中的类
统一社会信用代码工具类 第一部分:登记管理部门代码1位 (数字或大写英文字母) 第二部分:机构类别代码1位 (数字或大写英文字母) 第三部分:登记管理机关行政区划码6位 (数字) 第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母) 第五部分:校验码1位 (数字或大写英文字母)
CreditCodeUtil() - 类 的构造器cn.hutool.core.util.CreditCodeUtil
 
CRLF - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:Windows 换行 "\r\n"
解释:该字符串常用于表示 Windows 系统下的文本换行
CsvBaseReader - cn.hutool.core.text.csv中的类
CSV文件读取器基础类,提供灵活的文件、路径中的CSV读取,一次构造可多次调用读取不同数据,参考:FastCSV
CsvBaseReader() - 类 的构造器cn.hutool.core.text.csv.CsvBaseReader
构造,使用默认配置项
CsvBaseReader(CsvReadConfig) - 类 的构造器cn.hutool.core.text.csv.CsvBaseReader
构造
CsvConfig<T extends CsvConfig<T>> - cn.hutool.core.text.csv中的类
CSV基础配置项,此配置项可用于读取和写出CSV,定义了包括字段分隔符、文本包装符等符号
CsvConfig() - 类 的构造器cn.hutool.core.text.csv.CsvConfig
 
CsvData - cn.hutool.core.text.csv中的类
CSV数据,包括头部信息和行数据,参考:FastCSV
CsvData(List<String>, List<CsvRow>) - 类 的构造器cn.hutool.core.text.csv.CsvData
构造
CsvParser - cn.hutool.core.text.csv中的类
CSV行解析器,参考:FastCSV
CsvParser(Reader, CsvReadConfig) - 类 的构造器cn.hutool.core.text.csv.CsvParser
CSV解析器
CsvReadConfig - cn.hutool.core.text.csv中的类
CSV读取配置项
CsvReadConfig() - 类 的构造器cn.hutool.core.text.csv.CsvReadConfig
 
CsvReader - cn.hutool.core.text.csv中的类
CSV文件读取器,参考:FastCSV
CsvReader() - 类 的构造器cn.hutool.core.text.csv.CsvReader
构造,使用默认配置项
CsvReader(CsvReadConfig) - 类 的构造器cn.hutool.core.text.csv.CsvReader
构造
CsvReader(File, CsvReadConfig) - 类 的构造器cn.hutool.core.text.csv.CsvReader
构造,默认CsvBaseReader.DEFAULT_CHARSET编码
CsvReader(Path, CsvReadConfig) - 类 的构造器cn.hutool.core.text.csv.CsvReader
构造,默认CsvBaseReader.DEFAULT_CHARSET编码
CsvReader(File, Charset, CsvReadConfig) - 类 的构造器cn.hutool.core.text.csv.CsvReader
构造
CsvReader(Path, Charset, CsvReadConfig) - 类 的构造器cn.hutool.core.text.csv.CsvReader
构造
CsvReader(Reader, CsvReadConfig) - 类 的构造器cn.hutool.core.text.csv.CsvReader
构造
CsvRow - cn.hutool.core.text.csv中的类
CSV中一行的表示
CsvRow(long, Map<String, Integer>, List<String>) - 类 的构造器cn.hutool.core.text.csv.CsvRow
构造
CsvRowHandler - cn.hutool.core.text.csv中的接口
CSV的行处理器,实现此接口用于按照行处理数据
CsvUtil - cn.hutool.core.text.csv中的类
CSV工具
CsvUtil() - 类 的构造器cn.hutool.core.text.csv.CsvUtil
 
CsvWriteConfig - cn.hutool.core.text.csv中的类
CSV写出配置项
CsvWriteConfig() - 类 的构造器cn.hutool.core.text.csv.CsvWriteConfig
 
CsvWriter - cn.hutool.core.text.csv中的类
CSV数据写出器
CsvWriter(String) - 类 的构造器cn.hutool.core.text.csv.CsvWriter
构造,覆盖已有文件(如果存在),默认编码UTF-8
CsvWriter(File) - 类 的构造器cn.hutool.core.text.csv.CsvWriter
构造,覆盖已有文件(如果存在),默认编码UTF-8
CsvWriter(String, Charset) - 类 的构造器cn.hutool.core.text.csv.CsvWriter
构造,覆盖已有文件(如果存在)
CsvWriter(File, Charset) - 类 的构造器cn.hutool.core.text.csv.CsvWriter
构造,覆盖已有文件(如果存在)
CsvWriter(String, Charset, boolean) - 类 的构造器cn.hutool.core.text.csv.CsvWriter
构造
CsvWriter(File, Charset, boolean) - 类 的构造器cn.hutool.core.text.csv.CsvWriter
构造
CsvWriter(String, Charset, boolean, CsvWriteConfig) - 类 的构造器cn.hutool.core.text.csv.CsvWriter
构造
CsvWriter(File, Charset, boolean, CsvWriteConfig) - 类 的构造器cn.hutool.core.text.csv.CsvWriter
构造
CsvWriter(Writer) - 类 的构造器cn.hutool.core.text.csv.CsvWriter
构造,使用默认配置
CsvWriter(Writer, CsvWriteConfig) - 类 的构造器cn.hutool.core.text.csv.CsvWriter
构造
CurrencyConverter - cn.hutool.core.convert.impl中的类
货币Currency 转换器
CurrencyConverter() - 类 的构造器cn.hutool.core.convert.impl.CurrencyConverter
 
current() - 类 中的静态方法cn.hutool.core.date.DateUtil
当前时间的时间戳
currentIter - 类 中的变量cn.hutool.core.collection.IterChain
 
currentSeconds() - 类 中的静态方法cn.hutool.core.date.DateUtil
当前时间的时间戳(秒)
currentTaskName() - 类 中的方法cn.hutool.core.date.StopWatch
获取当前任务名,null 表示无任务
currentThreadGroup() - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
获取当前线程的线程组
customKey(Object) - 类 中的方法cn.hutool.core.map.CamelCaseLinkedMap
将Key转为驼峰风格,如果key为字符串的话
customKey(Object) - 类 中的方法cn.hutool.core.map.CamelCaseMap
将Key转为驼峰风格,如果key为字符串的话
customKey(Object) - 类 中的方法cn.hutool.core.map.CaseInsensitiveLinkedMap
将Key转为小写
customKey(Object) - 类 中的方法cn.hutool.core.map.CaseInsensitiveMap
将Key转为小写
customKey(Object) - 类 中的方法cn.hutool.core.map.CustomKeyMap
自定义键
customKey(Object) - 类 中的方法cn.hutool.core.map.FuncKeyMap
根据函数自定义键
CustomKeyMap<K,V> - cn.hutool.core.map中的类
自定义键的Map,默认HashMap实现
CustomKeyMap(Map<K, V>) - 类 的构造器cn.hutool.core.map.CustomKeyMap
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
cut(Rectangle) - 类 中的方法cn.hutool.core.img.Img
图像切割(按指定起点坐标和宽高切割)
cut(int, int) - 类 中的方法cn.hutool.core.img.Img
图像切割为圆形(按指定起点坐标和半径切割),填充满整个图片(直径取长宽最小值)
cut(int, int, int) - 类 中的方法cn.hutool.core.img.Img
图像切割为圆形(按指定起点坐标和半径切割)
cut(File, File, Rectangle) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割)
cut(InputStream, OutputStream, Rectangle) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
cut(ImageInputStream, ImageOutputStream, Rectangle) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
cut(Image, File, Rectangle) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
cut(Image, OutputStream, Rectangle) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
cut(Image, ImageOutputStream, Rectangle) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),此方法并不关闭流
cut(Image, Rectangle) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割)
cut(Image, int, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割),填充满整个图片(直径取长宽最小值)
cut(Image, int, int, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切割(按指定起点坐标和宽高切割)
cut(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
将字符串切分为N等份
cyclicalm(int) - 类 中的静态方法cn.hutool.core.date.chinese.GanZhi
传入 月日的offset 传回干支, 0=甲子

D

DASHED - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:减号(连接符) '-'
DASHED - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:减号(连接符) "-"
DataSize - cn.hutool.core.io.unit中的类
数据大小,可以将类似于'12MB'表示转换为bytes长度的数字 此类来自于:Spring-framework byte 1B 1 kilobyte 1KB 1,024 megabyte 1MB 1,048,576 gigabyte 1GB 1,073,741,824 terabyte 1TB 1,099,511,627,776
DataSizeUtil - cn.hutool.core.io.unit中的类
数据大小工具类
DataSizeUtil() - 类 的构造器cn.hutool.core.io.unit.DataSizeUtil
 
DataUnit - cn.hutool.core.io.unit中的枚举
数据单位封装 此类来自于:Spring-framework BYTES 1B 2^0 1 KILOBYTES 1KB 2^10 1,024 MEGABYTES 1MB 2^20 1,048,576 GIGABYTES 1GB 2^30 1,073,741,824 TERABYTES 1TB 2^40 1,099,511,627,776
date() - 类 中的静态方法cn.hutool.core.date.DateUtil
当前时间,转换为DateTime对象
date(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
Date类型时间转为DateTime
如果date本身为DateTime对象,则返回强转后的对象,否则新建一个DateTime对象
date(long) - 类 中的静态方法cn.hutool.core.date.DateUtil
Long类型时间转为DateTime
只支持毫秒级别时间戳,如果需要秒级别时间戳,请自行×1000
date(Calendar) - 类 中的静态方法cn.hutool.core.date.DateUtil
Calendar类型时间转为DateTime
始终根据已有Calendar 产生新的DateTime对象
date(TemporalAccessor) - 类 中的静态方法cn.hutool.core.date.DateUtil
TemporalAccessor类型时间转为DateTime
始终根据已有TemporalAccessor 产生新的DateTime对象
DateBasic - cn.hutool.core.date.format中的接口
日期基本信息获取接口
DateBetween - cn.hutool.core.date中的类
日期间隔
DateBetween(Date, Date) - 类 的构造器cn.hutool.core.date.DateBetween
构造
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
DateBetween(Date, Date, boolean) - 类 的构造器cn.hutool.core.date.DateBetween
构造
在前的日期做为起始时间,在后的做为结束时间
DateConverter - cn.hutool.core.convert.impl中的类
日期转换器
DateConverter(Class<? extends Date>) - 类 的构造器cn.hutool.core.convert.impl.DateConverter
构造
DateConverter(Class<? extends Date>, String) - 类 的构造器cn.hutool.core.convert.impl.DateConverter
构造
DateException - cn.hutool.core.date中的异常错误
工具类异常
DateException(Throwable) - 异常错误 的构造器cn.hutool.core.date.DateException
 
DateException(String) - 异常错误 的构造器cn.hutool.core.date.DateException
 
DateException(String, Object...) - 异常错误 的构造器cn.hutool.core.date.DateException
 
DateException(String, Throwable) - 异常错误 的构造器cn.hutool.core.date.DateException
 
DateException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.date.DateException
 
DateField - cn.hutool.core.date中的枚举
日期各个部分的枚举
与Calendar相应值对应
DateModifier - cn.hutool.core.date中的类
日期修改器
用于实现自定义某个日期字段的调整,包括: 1.
DateModifier() - 类 的构造器cn.hutool.core.date.DateModifier
 
DateModifier.ModifyType - cn.hutool.core.date中的枚举
修改类型
dateNew(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
根据已有Date 产生新的DateTime对象
DateParser - cn.hutool.core.date.format中的接口
日期解析接口,用于解析日期字符串为 Date 对象
Thanks to Apache Commons Lang 3.5
DatePattern - cn.hutool.core.date中的类
日期格式化类,提供常用的日期格式化对象
DatePattern() - 类 的构造器cn.hutool.core.date.DatePattern
 
DatePrinter - cn.hutool.core.date.format中的接口
日期格式化输出接口
Thanks to Apache Commons Lang 3.5
DateRange - cn.hutool.core.date中的类
日期范围
DateRange(Date, Date, DateField) - 类 的构造器cn.hutool.core.date.DateRange
构造,包含开始和结束日期时间
DateRange(Date, Date, DateField, int) - 类 的构造器cn.hutool.core.date.DateRange
构造,包含开始和结束日期时间
DateRange(Date, Date, DateField, int, boolean, boolean) - 类 的构造器cn.hutool.core.date.DateRange
构造
dateSecond() - 类 中的静态方法cn.hutool.core.date.DateUtil
当前时间,转换为DateTime对象,忽略毫秒部分
DateTime - cn.hutool.core.date中的类
包装java.util.Date
DateTime() - 类 的构造器cn.hutool.core.date.DateTime
当前时间
DateTime(TimeZone) - 类 的构造器cn.hutool.core.date.DateTime
当前时间
DateTime(Date) - 类 的构造器cn.hutool.core.date.DateTime
给定日期的构造
DateTime(Date, TimeZone) - 类 的构造器cn.hutool.core.date.DateTime
给定日期的构造
DateTime(Calendar) - 类 的构造器cn.hutool.core.date.DateTime
给定日期的构造
DateTime(Instant) - 类 的构造器cn.hutool.core.date.DateTime
给定日期Instant的构造
DateTime(Instant, ZoneId) - 类 的构造器cn.hutool.core.date.DateTime
给定日期Instant的构造
DateTime(TemporalAccessor) - 类 的构造器cn.hutool.core.date.DateTime
给定日期TemporalAccessor的构造
DateTime(ZonedDateTime) - 类 的构造器cn.hutool.core.date.DateTime
给定日期ZonedDateTime的构造
DateTime(long) - 类 的构造器cn.hutool.core.date.DateTime
给定日期毫秒数的构造
DateTime(long, TimeZone) - 类 的构造器cn.hutool.core.date.DateTime
给定日期毫秒数的构造
DateTime(CharSequence) - 类 的构造器cn.hutool.core.date.DateTime
构造格式:
yyyy-MM-dd HH:mm:ss yyyy/MM/dd HH:mm:ss yyyy.MM.dd HH:mm:ss yyyy年MM月dd日 HH时mm分ss秒 yyyy-MM-dd yyyy/MM/dd yyyy.MM.dd HH:mm:ss HH时mm分ss秒 yyyy-MM-dd HH:mm yyyy-MM-dd HH:mm:ss.SSS yyyyMMddHHmmss yyyyMMddHHmmssSSS yyyyMMdd EEE, dd MMM yyyy HH:mm:ss z EEE MMM dd HH:mm:ss zzz yyyy yyyy-MM-dd'T'HH:mm:ss'Z' yyyy-MM-dd'T'HH:mm:ss.SSS'Z' yyyy-MM-dd'T'HH:mm:ssZ yyyy-MM-dd'T'HH:mm:ss.SSSZ
DateTime(CharSequence, String) - 类 的构造器cn.hutool.core.date.DateTime
构造
DateTime(CharSequence, DateFormat) - 类 的构造器cn.hutool.core.date.DateTime
构造
DateTime(CharSequence, DateTimeFormatter) - 类 的构造器cn.hutool.core.date.DateTime
构建DateTime对象
DateTime(CharSequence, DateParser) - 类 的构造器cn.hutool.core.date.DateTime
构造
DateTime(CharSequence, DateParser, boolean) - 类 的构造器cn.hutool.core.date.DateTime
构造
DateUnit - cn.hutool.core.date中的枚举
日期时间单位,每个单位都是以毫秒为基数
DateUtil - cn.hutool.core.date中的类
时间工具类
DateUtil() - 类 的构造器cn.hutool.core.date.DateUtil
 
dayOfMonth() - 类 中的方法cn.hutool.core.date.DateTime
获得指定日期是这个日期所在月份的第几天,从1开始
dayOfMonth(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期是这个日期所在月份的第几天
dayOfWeek() - 类 中的方法cn.hutool.core.date.DateTime
获得指定日期是星期几,1表示周日,2表示周一
dayOfWeek(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期是星期几,1表示周日,2表示周一
dayOfWeek(LocalDate) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
获取LocalDate对应的星期值
dayOfWeekEnum() - 类 中的方法cn.hutool.core.date.DateTime
获得指定日期是星期几
dayOfWeekEnum(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期是星期几
dayOfWeekInMonth() - 类 中的方法cn.hutool.core.date.DateTime
获得天所在的周是这个月的第几周
dayOfYear() - 类 中的方法cn.hutool.core.date.DateTime
获得指定日期是这个日期所在年份的第几天,从1开始
dayOfYear(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期是这个日期所在年的第几天
decimalFormat(String, double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
格式化double
DecimalFormat 做封装
decimalFormat(String, long) - 类 中的静态方法cn.hutool.core.util.NumberUtil
格式化double
DecimalFormat 做封装
decimalFormat(String, Object) - 类 中的静态方法cn.hutool.core.util.NumberUtil
格式化double
DecimalFormat 做封装
decimalFormat(String, Object, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
格式化double
DecimalFormat 做封装
decimalFormatMoney(double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
格式化金额输出,每三位用逗号分隔
decode(String) - 类 中的静态方法cn.hutool.core.codec.Base32
解码
decode(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base62
Base62解码
decode(byte[]) - 类 中的静态方法cn.hutool.core.codec.Base62
解码Base62
decode(byte[]) - 类 中的方法cn.hutool.core.codec.Base62Codec
解码Base62消息
decode(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base64
base64解码
decode(byte[]) - 类 中的静态方法cn.hutool.core.codec.Base64
解码Base64
decode(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base64Decoder
base64解码
decode(byte[]) - 类 中的静态方法cn.hutool.core.codec.Base64Decoder
解码Base64
decode(byte[], int, int) - 类 中的静态方法cn.hutool.core.codec.Base64Decoder
解码Base64
decode(String, int) - 类 中的静态方法cn.hutool.core.codec.Caesar
传入明文解密到密文
decode(String) - 类 中的方法cn.hutool.core.codec.Morse
解码
decode(String) - 类 中的静态方法cn.hutool.core.codec.PunyCode
解码 PunyCode为字符串
decode(String, int, boolean) - 类 中的静态方法cn.hutool.core.codec.Rot
RotN解码
decode(String, Charset) - 类 中的静态方法cn.hutool.core.net.URLDecoder
解码 1.
decode(String, Charset, boolean) - 类 中的静态方法cn.hutool.core.net.URLDecoder
解码 1.
decode(byte[]) - 类 中的静态方法cn.hutool.core.net.URLDecoder
解码 1.
decode(byte[], boolean) - 类 中的静态方法cn.hutool.core.net.URLDecoder
解码 1.
decode(String, String) - 类 中的静态方法cn.hutool.core.util.RadixUtil
把转换后进制的字符还原成long 值
decode(String) - 类 中的静态方法cn.hutool.core.util.URLUtil
解码URL
将%开头的16进制表示的内容解码。
decode(String, Charset) - 类 中的静态方法cn.hutool.core.util.URLUtil
解码application/x-www-form-urlencoded字符
将%开头的16进制表示的内容解码。
decode(String, Charset, boolean) - 类 中的静态方法cn.hutool.core.util.URLUtil
解码application/x-www-form-urlencoded字符
将%开头的16进制表示的内容解码。
decode(String, String) - 类 中的静态方法cn.hutool.core.util.URLUtil
解码application/x-www-form-urlencoded字符
将%开头的16进制表示的内容解码。
decode13(String) - 类 中的静态方法cn.hutool.core.codec.Rot
Rot-13解码,同时解码数字
decode13(String, boolean) - 类 中的静态方法cn.hutool.core.codec.Rot
Rot-13解码
decodeColor(String) - 类 中的静态方法cn.hutool.core.util.HexUtil
将Hex颜色值转为
decodeForPath(String, Charset) - 类 中的静态方法cn.hutool.core.net.URLDecoder
解码,不对+解码 将%20转换为空格 将 "%xy"转换为文本形式,xy是两位16进制的数值 跳过不符合规范的%形式,直接输出
decodeHex(String) - 类 中的静态方法cn.hutool.core.util.HexUtil
将十六进制字符串解码为byte[]
decodeHex(char[]) - 类 中的静态方法cn.hutool.core.util.HexUtil
将十六进制字符数组转换为字节数组
decodeHex(CharSequence) - 类 中的静态方法cn.hutool.core.util.HexUtil
将十六进制字符数组转换为字节数组
decodeHexStr(String) - 类 中的静态方法cn.hutool.core.util.HexUtil
将十六进制字符数组转换为字符串,默认编码UTF-8
decodeHexStr(String, Charset) - 类 中的静态方法cn.hutool.core.util.HexUtil
将十六进制字符数组转换为字符串
decodeHexStr(char[], Charset) - 类 中的静态方法cn.hutool.core.util.HexUtil
将十六进制字符数组转换为字符串
decodeImageData() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Decodes LZW image data into pixel array.
decodeStr(String) - 类 中的静态方法cn.hutool.core.codec.Base32
base32解码
decodeStr(String, String) - 类 中的静态方法cn.hutool.core.codec.Base32
base32解码
decodeStr(String, Charset) - 类 中的静态方法cn.hutool.core.codec.Base32
base32解码
decodeStr(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base62
Base62解码
decodeStr(CharSequence, Charset) - 类 中的静态方法cn.hutool.core.codec.Base62
Base62解码
decodeStr(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base64
base64解码
decodeStr(CharSequence, String) - 类 中的静态方法cn.hutool.core.codec.Base64
base64解码
decodeStr(CharSequence, Charset) - 类 中的静态方法cn.hutool.core.codec.Base64
base64解码
decodeStr(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base64Decoder
base64解码
decodeStr(CharSequence, Charset) - 类 中的静态方法cn.hutool.core.codec.Base64Decoder
base64解码
decodeStrGbk(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base62
Base62解码
decodeStrGbk(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base64
base64解码
decodeToFile(CharSequence, File) - 类 中的静态方法cn.hutool.core.codec.Base62
Base62解码
decodeToFile(CharSequence, File) - 类 中的静态方法cn.hutool.core.codec.Base64
base64解码
decodeToInt(String, String) - 类 中的静态方法cn.hutool.core.util.RadixUtil
把转换后的进制字符还原成int 值
decodeToStream(CharSequence, OutputStream, boolean) - 类 中的静态方法cn.hutool.core.codec.Base62
Base62解码
decodeToStream(CharSequence, OutputStream, boolean) - 类 中的静态方法cn.hutool.core.codec.Base64
base64解码
decrement() - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
值减一
decrement() - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
值减一
decrement() - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
值减一
decrement() - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
值减一
decrement() - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
值减一
decrement() - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
值减一
DEFAULT - 类 中的静态变量cn.hutool.core.net.URLEncoder
默认URLEncoder
默认的编码器针对URI路径编码,定义如下: default = pchar / "/" pchar = unreserved(不处理) / pct-encoded / sub-delims(子分隔符) / ":" / "@" unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" sub-delims = "!"
DEFAULT_BUFFER_SIZE - 类 中的静态变量cn.hutool.core.io.NioUtil
默认缓存大小 8192
DEFAULT_CAPACITY - 类 中的静态变量cn.hutool.core.text.StrBuilder
默认容量
DEFAULT_CHARSET - 类 中的静态变量cn.hutool.core.io.file.FileWrapper
默认编码:UTF-8
DEFAULT_CHARSET - 类 中的静态变量cn.hutool.core.text.csv.CsvBaseReader
默认编码
DEFAULT_COLLECTION_INITIAL_CAPACITY - 类 中的静态变量cn.hutool.core.map.multi.AbsCollValueMap
默认集合初始大小
DEFAULT_CONFIG - 类 中的静态变量cn.hutool.core.lang.tree.TreeNodeConfig
默认属性配置对象
DEFAULT_CURRENCY_CODE - 类 中的静态变量cn.hutool.core.math.Money
缺省的币种代码,为CNY(人民币)。
DEFAULT_DELAY - 枚举 中的静态变量cn.hutool.core.swing.clipboard.ClipboardMonitor
默认重试等待:100
DEFAULT_INITIAL_CAPACITY - 类 中的静态变量cn.hutool.core.map.MapUtil
默认初始大小
DEFAULT_INITIAL_CAPACITY - 类 中的静态变量cn.hutool.core.map.MapWrapper
默认初始大小
DEFAULT_LARGE_BUFFER_SIZE - 类 中的静态变量cn.hutool.core.io.NioUtil
默认大缓存大小 32768
DEFAULT_LOAD_FACTOR - 类 中的静态变量cn.hutool.core.map.MapUtil
默认增长因子,当Map的size达到 容量*增长因子时,开始扩充Map
DEFAULT_LOAD_FACTOR - 类 中的静态变量cn.hutool.core.map.MapWrapper
默认增长因子
DEFAULT_MIDDLE_BUFFER_SIZE - 类 中的静态变量cn.hutool.core.io.NioUtil
默认中等缓存大小 16384
DEFAULT_QUEUE_CAPACITY - 类 中的静态变量cn.hutool.core.thread.ExecutorBuilder
默认的等待队列容量
DEFAULT_ROUNDING_MODE - 类 中的静态变量cn.hutool.core.math.Money
缺省的取整模式,为RoundingMode.HALF_EVEN (四舍五入,当小数为0.5时,则取最近的偶数)。
DEFAULT_SIZE - 类 中的静态变量cn.hutool.core.lang.id.NanoId
默认长度
DEFAULT_TIME_OFFSET - 类 中的静态变量cn.hutool.core.lang.Snowflake
默认回拨时间,2S
DEFAULT_TRY_COUNT - 枚举 中的静态变量cn.hutool.core.swing.clipboard.ClipboardMonitor
默认重试此时:10
DEFAULT_TWEPOCH - 类 中的静态变量cn.hutool.core.lang.Snowflake
默认的起始时间,为Thu, 04 Nov 2010 01:42:54 GMT
defaultCharset() - 类 中的静态方法cn.hutool.core.util.CharsetUtil
系统默认字符集编码
defaultCharset(InputStream, Charset...) - 类 中的静态方法cn.hutool.core.util.CharsetUtil
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用使用支持reset方法的流
defaultCharset(int, InputStream, Charset...) - 类 中的静态方法cn.hutool.core.util.CharsetUtil
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用使用支持reset方法的流
defaultCharsetName() - 类 中的静态方法cn.hutool.core.util.CharsetUtil
系统默认字符集编码
defaultConfig() - 类 中的静态方法cn.hutool.core.text.csv.CsvReadConfig
默认配置
defaultConfig() - 类 中的静态方法cn.hutool.core.text.csv.CsvWriteConfig
默认配置
defaultIfBlank(T, T) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
如果给定对象为null或者""或者空白符返回默认值 ObjectUtil.defaultIfBlank(null, null) = null ObjectUtil.defaultIfBlank(null, "") = "" ObjectUtil.defaultIfBlank("", "zz") = "zz" ObjectUtil.defaultIfBlank(" ", "zz") = "zz" ObjectUtil.defaultIfBlank("abc", *) = "abc"
defaultIfEmpty(T, T) - 类 中的静态方法cn.hutool.core.collection.CollUtil
如果给定集合为空,返回默认集合
defaultIfEmpty(T, Supplier<? extends T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
如果给定集合为空,返回默认集合
defaultIfEmpty(T, T) - 类 中的静态方法cn.hutool.core.map.MapUtil
如果给定Map为空,返回默认Map
defaultIfEmpty(T[], T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
如果给定数组为空,返回默认数组
defaultIfEmpty(String, Supplier<? extends T>, T) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
如果给定对象为null或者""返回默认值, 否则返回自定义handle处理后的返回值
defaultIfEmpty(T, T) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
如果给定对象为null或者 "" 返回默认值 ObjectUtil.defaultIfEmpty(null, null) = null ObjectUtil.defaultIfEmpty(null, "") = "" ObjectUtil.defaultIfEmpty("", "zz") = "zz" ObjectUtil.defaultIfEmpty(" ", "zz") = " " ObjectUtil.defaultIfEmpty("abc", *) = "abc"
defaultIfNull(T, T) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
如果给定对象为null返回默认值 ObjectUtil.defaultIfNull(null, null) = null ObjectUtil.defaultIfNull(null, "") = "" ObjectUtil.defaultIfNull(null, "zz") = "zz" ObjectUtil.defaultIfNull("abc", *) = "abc" ObjectUtil.defaultIfNull(Boolean.TRUE, *) = Boolean.TRUE
defaultIfNull(Object, Supplier<? extends T>, T) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
如果给定对象为null 返回默认值, 如果不为null 返回自定义handle处理后的返回值
DefaultNodeParser<T> - cn.hutool.core.lang.tree.parser中的类
默认的简单转换器
DefaultNodeParser() - 类 的构造器cn.hutool.core.lang.tree.parser.DefaultNodeParser
 
DefaultSegment<T extends Number> - cn.hutool.core.lang中的类
片段默认实现
DefaultSegment(T, T) - 类 的构造器cn.hutool.core.lang.DefaultSegment
构造
DefaultTrustManager - cn.hutool.core.net中的类
默认信任管理器,默认信任所有客户端和服务端证书
继承X509ExtendedTrustManager的原因见:https://blog.csdn.net/ghaohao/article/details/79454913
DefaultTrustManager() - 类 的构造器cn.hutool.core.net.DefaultTrustManager
 
Deflate - cn.hutool.core.compress中的类
Deflate算法
Deflate是同时使用了LZ77算法与哈夫曼编码(Huffman Coding)的一个无损数据压缩算法。
Deflate(InputStream, OutputStream, boolean) - 类 的构造器cn.hutool.core.compress.Deflate
构造
deflater(int) - 类 中的方法cn.hutool.core.compress.Deflate
将普通数据流压缩
dekHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
DEK算法
del(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
删除文件或者文件夹,不追踪软链
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
del(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
删除文件或者文件夹
路径如果为相对路径,会转换为ClassPath路径!
del(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
删除文件或者文件夹
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作 从5.7.6开始,删除文件使用Files.delete(Path)代替 File.delete()
因为前者遇到文件被占用等原因时,抛出异常,而非返回false,异常会指明具体的失败原因。
del(int, int) - 类 中的方法cn.hutool.core.text.StrBuilder
删除指定长度的字符,规则如下: 1、end大于等于最大长度,结束按照最大长度计算,相当于删除start之后虽有部分(性能最好) 2、end小于start时,抛出StringIndexOutOfBoundsException 3、start小于0 按照0处理 4、start等于end不处理 5、start和end都位于长度区间内,删除这段内容(内存拷贝)
delAll(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
删除匹配的全部内容
delAll(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
删除匹配的全部内容
delay - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
delay - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
delay() - 类 中的静态方法cn.hutool.core.swing.RobotUtil
等待指定毫秒数
DelayWatcher - cn.hutool.core.io.watch.watchers中的类
延迟观察者
使用此观察者通过定义一定的延迟时间,解决WatchService多个modify的问题
在监听目录或文件时,如果这个文件有修改操作,会多次触发modify方法。
DelayWatcher(Watcher, long) - 类 的构造器cn.hutool.core.io.watch.watchers.DelayWatcher
构造
DelegatedExecutorService - cn.hutool.core.thread中的类
ExecutorService代理
delete() - 类 中的方法cn.hutool.core.net.multipart.UploadFile
从磁盘或者内存中删除这个文件
delFile(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
删除文件或空目录,不追踪软链
delFirst(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
删除匹配的第一个内容
delFirst(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
删除匹配的第一个内容
DELIM_END - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:花括号(右) '}'
DELIM_END - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:花括号(右) "}"
DELIM_START - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:花括号(左) '{'
DELIM_START - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:花括号(左) "{"
delLast(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
删除匹配的最后一个内容
delLast(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
删除匹配的最后一个内容
delPre(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
删除正则匹配到的内容之前的字符 如果没有找到,则返回原文
delPre(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
删除正则匹配到的内容之前的字符 如果没有找到,则返回原文
delTo(int) - 类 中的方法cn.hutool.core.text.StrBuilder
删除到指定位置
如果新位置小于等于0,则删除全部
DelVisitor - cn.hutool.core.io.file.visitor中的类
删除操作的FileVisitor实现,用于递归遍历删除文件夹
DelVisitor() - 类 的构造器cn.hutool.core.io.file.visitor.DelVisitor
 
DependencyException - cn.hutool.core.exceptions中的异常错误
依赖异常
DependencyException(Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.DependencyException
 
DependencyException(String) - 异常错误 的构造器cn.hutool.core.exceptions.DependencyException
 
DependencyException(String, Object...) - 异常错误 的构造器cn.hutool.core.exceptions.DependencyException
 
DependencyException(String, Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.DependencyException
 
DependencyException(String, Throwable, boolean, boolean) - 异常错误 的构造器cn.hutool.core.exceptions.DependencyException
 
DependencyException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.exceptions.DependencyException
 
descForEach(Class<?>, Consumer<? super PropDesc>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
遍历Bean的属性
desensitized(CharSequence, DesensitizedUtil.DesensitizedType) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
脱敏,使用默认的脱敏策略 StrUtil.desensitized("100", DesensitizedUtil.DesensitizedType.USER_ID)) = "0" StrUtil.desensitized("段正淳", DesensitizedUtil.DesensitizedType.CHINESE_NAME)) = "段**" StrUtil.desensitized("51343620000320711X", DesensitizedUtil.DesensitizedType.ID_CARD)) = "5***************1X" StrUtil.desensitized("09157518479", DesensitizedUtil.DesensitizedType.FIXED_PHONE)) = "0915*****79" StrUtil.desensitized("18049531999", DesensitizedUtil.DesensitizedType.MOBILE_PHONE)) = "180****1999" StrUtil.desensitized("北京市海淀区马连洼街道289号", DesensitizedUtil.DesensitizedType.ADDRESS)) = "北京市海淀区马********" StrUtil.desensitized("[email protected]", DesensitizedUtil.DesensitizedType.EMAIL)) = "d*************@gmail.com.cn" StrUtil.desensitized("1234567890", DesensitizedUtil.DesensitizedType.PASSWORD)) = "**********" StrUtil.desensitized("苏D40000", DesensitizedUtil.DesensitizedType.CAR_LICENSE)) = "苏D4***0" StrUtil.desensitized("11011111222233333256", DesensitizedType.BANK_CARD)) = "1101 **** **** **** 3256"
desensitized(CharSequence, DesensitizedUtil.DesensitizedType) - 类 中的静态方法cn.hutool.core.util.DesensitizedUtil
脱敏,使用默认的脱敏策略 DesensitizedUtil.desensitized("100", DesensitizedUtils.DesensitizedType.USER_ID)) = "0" DesensitizedUtil.desensitized("段正淳", DesensitizedUtils.DesensitizedType.CHINESE_NAME)) = "段**" DesensitizedUtil.desensitized("51343620000320711X", DesensitizedUtils.DesensitizedType.ID_CARD)) = "5***************1X" DesensitizedUtil.desensitized("09157518479", DesensitizedUtils.DesensitizedType.FIXED_PHONE)) = "0915*****79" DesensitizedUtil.desensitized("18049531999", DesensitizedUtils.DesensitizedType.MOBILE_PHONE)) = "180****1999" DesensitizedUtil.desensitized("北京市海淀区马连洼街道289号", DesensitizedUtils.DesensitizedType.ADDRESS)) = "北京市海淀区马********" DesensitizedUtil.desensitized("[email protected]", DesensitizedUtils.DesensitizedType.EMAIL)) = "d*************@gmail.com.cn" DesensitizedUtil.desensitized("1234567890", DesensitizedUtils.DesensitizedType.PASSWORD)) = "**********" DesensitizedUtil.desensitized("苏D40000", DesensitizedUtils.DesensitizedType.CAR_LICENSE)) = "苏D4***0" DesensitizedUtil.desensitized("11011111222233333256", DesensitizedUtils.DesensitizedType.BANK_CARD)) = "1101 **** **** **** 3256"
DesensitizedUtil - cn.hutool.core.util中的类
脱敏工具类,支持以下类型信息的脱敏自动处理: 用户ID 中文名 身份证 座机号 手机号 地址 电子邮件 密码 车牌 银行卡号
DesensitizedUtil() - 类 的构造器cn.hutool.core.util.DesensitizedUtil
 
DesensitizedUtil.DesensitizedType - cn.hutool.core.util中的枚举
支持的脱敏类型枚举
deserialize(byte[]) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
反序列化
对象必须实现Serializable接口 注意!!!
deserialize(byte[]) - 类 中的静态方法cn.hutool.core.util.SerializeUtil
反序列化
对象必须实现Serializable接口 注意!!!
DesktopUtil - cn.hutool.core.swing中的类
桌面相关工具(平台相关)
Desktop 类允许 Java 应用程序启动已在本机桌面上注册的关联应用程序,以处理 URI 或文件。
DesktopUtil() - 类 的构造器cn.hutool.core.swing.DesktopUtil
 
dest - 类 中的变量cn.hutool.core.lang.copier.SrcToDestCopier
目标
destroy() - 类 中的静态方法cn.hutool.core.lang.Singleton
清除所有Singleton对象
destroy(Process) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
销毁进程
detect(File, Charset...) - 类 中的静态方法cn.hutool.core.io.CharsetDetector
探测文件编码
detect(InputStream, Charset...) - 类 中的静态方法cn.hutool.core.io.CharsetDetector
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用支持reset方法的流
detect(int, InputStream, Charset...) - 类 中的静态方法cn.hutool.core.io.CharsetDetector
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用支持reset方法的流
DiagnosticUtil - cn.hutool.core.compiler中的类
诊断工具类
DiagnosticUtil() - 类 的构造器cn.hutool.core.compiler.DiagnosticUtil
 
Dict - cn.hutool.core.lang中的类
字典对象,扩充了HashMap中的方法
Dict() - 类 的构造器cn.hutool.core.lang.Dict
构造
Dict(boolean) - 类 的构造器cn.hutool.core.lang.Dict
构造
Dict(int) - 类 的构造器cn.hutool.core.lang.Dict
构造
Dict(int, boolean) - 类 的构造器cn.hutool.core.lang.Dict
构造
Dict(int, float) - 类 的构造器cn.hutool.core.lang.Dict
构造
Dict(int, float, boolean) - 类 的构造器cn.hutool.core.lang.Dict
构造
Dict(Map<String, Object>) - 类 的构造器cn.hutool.core.lang.Dict
构造
digit16(int) - 类 中的静态方法cn.hutool.core.util.CharUtil
获取给定字符的16进制数值
digitToChinese(Number) - 类 中的静态方法cn.hutool.core.convert.Convert
金额转为中文形式
dimension - 类 中的静态变量cn.hutool.core.swing.ScreenUtil
 
disableComment() - 类 中的方法cn.hutool.core.text.csv.CsvConfig
设置注释无效
当写出CSV时,CsvWriter.writeComment(String)将抛出异常
当读取CSV时,注释行按照正常行读取
disableDefaultDocumentBuilderFactory() - 类 中的静态方法cn.hutool.core.util.XmlUtil
禁用默认的DocumentBuilderFactory,禁用后如果有第三方的实现(如oracle的xdb包中的xmlparse),将会自动加载实现。
disableLock() - 类 中的方法cn.hutool.core.lang.Range
禁用锁,调用此方法后不再使用锁保护
disjunction(Collection<T>, Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
两个集合的差集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留两个集合中此元素个数差的个数
例如: disjunction([a, b, c, c, c], [a, b, c, c]) -》 [c] disjunction([a, b], []) -》 [a, b] disjunction([a, b, c], [b, c, d]) -》 [a, d] 任意一个集合为空,返回另一个集合
两个集合无差集则返回空集合
dispose - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
dispose - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
distinct(Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
去重集合
distinct(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
去重数组中的元素,去重后生成新的数组,原数组不变
此方法通过LinkedHashSet 去重
div(float, float) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(float, double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(double, float) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(double, double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(Double, Double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(Number, Number) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(String, String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(float, float, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(float, double, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(double, float, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(double, double, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(Double, Double, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(Number, Number, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(String, String, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(float, float, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(float, double, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(double, float, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(double, double, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(Double, Double, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(Number, Number, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(String, String, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(BigDecimal, BigDecimal, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
divide(double) - 类 中的方法cn.hutool.core.math.Money
货币除法。
divide(BigDecimal) - 类 中的方法cn.hutool.core.math.Money
货币除法。
divide(BigDecimal, RoundingMode) - 类 中的方法cn.hutool.core.math.Money
货币除法。
divideBy(double) - 类 中的方法cn.hutool.core.math.Money
货币累除。
divideBy(BigDecimal) - 类 中的方法cn.hutool.core.math.Money
货币累除。
divideBy(BigDecimal, RoundingMode) - 类 中的方法cn.hutool.core.math.Money
货币累除。
divisor(int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
最大公约数
djbHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
DJB算法
doAction(WatchEvent<?>, Path) - 接口 中的方法cn.hutool.core.io.watch.WatchAction
事件处理,通过实现此方法处理各种事件。
doCompare(T, T) - 类 中的方法cn.hutool.core.comparator.FuncComparator
 
doCompare(T, T) - 类 中的方法cn.hutool.core.comparator.NullComparator
不检查null的比较方法
用户可自行重写此方法自定义比较方式
DOT - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:点 '.'
DOT - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:点 "."
DOUBLE_DOT - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:双点 ".."
DOUBLE_QUOTES - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:双引号 '"'
doubleToBytes(double) - 类 中的静态方法cn.hutool.core.util.ByteUtil
double转byte数组
默认以小端序转换
doubleToBytes(double, ByteOrder) - 类 中的静态方法cn.hutool.core.util.ByteUtil
double转byte数组
自定义端序
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
doubleValue() - 类 中的方法cn.hutool.core.lang.hash.Number128
 
doubleValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
 
doubleValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
 
doubleValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
 
doubleValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
 
doubleValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
 
doubleValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
 
drawImg(Graphics, Image, Point) - 类 中的静态方法cn.hutool.core.img.GraphicsUtil
绘制图片
drawImg(Graphics, Image, Rectangle) - 类 中的静态方法cn.hutool.core.img.GraphicsUtil
绘制图片
drawString(Graphics, String, Font, Color, int, int) - 类 中的静态方法cn.hutool.core.img.GraphicsUtil
绘制字符串,默认抗锯齿
drawString(Graphics, String, Font, Color, Rectangle) - 类 中的静态方法cn.hutool.core.img.GraphicsUtil
绘制字符串,默认抗锯齿。
drawString(Graphics, String, Font, Color, Point) - 类 中的静态方法cn.hutool.core.img.GraphicsUtil
绘制字符串,默认抗锯齿
drawStringColourful(Graphics, String, Font, int, int) - 类 中的静态方法cn.hutool.core.img.GraphicsUtil
绘制字符串,使用随机颜色,默认抗锯齿
dump() - 类 中的方法cn.hutool.core.math.Money
生成本对象内部变量的字符串表示,用于调试。
DurationConverter - cn.hutool.core.convert.impl中的类
Duration对象转换器
DurationConverter() - 类 的构造器cn.hutool.core.convert.impl.DurationConverter
 
DynaBean - cn.hutool.core.bean中的类
动态Bean,通过反射对Bean的相关方法做操作
支持Map和普通Bean
DynaBean(Class<?>, Object...) - 类 的构造器cn.hutool.core.bean.DynaBean
构造
DynaBean(Class<?>) - 类 的构造器cn.hutool.core.bean.DynaBean
构造
DynaBean(Object) - 类 的构造器cn.hutool.core.bean.DynaBean
构造
DynaBeanValueProvider - cn.hutool.core.bean.copier.provider中的类
DynaBean值提供者
DynaBeanValueProvider(DynaBean, boolean) - 类 的构造器cn.hutool.core.bean.copier.provider.DynaBeanValueProvider
构造

E

edit(T, Editor<Field>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
编辑Bean的字段,static字段不会处理
例如需要对指定的字段做判空操作、null转""操作等等。
edit(Collection<T>, Editor<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
编辑,此方法产生一个新集合
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能: 1、过滤出需要的对象,如果返回null表示这个元素对象抛弃 2、修改元素对象,返回集合中为修改后的对象
edit(Iterable<T>, Editor<T>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
编辑,此方法产生一个新ArrayList
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能: 1、过滤出需要的对象,如果返回null表示这个元素对象抛弃 2、修改元素对象,返回集合中为修改后的对象
edit(T) - 接口 中的方法cn.hutool.core.lang.Editor
修改过滤后的结果
edit(Map<K, V>, Editor<Map.Entry<K, V>>) - 类 中的静态方法cn.hutool.core.map.MapUtil
编辑Map
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能: 1、过滤出需要的对象,如果返回 null表示这个元素对象抛弃 2、修改元素对象,返回集合中为修改后的对象
edit(File) - 类 中的静态方法cn.hutool.core.swing.DesktopUtil
启动关联编辑器应用程序并打开用于编辑的文件
edit(T[], Editor<T>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
编辑数组
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能: 1、过滤出需要的对象,如果返回 null表示这个元素对象抛弃 2、修改元素对象,返回集合中为修改后的对象
editable - 类 中的变量cn.hutool.core.bean.copier.CopyOptions
限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
editFieldName(String) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
转换字段名为编辑后的字段名
editFieldValue(String, Object) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
转换字段名为编辑后的字段名
Editor<T> - cn.hutool.core.lang中的接口
编辑器接口,常用于对于集合中的元素做统一编辑
此编辑器两个作用: 1、如果返回值为 null,表示此值被抛弃 2、对对象做修改
elementText(Element, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
根据节点名获得第一个子节点
elementText(Element, String, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
根据节点名获得第一个子节点
elfHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
ELF算法
EMAIL - 类 中的静态变量cn.hutool.core.lang.PatternPool
邮件,符合RFC 5322规范,正则来自:http://emailregex.com/ What is the maximum length of a valid email address?
EMAIL - 接口 中的静态变量cn.hutool.core.lang.RegexPool
邮件,符合RFC 5322规范,正则来自:http://emailregex.com/ What is the maximum length of a valid email address?
EMAIL - 类 中的静态变量cn.hutool.core.lang.Validator
邮件
email(String) - 类 中的静态方法cn.hutool.core.util.DesensitizedUtil
【电子邮箱】邮箱前缀仅显示第一个字母,前缀其他隐藏,用星号代替,@及后面的地址显示,比如:d**@126.com
empty(Class<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
根据给定的集合类型,返回对应的空集合,支持类型包括: * 1.
empty() - 类 中的静态方法cn.hutool.core.collection.IterUtil
返回一个空Iterator
empty() - 类 中的静态方法cn.hutool.core.collection.ListUtil
获取一个空List,这个空List不可变
empty() - 类 中的静态方法cn.hutool.core.lang.Opt
返回一个空的Opt
empty() - 类 中的静态方法cn.hutool.core.map.MapUtil
返回一个空Map
empty(Class<?>) - 类 中的静态方法cn.hutool.core.map.MapUtil
根据传入的Map类型不同,返回对应类型的空Map,支持类型包括: 1.
EMPTY - 类 中的静态变量cn.hutool.core.text.CharSequenceUtil
字符串常量:空字符串 ""
EMPTY_JSON - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:空 JSON "{}"
emptyCount(Object...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
计算null或空元素对象的个数,通过ObjectUtil.isEmpty(Object) 判断元素
emptyCount(Object...) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
存在多少个null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
emptyIfNull(Set<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
如果提供的集合为null,返回一个不可变的默认空集合,否则返回原集合
空集合使用Collections.emptySet()
emptyIfNull(List<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
如果提供的集合为null,返回一个不可变的默认空集合,否则返回原集合
空集合使用Collections.emptyList()
emptyIfNull(Map<K, V>) - 类 中的静态方法cn.hutool.core.map.MapUtil
如果提供的集合为null,返回一个不可变的默认空集合,否则返回原集合
空集合使用Collections.emptyMap()
emptyIfNull(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
当给定字符串为null时,转换为Empty
emptyToDefault(CharSequence, String) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
如果字符串是null或者"",则返回指定默认字符串,否则返回字符串本身。
emptyToNull(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
当给定字符串为空字符串时,转换为null
encode(byte[]) - 类 中的静态方法cn.hutool.core.codec.Base32
编码
encode(String) - 类 中的静态方法cn.hutool.core.codec.Base32
base32编码
encode(String, String) - 类 中的静态方法cn.hutool.core.codec.Base32
base32编码
encode(String, Charset) - 类 中的静态方法cn.hutool.core.codec.Base32
base32编码
encode(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base62
Base62编码
encode(CharSequence, Charset) - 类 中的静态方法cn.hutool.core.codec.Base62
Base62编码
encode(byte[]) - 类 中的静态方法cn.hutool.core.codec.Base62
Base62编码
encode(InputStream) - 类 中的静态方法cn.hutool.core.codec.Base62
Base62编码
encode(File) - 类 中的静态方法cn.hutool.core.codec.Base62
Base62编码
encode(byte[]) - 类 中的方法cn.hutool.core.codec.Base62Codec
编码指定消息bytes为Base62格式的bytes
encode(byte[], boolean) - 类 中的静态方法cn.hutool.core.codec.Base64
编码为Base64,非URL安全的
encode(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码
encode(CharSequence, String) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码
encode(CharSequence, Charset) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码
encode(byte[]) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码
encode(InputStream) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码
encode(File) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码
encode(byte[], boolean, boolean) - 类 中的静态方法cn.hutool.core.codec.Base64
编码为Base64
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
encode(byte[], boolean) - 类 中的静态方法cn.hutool.core.codec.Base64Encoder
编码为Base64,非URL安全的
encode(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base64Encoder
base64编码
encode(CharSequence, Charset) - 类 中的静态方法cn.hutool.core.codec.Base64Encoder
base64编码
encode(byte[]) - 类 中的静态方法cn.hutool.core.codec.Base64Encoder
base64编码
encode(byte[], boolean, boolean) - 类 中的静态方法cn.hutool.core.codec.Base64Encoder
编码为Base64
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
encode(String, int) - 类 中的静态方法cn.hutool.core.codec.Caesar
传入明文,加密得到密文
encode(String) - 类 中的方法cn.hutool.core.codec.Morse
编码
encode(String) - 类 中的静态方法cn.hutool.core.codec.PunyCode
将内容编码为PunyCode
encode(String, boolean) - 类 中的静态方法cn.hutool.core.codec.PunyCode
将内容编码为PunyCode
encode(String, int, boolean) - 类 中的静态方法cn.hutool.core.codec.Rot
RotN编码
encode(String, Charset) - 类 中的方法cn.hutool.core.net.URLEncoder
将URL中的字符串编码为%形式
encode(String) - 类 中的静态方法cn.hutool.core.net.URLEncodeUtil
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encode(String, Charset) - 类 中的静态方法cn.hutool.core.net.URLEncodeUtil
编码字符为 application/x-www-form-urlencoded
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encode(String, int) - 类 中的静态方法cn.hutool.core.util.RadixUtil
把一个整型数值转换成自己定义的进制 长度即进制
encode("AB",10) 51转换成2进制,A=0;B=1 。
encode(String, long) - 类 中的静态方法cn.hutool.core.util.RadixUtil
把一个长整型数值转换成自己定义的进制
encode13(String) - 类 中的静态方法cn.hutool.core.codec.Rot
Rot-13编码,同时编码数字
encode13(String, boolean) - 类 中的静态方法cn.hutool.core.codec.Rot
Rot-13编码
encodeAll(String) - 类 中的静态方法cn.hutool.core.net.URLEncodeUtil
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encodeAll(String, Charset) - 类 中的静态方法cn.hutool.core.net.URLEncodeUtil
编码URL
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encodeBlank(CharSequence) - 类 中的静态方法cn.hutool.core.util.URLUtil
单独编码URL中的空白符,空白符编码为%20
encodeColor(Color) - 类 中的静态方法cn.hutool.core.util.HexUtil
Color编码为Hex形式
encodeColor(Color, String) - 类 中的静态方法cn.hutool.core.util.HexUtil
Color编码为Hex形式
encodeFragment(String) - 类 中的静态方法cn.hutool.core.net.URLEncodeUtil
编码URL,默认使用UTF-8编码
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下: fragment = *( pchar / "/" / "?"
encodeFragment(String, Charset) - 类 中的静态方法cn.hutool.core.net.URLEncodeUtil
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下: fragment = *( pchar / "/" / "?"
encodeHex(byte[]) - 类 中的静态方法cn.hutool.core.util.HexUtil
将字节数组转换为十六进制字符数组
encodeHex(String, Charset) - 类 中的静态方法cn.hutool.core.util.HexUtil
将字节数组转换为十六进制字符数组
encodeHex(byte[], boolean) - 类 中的静态方法cn.hutool.core.util.HexUtil
将字节数组转换为十六进制字符数组
encodeHexStr(byte[]) - 类 中的静态方法cn.hutool.core.util.HexUtil
将字节数组转换为十六进制字符串
encodeHexStr(String, Charset) - 类 中的静态方法cn.hutool.core.util.HexUtil
将字符串转换为十六进制字符串,结果为小写
encodeHexStr(String) - 类 中的静态方法cn.hutool.core.util.HexUtil
将字符串转换为十六进制字符串,结果为小写,默认编码是UTF-8
encodeHexStr(byte[], boolean) - 类 中的静态方法cn.hutool.core.util.HexUtil
将字节数组转换为十六进制字符串
encodePathSegment(String) - 类 中的静态方法cn.hutool.core.net.URLEncodeUtil
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encodePathSegment(String, Charset) - 类 中的静态方法cn.hutool.core.net.URLEncodeUtil
编码字符为URL中查询语句
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encodeQuery(String) - 类 中的静态方法cn.hutool.core.net.URLEncodeUtil
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encodeQuery(String, Charset) - 类 中的静态方法cn.hutool.core.net.URLEncodeUtil
编码字符为URL中查询语句
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encodeStr(byte[], boolean, boolean) - 类 中的静态方法cn.hutool.core.codec.Base64
编码为Base64字符串
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
encodeStr(byte[], boolean, boolean) - 类 中的静态方法cn.hutool.core.codec.Base64Encoder
编码为Base64字符串
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
encodeUrlSafe(byte[], boolean) - 类 中的静态方法cn.hutool.core.codec.Base64
编码为Base64,URL安全的
encodeUrlSafe(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码,URL安全
encodeUrlSafe(CharSequence, String) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码,URL安全
encodeUrlSafe(CharSequence, Charset) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码,URL安全的
encodeUrlSafe(byte[]) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码,URL安全的
encodeUrlSafe(InputStream) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码,URL安全的
encodeUrlSafe(File) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码,URL安全的
encodeUrlSafe(byte[], boolean) - 类 中的静态方法cn.hutool.core.codec.Base64Encoder
编码为Base64,URL安全的
encodeUrlSafe(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base64Encoder
base64编码,URL安全
encodeUrlSafe(CharSequence, Charset) - 类 中的静态方法cn.hutool.core.codec.Base64Encoder
base64编码,URL安全的
encodeUrlSafe(byte[]) - 类 中的静态方法cn.hutool.core.codec.Base64Encoder
base64编码,URL安全的
encodeWithoutPadding(CharSequence, String) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码,不进行padding(末尾不会填充'=')
encodeWithoutPadding(byte[]) - 类 中的静态方法cn.hutool.core.codec.Base64
base64编码,不进行padding(末尾不会填充'=')
end(int) - 类 中的方法cn.hutool.core.text.finder.CharFinder
 
end(int) - 类 中的方法cn.hutool.core.text.finder.CharMatcherFinder
 
end(int) - 接口 中的方法cn.hutool.core.text.finder.Finder
返回结束位置,即最后一个字符后的位置(不包含)
end(int) - 类 中的方法cn.hutool.core.text.finder.LengthFinder
 
end(int) - 类 中的方法cn.hutool.core.text.finder.PatternFinder
 
end(int) - 类 中的方法cn.hutool.core.text.finder.StrFinder
 
endIndex - 类 中的变量cn.hutool.core.lang.DefaultSegment
 
endLineNo - 类 中的变量cn.hutool.core.text.csv.CsvReadConfig
结束的行(包括),此处为原始文件行号
endOfDay(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某天的结束时间
endOfDay(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某天的结束时间
endOfDay(LocalDateTime) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
修改为一天的结束时间,例如:2020-02-02 23:59:59,999
endOfHour(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某小时的结束时间
endOfHour(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某小时的结束时间
endOfMinute(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某分钟的结束时间
endOfMinute(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某分钟的结束时间
endOfMonth(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某月的结束时间
endOfMonth(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某月的结束时间
endOfQuarter(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某季度的结束时间
endOfQuarter(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某季度的结束时间
endOfSecond(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取秒级别的结束时间,即毫秒设置为999
endOfSecond(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取秒级别的结束时间,即毫秒设置为999
endOfWeek(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某周的结束时间,周日定为一周的结束
endOfWeek(Calendar, boolean) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某周的结束时间
endOfWeek(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某周的结束时间,周日定为一周的结束
endOfWeek(Date, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某周的结束时间
endOfYear(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取某年的结束时间
endOfYear(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取某年的结束时间
endWith(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
字符串是否以给定字符结尾
endWith(CharSequence, CharSequence, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
是否以指定字符串结尾
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
endWith(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
是否以指定字符串结尾
endWithAny(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串是否以任何一个字符串结尾
给定字符串和数组为空都返回false
endWithAnyIgnoreCase(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串是否以任何一个字符串结尾(忽略大小写)
给定字符串和数组为空都返回false
endWithIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
是否以指定字符串结尾,忽略大小写
ENTRY_CREATE - 类 中的静态变量cn.hutool.core.io.watch.WatchMonitor
创建事件
ENTRY_DELETE - 类 中的静态变量cn.hutool.core.io.watch.WatchMonitor
删除事件
ENTRY_MODIFY - 类 中的静态变量cn.hutool.core.io.watch.WatchMonitor
修改事件
entrySet() - 类 中的方法cn.hutool.core.map.MapProxy
 
entrySet() - 类 中的方法cn.hutool.core.map.MapWrapper
 
entrySet() - 类 中的方法cn.hutool.core.map.TableMap
 
EnumConverter - cn.hutool.core.convert.impl中的类
无泛型检查的枚举转换器
EnumConverter(Class) - 类 的构造器cn.hutool.core.convert.impl.EnumConverter
构造
EnumerationIter<E> - cn.hutool.core.collection中的类
Enumeration对象转Iterator对象
EnumerationIter(Enumeration<E>) - 类 的构造器cn.hutool.core.collection.EnumerationIter
构造
EnumItem<E extends EnumItem<E>> - cn.hutool.core.lang中的接口
枚举元素通用接口,在自定义枚举上实现此接口可以用于数据转换
数据库保存时建议保存 intVal()而非ordinal()防备需求变更
EnumUtil - cn.hutool.core.util中的类
枚举工具类
EnumUtil() - 类 的构造器cn.hutool.core.util.EnumUtil
 
EOF - 类 中的静态变量cn.hutool.core.io.NioUtil
数据流末尾
equal(Object, Object) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否相等
当两值都为null返回true
equal(Object, Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
比较两个对象是否相等。
equals(Object) - 类 中的方法cn.hutool.core.bean.DynaBean
 
equals(Object) - 类 中的方法cn.hutool.core.comparator.ComparableComparator
 
equals(Object) - 类 中的方法cn.hutool.core.comparator.ComparatorChain
 
equals(Object) - 类 中的方法cn.hutool.core.comparator.ReverseComparator
 
equals(Object) - 类 中的方法cn.hutool.core.date.format.AbstractDateBasic
 
equals(Object) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
equals(Path, Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
检查两个文件是否是同一个文件
所谓文件相同,是指Path对象是否指向同一个文件或文件夹
equals(File, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
检查两个文件是否是同一个文件
所谓文件相同,是指File对象是否指向同一个文件或文件夹
equals(Object) - 类 中的方法cn.hutool.core.io.unit.DataSize
 
equals(Object) - 类 中的方法cn.hutool.core.lang.mutable.MutableBool
相等需同时满足如下条件: 非空 类型为 MutableBool 值相等
equals(Object) - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
相等需同时满足如下条件: 非空 类型为 MutableByte 值相等
equals(Object) - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
相等需同时满足如下条件: 非空 类型为 MutableDouble 值相等
equals(Object) - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
相等需同时满足如下条件: 非空 类型为 MutableFloat 值相等
equals(Object) - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
相等需同时满足如下条件: 非空 类型为 MutableInt 值相等
equals(Object) - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
相等需同时满足如下条件: 非空 类型为 MutableLong 值相等
equals(Object) - 类 中的方法cn.hutool.core.lang.mutable.MutableObj
 
equals(Object) - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
相等需同时满足如下条件: 非空 类型为 MutableShort 值相等
equals(Object) - 类 中的方法cn.hutool.core.lang.Opt
判断传入参数是否与 Opt相等 在以下情况下返回true 它也是一个 Opt 并且 它们包裹住的元素都为空 或者 它们包裹住的元素之间相互 equals()
equals(Object) - 类 中的方法cn.hutool.core.lang.Pair
 
equals(Object) - 类 中的方法cn.hutool.core.lang.tree.TreeNode
 
equals(Object) - 类 中的方法cn.hutool.core.lang.Tuple
 
equals(Object) - 类 中的方法cn.hutool.core.lang.UUID
将此对象与指定对象比较。
equals(Object) - 类 中的方法cn.hutool.core.lang.WeightRandom.WeightObj
 
equals(Object) - 类 中的方法cn.hutool.core.map.MapWrapper
 
equals(Object) - 类 中的方法cn.hutool.core.map.TolerantMap
 
equals(Object) - 类 中的方法cn.hutool.core.math.Money
判断本货币对象与另一对象是否相等。
equals(Money) - 类 中的方法cn.hutool.core.math.Money
判断本货币对象与另一货币对象是否相等。
equals(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
比较两个字符串(大小写敏感)。
equals(CharSequence, CharSequence, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
比较两个字符串是否相等。
equals(Collection<? extends CharSequence>) - 类 中的方法cn.hutool.core.text.Simhash
判断文本是否与已存储的数据重复
equals(Object, Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
判断两个数组是否相等,判断依据包括数组长度和每个元素都相等。
equals(char, char, boolean) - 类 中的静态方法cn.hutool.core.util.CharUtil
比较两个字符是否相同
equals(Class<?>, String, boolean) - 类 中的静态方法cn.hutool.core.util.ClassUtil
指定类是否与给定的类名相同
equals(Enum<?>, String) - 类 中的静态方法cn.hutool.core.util.EnumUtil
检查某个枚举值是否匹配指定值
equals(double, double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较大小,值相等 返回true
此方法通过调用Double.doubleToLongBits(double)方法来判断是否相等
此方法判断值相等时忽略精度的,即0.00 == 0
equals(float, float) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较大小,值相等 返回true
此方法通过调用Float.floatToIntBits(float)方法来判断是否相等
此方法判断值相等时忽略精度的,即0.00 == 0
equals(BigDecimal, BigDecimal) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较大小,值相等 返回true
此方法通过调用BigDecimal.compareTo(BigDecimal)方法来判断是否相等
此方法判断值相等时忽略精度的,即0.00 == 0
equals(char, char, boolean) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较两个字符是否相同
equals(Object, Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
比较两个对象是否相等,此方法是 ObjectUtil.equal(Object, Object)的别名方法。
equalsAny(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串是否与提供的中任一字符串相同,相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
equalsAny(CharSequence, boolean, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串是否与提供的中任一字符串相同,相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
equalsAnyIgnoreCase(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串是否与提供的中任一字符串相同(忽略大小写),相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
EqualsBuilder - cn.hutool.core.builder中的类
Object.equals(Object) 方法的构建器 两个对象equals必须保证hashCode值相等,hashCode值相等不能保证一定equals 使用方法如下: public boolean equals(Object obj) { if (obj == null) { return false; } if (obj == this) { return true; } if (obj.getClass() !
EqualsBuilder() - 类 的构造器cn.hutool.core.builder.EqualsBuilder
构造,初始状态值为true
equalsCharAt(CharSequence, int, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
字符串指定位置的字符是否与给定字符相同
如果字符串为null,返回false
如果给定的位置大于字符串长度,返回false
如果给定的位置小于0,返回false
equalsIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
比较两个字符串(大小写不敏感)。
equalsIgnoreCase(Enum<?>, String) - 类 中的静态方法cn.hutool.core.util.EnumUtil
忽略大小检查某个枚举值是否匹配指定值
err() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Returns true if an error was encountered during reading/decoding
error() - 类 中的静态方法cn.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
error(Object) - 类 中的静态方法cn.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
error(Object, Object...) - 类 中的静态方法cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
如果传入打印对象为Throwable对象,那么同时打印堆栈
error(String, Object...) - 类 中的静态方法cn.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
error(Throwable, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
errorOnDifferentFieldCount - 类 中的变量cn.hutool.core.text.csv.CsvReadConfig
每行字段个数不同时是否抛出异常,默认false
escape(CharSequence) - 类 中的静态方法cn.hutool.core.util.EscapeUtil
Escape编码(Unicode)(等同于JS的escape()方法)
该方法不会对 ASCII 字母和数字进行编码,也不会对下面这些 ASCII 标点符号进行编码: * @ - _ + . /
其他所有的字符都会被转义序列替换。
escape(CharSequence, Filter<Character>) - 类 中的静态方法cn.hutool.core.util.EscapeUtil
Escape编码(Unicode)
该方法不会对 ASCII 字母和数字进行编码。
escape(char) - 类 中的静态方法cn.hutool.core.util.ReUtil
转义字符,将正则的关键字转义
escape(CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
转义字符串,将正则的关键字转义
escape(String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
转义XML特殊字符: & (ampersand) 替换为 &amp; < (小于) 替换为 &lt; > (大于) 替换为 &gt; " (双引号) 替换为 &quot;
escapeAll(CharSequence) - 类 中的静态方法cn.hutool.core.util.EscapeUtil
Escape编码(Unicode)
该方法不会对 ASCII 字母和数字进行编码。
escapeHtml4(CharSequence) - 类 中的静态方法cn.hutool.core.util.EscapeUtil
转义HTML4中的特殊字符
EscapeUtil - cn.hutool.core.util中的类
转义和反转义工具类Escape / Unescape
escape采用ISO Latin字符集对指定的字符串进行编码。
EscapeUtil() - 类 的构造器cn.hutool.core.util.EscapeUtil
 
escapeXml(CharSequence) - 类 中的静态方法cn.hutool.core.util.EscapeUtil
转义XML中的特殊字符
& (ampersand) 替换为 &amp; < (less than) 替换为 &lt; > (greater than) 替换为 &gt; " (double quote) 替换为 &quot; ' (single quote / apostrophe) 替换为 &apos;
estimateSize() - 类 中的方法cn.hutool.core.collection.TransSpliterator
 
events - 类 中的变量cn.hutool.core.io.watch.WatchServer
监听事件列表
EVENTS_ALL - 类 中的静态变量cn.hutool.core.io.watch.WatchMonitor
全部事件
ExceptionUtil - cn.hutool.core.exceptions中的类
异常工具类
ExceptionUtil() - 类 的构造器cn.hutool.core.exceptions.ExceptionUtil
 
exec(String...) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
exec(String[], String...) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
exec(String[], File, String...) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
execAsync(Runnable, boolean) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
执行异步方法
execAsync(Callable<T>) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
execAsync(Runnable) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
execForLines(String...) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
执行系统命令,使用系统默认编码
execForLines(Charset, String...) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
执行系统命令,使用系统默认编码
execForStr(String...) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
执行系统命令,使用系统默认编码
execForStr(Charset, String...) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
执行系统命令,使用系统默认编码
execute(Runnable) - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
execute(Runnable) - 类 中的静态方法cn.hutool.core.thread.GlobalThreadPool
直接在公共线程池中执行线程
execute(Runnable) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
直接在公共线程池中执行线程
ExecutorBuilder - cn.hutool.core.thread中的类
ThreadPoolExecutor 建造者 1.
ExecutorBuilder() - 类 的构造器cn.hutool.core.thread.ExecutorBuilder
 
exist(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
判断文件是否存在,如果path为null,则返回false
exist(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
判断文件是否存在,如果file为null,则返回false
exist(String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
是否存在匹配文件
exists(Path, boolean) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
判断文件或目录是否存在
EXT_CLASS - 类 中的静态变量cn.hutool.core.io.file.FileNameUtil
.class文件扩展名
EXT_JAR - 类 中的静态变量cn.hutool.core.io.file.FileNameUtil
.jar文件扩展名
EXT_JAVA - 类 中的静态变量cn.hutool.core.io.file.FileNameUtil
.java文件扩展名
extName(File) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
获取文件扩展名(后缀名),扩展名不带“.”
extName(String) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
获得文件的扩展名(后缀名),扩展名不带“.”
extName(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
获取文件扩展名(后缀名),扩展名不带“.”
extName(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得文件的扩展名(后缀名),扩展名不带“.”
extract(Iterable<?>, Editor<Object>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
通过Editor抽取集合元素中的某些值返回为新列表
例如提供的是一个Bean列表,通过Editor接口实现获取某个字段值,返回这个字段值组成的新列表
extract(Iterable<?>, Editor<Object>, boolean) - 类 中的静态方法cn.hutool.core.collection.CollUtil
通过Editor抽取集合元素中的某些值返回为新列表
例如提供的是一个Bean列表,通过Editor接口实现获取某个字段值,返回这个字段值组成的新列表
extractMulti(Pattern, CharSequence, String) - 类 中的静态方法cn.hutool.core.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)
extractMulti(String, CharSequence, String) - 类 中的静态方法cn.hutool.core.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
extractMultiAndDelPre(Pattern, Holder<CharSequence>, String) - 类 中的静态方法cn.hutool.core.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
extractMultiAndDelPre(String, Holder<CharSequence>, String) - 类 中的静态方法cn.hutool.core.util.ReUtil
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)

F

factorial(BigInteger) - 类 中的静态方法cn.hutool.core.util.NumberUtil
计算阶乘 n!
factorial(BigInteger, BigInteger) - 类 中的静态方法cn.hutool.core.util.NumberUtil
计算范围阶乘 factorial(start, end) = start * (start - 1) * ... * (end + 1)
factorial(long, long) - 类 中的静态方法cn.hutool.core.util.NumberUtil
计算范围阶乘 factorial(start, end) = start * (start - 1) * ... * (end + 1)
factorial(long) - 类 中的静态方法cn.hutool.core.util.NumberUtil
计算阶乘 n!
FastByteArrayOutputStream - cn.hutool.core.io中的类
基于快速缓冲FastByteBuffer的OutputStream,随着数据的增长自动扩充缓冲区 可以通过FastByteArrayOutputStream.toByteArray()FastByteArrayOutputStream.toString()来获取数据 FastByteArrayOutputStream.close()方法无任何效果,当流被关闭后不会抛出IOException 这种设计避免重新分配内存块而是分配新增的缓冲区,缓冲区不会被GC,数据也不会被拷贝到其他缓冲区。
FastByteArrayOutputStream() - 类 的构造器cn.hutool.core.io.FastByteArrayOutputStream
构造
FastByteArrayOutputStream(int) - 类 的构造器cn.hutool.core.io.FastByteArrayOutputStream
构造
FastByteBuffer - cn.hutool.core.io中的类
代码移植自blade
快速缓冲,将数据存放在缓冲集中,取代以往的单一数组
FastByteBuffer() - 类 的构造器cn.hutool.core.io.FastByteBuffer
 
FastByteBuffer(int) - 类 的构造器cn.hutool.core.io.FastByteBuffer
 
FastDateFormat - cn.hutool.core.date.format中的类
FastDateFormat 是一个线程安全的 SimpleDateFormat 实现。
FastDateFormat(String, TimeZone, Locale) - 类 的构造器cn.hutool.core.date.format.FastDateFormat
构造
FastDateFormat(String, TimeZone, Locale, Date) - 类 的构造器cn.hutool.core.date.format.FastDateFormat
构造
FastDateParser - cn.hutool.core.date.format中的类
SimpleDateFormat 的线程安全版本,用于解析日期字符串并转换为 Date 对象
Thanks to Apache Commons Lang 3.5
FastDateParser(String, TimeZone, Locale) - 类 的构造器cn.hutool.core.date.format.FastDateParser
Constructs a new FastDateParser.
FastDateParser(String, TimeZone, Locale, Date) - 类 的构造器cn.hutool.core.date.format.FastDateParser
Constructs a new FastDateParser.
FastDatePrinter - cn.hutool.core.date.format中的类
SimpleDateFormat 的线程安全版本,用于将 Date 格式化输出
Thanks to Apache Commons Lang 3.5
FastDatePrinter(String, TimeZone, Locale) - 类 的构造器cn.hutool.core.date.format.FastDatePrinter
构造,内部使用
fastSimpleUUID() - 类 中的静态方法cn.hutool.core.util.IdUtil
简化的UUID,去掉了横线,使用性能更好的ThreadLocalRandom生成UUID
FastStringWriter - cn.hutool.core.io中的类
借助StrBuilder 提供快读的字符串写出,相比jdk的StringWriter非线程安全,速度更快。
FastStringWriter() - 类 的构造器cn.hutool.core.io.FastStringWriter
构造
FastStringWriter(int) - 类 的构造器cn.hutool.core.io.FastStringWriter
构造
fastUUID() - 类 中的静态方法cn.hutool.core.lang.UUID
获取类型 4(伪随机生成的)UUID 的静态工厂。
fastUUID() - 类 中的静态方法cn.hutool.core.util.IdUtil
获取随机UUID,使用性能更好的ThreadLocalRandom生成UUID
FieldComparator<T> - cn.hutool.core.comparator中的类
Bean字段排序器
参阅feilong-core中的PropertyComparator
FieldComparator(Class<T>, String) - 类 的构造器cn.hutool.core.comparator.FieldComparator
构造
FieldComparator(Field) - 类 的构造器cn.hutool.core.comparator.FieldComparator
构造
FieldComparator(boolean, Field) - 类 的构造器cn.hutool.core.comparator.FieldComparator
构造
fieldMapping - 类 中的变量cn.hutool.core.bean.copier.CopyOptions
拷贝属性的字段映射,用于不同的属性之前拷贝做对应表用
fieldNameEditor - 类 中的变量cn.hutool.core.bean.copier.CopyOptions
字段属性编辑器,用于自定义属性转换规则,例如驼峰转下划线等
FieldsComparator<T> - cn.hutool.core.comparator中的类
Bean字段排序器
参阅feilong-core中的PropertyComparator
FieldsComparator(Class<T>, String...) - 类 的构造器cn.hutool.core.comparator.FieldsComparator
构造
FieldsComparator(boolean, Class<T>, String...) - 类 的构造器cn.hutool.core.comparator.FieldsComparator
构造
fieldSeparator - 类 中的变量cn.hutool.core.text.csv.CsvConfig
字段分隔符,默认逗号','
fieldValueAsMap(Iterable<?>, String, String) - 类 中的静态方法cn.hutool.core.collection.CollUtil
两个字段值组成新的Map
fieldValueAsMap(Iterator<?>, String, String) - 类 中的静态方法cn.hutool.core.collection.IterUtil
两个字段值组成新的Map
fieldValueEditor - 类 中的变量cn.hutool.core.bean.copier.CopyOptions
字段属性值编辑器,用于自定义属性值转换规则,例如null转""等
fieldValueList(Iterable<V>, String) - 类 中的静态方法cn.hutool.core.collection.IterUtil
获取指定Bean列表中某个字段,生成新的列表
fieldValueList(Iterator<V>, String) - 类 中的静态方法cn.hutool.core.collection.IterUtil
获取指定Bean列表中某个字段,生成新的列表
fieldValueMap(Iterable<V>, String) - 类 中的静态方法cn.hutool.core.collection.CollUtil
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
fieldValueMap(Iterator<V>, String) - 类 中的静态方法cn.hutool.core.collection.IterUtil
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
file - 类 中的变量cn.hutool.core.io.file.FileWrapper
 
file(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建File对象,自动识别相对或绝对路径,相对路径将自动从ClassPath下寻找
file(String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建File对象
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
file(File, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建File对象
根据的路径构建文件,在Win下直接构建,在Linux下拆分路径单独构建 此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
file(File, String...) - 类 中的静态方法cn.hutool.core.io.FileUtil
通过多层目录参数创建文件
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
file(String...) - 类 中的静态方法cn.hutool.core.io.FileUtil
通过多层目录创建文件 元素名(多层目录名)
file(URI) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建File对象
file(URL) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建File对象
FILE_SEPARATOR - 类 中的静态变量cn.hutool.core.io.FileUtil
文件路径分隔符
在Unix和Linux下 是'/'; 在Windows下是 '\'
FILE_URL_PREFIX - 类 中的静态变量cn.hutool.core.util.URLUtil
URL 前缀表示文件: "file:"
FileAppender - cn.hutool.core.io.file中的类
文件追加器
持有一个文件,在内存中积累一定量的数据后统一追加到文件
此类只有在写入文件时打开文件,并在写入结束后关闭之。
FileAppender(File, int, boolean) - 类 的构造器cn.hutool.core.io.file.FileAppender
构造
FileAppender(File, Charset, int, boolean) - 类 的构造器cn.hutool.core.io.file.FileAppender
构造
FileCopier - cn.hutool.core.io.file中的类
文件拷贝器
支持以下几种情况: 1、文件复制到文件 2、文件复制到目录 3、目录复制到目录 4、目录下的文件和目录复制到另一个目录
FileCopier(File, File) - 类 的构造器cn.hutool.core.io.file.FileCopier
构造
fileExts - 类 中的变量cn.hutool.core.net.multipart.UploadSetting
文件扩展名限定
FileMode - cn.hutool.core.io.file中的枚举
文件读写模式,常用于RandomAccessFile
FileNameUtil - cn.hutool.core.io.file中的类
文件名相关工具类
FileNameUtil() - 类 的构造器cn.hutool.core.io.file.FileNameUtil
 
FileObjectResource - cn.hutool.core.io.resource中的类
FileObject 资源包装
FileObjectResource(FileObject) - 类 的构造器cn.hutool.core.io.resource.FileObjectResource
构造
FileReader - cn.hutool.core.io.file中的类
文件读取器
FileReader(File, Charset) - 类 的构造器cn.hutool.core.io.file.FileReader
构造
FileReader(File, String) - 类 的构造器cn.hutool.core.io.file.FileReader
构造
FileReader(String, Charset) - 类 的构造器cn.hutool.core.io.file.FileReader
构造
FileReader(String, String) - 类 的构造器cn.hutool.core.io.file.FileReader
构造
FileReader(File) - 类 的构造器cn.hutool.core.io.file.FileReader
构造
编码使用 FileWrapper.DEFAULT_CHARSET
FileReader(String) - 类 的构造器cn.hutool.core.io.file.FileReader
构造
编码使用 FileWrapper.DEFAULT_CHARSET
FileReader.ReaderHandler<T> - cn.hutool.core.io.file中的接口
Reader处理接口
FileResource - cn.hutool.core.io.resource中的类
文件资源访问对象,支持PathFile 访问
FileResource(Path) - 类 的构造器cn.hutool.core.io.resource.FileResource
构造
FileResource(File) - 类 的构造器cn.hutool.core.io.resource.FileResource
构造
FileResource(File, String) - 类 的构造器cn.hutool.core.io.resource.FileResource
构造
FileResource(String) - 类 的构造器cn.hutool.core.io.resource.FileResource
构造
FileSystemUtil - cn.hutool.core.io.file中的类
FileSystem相关工具类封装
参考:https://blog.csdn.net/j16421881/article/details/78858690
FileSystemUtil() - 类 的构造器cn.hutool.core.io.file.FileSystemUtil
 
FileTypeUtil - cn.hutool.core.io中的类
文件类型判断工具类 此工具根据文件的前几位bytes猜测文件类型,对于文本、zip判断不准确,对于视频、图片类型判断准确 需要注意的是,xlsx、docx等Office2007格式,全部识别为zip,因为新版采用了OpenXML格式,这些格式本质上是XML文件打包为zip
FileTypeUtil() - 类 的构造器cn.hutool.core.io.FileTypeUtil
 
FileUtil - cn.hutool.core.io中的类
文件工具类
FileUtil() - 类 的构造器cn.hutool.core.io.FileUtil
 
FileWrapper - cn.hutool.core.io.file中的类
文件包装器,扩展文件对象
FileWrapper(File, Charset) - 类 的构造器cn.hutool.core.io.file.FileWrapper
构造
FileWriter - cn.hutool.core.io.file中的类
文件写入器
FileWriter(File, Charset) - 类 的构造器cn.hutool.core.io.file.FileWriter
构造
FileWriter(File, String) - 类 的构造器cn.hutool.core.io.file.FileWriter
构造
FileWriter(String, Charset) - 类 的构造器cn.hutool.core.io.file.FileWriter
构造
FileWriter(String, String) - 类 的构造器cn.hutool.core.io.file.FileWriter
构造
FileWriter(File) - 类 的构造器cn.hutool.core.io.file.FileWriter
构造
编码使用 FileWrapper.DEFAULT_CHARSET
FileWriter(String) - 类 的构造器cn.hutool.core.io.file.FileWriter
构造
编码使用 FileWrapper.DEFAULT_CHARSET
fill(String, char, int, boolean) - 类 中的静态方法cn.hutool.core.util.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
fillAfter(String, char, int) - 类 中的静态方法cn.hutool.core.util.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串后
fillBean(T, ValueProvider<String>, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
填充Bean的核心方法
fillBeanWithMap(Map<?, ?>, T, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
使用Map填充Bean对象
fillBeanWithMap(Map<?, ?>, T, boolean, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
使用Map填充Bean对象,可配置将下划线转换为驼峰
fillBeanWithMap(Map<?, ?>, T, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
使用Map填充Bean对象
fillBeanWithMap(Map<?, ?>, T, boolean, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
使用Map填充Bean对象
fillBeanWithMapIgnoreCase(Map<?, ?>, T, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
使用Map填充Bean对象,忽略大小写
fillBefore(String, char, int) - 类 中的静态方法cn.hutool.core.util.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串前
filter(T, Filter<E>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
去除指定元素,此方法直接修改原集合
filter(T, Filter<E>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
过滤集合,此方法在原集合上直接修改
通过实现Filter接口,完成元素的过滤,这个Filter实现可以实现以下功能: 1、过滤出需要的对象,Filter.accept(Object)方法返回false的对象将被使用Iterator.remove()方法移除
filter(Iterator<E>, Filter<E>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
过滤集合,此方法在原集合上直接修改
通过实现Filter接口,完成元素的过滤,这个Filter实现可以实现以下功能: 1、过滤出需要的对象,Filter.accept(Object)方法返回false的对象将被使用Iterator.remove()方法移除
filter(BufferedImageOp, BufferedImage) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图片过滤转换
filter(ImageFilter, Image) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图片滤镜,借助 ImageFilter实现,实现不同的图片滤镜
filter(String...) - 类 中的方法cn.hutool.core.lang.Dict
过滤Map保留指定键值对,如果键不存在跳过
Filter<T> - cn.hutool.core.lang中的接口
过滤器接口
filter(Predicate<? super T>) - 类 中的方法cn.hutool.core.lang.Opt
判断包裹里的值存在并且与给定的条件是否满足 (Predicate.test(T)执行结果是否为true) 如果满足条件则返回本身 不满足条件或者元素本身为空时返回一个返回一个空的Opt
filter(Map<K, V>, Filter<Map.Entry<K, V>>) - 类 中的静态方法cn.hutool.core.map.MapUtil
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Filter实现可以实现以下功能: 1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
filter(Map<K, V>, K...) - 类 中的静态方法cn.hutool.core.map.MapUtil
过滤Map保留指定键值对,如果键不存在跳过
filter(CharSequence, Filter<Character>) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
过滤字符串
filter(T[], Filter<T>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能: 1、过滤出需要的对象,Filter.accept(Object)方法返回true的对象将被加入结果集合中
filterNew(Collection<T>, Filter<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能: 1、过滤出需要的对象,Filter.accept(Object)方法返回true的对象将被加入结果集合中
FinalizableDelegatedExecutorService - cn.hutool.core.thread中的类
保证ExecutorService在对象回收时正常结束
finalize() - 类 中的方法cn.hutool.core.thread.FinalizableDelegatedExecutorService
 
findAll(String, CharSequence, int) - 类 中的静态方法cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果
findAll(String, CharSequence, int, T) - 类 中的静态方法cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, CharSequence, int) - 类 中的静态方法cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, CharSequence, int, T) - 类 中的静态方法cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, CharSequence, Consumer<Matcher>) - 类 中的静态方法cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果,使用Consumer完成匹配结果处理
findAllGroup0(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
findAllGroup0(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
findAllGroup1(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
findAllGroup1(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
findClass(String) - 类 中的方法cn.hutool.core.lang.ResourceClassLoader
 
findClosest(Color) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Returns index of palette color closest to c
findConstructor(Class<?>, Class<?>...) - 类 中的静态方法cn.hutool.core.lang.reflect.MethodHandleUtil
查找指定的构造方法
findConstructor(Class<?>, MethodType) - 类 中的静态方法cn.hutool.core.lang.reflect.MethodHandleUtil
查找指定的构造方法
findEditor(Class<?>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
查找类型转换器 PropertyEditor
Finder - cn.hutool.core.text.finder中的接口
字符串查找接口,通过调用Finder.start(int)查找开始位置,再调用Finder.end(int)找结束位置
findExact(Color) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Returns index of palette exactly matching to color c or -1 if there is no exact matching.
findMethod(Class<?>, String, MethodType) - 类 中的静态方法cn.hutool.core.lang.reflect.MethodHandleUtil
查找指定方法的方法句柄
此方法只会查找: 当前类的方法(包括构造方法和private方法) 父类的方法(包括构造方法和private方法) 当前类的static方法
findOne(Iterable<T>, Filter<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
查找第一个匹配元素对象
findOneByField(Iterable<T>, String, Object) - 类 中的静态方法cn.hutool.core.collection.CollUtil
查找第一个匹配元素对象
如果集合元素是Map,则比对键和值是否相同,相同则返回
如果为普通Bean,则通过反射比对元素字段名对应的字段值是否相同,相同则返回
如果给定字段值参数是null 且元素对象中的字段值也为null则认为相同
finish() - 类 中的方法cn.hutool.core.collection.ComputeIter
手动结束遍历器,用于关闭操作等
finish() - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Flushes any pending data and closes output file.
finish() - 接口 中的方法cn.hutool.core.io.StreamProgress
结束
finisher() - 类 中的方法cn.hutool.core.stream.SimpleCollector
 
firstFrame - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
firstMatch(Iterator<T>, Matcher<T>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
返回Iterator中第一个匹配规则的值
firstMatch(Matcher<T>, T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
返回数组中第一个匹配规则的值
firstNonBlank(T...) - 类 中的方法cn.hutool.core.text.CharSequenceUtil
返回第一个非blank 元素
firstNonEmpty(T...) - 类 中的方法cn.hutool.core.text.CharSequenceUtil
返回第一个非empty 元素
firstNonNull(T...) - 类 中的方法cn.hutool.core.text.CharSequenceUtil
返回第一个非null 元素
firstNonNull(T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
返回数组中第一个非空元素
FixedLinkedHashMap<K,V> - cn.hutool.core.map中的类
固定大小的LinkedHashMap 实现
FixedLinkedHashMap(int) - 类 的构造器cn.hutool.core.map.FixedLinkedHashMap
构造
fixedPhone(String) - 类 中的静态方法cn.hutool.core.util.DesensitizedUtil
【固定电话 前四位,后两位
flatMap(Function<? super T, ? extends Opt<? extends U>>) - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的操作(Function.apply(T))并返回该操作返回值 如果不存在,返回一个空的OptOpt.map(java.util.function.Function<? super T, ? extends U>)的区别为 传入的操作返回值必须为 Opt
flip() - 类 中的方法cn.hutool.core.img.Img
水平翻转图像
flip(File, File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
水平翻转图像
flip(Image, File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
水平翻转图像
flip(Image, OutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
水平翻转图像
flip(Image, ImageOutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
水平翻转图像,写出格式为JPG
flip(Image) - 类 中的静态方法cn.hutool.core.img.ImgUtil
水平翻转图像
floatValue() - 类 中的方法cn.hutool.core.lang.hash.Number128
 
floatValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
 
floatValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
 
floatValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
 
floatValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
 
floatValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
 
floatValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
 
flush() - 类 中的方法cn.hutool.core.io.AppendableWriter
 
flush() - 类 中的方法cn.hutool.core.io.FastStringWriter
 
flush() - 类 中的方法cn.hutool.core.io.file.FileAppender
刷入到文件
flush(Flushable) - 类 中的静态方法cn.hutool.core.io.IoUtil
从缓存中刷出数据
flush() - 类 中的方法cn.hutool.core.text.csv.CsvWriter
 
fnvHash(byte[]) - 类 中的静态方法cn.hutool.core.util.HashUtil
改进的32位FNV算法1
fnvHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
改进的32位FNV算法1
FontUtil - cn.hutool.core.img中的类
AWT中字体相关工具类
FontUtil() - 类 的构造器cn.hutool.core.img.FontUtil
 
forEach(Iterable<T>, CollUtil.Consumer<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
循环遍历 Iterable,使用CollUtil.Consumer 接受遍历的每条数据,并针对每条数据做处理
forEach(Iterator<T>, CollUtil.Consumer<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
循环遍历 Iterator,使用CollUtil.Consumer 接受遍历的每条数据,并针对每条数据做处理
forEach(Enumeration<T>, CollUtil.Consumer<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
循环遍历 Enumeration,使用CollUtil.Consumer 接受遍历的每条数据,并针对每条数据做处理
forEach(Map<K, V>, CollUtil.KVConsumer<K, V>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
循环遍历Map,使用CollUtil.KVConsumer 接受遍历的每条数据,并针对每条数据做处理
和JDK8中的map.forEach不同的是,此方法支持index
forEach(Consumer<? super T>) - 类 中的方法cn.hutool.core.collection.TransCollection
 
forEach(BiConsumer<? super K, ? super V>) - 类 中的方法cn.hutool.core.map.MapWrapper
 
forEachRemaining(Consumer<? super T>) - 类 中的方法cn.hutool.core.collection.TransSpliterator
 
format(double, boolean) - 类 中的静态方法cn.hutool.core.convert.NumberChineseFormatter
阿拉伯数字转换成中文,小数点后四舍五入保留两位.
format(double, boolean, boolean) - 类 中的静态方法cn.hutool.core.convert.NumberChineseFormatter
阿拉伯数字转换成中文,小数点后四舍五入保留两位.
format(Object) - 类 中的静态方法cn.hutool.core.convert.NumberWordFormatter
将阿拉伯数字转为英文表达式
format() - 类 中的方法cn.hutool.core.date.BetweenFormatter
格式化日期间隔输出
format(LocalDateTime, String) - 类 中的静态方法cn.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, String) - 类 中的静态方法cn.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, DatePrinter) - 类 中的静态方法cn.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, DateFormat) - 类 中的静态方法cn.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, DateTimeFormatter) - 类 中的静态方法cn.hutool.core.date.DateUtil
根据特定格式格式化日期
format(long) - 接口 中的方法cn.hutool.core.date.format.DatePrinter
格式化日期表示的毫秒数
format(Date) - 接口 中的方法cn.hutool.core.date.format.DatePrinter
使用 GregorianCalendar 格式化 Date
format(Calendar) - 接口 中的方法cn.hutool.core.date.format.DatePrinter
Formats a Calendar object.
format(long, B) - 接口 中的方法cn.hutool.core.date.format.DatePrinter
Formats a millisecond long value into the supplied Appendable.
format(Date, B) - 接口 中的方法cn.hutool.core.date.format.DatePrinter
Formats a Date object into the supplied Appendable using a GregorianCalendar.
format(Calendar, B) - 接口 中的方法cn.hutool.core.date.format.DatePrinter
Formats a Calendar object into the supplied Appendable.
format(Object, StringBuffer, FieldPosition) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
format(long) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
format(Date) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
format(Calendar) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
format(long, B) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
format(Date, B) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
format(Calendar, B) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
format(long) - 类 中的方法cn.hutool.core.date.format.FastDatePrinter
 
format(Date) - 类 中的方法cn.hutool.core.date.format.FastDatePrinter
 
format(Calendar) - 类 中的方法cn.hutool.core.date.format.FastDatePrinter
 
format(long, B) - 类 中的方法cn.hutool.core.date.format.FastDatePrinter
 
format(Date, B) - 类 中的方法cn.hutool.core.date.format.FastDatePrinter
 
format(Calendar, B) - 类 中的方法cn.hutool.core.date.format.FastDatePrinter
 
format(Date, CharSequence) - 类 中的静态方法cn.hutool.core.date.format.GlobalCustomFormat
使用自定义格式格式化日期
format(TemporalAccessor, CharSequence) - 类 中的静态方法cn.hutool.core.date.format.GlobalCustomFormat
使用自定义格式格式化日期
format(LocalDateTime, DateTimeFormatter) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为指定格式
format(LocalDateTime, String) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为指定格式
format(LocalDate, DateTimeFormatter) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为指定格式
format(LocalDate, String) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为指定格式
format(TemporalAccessor, DateTimeFormatter) - 类 中的静态方法cn.hutool.core.date.TemporalAccessorUtil
格式化日期时间为指定格式
format(TemporalAccessor, String) - 类 中的静态方法cn.hutool.core.date.TemporalAccessorUtil
格式化日期时间为指定格式
format(long) - 类 中的静态方法cn.hutool.core.io.unit.DataSizeUtil
可读的文件大小
参考 http://stackoverflow.com/questions/3263892/format-file-size-as-mb-gb-etc
format(CharSequence, Object...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
格式化文本, {} 表示占位符
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
format(String, Object...) - 类 中的静态方法cn.hutool.core.text.StrFormatter
格式化字符串
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
format(CharSequence, Map<?, ?>, boolean) - 类 中的静态方法cn.hutool.core.text.StrFormatter
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
format(String) - 类 中的静态方法cn.hutool.core.util.HexUtil
格式化Hex字符串,结果为每2位加一个空格,类似于: e8 8c 67 03 80 cb 22 00 95 26 8f
format(CharSequence, Map<?, ?>) - 类 中的静态方法cn.hutool.core.util.StrUtil
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
format(CharSequence, Map<?, ?>, boolean) - 类 中的静态方法cn.hutool.core.util.StrUtil
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
format(Document) - 类 中的静态方法cn.hutool.core.util.XmlUtil
格式化XML输出
format(String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
格式化XML输出
FORMAT_MILLISECONDS - 类 中的静态变量cn.hutool.core.date.format.GlobalCustomFormat
 
FORMAT_SECONDS - 类 中的静态变量cn.hutool.core.date.format.GlobalCustomFormat
 
formatBetween(Date, Date, BetweenFormatter.Level) - 类 中的静态方法cn.hutool.core.date.DateUtil
格式化日期间隔输出
formatBetween(Date, Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
格式化日期间隔输出,精确到毫秒
formatBetween(long, BetweenFormatter.Level) - 类 中的静态方法cn.hutool.core.date.DateUtil
格式化日期间隔输出
formatBetween(long) - 类 中的静态方法cn.hutool.core.date.DateUtil
格式化日期间隔输出,精确到毫秒
formatChineseDate(Calendar, boolean) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
将指定Calendar时间格式化为纯中文形式,比如: 2018-02-24 12:13:14转换为 二〇一八年二月二十四日(withTime为false) 2018-02-24 12:13:14 转换为 二〇一八年二月二十四日一十二时一十三分一十四秒(withTime为true)
formatChineseDate(Date, boolean, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
格式化为中文日期格式,如果isUppercase为false,则返回类似:2018年10月24日,否则返回二〇一八年十月二十四日
formatDate(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
格式化日期部分(不包括时间)
格式 yyyy-MM-dd
formatDateTime(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
formatHttpDate(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
格式化为Http的标准日期格式
标准日期格式遵循RFC 1123规范,格式类似于:Fri, 31 Dec 1999 23:59:59 GMT
formatIpBlock(String, String) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
格式化IP段
formatLocalDateTime(LocalDateTime) - 类 中的静态方法cn.hutool.core.date.DateUtil
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
formatNormal(LocalDateTime) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为yyyy-MM-dd HH:mm:ss格式
formatNormal(LocalDate) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
格式化日期时间为yyyy-MM-dd格式
formatPercent(double, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
格式化百分比,小数采用四舍五入方式
formatSimple(long) - 类 中的静态方法cn.hutool.core.convert.NumberWordFormatter
将阿拉伯数字转化为简洁计数单位,例如 2100 =》 2.1k 范围默认只到w
formatSimple(long, boolean) - 类 中的静态方法cn.hutool.core.convert.NumberWordFormatter
将阿拉伯数字转化为简介计数单位,例如 2100 =》 2.1k
formatTime(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
格式化时间
格式 HH:mm:ss
formatWith(String, String, Object...) - 类 中的静态方法cn.hutool.core.text.StrFormatter
格式化字符串
此方法只是简单将指定占位符 按照顺序替换为参数
如果想输出占位符使用 \\转义即可,如果想输出占位符之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "{}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "{}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "{}", "a", "b") =》 this is \a for b
FRAGMENT - 类 中的静态变量cn.hutool.core.net.URLEncoder
URL的Fragment URLEncoder
默认的编码器针对Fragment,定义如下: fragment = *( pchar / "/" / "?"
frameCount - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
frames - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
freq - 类 中的变量cn.hutool.core.img.gif.NeuQuant
 
from(Path) - 类 中的静态方法cn.hutool.core.img.Img
从Path读取图片并开始处理
from(File) - 类 中的静态方法cn.hutool.core.img.Img
从文件读取图片并开始处理
from(Resource) - 类 中的静态方法cn.hutool.core.img.Img
从资源对象中读取图片并开始处理
from(InputStream) - 类 中的静态方法cn.hutool.core.img.Img
从流读取图片并开始处理
from(ImageInputStream) - 类 中的静态方法cn.hutool.core.img.Img
从ImageInputStream取图片并开始处理
from(URL) - 类 中的静态方法cn.hutool.core.img.Img
从URL取图片并开始处理
from(Image) - 类 中的静态方法cn.hutool.core.img.Img
从Image取图片并开始处理
fromInt(Integer) - 接口 中的方法cn.hutool.core.lang.EnumItem
通过int类型值查找兄弟其他枚举
fromStr(String) - 接口 中的方法cn.hutool.core.lang.EnumItem
通过String类型的值转换,根据实现可以用name/text
fromString(String) - 类 中的静态方法cn.hutool.core.lang.UUID
根据 UUID.toString() 方法中描述的字符串标准表示形式创建UUID
fromString(Class<E>, String) - 类 中的静态方法cn.hutool.core.util.EnumUtil
字符串转枚举,调用Enum.valueOf(Class, String)
fromString(Class<E>, String, E) - 类 中的静态方法cn.hutool.core.util.EnumUtil
字符串转枚举,调用Enum.valueOf(Class, String)
如果无枚举值,返回默认值
fromStringQuietly(Class<E>, String) - 类 中的静态方法cn.hutool.core.util.EnumUtil
字符串转枚举,调用Enum.valueOf(Class, String),转换失败返回null 而非报错
fromSuffix(String) - 枚举 中的静态方法cn.hutool.core.io.unit.DataUnit
通过后缀返回对应的 DataUnit
fromUnsignedByteArray(byte[]) - 类 中的静态方法cn.hutool.core.util.NumberUtil
无符号bytes转BigInteger
fromUnsignedByteArray(byte[], int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
无符号bytes转BigInteger
FULL - 类 中的静态变量cn.hutool.core.date.format.FastDateFormat
FULL locale dependent date or time style.
Func<P,R> - cn.hutool.core.lang.func中的接口
函数对象
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
Func0<R> - cn.hutool.core.lang.func中的接口
无参数的函数对象
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
Func1<P,R> - cn.hutool.core.lang.func中的接口
只有一个参数的函数对象
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
FuncComparator<T> - cn.hutool.core.comparator中的类
指定函数排序器
FuncComparator(boolean, Function<T, Comparable<?>>) - 类 的构造器cn.hutool.core.comparator.FuncComparator
构造
FuncKeyMap<K,V> - cn.hutool.core.map中的类
自定义函数Key风格的Map
FuncKeyMap(Map<K, V>, Function<Object, K>) - 类 的构造器cn.hutool.core.map.FuncKeyMap
构造

G

GAMMA - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
GAMMASHIFT - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
GanZhi - cn.hutool.core.date.chinese中的类
天干地支类 天干地支,简称为干支
GanZhi() - 类 的构造器cn.hutool.core.date.chinese.GanZhi
 
GBK - 类 中的静态变量cn.hutool.core.util.CharsetUtil
GBK
gct - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
gctFlag - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
gctSize - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
GENERAL - 类 中的静态变量cn.hutool.core.lang.PatternPool
英文字母 、数字和下划线
GENERAL - 接口 中的静态变量cn.hutool.core.lang.RegexPool
英文字母 、数字和下划线
GENERAL - 类 中的静态变量cn.hutool.core.lang.Validator
英文字母 、数字和下划线
GENERAL_WITH_CHINESE - 类 中的静态变量cn.hutool.core.lang.PatternPool
中文字、英文字母、数字和下划线
GENERAL_WITH_CHINESE - 接口 中的静态变量cn.hutool.core.lang.RegexPool
中文字、英文字母、数字和下划线
GENERAL_WITH_CHINESE - 类 中的静态变量cn.hutool.core.lang.Validator
中文字、英文字母、数字和下划线
generate() - 类 中的方法cn.hutool.core.net.LocalPortGenerater
生成一个本地端口,用于远程端口映射
generateBySet(int, int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
generateRandomNumber(int, int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
generateRandomNumber(int, int, int, int[]) - 类 中的静态方法cn.hutool.core.util.NumberUtil
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
Generator<T> - cn.hutool.core.lang.generator中的接口
生成器泛型接口
通过实现此接口可以自定义生成对象的策略
genGetter(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
生成get方法名
genSetter(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
生成set方法名
例如:name 返回 setName
get(Object) - 类 中的方法cn.hutool.core.bean.BeanPath
获取Bean中对应表达式的值
get(String) - 类 中的方法cn.hutool.core.bean.DynaBean
获得字段对应值
get(int) - 类 中的方法cn.hutool.core.collection.AvgPartition
 
get(Collection<T>, int) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取集合中指定下标的元素值,下标可以为负数,例如-1表示最后一个元素
如果元素越界,返回null
get(int) - 类 中的方法cn.hutool.core.collection.Partition
 
get(String) - 类 中的方法cn.hutool.core.compress.ZipReader
获取指定路径的文件流
如果是文件模式,则直接获取Entry对应的流,如果是流模式,则遍历entry后,找到对应流返回
get(TemporalAccessor, TemporalField) - 类 中的静态方法cn.hutool.core.date.TemporalAccessorUtil
安全获取时间的某个属性,属性不存在返回0
get(int) - 类 中的方法cn.hutool.core.io.FastByteBuffer
根据索引位返回一个字节
get(Object) - 类 中的方法cn.hutool.core.lang.ConsistentHash
获得一个最近的顺时针节点
get(String, T) - 类 中的方法cn.hutool.core.lang.Dict
获得特定类型值
get(Object) - 类 中的方法cn.hutool.core.lang.Dict
 
get() - 类 中的方法cn.hutool.core.lang.loader.AtomicLoader
获取一个对象,第一次调用此方法时初始化对象然后返回,之后调用此方法直接返回原对象
get() - 类 中的方法cn.hutool.core.lang.loader.LazyLoader
获取一个对象,第一次调用此方法时初始化对象然后返回,之后调用此方法直接返回原对象
get() - 接口 中的方法cn.hutool.core.lang.loader.Loader
获取一个准备好的对象
通过准备逻辑准备好被加载的对象,然后返回。
get() - 接口 中的方法cn.hutool.core.lang.mutable.Mutable
获得原始值
get() - 类 中的方法cn.hutool.core.lang.mutable.MutableBool
 
get() - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
 
get() - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
 
get() - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
 
get() - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
 
get() - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
 
get() - 类 中的方法cn.hutool.core.lang.mutable.MutableObj
 
get() - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
 
get() - 类 中的方法cn.hutool.core.lang.Opt
返回包裹里的元素,取不到则为null,注意!!!
get(String) - 类 中的静态方法cn.hutool.core.lang.PatternPool
先从Pattern池中查找正则对应的Pattern,找不到则编译正则表达式并入池。
get(String, int) - 类 中的静态方法cn.hutool.core.lang.PatternPool
先从Pattern池中查找正则对应的Pattern,找不到则编译正则表达式并入池。
get(Type) - 类 中的静态方法cn.hutool.core.lang.reflect.ActualTypeMapperPool
获取泛型变量和泛型实际类型的对应关系Map
get(K) - 类 中的方法cn.hutool.core.lang.SimpleCache
从缓存池中查找值
get(K, Func0<V>) - 类 中的方法cn.hutool.core.lang.SimpleCache
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
get(K, Predicate<V>, Func0<V>) - 类 中的方法cn.hutool.core.lang.SimpleCache
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
get(Class<T>, Object...) - 类 中的静态方法cn.hutool.core.lang.Singleton
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
注意:单例针对的是类和参数,也就是说只有类、参数一致才会返回同一个对象
get(String, Func0<T>) - 类 中的静态方法cn.hutool.core.lang.Singleton
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
注意:单例针对的是类和参数,也就是说只有类、参数一致才会返回同一个对象
get(String, Object...) - 类 中的静态方法cn.hutool.core.lang.Singleton
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
get(int) - 类 中的方法cn.hutool.core.lang.Tuple
获取指定位置元素
get(Object) - 类 中的方法cn.hutool.core.map.CustomKeyMap
 
get(Object) - 类 中的方法cn.hutool.core.map.MapProxy
 
get(Map<?, ?>, Object, Class<T>) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型
get(Map<?, ?>, Object, Class<T>, T) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型
get(Map<?, ?>, Object, TypeReference<T>) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型
get(Map<?, ?>, Object, TypeReference<T>, T) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型
get(Object) - 类 中的方法cn.hutool.core.map.MapWrapper
 
get(K, int) - 类 中的方法cn.hutool.core.map.multi.AbsCollValueMap
获取值
get(Object) - 类 中的方法cn.hutool.core.map.TableMap
 
get(Object) - 类 中的方法cn.hutool.core.map.TolerantMap
 
get(int) - 类 中的静态方法cn.hutool.core.net.MaskBit
根据掩码位获取掩码
get(CharSequence) - 类 中的方法cn.hutool.core.net.url.UrlQuery
获取查询值
get(DataFlavor) - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
获取剪贴板内容
get(Transferable, DataFlavor) - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
获取剪贴板内容
get(int) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
get(Object, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
获取数组对象中指定index的值,支持负数,例如-1表示倒数第一个值
如果数组下标越界,返回null
get(String, CharSequence, int) - 类 中的静态方法cn.hutool.core.util.ReUtil
获得匹配的字符串
get(String, CharSequence, String) - 类 中的静态方法cn.hutool.core.util.ReUtil
获得匹配的字符串
get(Pattern, CharSequence, int) - 类 中的静态方法cn.hutool.core.util.ReUtil
获得匹配的字符串,对应分组0表示整个匹配内容,1表示第一个括号分组内容,依次类推
get(Pattern, CharSequence, String) - 类 中的静态方法cn.hutool.core.util.ReUtil
获得匹配的字符串
get(Pattern, CharSequence, Consumer<Matcher>) - 类 中的静态方法cn.hutool.core.util.ReUtil
在给定字符串中查找给定规则的字符,如果找到则使用Consumer处理之
如果内容中有多个匹配项,则只处理找到的第一个结果。
get(File, Charset, String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
获取压缩包中的指定文件流
get(ZipFile, String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
获取压缩包中的指定文件流
getAbsolutePath(String, Class<?>) - 类 中的静态方法cn.hutool.core.io.FileUtil
获取绝对路径
此方法不会判定给定路径是否有效(文件或目录存在)
getAbsolutePath(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
获取绝对路径,相对于ClassPath的目录
如果给定就是绝对路径,则返回原路径,原路径把所有\替换为/
兼容Spring风格的路径表示,例如:classpath:config/example.setting也会被识别后转换
getAbsolutePath(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
获取标准的绝对路径
getAbsolutePath() - 类 中的方法cn.hutool.core.io.resource.ClassPathResource
获得绝对路径Path
对于不存在的资源,返回拼接后的绝对路径
getAcceptedIssuers() - 类 中的方法cn.hutool.core.net.DefaultTrustManager
 
getActualType(Type, TypeVariable<?>) - 类 中的静态方法cn.hutool.core.lang.reflect.ActualTypeMapperPool
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
getActualType(Type, Field) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获得泛型字段对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
getActualType(Type, Type) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null 此方法可以处理: 1.
getActualType(Type, ParameterizedType) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null 此方法可以处理复杂的泛型化对象,类似于Map<User, Key<Long>>
getActualTypeArguments() - 类 中的方法cn.hutool.core.lang.ParameterizedTypeImpl
 
getActualTypes(Type, Type...) - 类 中的静态方法cn.hutool.core.lang.reflect.ActualTypeMapperPool
获取指定泛型变量对应的真实类型
由于子类中泛型参数实现和父类(接口)中泛型定义位置是一一对应的,因此可以通过对应关系找到泛型实现类型
getActualTypes(Type, Type...) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
getAge() - 类 中的方法cn.hutool.core.util.IdcardUtil.Idcard
获取年龄
getAgeByIdCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
根据身份编号获取年龄,只支持15或18位身份证号码
getAgeByIdCard(String, Date) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
根据身份编号获取指定日期当时的年龄年龄,只支持15或18位身份证号码
getAllGroupNames(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
根据给定正则查找字符串中的匹配项,返回所有匹配的分组名对应分组值
pattern: (?
getAllGroups(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
获得匹配的字符串匹配到的所有分组
getAllGroups(Pattern, CharSequence, boolean) - 类 中的静态方法cn.hutool.core.util.ReUtil
获得匹配的字符串匹配到的所有分组
getAmount() - 类 中的方法cn.hutool.core.math.Money
获取本货币对象代表的金额数。
getAnnotation(AnnotatedElement, Class<A>) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
获取指定注解
getAnnotation(Class<T>) - 类 中的方法cn.hutool.core.annotation.CombinationAnnotationElement
 
getAnnotations(AnnotatedElement, boolean) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
获取指定注解
getAnnotations() - 类 中的方法cn.hutool.core.annotation.CombinationAnnotationElement
 
getAnnotationValue(AnnotatedElement, Class<? extends Annotation>) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
获取指定注解默认值
如果无指定的属性方法返回null
getAnnotationValue(AnnotatedElement, Class<? extends Annotation>, String) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
获取指定注解属性的值
如果无指定的属性方法返回null
getAnnotationValueMap(AnnotatedElement, Class<? extends Annotation>) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
获取指定注解中所有属性值
如果无指定的属性方法返回null
getAny(Collection<T>, int...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取集合中指定多个下标的元素值,下标可以为负数,例如-1表示最后一个元素
getAny(Map<K, V>, K...) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map的部分key生成新的Map
getAny(Object, int...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
获取数组中指定多个下标元素值,组成新数组
getArray() - 类 中的方法cn.hutool.core.collection.ArrayIter
获得原始数组对象
getArrayParam(String) - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
获得数组表单值
getArrayType(Class<?>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
根据数组元素类型,获取数组的类型
方法是通过创建一个空数组从而获取其类型
getAttributes(Path, boolean) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
获取文件属性
getAttributes(String, String...) - 类 中的静态方法cn.hutool.core.util.JNDIUtil
获取指定容器环境的对象的属性
如获取DNS属性,则URI为类似:dns:hutool.cn
getAuthority() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获得authority部分
getBean() - 类 中的方法cn.hutool.core.bean.DynaBean
获得原始Bean
getBean(String) - 类 中的方法cn.hutool.core.lang.Dict
获得特定类型值
getBeanClass() - 类 中的方法cn.hutool.core.bean.DynaBean
获得Bean的类型
getBeanDesc(Class<?>, Func0<BeanDesc>) - 枚举 中的方法cn.hutool.core.bean.BeanDescCache
获得属性名和BeanDescMap映射
getBeanDesc(Class<?>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
获取BeanDesc Bean描述信息
getBeginIpStr(String, int) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
根据 ip/掩码位 计算IP段的起始IP(字符串型) 方法别名:inet_ntoa
getBeginValue(Calendar, DateField) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取指定日期字段的最小值,例如分钟的最小值是0
getBeginValue(Calendar, int) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取指定日期字段的最小值,例如分钟的最小值是0
getBetweenMs() - 类 中的方法cn.hutool.core.date.BetweenFormatter
获得 时长毫秒数
getBigDecimal(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取BigDecimal型属性值
getBigDecimal(K, BigDecimal) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取BigDecimal型属性值
若获得的值为不可见字符,使用默认值
getBigDecimal(K, BigDecimal) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getBigDecimal(K, BigDecimal) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getBigDecimal(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取BigDecimal型属性值
无值或获取错误返回null
getBigDecimal(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getBigDecimalByGroup(String, String) - 接口 中的方法cn.hutool.core.getter.GroupedTypeGetter
获取BigDecimal型属性值
getBigDecimalList(String) - 接口 中的方法cn.hutool.core.getter.ListTypeGetter
获取BigDecimal型属性值列表
getBigDecimals(String) - 接口 中的方法cn.hutool.core.getter.ArrayTypeGetter
获取BigDecimal型属性值数组
getBigDecimals(String, BigDecimal[]) - 接口 中的方法cn.hutool.core.getter.OptArrayTypeGetter
获取BigDecimal型属性值数组
getBigInteger(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取BigInteger型属性值
getBigInteger(K, BigInteger) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取BigInteger型属性值
若获得的值为不可见字符,使用默认值
getBigInteger(K, BigInteger) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getBigInteger(K, BigInteger) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getBigInteger(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取BigInteger型属性值
无值或获取错误返回null
getBigInteger(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getBigIntegerByGroup(String, String) - 接口 中的方法cn.hutool.core.getter.GroupedTypeGetter
获取BigInteger型属性值
getBigIntegerList(String) - 接口 中的方法cn.hutool.core.getter.ListTypeGetter
获取BigInteger型属性值列表
getBigIntegers(String) - 接口 中的方法cn.hutool.core.getter.ArrayTypeGetter
获取BigInteger型属性值数组
getBigIntegers(String, BigInteger[]) - 接口 中的方法cn.hutool.core.getter.OptArrayTypeGetter
获取BigInteger型属性值数组
getBinaryStr(Number) - 类 中的静态方法cn.hutool.core.util.NumberUtil
获得数字对应的二进制字符串
getBirth(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
根据身份编号获取生日,只支持15或18位身份证号码
getBirthByIdCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
根据身份编号获取生日,只支持15或18位身份证号码
getBirthDate(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
从身份证号码中获取生日日期,只支持15或18位身份证号码
getBirthDate() - 类 中的方法cn.hutool.core.util.IdcardUtil.Idcard
获得生日日期
getBOMInputStream(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得BOM输入流,用于处理带BOM头的文件
getBOMReader(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
读取带BOM头的文件为Reader
getBomReader(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
getBool(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取boolean型属性值
getBool(K, Boolean) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取boolean型属性值
若获得的值为不可见字符,使用默认值
getBool(K, Boolean) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getBool(K, Boolean) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getBool(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取boolean型属性值
无值或获取错误返回null
getBool(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getBool(Map<?, ?>, Object) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Bool
getBool(Map<?, ?>, Object, Boolean) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Bool
getBoolByGroup(String, String) - 接口 中的方法cn.hutool.core.getter.GroupedTypeGetter
获取boolean型属性值
getBoolList(String) - 接口 中的方法cn.hutool.core.getter.ListTypeGetter
获取Boolean型属性值列表
getBools(String) - 接口 中的方法cn.hutool.core.getter.ArrayTypeGetter
获取Boolean型属性值数组
getBools(String, Boolean[]) - 接口 中的方法cn.hutool.core.getter.OptArrayTypeGetter
获取Boolean型属性值数组
getByName(String) - 类 中的方法cn.hutool.core.text.csv.CsvRow
获取标题对应的字段内容
getByPath(String) - 类 中的方法cn.hutool.core.lang.Dict
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值 表达式栗子: persion persion.name persons[3] person.friends[5].name
getByPath(String, Class<T>) - 类 中的方法cn.hutool.core.lang.Dict
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值 表达式栗子: persion persion.name persons[3] person.friends[5].name 获取表达式对应值后转换为对应类型的值
getByte(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取byte型属性值
getByte(K, Byte) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取byte型属性值
若获得的值为不可见字符,使用默认值
getByte(K, Byte) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getByte(K, Byte) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getByte(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取byte型属性值
无值或获取错误返回null
getByte(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getByteByGroup(String, String) - 接口 中的方法cn.hutool.core.getter.GroupedTypeGetter
获取byte型属性值
getByteList(String) - 接口 中的方法cn.hutool.core.getter.ListTypeGetter
获取Byte型属性值列表
getBytes(String) - 接口 中的方法cn.hutool.core.getter.ArrayTypeGetter
获取Byte型属性值数组
getBytes(String, Byte[]) - 接口 中的方法cn.hutool.core.getter.OptArrayTypeGetter
获取Byte型属性值数组
getBytes(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getByXPath(String, Object, QName) - 类 中的静态方法cn.hutool.core.util.XmlUtil
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getByXPath(String, Object, QName, NamespaceContext) - 类 中的静态方法cn.hutool.core.util.XmlUtil
通过XPath方式读取XML节点等信息
Xpath相关文章:
https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
https://www.ibm.com/developerworks/cn/xml/x-nmspccontext/
getCaller() - 接口 中的方法cn.hutool.core.lang.caller.Caller
获得调用者
getCaller(int) - 接口 中的方法cn.hutool.core.lang.caller.Caller
获得调用者,指定第几级调用者 调用者层级关系: 0 CallerUtil 1 调用CallerUtil中方法的类 2 调用者的调用者 ...
getCaller() - 类 中的静态方法cn.hutool.core.lang.caller.CallerUtil
获得调用者
getCaller(int) - 类 中的静态方法cn.hutool.core.lang.caller.CallerUtil
获得调用者,指定第几级调用者
调用者层级关系: 0 CallerUtil 1 调用CallerUtil中方法的类 2 调用者的调用者 ...
getCaller() - 类 中的方法cn.hutool.core.lang.caller.SecurityManagerCaller
 
getCaller(int) - 类 中的方法cn.hutool.core.lang.caller.SecurityManagerCaller
 
getCaller() - 类 中的方法cn.hutool.core.lang.caller.StackTraceCaller
 
getCaller(int) - 类 中的方法cn.hutool.core.lang.caller.StackTraceCaller
 
getCallerCaller() - 接口 中的方法cn.hutool.core.lang.caller.Caller
获得调用者的调用者
getCallerCaller() - 类 中的静态方法cn.hutool.core.lang.caller.CallerUtil
获得调用者的调用者
getCallerCaller() - 类 中的方法cn.hutool.core.lang.caller.SecurityManagerCaller
 
getCallerCaller() - 类 中的方法cn.hutool.core.lang.caller.StackTraceCaller
 
getCallerMethodName(boolean) - 类 中的静态方法cn.hutool.core.lang.caller.CallerUtil
获取调用此方法的方法名
getCanonicalPath(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
获取规范的绝对路径
getCapacity() - 类 中的方法cn.hutool.core.map.FixedLinkedHashMap
获取容量
getCausedBy(Throwable, Class<? extends Exception>...) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
获取由指定异常类引起的异常
getCent() - 类 中的方法cn.hutool.core.math.Money
获取本货币对象代表的金额数。
getCenterY(Graphics, int) - 类 中的静态方法cn.hutool.core.img.GraphicsUtil
获取文字居中高度的Y坐标(距离上边距距离)
此方法依赖FontMetrics,如果获取失败,默认为背景高度的1/3
getCentFactor() - 类 中的方法cn.hutool.core.math.Money
获取本货币币种的元/分换算比率。
getChar(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取char型属性值
getChar(K, Character) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取char型属性值
若获得的值为不可见字符,使用默认值
getChar(K, Character) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getChar(K, Character) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getChar(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取char型属性值
无值或获取错误返回null
getChar(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getChar(Map<?, ?>, Object) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Character
getChar(Map<?, ?>, Object, Character) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Character
getCharByGroup(String, String) - 接口 中的方法cn.hutool.core.getter.GroupedTypeGetter
获取char型属性值
getCharList(String) - 接口 中的方法cn.hutool.core.getter.ListTypeGetter
获取Character型属性值列表
getChars(String) - 接口 中的方法cn.hutool.core.getter.ArrayTypeGetter
获取Character型属性值数组
getChars(String, Character[]) - 接口 中的方法cn.hutool.core.getter.OptArrayTypeGetter
获取Character型属性值数组
getChars(int, int, char[], int) - 类 中的方法cn.hutool.core.text.StrBuilder
将指定段的字符列表写出到目标字符数组中
getCharset() - 类 中的方法cn.hutool.core.io.BOMInputStream
获取BOM头中的编码
getCharset() - 类 中的方法cn.hutool.core.io.file.FileWrapper
获得字符集编码
getCharset() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获取编码,用于URLEncode和URLDecode
getChildren() - 类 中的方法cn.hutool.core.lang.tree.Tree
获取所有子节点
getChildrenKey() - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
获取子点对应的名称
getChineseDay() - 类 中的方法cn.hutool.core.date.ChineseDate
获得农历日
getChineseMonth() - 类 中的方法cn.hutool.core.date.ChineseDate
获得农历月份(中文,例如二月,十二月,或者润一月)
getChineseMonthName(boolean, int, boolean) - 类 中的静态方法cn.hutool.core.date.chinese.ChineseMonth
获得农历月称呼
当为传统表示时,表示为二月,腊月,或者润正月等 当为非传统表示时,二月,十二月,或者润一月等
getChineseMonthName() - 类 中的方法cn.hutool.core.date.ChineseDate
获得农历月称呼(中文,例如二月,腊月,或者润正月)
getChineseYear() - 类 中的方法cn.hutool.core.date.ChineseDate
获得农历年份
getChineseZodiac() - 类 中的方法cn.hutool.core.date.ChineseDate
获得年份生肖
getChineseZodiac(int) - 类 中的静态方法cn.hutool.core.date.DateUtil
计算生肖,只计算1900年后出生的人
getChineseZodiac(Date) - 类 中的静态方法cn.hutool.core.date.Zodiac
通过生日计算生肖,只计算1900年后出生的人
getChineseZodiac(Calendar) - 类 中的静态方法cn.hutool.core.date.Zodiac
通过生日计算生肖,只计算1900年后出生的人
getChineseZodiac(int) - 类 中的静态方法cn.hutool.core.date.Zodiac
计算生肖,只计算1900年后出生的人
getCityCode() - 类 中的方法cn.hutool.core.util.IdcardUtil.Idcard
获取市级编码
getCityCodeByIdCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
根据身份编号获取市级编码,只支持15或18位身份证号码
getClass(T) - 类 中的静态方法cn.hutool.core.util.ClassUtil
null安全的获取对象类型
getClass(Type) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获得Type对应的原始类
getClass(Field) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获得Field对应的原始类
getClasses(Object...) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得对象数组的类数组
getClassLoader() - 类 中的方法cn.hutool.core.io.resource.ClassPathResource
getClassLoader() - 类 中的静态方法cn.hutool.core.util.ClassLoaderUtil
获取ClassLoader
获取顺序如下:
1、获取当前线程的ContextClassLoader 2、获取当前类对应的ClassLoader 3、获取系统ClassLoader(ClassLoader.getSystemClassLoader()
getClassLoader() - 类 中的静态方法cn.hutool.core.util.ClassUtil
获取ClassLoader
获取顺序如下:
1、获取当前线程的ContextClassLoader 2、获取ClassLoaderUtil类对应的ClassLoader 3、获取系统ClassLoader(ClassLoader.getSystemClassLoader()
getClassName(Object, boolean) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获取类名
getClassName(Class<?>, boolean) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获取类名
类名并不包含“.class”这个扩展名
例如:ClassUtil这个类
isSimple为false: "com.xiaoleilu.hutool.util.ClassUtil" isSimple为true: "ClassUtil"
getClassPath() - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得ClassPath,将编码后的中文路径解码为原字符
这个ClassPath路径会文件路径被标准化处理
getClassPath(boolean) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得ClassPath,这个ClassPath路径会文件路径被标准化处理
getClassPathResources() - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
getClassPathResources(boolean) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得ClassPath
getClassPaths(String) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
getClassPaths(String, boolean) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得ClassPath
getClassPathURL() - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得ClassPath URL
getClipboard() - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
获取系统剪贴板
getColor(int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
获取一个RGB值对应的颜色
getColor(String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
将颜色值转换成具体的颜色类型 汇集了常用的颜色集,支持以下几种形式: 1.
getCompiler(ClassLoader) - 类 中的静态方法cn.hutool.core.compiler.CompilerUtil
getComponentType(Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
获取数组对象的元素类型
getComponentType(Class<?>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
获取数组对象的元素类型
getConfig() - 类 中的方法cn.hutool.core.lang.tree.Tree
获取节点配置
getConstructor(Class<T>, Class<?>...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
查找类中的指定参数的构造方法,如果找到构造方法,会自动设置可访问为true
getConstructors(Class<T>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得一个类中所有构造列表
getConstructorsDirectly(Class<?>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得一个类中所有构造列表,直接反射获取,无缓存
getContainsStr(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
getContainsStrIgnoreCase(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
忽略大小写
getContentDisposition() - 类 中的方法cn.hutool.core.net.multipart.UploadFileHeader
Returns content disposition.
getContentLength(URL) - 类 中的静态方法cn.hutool.core.util.URLUtil
获取指定URL对应资源的内容长度,对于Http,其长度使用Content-Length头决定。
getContentType() - 类 中的方法cn.hutool.core.net.multipart.UploadFileHeader
Returns uploaded content type.
getContextClassLoader() - 类 中的静态方法cn.hutool.core.util.ClassLoaderUtil
获取当前线程的ClassLoader
getContextClassLoader() - 类 中的静态方法cn.hutool.core.util.ClassUtil
获取当前线程的ClassLoader
getConverter(Type, boolean) - 类 中的方法cn.hutool.core.convert.ConverterRegistry
获得转换器
getCopyFilter() - 类 中的方法cn.hutool.core.lang.copier.SrcToDestCopier
获得过滤器
getCurrency() - 类 中的方法cn.hutool.core.math.Money
获取本货币对象代表的币种。
getCustomConverter(Type) - 类 中的方法cn.hutool.core.convert.ConverterRegistry
获得自定义转换器
getCyclical() - 类 中的方法cn.hutool.core.date.ChineseDate
获得年的天干地支
getCyclicalYMD() - 类 中的方法cn.hutool.core.date.ChineseDate
干支纪年信息
getDataCenterId(long) - 类 中的方法cn.hutool.core.lang.Snowflake
根据Snowflake的ID,获取数据中心id
getDataCenterId(long) - 类 中的静态方法cn.hutool.core.util.IdUtil
获取数据中心ID
数据中心ID依赖于本地网卡MAC地址。
getDataUri(String, String, String) - 类 中的静态方法cn.hutool.core.util.URLUtil
Data URI Scheme封装。
getDataUri(String, Charset, String, String) - 类 中的静态方法cn.hutool.core.util.URLUtil
Data URI Scheme封装。
getDataUriBase64(String, String) - 类 中的静态方法cn.hutool.core.util.URLUtil
Data URI Scheme封装,数据格式为Base64。
getDate(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取Date类型值
getDate(K, Date) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取Date类型值
getDate(K, Date) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getDate(K, Date) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getDate(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取Date型属性值
无值或获取错误返回null
getDate(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getDate(Map<?, ?>, Object) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Date
getDate(Map<?, ?>, Object, Date) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Date
getDateInstance(int) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateInstance(int, Locale) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateInstance(int, TimeZone) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateInstance(int, TimeZone, Locale) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeFormatter() - 类 中的方法cn.hutool.core.date.format.FastDateFormat
便捷获取 DateTimeFormatter 由于 DatePattern 很大一部分的格式没有提供 DateTimeFormatter,因此这里提供快捷获取方式
getDateTimeInstance(int, int) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeInstance(int, int, Locale) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeInstance(int, int, TimeZone) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeInstance(int, int, TimeZone, Locale) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDay() - 类 中的方法cn.hutool.core.date.ChineseDate
获取农历的日,从1开始计数
getDayByIdCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
根据身份编号获取生日天,只支持15或18位身份证号码
getDeclaredAnnotations() - 类 中的方法cn.hutool.core.annotation.CombinationAnnotationElement
 
getDeclaredField(Class<?>, String) - 类 中的静态方法cn.hutool.core.util.ClassUtil
查找指定类中的所有字段(包括非public字段), 字段不存在则返回null
getDeclaredFields(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
查找指定类中的所有字段(包括非public字段)
getDeclaredMethod(Class<?>, String, Class<?>...) - 类 中的静态方法cn.hutool.core.util.ClassUtil
查找指定类中的所有方法(包括非public方法),也包括父类和Object类的方法 找不到方法会返回null
getDeclaredMethodNames(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得指定类中的Public方法名
去重重载的方法
getDeclaredMethodOfObj(Object, String, Object...) - 类 中的静态方法cn.hutool.core.util.ClassUtil
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法
getDeclaredMethods(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得声明的所有方法,包括本类及其父类和接口的所有方法和Object类的方法
getDecodedPath(URL) - 类 中的静态方法cn.hutool.core.util.URLUtil
从URL对象中获取不被编码的路径Path
对于本地路径,URL对象的getPath方法对于包含中文或空格时会被编码,导致本读路径读取错误。
getDeep() - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
获取递归深度
getDefaultCharset() - 类 中的方法cn.hutool.core.io.BOMInputStream
获取默认编码
getDefaultConverter(Type) - 类 中的方法cn.hutool.core.convert.ConverterRegistry
获得默认转换器
getDefaultValue(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获取指定类型分的默认值
默认值规则为: 1、如果为原始类型,返回0 2、非原始类型返回 null
getDefaultValues(Class<?>...) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得默认值列表
getDelay(int) - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Gets display duration for specified frame.
getDelay() - 类 中的静态方法cn.hutool.core.swing.RobotUtil
获取全局默认的延迟时间
getDest() - 类 中的方法cn.hutool.core.lang.copier.SrcToDestCopier
获得目标
getDimension(FontMetrics, String) - 类 中的静态方法cn.hutool.core.img.FontUtil
获得字体对应字符串的长宽信息
getDnsInfo(String, String...) - 类 中的静态方法cn.hutool.core.net.NetUtil
获取DNS信息,如TXT信息:
     NetUtil.attrNames("hutool.cn", "TXT")
 
getDouble(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取double型属性值
getDouble(K, Double) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取double型属性值
若获得的值为不可见字符,使用默认值
getDouble(K, Double) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getDouble(K, Double) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getDouble(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取double型属性值
无值或获取错误返回null
getDouble(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getDouble(Map<?, ?>, Object) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Double
getDouble(Map<?, ?>, Object, Double) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Double
getDoubleByGroup(String, String) - 接口 中的方法cn.hutool.core.getter.GroupedTypeGetter
获取double型属性值
getDoubleList(String) - 接口 中的方法cn.hutool.core.getter.ListTypeGetter
获取Double型属性值列表
getDoubles(String) - 接口 中的方法cn.hutool.core.getter.ArrayTypeGetter
获取Double型属性值数组
getDoubles(String, Double[]) - 接口 中的方法cn.hutool.core.getter.OptArrayTypeGetter
获取Double型属性值数组
getDsktop() - 类 中的静态方法cn.hutool.core.swing.DesktopUtil
获得Desktop
getElement(Element, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
根据节点名获得第一个子节点
getElementByXPath(String, Object) - 类 中的静态方法cn.hutool.core.util.XmlUtil
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getElements(Element, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
根据节点名获得子节点列表
getElementType(Iterable<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获得Iterable对象的元素类型(通过第一个非空元素判断)
getElementType(Iterator<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获得Iterator对象的元素类型(通过第一个非空元素判断)
getElementType(Iterable<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
获得Iterable对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
getElementType(Iterator<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
获得Iterator对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
getEnclosingClass(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得外围类
返回定义此类或匿名类所在的类,如果类本身是在包中定义的,返回null
getEnd(int, int) - 类 中的静态方法cn.hutool.core.util.PageUtil
将页数和每页条目数转换为结束位置
此方法用于不包括结束位置的分页方法
例如: 页码:0,每页10 =》 9 页码:1,每页10 =》 19 …… 当PageUtil.setFirstPageNo(int)设置为1时: 页码:1,每页10 =》 9 页码:2,每页10 =》 19 ……
getEndIndex() - 类 中的方法cn.hutool.core.lang.DefaultSegment
 
getEndIndex() - 接口 中的方法cn.hutool.core.lang.Segment
获取结束位置
getEndIpStr(String, int) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
根据 ip/掩码位 计算IP段的终止IP(字符串型)
getEndValue(Calendar, DateField) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取指定日期字段的最大值,例如分钟的最大值是59
getEndValue(Calendar, int) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获取指定日期字段的最大值,例如分钟的最大值是59
getEnum(Class<E>, K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获得Enum类型的值
getEnum(Class<E>, K, E) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获得Enum类型的值
getEnum(Class<E>, K, E) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getEnum(Class<E>, K, E) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getEnum(Class<E>, K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取Enum型属性值
无值或获取错误返回null
getEnum(Class<E>, String) - 类 中的方法cn.hutool.core.lang.Dict
 
getEnumAt(Class<E>, int) - 类 中的静态方法cn.hutool.core.util.EnumUtil
字符串转枚举,调用Enum.valueOf(Class, String)
getEnumMap(Class<E>) - 类 中的静态方法cn.hutool.core.util.EnumUtil
获取枚举字符串值和枚举对象的Map对应,使用LinkedHashMap保证有序
结果中键为枚举名,值为枚举对象
getErrorResult(Process) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获取命令执行异常结果,使用系统默认编码,,获取后销毁进程
getErrorResult(Process, Charset) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获取命令执行异常结果,获取后销毁进程
getExecutor() - 类 中的静态方法cn.hutool.core.thread.GlobalThreadPool
getExtra() - 类 中的方法cn.hutool.core.lang.tree.TreeNode
获取扩展字段
getFestivals(int, int, int) - 类 中的静态方法cn.hutool.core.date.chinese.LunarFestival
获得节日列表
getFestivals(int, int) - 类 中的静态方法cn.hutool.core.date.chinese.LunarFestival
获得节日列表,此方法无法判断月是否为大月或小月
getFestivals() - 类 中的方法cn.hutool.core.date.ChineseDate
获得节日
getField(String) - 类 中的方法cn.hutool.core.bean.BeanDesc
获得字段名对应的字段对象,如果不存在返回null
getField() - 类 中的方法cn.hutool.core.bean.PropDesc
获取字段
getField(DateField) - 类 中的方法cn.hutool.core.date.DateTime
获得日期的某个部分
例如获得年的部分,则使用 getField(DatePart.YEAR)
getField(int) - 类 中的方法cn.hutool.core.date.DateTime
获得日期的某个部分
例如获得年的部分,则使用 getField(Calendar.YEAR)
getField(Class<?>, String) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
查找指定类中的指定name的字段(包括非public字段),也包括父类和Object类的字段, 字段不存在则返回null
getFieldClass() - 类 中的方法cn.hutool.core.bean.PropDesc
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
getFieldCount() - 类 中的方法cn.hutool.core.text.csv.CsvRow
获取字段格式
getFieldMap() - 类 中的方法cn.hutool.core.text.csv.CsvRow
获取标题与字段值对应的Map
getFieldMap(Class<?>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获取指定类中字段名和字段对应的有序Map,包括其父类中的字段
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFieldName() - 类 中的方法cn.hutool.core.bean.PropDesc
获取字段名,如果存在Alias注解,读取注解的值作为名称
getFieldName(Func1<T, ?>) - 类 中的静态方法cn.hutool.core.lang.func.LambdaUtil
获取lambda表达式Getter或Setter函数(方法)对应的字段名称,规则如下: getXxxx获取为xxxx,如getName得到name。
getFieldName(Field) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获取字段名,如果存在Alias注解,读取注解的值作为名称
getFieldNames(Class<? extends Enum<?>>) - 类 中的静态方法cn.hutool.core.util.EnumUtil
获得枚举类中所有的字段名
除用户自定义的字段名,也包括“name”字段,例如: EnumUtil.getFieldNames(Color.class) == ["name", "index"]
getFields(Class<?>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得一个类中所有字段列表,包括其父类中的字段
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFields(Class<?>, Filter<Field>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得一个类中所有满足条件的字段列表,包括其父类中的字段
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFieldsDirectly(Class<?>, boolean) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得一个类中所有字段列表,直接反射获取,无缓存
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFieldsValue(Object) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获取所有字段的值
getFieldType() - 类 中的方法cn.hutool.core.bean.PropDesc
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
getFieldType(Class<?>, String) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获得字段的泛型类型
getFieldValue(Object, String) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
获得字段值,通过反射直接获得字段值,并不调用getXXX方法
对象同样支持Map类型,fieldNameOrIndex即为key Map: fieldNameOrIndex需为key,获取对应value Collection: fieldNameOrIndex当为数字,返回index对应值,非数字遍历集合返回子bean对应name值 Array: fieldNameOrIndex当为数字,返回index对应值,非数字遍历数组返回子bean对应name值
getFieldValue(Object, String) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获取字段值
getFieldValue(Object, Field) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获取字段值
getFieldValues(Iterable<?>, String) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
getFieldValues(Iterable<?>, String, boolean) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
getFieldValues(Iterable<?>, String, Class<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
getFieldValues(Class<? extends Enum<?>>, String) - 类 中的静态方法cn.hutool.core.util.EnumUtil
获得枚举类中各枚举对象下指定字段的值
getFile() - 类 中的方法cn.hutool.core.io.file.FileWrapper
获得文件
getFile() - 类 中的方法cn.hutool.core.io.resource.FileResource
获取文件
getFile() - 类 中的方法cn.hutool.core.io.resource.UrlResource
获得File
getFile(String) - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
获取上传的文件
getFileContent() - 类 中的方法cn.hutool.core.net.multipart.UploadFile
 
getFileExts() - 类 中的方法cn.hutool.core.net.multipart.UploadSetting
 
getFileInputStream() - 类 中的方法cn.hutool.core.net.multipart.UploadFile
 
getFileList(String) - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
获得某个属性名的所有文件
当表单中两个文件使用同一个name的时候
getFileListValueMap() - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
获取文件映射
getFileManager() - 类 中的静态方法cn.hutool.core.compiler.CompilerUtil
getFileManager(DiagnosticListener<? super JavaFileObject>) - 类 中的静态方法cn.hutool.core.compiler.CompilerUtil
getFileMap() - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
获取文件映射
getFileName() - 类 中的方法cn.hutool.core.net.multipart.UploadFile
 
getFileName() - 类 中的方法cn.hutool.core.net.multipart.UploadFileHeader
获取文件名,不包括路径
getFileObject() - 类 中的方法cn.hutool.core.io.resource.FileObjectResource
获取原始的FileObject
getFileParamNames() - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
获取上传的文件属性名集合
getFiles(String) - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
获得某个属性名的所有文件
当表单中两个文件使用同一个name的时候
getFirst(Iterable<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取集合的第一个元素
getFirst(Iterator<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取集合的第一个元素
getFirst(Iterable<T>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
获取集合的第一个元素
getFirst(Iterator<T>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
获取集合的第一个元素
getFirstDayOfWeek() - 类 中的方法cn.hutool.core.date.DateTime
获得一周的第一天,默认为周一
getFirstNoneNull(Iterable<T>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
获取集合的第一个非空元素
getFirstNoneNull(Iterator<T>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
获取集合的第一个非空元素
getFirstNumber(CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
从字符串中获得第一个整数
getFirstPageNo() - 类 中的静态方法cn.hutool.core.util.PageUtil
获得首页的页码,可以为0或者1
getFirstParamClass(Method) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获取方法的第一个参数类
getFirstParamType(Method) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获取方法的第一个参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
getFloat(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取float型属性值
getFloat(K, Float) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取float型属性值
若获得的值为不可见字符,使用默认值
getFloat(K, Float) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getFloat(K, Float) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getFloat(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取float型属性值
无值或获取错误返回null
getFloat(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getFloat(Map<?, ?>, Object) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Float
getFloat(Map<?, ?>, Object, Float) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Float
getFormat() - 类 中的方法cn.hutool.core.convert.impl.CalendarConverter
获取日期格式
getFormat() - 类 中的方法cn.hutool.core.convert.impl.DateConverter
获取日期格式
getFormat() - 类 中的方法cn.hutool.core.convert.impl.TemporalAccessorConverter
获取日期格式
getFormFieldName() - 类 中的方法cn.hutool.core.net.multipart.UploadFileHeader
返回表单字段名
getFormFileName() - 类 中的方法cn.hutool.core.net.multipart.UploadFileHeader
返回表单中的文件名,来自客户端传入
getFragment() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获取标识符,#后边的部分
getFragmentEncoded() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获取标识符,#后边的部分
getFrame(int) - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Gets the image contents of frame n.
getFrameCount() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Gets the number of frames read from file.
getFrameSize() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Gets image size.
getFreeMemory() - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获得JVM中剩余的内存数,单位byte
getGanzhiOfDay(int, int, int) - 类 中的静态方法cn.hutool.core.date.chinese.GanZhi
获取干支日
getGanzhiOfMonth(int, int, int) - 类 中的静态方法cn.hutool.core.date.chinese.GanZhi
获取干支月
getGanzhiOfYear(int) - 类 中的静态方法cn.hutool.core.date.chinese.GanZhi
传入年传回干支
getGender() - 类 中的方法cn.hutool.core.util.IdcardUtil.Idcard
获取性别代号,性别(1 : 男 , 0 : 女)
getGenderByIdCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
根据身份编号获取性别,只支持15或18位身份证号码
getGeneralField(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
获得set或get或is方法对应的标准属性名
例如:setName 返回 name getName =》name setName =》name isName =》name
getGenerateDateTime(long) - 类 中的方法cn.hutool.core.lang.Snowflake
根据Snowflake的ID,获取生成时间
getGetter(String) - 类 中的方法cn.hutool.core.bean.BeanDesc
获取Getter方法,如果不存在返回null
getGetter() - 类 中的方法cn.hutool.core.bean.PropDesc
获取Getter方法,可能为null
getGregorianCalendar() - 类 中的方法cn.hutool.core.date.ChineseDate
获取公历的Calendar
getGregorianDate() - 类 中的方法cn.hutool.core.date.ChineseDate
获取公历的Date
getGregorianDay() - 类 中的方法cn.hutool.core.date.ChineseDate
获取公历的日
getGregorianMonth() - 类 中的方法cn.hutool.core.date.ChineseDate
获取公历的月,从0开始计数
getGregorianMonthBase1() - 类 中的方法cn.hutool.core.date.ChineseDate
获取公历的月,从1开始计数
getGregorianYear() - 类 中的方法cn.hutool.core.date.ChineseDate
获取公历的年
getGroup0(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
获得匹配的字符串,获得正则中分组0的内容
getGroup0(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
获得匹配的字符串,,获得正则中分组0的内容
getGroup1(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
获得匹配的字符串,获得正则中分组1的内容
getGroup1(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
获得匹配的字符串,获得正则中分组1的内容
getHardwareAddress(InetAddress) - 类 中的静态方法cn.hutool.core.net.NetUtil
获得指定地址信息中的硬件地址
getHeader() - 类 中的方法cn.hutool.core.net.multipart.UploadFile
 
getHeader() - 类 中的方法cn.hutool.core.text.csv.CsvData
获取头信息列表,如果无头信息为Null,返回列表为只读列表
getHeader() - 类 中的方法cn.hutool.core.text.csv.CsvParser
获取头部字段列表,如果containsHeader设置为false则抛出异常
getHeight() - 类 中的静态方法cn.hutool.core.swing.ScreenUtil
获取屏幕高度
getHexValue() - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Checksum
获取16进制的CRC16值
getHexValue(boolean) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Checksum
获取16进制的CRC16值
getHighValue() - 类 中的方法cn.hutool.core.lang.hash.Number128
 
getHost() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获取 主机,例如127.0.0.1
getHost(URL) - 类 中的静态方法cn.hutool.core.util.URLUtil
获取URL中域名部分,只保留URL中的协议(Protocol)、Host,其它为null。
getId() - 类 中的方法cn.hutool.core.date.StopWatch
获取StopWatch 的ID,用于多个秒表对象的区分
getId() - 接口 中的方法cn.hutool.core.lang.tree.Node
获取ID
getId() - 类 中的方法cn.hutool.core.lang.tree.Tree
 
getId() - 类 中的方法cn.hutool.core.lang.tree.TreeNode
 
getIdcardInfo(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
获取身份证信息,包括身份、城市代码、生日、性别等
getIdKey() - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
获取ID对应的名称
getImage() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Gets the first (or only) image read.
getImage(URL) - 类 中的静态方法cn.hutool.core.img.ImgUtil
从URL中获取或读取图片对象
getImage() - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
从剪贴板获取图片
getImage(Transferable) - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
从剪贴板的Transferable获取图片
getImageInputStream(InputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
getImageOutputStream(OutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
getImageOutputStream(File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
getImagePixels() - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Extracts image pixels into byte array "pixels"
getImg() - 类 中的方法cn.hutool.core.img.Img
获取处理过的图片
getInputStream() - 类 中的方法cn.hutool.core.io.file.FileReader
获得输入流
getInputStream(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
获得输入流
getInputStream(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得输入流
getInputStream(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得输入流
getInstance() - 类 中的静态方法cn.hutool.core.convert.ConverterRegistry
获得单例的 ConverterRegistry
getInstance() - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat实例,使用默认格式和地区
getInstance(String) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例,使用默认地区
支持缓存
getInstance(String, TimeZone) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getInstance(String, Locale) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getInstance(String, TimeZone, Locale) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getInt(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取int型属性值
getInt(K, Integer) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取int型属性值
若获得的值为不可见字符,使用默认值
getInt(K, Integer) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getInt(K, Integer) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getInt(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取int型属性值
无值或获取错误返回null
getInt(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getInt(Map<?, ?>, Object) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Integer
getInt(Map<?, ?>, Object, Integer) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Integer
getIntByGroup(String, String) - 接口 中的方法cn.hutool.core.getter.GroupedTypeGetter
获取int型属性值
getInterval() - 类 中的方法cn.hutool.core.thread.ConcurrencyTester
获取执行时间
getIntList(String) - 接口 中的方法cn.hutool.core.getter.ListTypeGetter
获取Integer型属性值列表
getInts(String) - 接口 中的方法cn.hutool.core.getter.ArrayTypeGetter
获取Integer型属性值数组
getInts(String, Integer[]) - 接口 中的方法cn.hutool.core.getter.OptArrayTypeGetter
获取Integer型属性值数组
getInverse() - 类 中的方法cn.hutool.core.map.BiMap
获取反向Map
getIpByHost(String) - 类 中的静态方法cn.hutool.core.net.NetUtil
通过域名得到IP
getIter(Iterable<T>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
获取Iterator
getJarClassLoader(File) - 类 中的静态方法cn.hutool.core.util.ClassLoaderUtil
创建新的JarClassLoader,并使用此Classloader加载目录下的class文件和jar文件
getJarFile(URL) - 类 中的静态方法cn.hutool.core.util.URLUtil
从URL中获取JarFile
getJavaClassPaths() - 类 中的静态方法cn.hutool.core.util.ClassUtil
 
getJavaFileObjects(File) - 类 中的静态方法cn.hutool.core.compiler.JavaFileObjectUtil
获取指定文件下的所有待编译的java文件,并以JavaFileObject形式返回
getKey() - 类 中的方法cn.hutool.core.lang.Pair
获取键
getKey(V) - 类 中的方法cn.hutool.core.map.BiMap
根据值获得键
getKey(V) - 类 中的方法cn.hutool.core.map.TableMap
根据value获得对应的key,只返回找到的第一个value对应的key值
getKeys(V) - 类 中的方法cn.hutool.core.map.TableMap
获取指定value对应的所有key
getLast(Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取集合的最后一个元素
getLastDay(boolean) - 枚举 中的方法cn.hutool.core.date.Month
获取此月份最后一天的值,不支持的月份(例如UNDECIMBER)返回-1
getLastDay(int, boolean) - 枚举 中的静态方法cn.hutool.core.date.Month
获得指定月的最后一天
getLastHeader() - 类 中的方法cn.hutool.core.net.multipart.MultipartRequestInputStream
 
getLastPathEle(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
获取指定位置的最后一个子路径部分
getLastTaskInfo() - 类 中的方法cn.hutool.core.date.StopWatch
获取最后的任务对象
getLastTaskName() - 类 中的方法cn.hutool.core.date.StopWatch
获取最后的任务名
getLastTaskTimeMillis() - 类 中的方法cn.hutool.core.date.StopWatch
获取最后任务的花费时间(毫秒)
getLastTaskTimeNanos() - 类 中的方法cn.hutool.core.date.StopWatch
获取最后任务的花费时间(纳秒)
getLeastSignificantBits() - 类 中的方法cn.hutool.core.lang.UUID
返回此 UUID 的 128 位值中的最低有效 64 位。
getLevel() - 类 中的方法cn.hutool.core.date.BetweenFormatter
获得 格式化级别
getLevel(String) - 类 中的静态方法cn.hutool.core.text.PasswdStrength
Get password strength level, includes easy, midium, strong, very strong, extremely strong
getLineSeparator() - 类 中的静态方法cn.hutool.core.io.FileUtil
获取当前系统的换行分隔符 Windows: \r\n Mac: \r Linux: \n
getListParam(String) - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
获得集合表单值
getLocale() - 类 中的方法cn.hutool.core.date.format.AbstractDateBasic
 
getLocale() - 接口 中的方法cn.hutool.core.date.format.DateBasic
获得 日期地理位置
getLocale() - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
getLocalHardwareAddress() - 类 中的静态方法cn.hutool.core.net.NetUtil
获得本机物理地址
getLocalhost() - 类 中的静态方法cn.hutool.core.net.NetUtil
获取本机网卡IP地址,规则如下: 1.
getLocalHostName() - 类 中的静态方法cn.hutool.core.net.NetUtil
获取主机名称,一次获取会缓存名称
getLocalhostStr() - 类 中的静态方法cn.hutool.core.net.NetUtil
获取本机网卡IP地址,这个地址为所有网卡中非回路地址的第一个
如果获取失败调用 InetAddress.getLocalHost()方法获取。
getLocalMacAddress() - 类 中的静态方法cn.hutool.core.net.NetUtil
获得本机MAC地址
getLocation(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获取class类路径URL, 不管是否在jar包中都会返回文件夹的路径
class在jar包中返回jar所在文件夹,class不在jar中返回文件夹目录
jdk中的类不能使用此方法
getLocationPath(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获取class类路径, 不管是否在jar包中都会返回文件夹的路径
class在jar包中返回jar所在文件夹,class不在jar中返回文件夹目录
jdk中的类不能使用此方法
getLong(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取long型属性值
getLong(K, Long) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取Long型属性值
若获得的值为不可见字符,使用默认值
getLong(K, Long) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getLong(K, Long) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getLong(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取long型属性值
无值或获取错误返回null
getLong(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getLong(Map<?, ?>, Object) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Long
getLong(Map<?, ?>, Object, Long) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Long
getLongArray() - 类 中的方法cn.hutool.core.lang.hash.Number128
 
getLongByGroup(String, String) - 接口 中的方法cn.hutool.core.getter.GroupedTypeGetter
获取Long型属性值
getLongList(String) - 接口 中的方法cn.hutool.core.getter.ListTypeGetter
获取Long型属性值列表
getLongs(String) - 接口 中的方法cn.hutool.core.getter.ArrayTypeGetter
获取Long型属性值数组
getLongs(String, Long[]) - 接口 中的方法cn.hutool.core.getter.OptArrayTypeGetter
获取Long型属性值数组
getLoopCount() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Gets the "Netscape" iteration count, if any.
getLowValue() - 类 中的方法cn.hutool.core.lang.hash.Number128
 
getMacAddress(InetAddress) - 类 中的静态方法cn.hutool.core.net.NetUtil
获得指定地址信息中的MAC地址,使用分隔符“-”
getMacAddress(InetAddress, String) - 类 中的静态方法cn.hutool.core.net.NetUtil
获得指定地址信息中的MAC地址
getMainColor(String) - 类 中的静态方法cn.hutool.core.img.BackgroundRemoval
获取图片大概的主题色 循环所有的像素点,取出出现次数最多的一个像素点的RGB值
getMainColor(File) - 类 中的静态方法cn.hutool.core.img.BackgroundRemoval
获取图片大概的主题色 循环所有的像素点,取出出现次数最多的一个像素点的RGB值
getMainColor(BufferedImage) - 类 中的静态方法cn.hutool.core.img.BackgroundRemoval
获取图片大概的主题色 循环所有的像素点,取出出现次数最多的一个像素点的RGB值
getMainColor(BufferedImage, int[]...) - 类 中的静态方法cn.hutool.core.img.ImgUtil
获取给定图片的主色调,背景填充用
getMainThread() - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
获取进程的主线程
from Voovan
getManifest(Class<?>) - 类 中的静态方法cn.hutool.core.io.ManifestUtil
根据 class 获取 所在 jar 包文件的 Manifest
此方法主要利用class定位jar包,如引入hutool-all,则传入hutool中任意一个类即可获取这个jar的Manifest信息
如果这个类不在jar包中,返回null
getManifest(File) - 类 中的静态方法cn.hutool.core.io.ManifestUtil
获取 jar 包文件或项目目录下的 Manifest
getManifest(JarURLConnection) - 类 中的静态方法cn.hutool.core.io.ManifestUtil
根据 JarURLConnection 获取 jar 包文件的 Manifest
getManifest(JarFile) - 类 中的静态方法cn.hutool.core.io.ManifestUtil
根据 JarURLConnection 获取 jar 包文件的 Manifest
getMappedFieldName(String, boolean) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
获得映射后的字段名
当非反向,则根据源字段名获取目标字段名,反之根据目标字段名获取源字段名。
getMaskBit(String) - 类 中的静态方法cn.hutool.core.net.MaskBit
根据掩码获取掩码位
getMaskBitByMask(String) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
根据子网掩码转换为掩码位
getMaskByIpRange(String, String) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
根据开始IP与结束IP计算掩码
getMaskByMaskBit(int) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
根据掩码位获取掩码
getMaxFileSize() - 类 中的方法cn.hutool.core.net.multipart.UploadSetting
 
getMaxLengthEstimate() - 类 中的方法cn.hutool.core.date.format.FastDateFormat
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
getMaxLengthEstimate() - 类 中的方法cn.hutool.core.date.format.FastDatePrinter
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
getMaxMemory() - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获得JVM中可以从系统中获取的最大的内存数,单位byte,以-Xmx参数为准
getMembers() - 类 中的方法cn.hutool.core.lang.Tuple
获得所有元素
getMemoryThreshold() - 类 中的方法cn.hutool.core.net.multipart.UploadSetting
 
getMessage(Throwable) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
获得完整消息,包括异常名,消息格式为:{SimpleClassName}: {ThrowableMessage}
getMessages(DiagnosticCollector<?>) - 类 中的静态方法cn.hutool.core.compiler.DiagnosticUtil
获取DiagnosticCollector收集到的诊断信息,以文本返回
getMethod(Class<?>, String, Class<?>...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
查找指定方法 如果找不到对应的方法则返回null 此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null
getMethod(Class<?>, boolean, String, Class<?>...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
查找指定方法 如果找不到对应的方法则返回null 此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null
getMethodByName(Class<?>, String) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null 此方法只检查方法名是否一致,并不检查参数的一致性。
getMethodByName(Class<?>, boolean, String) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null 此方法只检查方法名是否一致,并不检查参数的一致性。
getMethodByNameIgnoreCase(Class<?>, String) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null 此方法只检查方法名是否一致(忽略大小写),并不检查参数的一致性。
getMethodIgnoreCase(Class<?>, String, Class<?>...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
忽略大小写查找指定方法,如果找不到对应的方法则返回null 此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null
getMethodName(Func1<T, ?>) - 类 中的静态方法cn.hutool.core.lang.func.LambdaUtil
获取lambda表达式函数(方法)名称
getMethodNames(Class<?>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得指定类中的Public方法名
去重重载的方法
getMethodOfObj(Object, String, Object...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法 此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null
getMethods(Class<?>, Filter<Method>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得指定类过滤后的Public方法列表
getMethods(Class<?>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得一个类中所有方法列表,包括其父类中的方法
getMethodsDirectly(Class<?>, boolean) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得一个类中所有方法列表,直接反射获取,无缓存
getMillis() - 枚举 中的方法cn.hutool.core.date.DateUnit
 
getMimeSubtype() - 类 中的方法cn.hutool.core.net.multipart.UploadFileHeader
Returns file sub type MIME.
getMimeType(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
获得文件的MimeType
getMimeType(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
根据文件扩展名获得MimeType
getMimeType() - 类 中的方法cn.hutool.core.net.multipart.UploadFileHeader
Returns file types MIME.
getMonth() - 类 中的方法cn.hutool.core.date.ChineseDate
获取农历的月,从1开始计数
getMonthByIdCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
根据身份编号获取生日月,只支持15或18位身份证号码
getMostSignificantBits() - 类 中的方法cn.hutool.core.lang.UUID
返回此 UUID 的 128 位值中的最高有效 64 位。
getMultistageReverseProxyIp(String) - 类 中的静态方法cn.hutool.core.net.NetUtil
从多级反向代理中获得第一个非unknown IP地址
getName() - 类 中的方法cn.hutool.core.bean.BeanDesc
获取Bean的全类名
getName() - 枚举 中的方法cn.hutool.core.date.BetweenFormatter.Level
获取级别名称
getName(File) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
返回文件名
getName(String) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
返回文件名
"d:/test/aaa" 返回 "aaa" "/test/aaa.jpg" 返回 "aaa.jpg"
getName(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
获取Path文件名
getName(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
返回文件名
getName(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
返回文件名
"d:/test/aaa" 返回 "aaa" "/test/aaa.jpg" 返回 "aaa.jpg"
getName() - 类 中的方法cn.hutool.core.io.resource.BytesResource
 
getName() - 类 中的方法cn.hutool.core.io.resource.CharSequenceResource
 
getName() - 类 中的方法cn.hutool.core.io.resource.FileObjectResource
 
getName() - 类 中的方法cn.hutool.core.io.resource.FileResource
 
getName() - 类 中的方法cn.hutool.core.io.resource.InputStreamResource
 
getName() - 类 中的方法cn.hutool.core.io.resource.MultiResource
 
getName() - 接口 中的方法cn.hutool.core.io.resource.Resource
获取资源名,例如文件资源的资源名为文件名
getName() - 类 中的方法cn.hutool.core.io.resource.UrlResource
 
getName() - 接口 中的方法cn.hutool.core.lang.tree.Node
获取节点标签名称
getName() - 类 中的方法cn.hutool.core.lang.tree.Tree
 
getName() - 类 中的方法cn.hutool.core.lang.tree.TreeNode
 
getNameFieldMap(Class<? extends Enum<?>>, String) - 类 中的静态方法cn.hutool.core.util.EnumUtil
获得枚举名对应指定字段值的Map
键为枚举名,值为字段值
getNameKey() - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
获取节点名对应的名称
getNames(Class<? extends Enum<?>>) - 类 中的静态方法cn.hutool.core.util.EnumUtil
枚举类中所有枚举对象的name列表
getNamespaceURI(String) - 类 中的方法cn.hutool.core.util.XmlUtil.UniversalNamespaceCache
This method is called by XPath.
getNetworkInterface(String) - 类 中的静态方法cn.hutool.core.net.NetUtil
获取指定名称的网卡信息
getNetworkInterfaces() - 类 中的静态方法cn.hutool.core.net.NetUtil
获取本机所有网卡
getNode(T) - 类 中的方法cn.hutool.core.lang.tree.Tree
获取ID对应的节点,如果有多个ID相同的节点,只返回第一个。
getNode(Tree<T>, T) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
获取ID对应的节点,如果有多个ID相同的节点,只返回第一个。
getNodeByXPath(String, Object) - 类 中的静态方法cn.hutool.core.util.XmlUtil
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getNodeListByXPath(String, Object) - 类 中的静态方法cn.hutool.core.util.XmlUtil
通过XPath方式读取XML的NodeList
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getNoLock() - 类 中的静态方法cn.hutool.core.thread.lock.LockUtil
获取单例的无锁对象
getNumber(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getObj(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取Object属性值
getObj(K, Object) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取Object属性值
getObj(K, Object) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getObj(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
 
getObj(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getObj() - 类 中的方法cn.hutool.core.lang.WeightRandom.WeightObj
获取对象
getObj(Object, Object) - 类 中的方法cn.hutool.core.map.MapProxy
 
getObjList(String) - 接口 中的方法cn.hutool.core.getter.ListTypeGetter
获取Object型属性值列表
getObjs(String) - 接口 中的方法cn.hutool.core.getter.ArrayTypeGetter
获取Object型属性值数组
getObjs(String, Object[]) - 接口 中的方法cn.hutool.core.getter.OptArrayTypeGetter
获取Object型属性值数组
getOrDefault(Object, V) - 类 中的方法cn.hutool.core.map.MapWrapper
 
getOriginalLineNumber() - 类 中的方法cn.hutool.core.text.csv.CsvRow
获取原始行号,多行情况下为首行行号。
getOut() - 类 中的方法cn.hutool.core.compress.ZipWriter
获取原始的ZipOutputStream
getOutputStream() - 类 中的方法cn.hutool.core.io.file.FileWriter
获得一个输出流对象
getOutputStream(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
获得输出流
getOutputStream(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个输出流对象
getOutputStream(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个输出流对象
getOwnerDocument(Node) - 类 中的静态方法cn.hutool.core.util.XmlUtil
获取节点所在的Document
getOwnerType() - 类 中的方法cn.hutool.core.lang.ParameterizedTypeImpl
 
getPackage(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得给定类所在包的名称
例如:
com.xiaoleilu.hutool.util.ClassUtil =》 com.xiaoleilu.hutool.util
getPackagePath(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得给定类所在包的路径
例如:
com.xiaoleilu.hutool.util.ClassUtil =》 com/xiaoleilu/hutool/util
getParam(String) - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
返回单一参数值,如果有多个只返回第一个
getParamClass(Method, int) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获取方法的参数类
getParamClasses(Method) - 类 中的静态方法cn.hutool.core.util.TypeUtil
解析方法的参数类型列表
依赖jre\lib\rt.jar
getParamListMap() - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
获取所有属性的集合
getParamMap() - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
获取所有属性的集合
getParamNames() - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
 
getParamType(Method, int) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获取方法的参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
getParamTypes(Method) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获取方法的参数类型列表
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
getParent(String, int) - 类 中的静态方法cn.hutool.core.io.FileUtil
获取指定层级的父路径 getParent("d:/aaa/bbb/cc/ddd", 0) -》 "d:/aaa/bbb/cc/ddd" getParent("d:/aaa/bbb/cc/ddd", 2) -》 "d:/aaa/bbb" getParent("d:/aaa/bbb/cc/ddd", 4) -》 "d:/" getParent("d:/aaa/bbb/cc/ddd", 5) -》 null
getParent(File, int) - 类 中的静态方法cn.hutool.core.io.FileUtil
获取指定层级的父路径 getParent(file("d:/aaa/bbb/cc/ddd", 0)) -》 "d:/aaa/bbb/cc/ddd" getParent(file("d:/aaa/bbb/cc/ddd", 2)) -》 "d:/aaa/bbb" getParent(file("d:/aaa/bbb/cc/ddd", 4)) -》 "d:/" getParent(file("d:/aaa/bbb/cc/ddd", 5)) -》 null
getParent() - 类 中的方法cn.hutool.core.lang.tree.Tree
获取父节点
getParentId() - 接口 中的方法cn.hutool.core.lang.tree.Node
获取父节点ID
getParentId() - 类 中的方法cn.hutool.core.lang.tree.Tree
 
getParentId() - 类 中的方法cn.hutool.core.lang.tree.TreeNode
 
getParentIdKey() - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
获取父节点ID对应的名称
getParentsName(T, boolean) - 类 中的方法cn.hutool.core.lang.tree.Tree
获取所有父节点名称列表 比如有个人在研发1部,他上面有研发部,接着上面有技术中心
返回结果就是:[研发一部, 研发中心, 技术中心]
getParentsName(boolean) - 类 中的方法cn.hutool.core.lang.tree.Tree
获取所有父节点名称列表 比如有个人在研发1部,他上面有研发部,接着上面有技术中心
返回结果就是:[研发一部, 研发中心, 技术中心]
getParentsName(Tree<T>, boolean) - 类 中的静态方法cn.hutool.core.lang.tree.TreeUtil
获取所有父节点名称列表 比如有个人在研发1部,他上面有研发部,接着上面有技术中心
返回结果就是:[研发一部, 研发中心, 技术中心]
getPasswordAuthentication() - 类 中的方法cn.hutool.core.net.PassAuth
 
getPasswordAuthentication() - 类 中的方法cn.hutool.core.net.UserPassAuthenticator
 
getPath() - 类 中的方法cn.hutool.core.io.resource.ClassPathResource
获得Path
getPath() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获取路径,例如/aa/bb/cc
getPath(String) - 类 中的静态方法cn.hutool.core.util.URLUtil
获得path部分
getPathEle(Path, int) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
获取指定位置的子路径部分,支持负数,例如index为-1表示从后数第一个节点位置
getPathStr() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获得路径,例如/aa/bb/cc
getPattern() - 类 中的方法cn.hutool.core.date.format.AbstractDateBasic
 
getPattern() - 接口 中的方法cn.hutool.core.date.format.DateBasic
获得日期格式化或者转换的格式
getPattern() - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
getPid() - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获取当前进程ID,首先获取进程名称,读取@前的ID值,如果不存在,则读取进程名的hash值
getPointBaseCentre(Rectangle, int, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
获得修正后的矩形坐标位置,变为以背景中心为基准坐标(即x,y == 0,0时,处于背景正中)
getPort() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获取端口,默认-1
getPrefix(File) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
返回主文件名
getPrefix(String) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
返回主文件名
getPrefix(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
返回主文件名
getPrefix(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
返回主文件名
getPrefix(String) - 类 中的方法cn.hutool.core.util.XmlUtil.UniversalNamespaceCache
This method is not needed in this context, but can be implemented in a similar way.
getPrefixes(String) - 类 中的方法cn.hutool.core.util.XmlUtil.UniversalNamespaceCache
 
getPrintWriter(boolean) - 类 中的方法cn.hutool.core.io.file.FileWriter
获得一个打印写入对象,可以有print
getPrintWriter(String, String, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个打印写入对象,可以有print
getPrintWriter(String, Charset, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个打印写入对象,可以有print
getPrintWriter(File, String, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个打印写入对象,可以有print
getPrintWriter(File, Charset, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个打印写入对象,可以有print
getProcessorCount() - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获得JVM可用的处理器数量(一般为CPU核心数)
getProp(String) - 类 中的方法cn.hutool.core.bean.BeanDesc
获取属性,如果不存在返回null
getProperty(Object, String) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
解析Bean中的属性值
getPropertyDescriptor(Class<?>, String) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
获得Bean类属性描述,大小写敏感
getPropertyDescriptor(Class<?>, String, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
获得Bean类属性描述
getPropertyDescriptorMap(Class<?>, boolean) - 枚举 中的方法cn.hutool.core.bean.BeanInfoCache
获得属性名和PropertyDescriptorMap映射
getPropertyDescriptorMap(Class<?>, boolean, Func0<Map<String, PropertyDescriptor>>) - 枚举 中的方法cn.hutool.core.bean.BeanInfoCache
获得属性名和PropertyDescriptorMap映射
getPropertyDescriptorMap(Class<?>, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
获得字段名和字段描述Map,获得的结果会缓存在 BeanInfoCache
getPropertyDescriptors(Class<?>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
获得Bean字段描述数组
getPropMap(boolean) - 类 中的方法cn.hutool.core.bean.BeanDesc
获取字段名-字段属性Map
getProps() - 类 中的方法cn.hutool.core.bean.BeanDesc
获取字段属性列表
getProvince() - 类 中的方法cn.hutool.core.util.IdcardUtil.Idcard
获取省份名称
getProvinceByIdCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
根据身份编号获取户籍省份,只支持15或18位身份证号码
getProvinceCode() - 类 中的方法cn.hutool.core.util.IdcardUtil.Idcard
获取省份代码
getProvinceCodeByIdCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
根据身份编号获取户籍省份编码,只支持15或18位身份证号码
getPublicMethod(Class<?>, String, Class<?>...) - 类 中的静态方法cn.hutool.core.util.ClassUtil
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
getPublicMethod(Class<?>, String, Class<?>...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
getPublicMethodNames(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得指定类中的Public方法名
去重重载的方法
getPublicMethodNames(Class<?>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得指定类本类及其父类中的Public方法名
去重重载的方法
getPublicMethods(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得本类及其父类所有Public方法
getPublicMethods(Class<?>, Filter<Method>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得指定类过滤后的Public方法列表
getPublicMethods(Class<?>, Method...) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得指定类过滤后的Public方法列表
getPublicMethods(Class<?>, String...) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得指定类过滤后的Public方法列表
getPublicMethods(Class<?>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得本类及其父类所有Public方法
getPublicMethods(Class<?>, Filter<Method>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得指定类过滤后的Public方法列表
getPublicMethods(Class<?>, Method...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得指定类过滤后的Public方法列表
getPublicMethods(Class<?>, String...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获得指定类过滤后的Public方法列表
getPushBackReader(Reader, int) - 类 中的静态方法cn.hutool.core.io.IoUtil
获得PushbackReader
如果是PushbackReader强转返回,否则新建
getQuery() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获取查询语句,例如a=1&b=2
getQueryMap() - 类 中的方法cn.hutool.core.net.url.UrlQuery
获得查询的Map
getQueryStr() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获取查询语句,例如a=1&b=2
getQuietly(Map<?, ?>, Object, Class<T>, T) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型,此方法在转换失败后不抛异常,返回null。
getQuietly(Map<?, ?>, Object, TypeReference<T>, T) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为指定类型,转换失败后返回null,不抛异常
getRandom() - 类 中的静态方法cn.hutool.core.util.RandomUtil
获取随机数生成器对象
ThreadLocalRandom是JDK 7之后提供并发产生随机数,能够解决多个线程发生的竞争争夺。
getRandom(boolean) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获取随机数产生器
getRaw() - 类 中的方法cn.hutool.core.map.MapWrapper
获取原始的Map
getRawFieldName() - 类 中的方法cn.hutool.core.bean.PropDesc
获取字段名称
getRawList() - 类 中的方法cn.hutool.core.text.csv.CsvRow
获取本行所有字段值列表
getRawType() - 类 中的方法cn.hutool.core.lang.ParameterizedTypeImpl
 
getReader(String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
getReader() - 类 中的方法cn.hutool.core.io.file.FileReader
获得一个文件读取器
getReader(Path, Charset) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
获得一个文件读取器
getReader(File, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
已过时。
getReader(File, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个文件读取器
getReader(String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
已过时。
getReader(String, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个文件读取器
getReader(InputStream, String) - 类 中的静态方法cn.hutool.core.io.IoUtil
getReader(BOMInputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
BOMInputStream中获取Reader
getReader(InputStream, Charset) - 类 中的静态方法cn.hutool.core.io.IoUtil
获得一个Reader
getReader(Reader) - 类 中的静态方法cn.hutool.core.io.IoUtil
获得BufferedReader
如果是BufferedReader强转返回,否则新建。
getReader(Charset) - 类 中的方法cn.hutool.core.io.resource.CharSequenceResource
 
getReader(Charset) - 类 中的方法cn.hutool.core.io.resource.FileObjectResource
 
getReader(Charset) - 类 中的方法cn.hutool.core.io.resource.MultiResource
 
getReader(Charset) - 接口 中的方法cn.hutool.core.io.resource.Resource
获得Reader
getReader(String, Charset) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取BufferedReader
getReader(CsvReadConfig) - 类 中的静态方法cn.hutool.core.text.csv.CsvUtil
获取CSV读取器,调用此方法创建的Reader须自行指定读取的资源
getReader() - 类 中的静态方法cn.hutool.core.text.csv.CsvUtil
获取CSV读取器,调用此方法创建的Reader须自行指定读取的资源
getReader(Reader, CsvReadConfig) - 类 中的静态方法cn.hutool.core.text.csv.CsvUtil
获取CSV读取器
getReader(Reader) - 类 中的静态方法cn.hutool.core.text.csv.CsvUtil
获取CSV读取器
getReader(CharSequence) - 类 中的静态方法cn.hutool.core.util.StrUtil
获得StringReader
getReader(URL, Charset) - 类 中的静态方法cn.hutool.core.util.URLUtil
获得Reader
getRectangle(String, Font) - 类 中的静态方法cn.hutool.core.img.ImgUtil
获取font的样式应用在str上的整个矩形
getRectangle() - 类 中的静态方法cn.hutool.core.swing.ScreenUtil
获取屏幕的矩形
getResource(String) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
获得资源的URL
路径用/分隔,例如: config/a/db.config spring/xml/test.xml
getResource(String, Class<?>) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
获得资源相对路径对应的URL
getResourceIter(String) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
获取指定路径下的资源Iterator
路径格式必须为目录格式,用/分隔,例如: config/a spring/xml
getResourceObj(String) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
获取Resource 资源对象
如果提供路径为绝对路径或路径以file:开头,返回FileResource,否则返回ClassPathResource
getResources(String) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如: config/a spring/xml
getResources(String) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如: config/a spring/xml
getResourceURL(String) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得资源的URL
路径用/分隔,例如: config/a/db.config spring/xml/test.xml
getResourceUrl(String, Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得资源相对路径对应的URL
getResult(Process) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获取命令执行结果,使用系统默认编码,,获取后销毁进程
getResult(Process, Charset) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获取命令执行结果,获取后销毁进程
getResultLines(Process) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获取命令执行结果,使用系统默认编码,获取后销毁进程
getResultLines(Process, Charset) - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获取命令执行结果,使用系统默认编码,获取后销毁进程
getRetentionPolicy(Class<? extends Annotation>) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
获取注解类的保留时间,可选值 SOURCE(源码时),CLASS(编译时),RUNTIME(运行时),默认为 CLASS
getReturnClass(Method) - 类 中的静态方法cn.hutool.core.util.TypeUtil
解析方法的返回类型类列表
getReturnType(Method) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获取方法的返回值类型
获取方法的GenericReturnType
getRobot() - 类 中的静态方法cn.hutool.core.swing.RobotUtil
获取 Robot 单例实例
getRoot(FileSystem) - 类 中的静态方法cn.hutool.core.io.file.FileSystemUtil
获取目录的根路径,或Zip文件中的根路径
getRootCause(Throwable) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
获取异常链中最尾端的异常,即异常最早发生的异常对象。
getRootCauseMessage(Throwable) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
获取异常链中最尾端的异常的消息,消息格式为:{SimpleClassName}: {ThrowableMessage}
getRootElement(Document) - 类 中的静态方法cn.hutool.core.util.XmlUtil
获得XML文档根节点
getRootStackElement() - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
获取入口堆栈信息
getRow(int) - 类 中的方法cn.hutool.core.text.csv.CsvData
获取指定行,从0开始
getRowCount() - 类 中的方法cn.hutool.core.text.csv.CsvData
总行数
getRows() - 类 中的方法cn.hutool.core.text.csv.CsvData
获取所有行
getScheme() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获取协议,例如http
getSchemeWithDefault() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
获取协议,例如http,如果用户未定义协议,使用默认的http协议
getSecureRandom() - 类 中的静态方法cn.hutool.core.util.RandomUtil
获取SHA1PRNG的SecureRandom,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator) 相关说明见:https://stackoverflow.com/questions/137212/how-to-solve-slow-java-securerandom
getSecureRandom(byte[]) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获取SHA1PRNG的SecureRandom,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator) 相关说明见:https://stackoverflow.com/questions/137212/how-to-solve-slow-java-securerandom
getSecureRandomStrong() - 类 中的静态方法cn.hutool.core.util.RandomUtil
获取algorithms/providers中提供的强安全随机生成器
注意:此方法可能造成阻塞或性能问题
getSegment(int) - 类 中的方法cn.hutool.core.net.url.UrlPath
获得指定节点
getSegments() - 类 中的方法cn.hutool.core.net.url.UrlPath
获取path的节点列表
getSemaphore() - 类 中的方法cn.hutool.core.thread.SemaphoreRunnable
获得信号量
getSetter(String) - 类 中的方法cn.hutool.core.bean.BeanDesc
获取Setter方法,如果不存在返回null
getSetter() - 类 中的方法cn.hutool.core.bean.PropDesc
获取Setter方法,可能为null
getSHA1PRNGRandom(byte[]) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获取SHA1PRNG的SecureRandom,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator),在Linux下噪声生成时可能造成较长时间停顿。
getShort(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取short型属性值
getShort(K, Short) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取short型属性值
若获得的值为不可见字符,使用默认值
getShort(K, Short) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getShort(K, Short) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromStringGetter
 
getShort(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取short型属性值
无值或获取错误返回null
getShort(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getShort(Map<?, ?>, Object) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Short
getShort(Map<?, ?>, Object, Short) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为Short
getShortByGroup(String, String) - 接口 中的方法cn.hutool.core.getter.GroupedTypeGetter
获取short型属性值
getShortClassName(String) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获取完整类名的短格式如:
cn.hutool.core.util.StrUtil -》c.h.c.u.StrUtil
getShortList(String) - 接口 中的方法cn.hutool.core.getter.ListTypeGetter
获取Short型属性值列表
getShorts(String) - 接口 中的方法cn.hutool.core.getter.ArrayTypeGetter
获取Short型属性值数组
getShorts(String, Short[]) - 接口 中的方法cn.hutool.core.getter.OptArrayTypeGetter
获取Short型属性值数组
getSimpleMessage(Throwable) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
获得消息,调用异常类的getMessage方法
getSimpleName() - 类 中的方法cn.hutool.core.bean.BeanDesc
获取Bean的简单类名
getSnowflake(long, long) - 类 中的静态方法cn.hutool.core.util.IdUtil
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
getSnowflake(long) - 类 中的静态方法cn.hutool.core.util.IdUtil
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
getSnowflake() - 类 中的静态方法cn.hutool.core.util.IdUtil
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
getSrc() - 类 中的方法cn.hutool.core.lang.copier.SrcToDestCopier
获取源
getStackElement(int) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
获取指定层的堆栈信息
getStackElement(String, int) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
获取指定层的堆栈信息
getStackElements() - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
获取当前栈信息
getStackTrace() - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
 
getStackTraceElement(int) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
获得堆栈项
getStart(int, int) - 类 中的静态方法cn.hutool.core.util.PageUtil
将页数和每页条目数转换为开始位置
此方法用于不包括结束位置的分页方法
例如: 页码:0,每页10 =》 0 页码:1,每页10 =》 10 …… 当PageUtil.setFirstPageNo(int)设置为1时: 页码:1,每页10 =》 0 页码:2,每页10 =》 10 ……
getStartIndex() - 类 中的方法cn.hutool.core.lang.DefaultSegment
 
getStartIndex() - 接口 中的方法cn.hutool.core.lang.Segment
获取起始位置
getStaticFieldValue(Field) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
获取静态字段值
getStatus() - 异常错误 中的方法cn.hutool.core.exceptions.StatefulException
 
getStr(K) - 接口 中的方法cn.hutool.core.getter.BasicTypeGetter
获取字符串型属性值
getStr(K, String) - 接口 中的方法cn.hutool.core.getter.OptBasicTypeGetter
获取字符串型属性值
若获得的值为不可见字符,使用默认值
getStr(K, String) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeFromObjectGetter
 
getStr(K) - 接口 中的方法cn.hutool.core.getter.OptNullBasicTypeGetter
获取字符串型属性值
无值或获取错误返回null
getStr(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getStr(Map<?, ?>, Object) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为字符串
getStr(Map<?, ?>, Object, String) - 类 中的静态方法cn.hutool.core.map.MapUtil
获取Map指定key的值,并转换为字符串
getStr() - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
从剪贴板获取文本
getStr(Transferable) - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
从剪贴板的Transferable获取文本
getStrByGroup(String, String) - 接口 中的方法cn.hutool.core.getter.GroupedTypeGetter
获取字符串型属性值
getStream() - 类 中的方法cn.hutool.core.io.resource.BytesResource
 
getStream() - 类 中的方法cn.hutool.core.io.resource.CharSequenceResource
 
getStream() - 类 中的方法cn.hutool.core.io.resource.FileObjectResource
 
getStream() - 类 中的方法cn.hutool.core.io.resource.FileResource
 
getStream() - 类 中的方法cn.hutool.core.io.resource.InputStreamResource
 
getStream() - 类 中的方法cn.hutool.core.io.resource.MultiResource
 
getStream() - 接口 中的方法cn.hutool.core.io.resource.Resource
getStream(String) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取InputStream
getStream() - 类 中的方法cn.hutool.core.io.resource.UrlResource
 
getStream(URL) - 类 中的静态方法cn.hutool.core.util.URLUtil
从URL中获取流
getStream(ZipFile, ZipEntry) - 类 中的静态方法cn.hutool.core.util.ZipUtil
获取指定ZipEntry的流,用于读取这个entry的内容
getStreamSafe(String) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取InputStream,当资源不存在时返回null
getStringURI(CharSequence) - 类 中的静态方法cn.hutool.core.util.URLUtil
获取string协议的URL,类似于string:///xxxxx
getStrList(String) - 接口 中的方法cn.hutool.core.getter.ListTypeGetter
获取String型属性值列表
getStrs(String) - 接口 中的方法cn.hutool.core.getter.ArrayTypeGetter
获取String型属性值数组
getStrs(String, String[]) - 接口 中的方法cn.hutool.core.getter.OptArrayTypeGetter
获取String型属性值数组
getSuffix(File) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
获取文件后缀名,扩展名不带“.”
getSuffix(String) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
获得文件后缀名,扩展名不带“.”
getSuffix(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
获取文件后缀名,扩展名不带“.”
getSuffix(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得文件后缀名,扩展名不带“.”
getSystemClassLoader() - 类 中的静态方法cn.hutool.core.util.ClassLoaderUtil
获取系统ClassLoader
getTarget() - 类 中的方法cn.hutool.core.compress.Deflate
获取目标流
getTarget() - 类 中的方法cn.hutool.core.compress.Gzip
获取目标流
getTargetType(Class<? extends Annotation>) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
获取注解类可以用来修饰哪些程序元素,如 TYPE, METHOD, CONSTRUCTOR, FIELD, PARAMETER 等
getTargetType() - 类 中的方法cn.hutool.core.convert.AbstractConverter
获得此类实现类的泛型类型
getTargetType() - 类 中的方法cn.hutool.core.convert.impl.ArrayConverter
 
getTargetType() - 类 中的方法cn.hutool.core.convert.impl.BeanConverter
 
getTargetType() - 类 中的方法cn.hutool.core.convert.impl.CastConverter
 
getTargetType() - 类 中的方法cn.hutool.core.convert.impl.DateConverter
 
getTargetType() - 类 中的方法cn.hutool.core.convert.impl.EnumConverter
 
getTargetType() - 类 中的方法cn.hutool.core.convert.impl.MapConverter
 
getTargetType() - 类 中的方法cn.hutool.core.convert.impl.NumberConverter
 
getTargetType() - 类 中的方法cn.hutool.core.convert.impl.PrimitiveConverter
 
getTask(JavaFileManager, DiagnosticListener<? super JavaFileObject>, Iterable<String>, Iterable<? extends JavaFileObject>) - 类 中的静态方法cn.hutool.core.compiler.CompilerUtil
新建编译任务
getTaskCount() - 类 中的方法cn.hutool.core.date.StopWatch
获取任务数
getTaskInfo() - 类 中的方法cn.hutool.core.date.StopWatch
获取任务列表
getTaskName() - 类 中的方法cn.hutool.core.date.StopWatch.TaskInfo
获取任务名
getter - 类 中的变量cn.hutool.core.bean.PropDesc
Getter方法
getTerm(int, int) - 类 中的静态方法cn.hutool.core.date.chinese.SolarTerms
传入公历y年获得该年第n个节气的公历日期
getTerm(Date) - 类 中的静态方法cn.hutool.core.date.chinese.SolarTerms
根据日期获取节气
getTerm(ChineseDate) - 类 中的静态方法cn.hutool.core.date.chinese.SolarTerms
根据农历日期获取节气
getTerm(LocalDate) - 类 中的静态方法cn.hutool.core.date.chinese.SolarTerms
根据日期获取节气
getTerm(int, int, int) - 类 中的静态方法cn.hutool.core.date.chinese.SolarTerms
根据年月日获取节气
getTerm() - 类 中的方法cn.hutool.core.date.ChineseDate
获得节气
getThreads() - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
获取JVM中与当前线程同组的所有线程
getThreads(ThreadGroup) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
获取JVM中与当前线程同组的所有线程
使用数组二次拷贝方式,防止在线程列表获取过程中线程终止
from Voovan
getThrowableList(Throwable) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
获取异常链上所有异常的集合,如果Throwable 对象没有cause,返回只有一个节点的List
如果传入null,返回空集合 此方法来自Apache-Commons-Lang3
getTime(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getTimeInstance(int) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeInstance(int, Locale) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeInstance(int, TimeZone) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeInstance(int, TimeZone, Locale) - 类 中的静态方法cn.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeMillis() - 类 中的方法cn.hutool.core.date.StopWatch.TaskInfo
获取任务花费时间(单位:毫秒)
getTimeNanos() - 类 中的方法cn.hutool.core.date.StopWatch.TaskInfo
获取任务花费时间(单位:纳秒)
getTimeSeconds() - 类 中的方法cn.hutool.core.date.StopWatch.TaskInfo
获取任务花费时间(单位:秒)
getTimestamp(String) - 类 中的方法cn.hutool.core.lang.Dict
 
getTimeZone() - 类 中的方法cn.hutool.core.date.DateTime
获取时区
getTimeZone() - 类 中的方法cn.hutool.core.date.format.AbstractDateBasic
 
getTimeZone() - 接口 中的方法cn.hutool.core.date.format.DateBasic
获得时区
getTimeZone() - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
getTmpDir() - 类 中的静态方法cn.hutool.core.io.FileUtil
获取临时文件目录
getTmpDirPath() - 类 中的静态方法cn.hutool.core.io.FileUtil
获取临时文件路径(绝对路径)
getTmpUploadPath() - 类 中的方法cn.hutool.core.net.multipart.UploadSetting
 
getTotalMemory() - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获得JVM已经从系统中获取到的总共的内存数,单位byte
getTotalTimeMillis() - 类 中的方法cn.hutool.core.date.StopWatch
获取所有任务的总花费时间(毫秒)
getTotalTimeNanos() - 类 中的方法cn.hutool.core.date.StopWatch
获取所有任务的总花费时间(纳秒)
getTotalTimeSeconds() - 类 中的方法cn.hutool.core.date.StopWatch
获取所有任务的总花费时间(秒)
getTransferData(DataFlavor) - 类 中的方法cn.hutool.core.swing.clipboard.ImageSelection
获取图片
getTransferDataFlavors() - 类 中的方法cn.hutool.core.swing.clipboard.ImageSelection
获取元数据类型信息
getType(String) - 类 中的静态方法cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型
getType(InputStream) - 类 中的静态方法cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型
getType(InputStream, String) - 类 中的静态方法cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型 1、无法识别类型默认按照扩展名识别 2、xls、doc、msi头信息无法区分,按照扩展名区分 3、zip可能为docx、xlsx、pptx、jar、war、ofd头信息无法区分,按照扩展名区分
getType(File) - 类 中的静态方法cn.hutool.core.io.FileTypeUtil
根据文件流的头部信息获得文件类型 1、无法识别类型默认按照扩展名识别 2、xls、doc、msi头信息无法区分,按照扩展名区分 3、zip可能为docx、xlsx、pptx、jar、war头信息无法区分,按照扩展名区分
getType(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
根据文件流的头部信息获得文件类型 1、无法识别类型默认按照扩展名识别 2、xls、doc、msi头信息无法区分,按照扩展名区分 3、zip可能为docx、xlsx、pptx、jar、war头信息无法区分,按照扩展名区分
getType() - 类 中的方法cn.hutool.core.lang.TypeReference
获取用户定义的泛型参数
getType(int) - 类 中的静态方法cn.hutool.core.util.CharUtil
获取字符类型
getType(Field) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获取字段对应的Type类型
方法优先获取GenericType,获取不到则获取Type
getTypeArgument(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得给定类的第一个泛型参数
getTypeArgument(Class<?>, int) - 类 中的静态方法cn.hutool.core.util.ClassUtil
获得给定类的泛型参数
getTypeArgument(Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
获得给定类的第一个泛型参数
getTypeArgument(Object, int) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
获得给定类的第一个泛型参数
getTypeArgument(Type) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获得给定类的第一个泛型参数
getTypeArgument(Type, int) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获得给定类的泛型参数
getTypeArguments(Type) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获得指定类型中所有泛型参数类型,例如: class A<T> class B extends A<String> 通过此方法,传入B.class即可得到String
getTypeByPath(String) - 类 中的静态方法cn.hutool.core.io.FileTypeUtil
通过路径获得文件类型
getTypeMap(Class<?>) - 类 中的静态方法cn.hutool.core.util.TypeUtil
获取泛型变量和泛型实际类型的对应关系Map,例如: T cn.hutool.test.User E java.lang.Integer
getUrl() - 类 中的方法cn.hutool.core.io.resource.BytesResource
 
getUrl() - 类 中的方法cn.hutool.core.io.resource.CharSequenceResource
 
getUrl() - 类 中的方法cn.hutool.core.io.resource.FileObjectResource
 
getUrl() - 类 中的方法cn.hutool.core.io.resource.FileResource
 
getUrl() - 类 中的方法cn.hutool.core.io.resource.InputStreamResource
 
getUrl() - 类 中的方法cn.hutool.core.io.resource.MultiResource
 
getUrl() - 接口 中的方法cn.hutool.core.io.resource.Resource
获得解析后的URL,无对应URL的返回null
getUrl() - 类 中的方法cn.hutool.core.io.resource.UrlResource
 
getURL(String) - 类 中的静态方法cn.hutool.core.util.URLUtil
获得URL
getURL(String, Class<?>) - 类 中的静态方法cn.hutool.core.util.URLUtil
获得URL
getURL(File) - 类 中的静态方法cn.hutool.core.util.URLUtil
获得URL,常用于使用绝对路径时的情况
getURLs(File...) - 类 中的静态方法cn.hutool.core.util.URLUtil
获得URL,常用于使用绝对路径时的情况
getUsableLocalPort() - 类 中的静态方法cn.hutool.core.net.NetUtil
查找1024~65535范围内的可用端口
此方法只检测给定范围内的随机一个端口,检测65535-1024次
来自org.springframework.util.SocketUtils
getUsableLocalPort(int) - 类 中的静态方法cn.hutool.core.net.NetUtil
查找指定范围内的可用端口,最大值为65535
此方法只检测给定范围内的随机一个端口,检测65535-minPort次
来自org.springframework.util.SocketUtils
getUsableLocalPort(int, int) - 类 中的静态方法cn.hutool.core.net.NetUtil
查找指定范围内的可用端口
此方法只检测给定范围内的随机一个端口,检测maxPort-minPort次
来自org.springframework.util.SocketUtils
getUsableLocalPorts(int, int, int) - 类 中的静态方法cn.hutool.core.net.NetUtil
获取多个本地可用端口
来自org.springframework.util.SocketUtils
getUsableMemory() - 类 中的静态方法cn.hutool.core.util.RuntimeUtil
获得JVM最大可用内存,计算方法为:
最大内存-总内存+剩余内存
getUserHomeDir() - 类 中的静态方法cn.hutool.core.io.FileUtil
获取用户目录
getUserHomePath() - 类 中的静态方法cn.hutool.core.io.FileUtil
获取用户路径(绝对路径)
getUtf8Reader(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
获得一个文件读取器
getUtf8Reader(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个文件读取器
getUtf8Reader(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个文件读取器
getUtf8Reader(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
获得一个文件读取器,默认使用UTF-8编码
getUtf8Reader(String) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取BufferedReader
getUtf8Writer(OutputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
获得一个Writer,默认编码UTF-8
getValue(Object) - 类 中的方法cn.hutool.core.bean.PropDesc
获取属性值
首先调用字段对应的Getter方法获取值,如果Getter方法不存在,则判断字段如果为public,则直接获取字段值
此方法不检查任何注解,使用前需调用 PropDesc.isReadable(boolean) 检查是否可读
getValue(Object, Type, boolean) - 类 中的方法cn.hutool.core.bean.PropDesc
获取属性值,自动转换属性值类型
首先调用字段对应的Getter方法获取值,如果Getter方法不存在,则判断字段如果为public,则直接获取字段值
getValue() - 枚举 中的方法cn.hutool.core.date.DateField
 
getValue() - 枚举 中的方法cn.hutool.core.date.Month
获取Calendar中的对应值
getValue() - 枚举 中的方法cn.hutool.core.date.Quarter
 
getValue() - 枚举 中的方法cn.hutool.core.date.Week
获得星期对应Calendar 中的Week值
getValue() - 枚举 中的方法cn.hutool.core.img.ScaleType
 
getValue() - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Checksum
 
getValue() - 类 中的方法cn.hutool.core.io.checksum.CRC16
 
getValue() - 类 中的方法cn.hutool.core.io.checksum.CRC8
 
getValue() - 枚举 中的方法cn.hutool.core.io.file.LineSeparator
 
getValue() - 枚举 中的方法cn.hutool.core.io.watch.WatchKind
获取枚举对应的事件类型
getValue() - 类 中的方法cn.hutool.core.lang.Pair
获取值
getValue() - 枚举 中的方法cn.hutool.core.thread.RejectPolicy
获取RejectedExecutionHandler枚举值
getValue() - 枚举 中的方法cn.hutool.core.util.ModifierUtil.ModifierType
获取修饰符枚举对应的int修饰符值,值见Modifier
getValues(K) - 类 中的方法cn.hutool.core.map.TableMap
获取指定key对应的所有值
getWebRoot() - 类 中的静态方法cn.hutool.core.io.FileUtil
获取Web项目下的web root路径
原理是首先获取ClassPath路径,由于在web项目中ClassPath位于 WEB-INF/classes/下,故向上获取两级目录即可。
getWeight() - 接口 中的方法cn.hutool.core.lang.tree.Node
获取权重
getWeight() - 类 中的方法cn.hutool.core.lang.tree.Tree
 
getWeight() - 类 中的方法cn.hutool.core.lang.tree.TreeNode
 
getWeight() - 类 中的方法cn.hutool.core.lang.WeightRandom.WeightObj
获取权重
getWeightKey() - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
获取权重对应的名称
getWidth() - 类 中的静态方法cn.hutool.core.swing.ScreenUtil
获取屏幕宽度
getWorkerId(long) - 类 中的方法cn.hutool.core.lang.Snowflake
根据Snowflake的ID,获取机器id
getWorkerId(long, long) - 类 中的静态方法cn.hutool.core.util.IdUtil
获取机器ID,使用进程ID配合数据中心ID生成
机器依赖于本进程ID或进程名的Hash值。
getWrappedClass() - 类 中的方法cn.hutool.core.bean.NullWrapperBean
获取null值对应的类型
getWriter(Image, String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
根据给定的Image对象和格式获取对应的ImageWriter,如果未找到合适的Writer,返回null
getWriter(String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
根据给定的图片格式或者扩展名获取ImageWriter,如果未找到合适的Writer,返回null
getWriter(boolean) - 类 中的方法cn.hutool.core.io.file.FileWriter
获得一个带缓存的写入对象
getWriter(String, String, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
getWriter(String, Charset, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个带缓存的写入对象
getWriter(File, String, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
getWriter(File, Charset, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得一个带缓存的写入对象
getWriter(OutputStream, String) - 类 中的静态方法cn.hutool.core.io.IoUtil
getWriter(OutputStream, Charset) - 类 中的静态方法cn.hutool.core.io.IoUtil
获得一个Writer
getWriter(String, Charset) - 类 中的静态方法cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置,覆盖已有文件(如果存在)
getWriter(File, Charset) - 类 中的静态方法cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置,覆盖已有文件(如果存在)
getWriter(String, Charset, boolean) - 类 中的静态方法cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置
getWriter(File, Charset, boolean) - 类 中的静态方法cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置
getWriter(File, Charset, boolean, CsvWriteConfig) - 类 中的静态方法cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器)
getWriter(Writer) - 类 中的静态方法cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器)
getWriter(Writer, CsvWriteConfig) - 类 中的静态方法cn.hutool.core.text.csv.CsvUtil
获取CSV生成器(写出器)
getWriter() - 类 中的静态方法cn.hutool.core.util.StrUtil
获得StringWriter
getYearByIdCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
根据身份编号获取生日年,只支持15或18位身份证号码
getZodiac(int, int) - 类 中的静态方法cn.hutool.core.date.DateUtil
通过生日计算星座
getZodiac(Date) - 类 中的静态方法cn.hutool.core.date.Zodiac
通过生日计算星座
getZodiac(Calendar) - 类 中的静态方法cn.hutool.core.date.Zodiac
通过生日计算星座
getZodiac(Month, int) - 类 中的静态方法cn.hutool.core.date.Zodiac
通过生日计算星座
getZodiac(int, int) - 类 中的静态方法cn.hutool.core.date.Zodiac
通过生日计算星座
getZoneId() - 类 中的方法cn.hutool.core.date.DateTime
获取时区ID
GifDecoder - cn.hutool.core.img.gif中的类
GIF文件解析 Class GifDecoder - Decodes a GIF file into one or more frames.
GifDecoder() - 类 的构造器cn.hutool.core.img.gif.GifDecoder
 
GlobalCustomFormat - cn.hutool.core.date.format中的类
全局自定义格式
用于定义用户指定的日期格式和输出日期的关系
GlobalCustomFormat() - 类 的构造器cn.hutool.core.date.format.GlobalCustomFormat
 
GlobalThreadPool - cn.hutool.core.thread中的类
全局公共线程池
此线程池是一个无限线程池,即加入的线程不等待任何线程,直接执行
GraphicsUtil - cn.hutool.core.img中的类
Graphics相关工具类
GraphicsUtil() - 类 的构造器cn.hutool.core.img.GraphicsUtil
 
gray() - 类 中的方法cn.hutool.core.img.Img
彩色转为灰度
gray(File, File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白
gray(InputStream, OutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白
此方法并不关闭流
gray(ImageInputStream, ImageOutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白
此方法并不关闭流
gray(Image, File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白
gray(Image, OutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白
此方法并不关闭流
gray(Image, ImageOutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白
此方法并不关闭流
gray(Image) - 类 中的静态方法cn.hutool.core.img.ImgUtil
彩色转为黑白
greaterThan(Money) - 类 中的方法cn.hutool.core.math.Money
货币比较。
group(Collection<T>, Hash32<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
分组,按照Hash32接口定义的hash算法,集合中的元素放入hash值对应的子列表中
group2Map(Collection<E>, Function<E, T>, Function<E, U>) - 类 中的静态方法cn.hutool.core.collection.CollStreamUtil
将collection按照两个规则(比如有相同的年级id,班级id)分类成双层map
Collection<E> ---> Map<T,Map<U,E>>
GROUP_VAR - 类 中的静态变量cn.hutool.core.lang.PatternPool
分组
GROUP_VAR - 接口 中的静态变量cn.hutool.core.lang.RegexPool
分组
GROUP_VAR - 类 中的静态变量cn.hutool.core.lang.Validator
分组
groupBy2Key(Collection<E>, Function<E, K>, Function<E, U>) - 类 中的静态方法cn.hutool.core.collection.CollStreamUtil
将collection按照两个规则(比如有相同的年级id,班级id)分类成双层map
Collection<E> ---> Map<T,Map<U,List<E>>>
groupByField(Collection<T>, String) - 类 中的静态方法cn.hutool.core.collection.CollUtil
根据元素的指定字段名分组,非Bean都放在第一个分组中
groupByKey(Collection<E>, Function<E, K>) - 类 中的静态方法cn.hutool.core.collection.CollStreamUtil
将collection按照规则(比如有相同的班级id)分类成map
Collection<E> -------> Map<K,List<E>>
GroupedTypeGetter - cn.hutool.core.getter中的接口
基于分组的Get接口
groupMap - 类 中的变量cn.hutool.core.date.GroupTimeInterval
 
GroupTimeInterval - cn.hutool.core.date中的类
分组计时器
计算某几个过程花费的时间,精确到毫秒或纳秒
GroupTimeInterval(boolean) - 类 的构造器cn.hutool.core.date.GroupTimeInterval
构造
GT - 类 中的静态变量cn.hutool.core.util.XmlUtil
字符串常量:XML 大于号转义 "&gt;" -> ">"
Gzip - cn.hutool.core.compress中的类
GZIP是用于Unix系统的文件压缩
gzip的基础是DEFLATE
Gzip(InputStream, OutputStream) - 类 的构造器cn.hutool.core.compress.Gzip
构造
gzip() - 类 中的方法cn.hutool.core.compress.Gzip
将普通数据流压缩
gzip(String, String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Gzip压缩处理
gzip(byte[]) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Gzip压缩处理
gzip(File) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Gzip压缩文件
gzip(InputStream) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Gzip压缩文件
gzip(InputStream, int) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Gzip压缩文件

H

handle(BufferedReader) - 接口 中的方法cn.hutool.core.io.file.FileReader.ReaderHandler
 
handle(String) - 类 中的方法cn.hutool.core.io.file.Tailer.ConsoleLineHandler
 
handle(String) - 接口 中的方法cn.hutool.core.io.LineHandler
处理一行数据,可以编辑后存入指定地方
handle(CsvRow) - 接口 中的方法cn.hutool.core.text.csv.CsvRowHandler
处理行数据
has(int, int) - 类 中的静态方法cn.hutool.core.math.BitStatusUtil
判断是否含有状态
hasAnnotation(AnnotatedElement, Class<? extends Annotation>) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
检查是否包含指定注解指定注解
hasBlank(CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定字符串数组中,是否包含空字符串。
hasChinese(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否包含汉字
hasContent() - 类 中的方法cn.hutool.core.text.StrBuilder
是否有内容
hasEmpty(CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
是否包含空字符串。
hasEmpty(Object...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
是否存在null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
hasEmpty(Object...) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
是否存在null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
hasField(Class<?>, String) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
查找指定类中是否包含指定名称对应的字段,包括所有字段(包括非public字段),也包括父类和Object类的字段
hasGetter(Class<?>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
判断是否为Bean对象
判定方法是否存在只有无参数的getXXX方法或者isXXX方法
Hash<T> - cn.hutool.core.lang.hash中的接口
Hash计算接口
hash(T) - 接口 中的方法cn.hutool.core.lang.hash.Hash
计算Hash值
hash(T) - 接口 中的方法cn.hutool.core.lang.hash.Hash128
 
hash(T) - 接口 中的方法cn.hutool.core.lang.hash.Hash32
 
hash(T) - 接口 中的方法cn.hutool.core.lang.hash.Hash64
 
hash(Collection<? extends CharSequence>) - 类 中的方法cn.hutool.core.text.Simhash
指定文本计算simhash值
hash128(byte[]) - 类 中的静态方法cn.hutool.core.lang.hash.CityHash
计算128位City Hash值
hash128(byte[], Number128) - 类 中的静态方法cn.hutool.core.lang.hash.CityHash
计算128位City Hash值
Hash128<T> - cn.hutool.core.lang.hash中的接口
Hash计算接口
hash128(T) - 接口 中的方法cn.hutool.core.lang.hash.Hash128
计算Hash值
hash128(CharSequence) - 类 中的静态方法cn.hutool.core.lang.hash.MurmurHash
Murmur3 128-bit Hash值计算
hash128(byte[]) - 类 中的静态方法cn.hutool.core.lang.hash.MurmurHash
Murmur3 128-bit 算法.
hash128(byte[], int, int) - 类 中的静态方法cn.hutool.core.lang.hash.MurmurHash
Murmur3 128-bit variant.
hash32(byte[]) - 类 中的静态方法cn.hutool.core.lang.hash.CityHash
计算32位City Hash值
Hash32<T> - cn.hutool.core.lang.hash中的接口
Hash计算接口
hash32(T) - 接口 中的方法cn.hutool.core.lang.hash.Hash32
计算Hash值
hash32(CharSequence) - 类 中的静态方法cn.hutool.core.lang.hash.MurmurHash
Murmur3 32-bit Hash值计算
hash32(byte[]) - 类 中的静态方法cn.hutool.core.lang.hash.MurmurHash
Murmur3 32-bit Hash值计算
hash32(byte[], int, int) - 类 中的静态方法cn.hutool.core.lang.hash.MurmurHash
Murmur3 32-bit Hash值计算
hash64(byte[]) - 类 中的静态方法cn.hutool.core.lang.hash.CityHash
计算64位City Hash值
hash64(byte[], long, long) - 类 中的静态方法cn.hutool.core.lang.hash.CityHash
计算64位City Hash值
hash64(byte[], long) - 类 中的静态方法cn.hutool.core.lang.hash.CityHash
计算64位City Hash值,种子1使用默认的CityHash.k2
Hash64<T> - cn.hutool.core.lang.hash中的接口
Hash计算接口
hash64(T) - 接口 中的方法cn.hutool.core.lang.hash.Hash64
计算Hash值
hash64(CharSequence) - 类 中的静态方法cn.hutool.core.lang.hash.MurmurHash
Murmur3 64-bit Hash值计算
hash64(byte[]) - 类 中的静态方法cn.hutool.core.lang.hash.MurmurHash
Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
hash64(byte[], int, int) - 类 中的静态方法cn.hutool.core.lang.hash.MurmurHash
Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
hashCode() - 类 中的方法cn.hutool.core.bean.DynaBean
 
hashCode() - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
The computed hashCode from toHashCode() is returned due to the likelihood of bugs in mis-calling toHashCode() and the unlikeliness of it mattering what the hashCode for HashCodeBuilder itself is.
hashCode() - 类 中的方法cn.hutool.core.comparator.ComparableComparator
 
hashCode() - 类 中的方法cn.hutool.core.comparator.ComparatorChain
 
hashCode() - 类 中的方法cn.hutool.core.comparator.ReverseComparator
 
hashCode() - 类 中的方法cn.hutool.core.date.format.AbstractDateBasic
 
hashCode() - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
hashCode() - 类 中的方法cn.hutool.core.io.unit.DataSize
 
hashCode() - 类 中的方法cn.hutool.core.lang.mutable.MutableBool
 
hashCode() - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
 
hashCode() - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
 
hashCode() - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
 
hashCode() - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
 
hashCode() - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
 
hashCode() - 类 中的方法cn.hutool.core.lang.mutable.MutableObj
 
hashCode() - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
 
hashCode() - 类 中的方法cn.hutool.core.lang.Opt
如果包裹内元素为空,则返回0,否则返回元素的 hashcode
hashCode() - 类 中的方法cn.hutool.core.lang.Pair
 
hashCode() - 类 中的方法cn.hutool.core.lang.tree.TreeNode
 
hashCode() - 类 中的方法cn.hutool.core.lang.Tuple
 
hashCode() - 类 中的方法cn.hutool.core.lang.UUID
返回此 UUID 的哈希码。
hashCode() - 类 中的方法cn.hutool.core.lang.WeightRandom.WeightObj
 
hashCode() - 类 中的方法cn.hutool.core.map.MapWrapper
 
hashCode() - 类 中的方法cn.hutool.core.map.TolerantMap
 
hashCode() - 类 中的方法cn.hutool.core.math.Money
计算本货币对象的杂凑值。
HashCodeBuilder - cn.hutool.core.builder中的类
Assists in implementing Object.hashCode() methods.
HashCodeBuilder() - 类 的构造器cn.hutool.core.builder.HashCodeBuilder
Uses two hard coded choices for the constants needed to build a hashCode.
HashCodeBuilder(int, int) - 类 的构造器cn.hutool.core.builder.HashCodeBuilder
Two randomly chosen, odd numbers must be passed in.
HashUtil - cn.hutool.core.util中的类
Hash算法大全
推荐使用FNV1算法
HashUtil() - 类 的构造器cn.hutool.core.util.HashUtil
 
hasModifier(Class<?>, ModifierUtil.ModifierType...) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
hasModifier(Constructor<?>, ModifierUtil.ModifierType...) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
hasModifier(Method, ModifierUtil.ModifierType...) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
hasModifier(Field, ModifierUtil.ModifierType...) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否同时存在一个或多个修饰符(可能有多个修饰符,如果有指定的修饰符则返回true)
hasMoreElements() - 类 中的方法cn.hutool.core.collection.IteratorEnumeration
 
hasNext() - 类 中的方法cn.hutool.core.collection.ArrayIter
 
hasNext() - 类 中的方法cn.hutool.core.collection.ComputeIter
 
hasNext() - 类 中的方法cn.hutool.core.collection.CopiedIter
 
hasNext() - 类 中的方法cn.hutool.core.collection.EnumerationIter
 
hasNext() - 类 中的方法cn.hutool.core.collection.IterChain
 
hasNext() - 类 中的方法cn.hutool.core.collection.PartitionIter
 
hasNext() - 类 中的方法cn.hutool.core.collection.TransIter
 
hasNext() - 类 中的方法cn.hutool.core.io.resource.MultiResource
 
hasNext() - 类 中的方法cn.hutool.core.lang.Range
 
hasNull(Iterable<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
是否包含null元素
hasNull(Iterable<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
是否包含null元素
hasNull(Iterator<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
是否包含null元素
hasNull(T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
是否包含null元素
hasNull(Object...) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
是否存在null对象,通过ObjectUtil.isNull(Object) 判断元素
hasNullField(Object, String...) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
判断Bean是否包含值为null的属性
对象本身为null也返回true
hasNumber(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
是否包含数字
hasPublicField(Class<?>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
指定类中是否有public类型字段(static字段除外)
hasSetter(Class<?>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
判断是否有Setter方法
判定方法是否存在只有一个参数的setXXX方法
hasTypeVariable(Type...) - 类 中的静态方法cn.hutool.core.util.TypeUtil
指定泛型数组中是否含有泛型变量
headerAlias - 类 中的变量cn.hutool.core.text.csv.CsvConfig
标题别名
height - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
height - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
HEX - 类 中的静态变量cn.hutool.core.lang.PatternPool
16进制字符串
HEX - 接口 中的静态变量cn.hutool.core.lang.RegexPool
16进制字符串
hexToBytes(String) - 类 中的静态方法cn.hutool.core.convert.Convert
Hex字符串转换为Byte值
hexToColor(String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
16进制的颜色值转换为Color对象,例如#fcf6d6
hexToInt(String) - 类 中的静态方法cn.hutool.core.util.HexUtil
16进制字符串转为int
hexToLong(String) - 类 中的静态方法cn.hutool.core.util.HexUtil
16进制字符串转为long
hexToRgb(String) - 类 中的静态方法cn.hutool.core.img.BackgroundRemoval
十六进制颜色码转RGB颜色值
hexToStr(String, Charset) - 类 中的静态方法cn.hutool.core.convert.Convert
十六进制转换字符串
HexUtil - cn.hutool.core.util中的类
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
HexUtil() - 类 的构造器cn.hutool.core.util.HexUtil
 
hide(CharSequence, int, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
替换指定字符串的指定区间内字符为"*" 俗称:脱敏功能,后面其他功能,可以见:DesensitizedUtil(脱敏工具类) StrUtil.hide(null,*,*)=null StrUtil.hide("",0,*)="" StrUtil.hide("[email protected]",-1,4) ****[email protected] StrUtil.hide("[email protected]",2,3) ja*[email protected] StrUtil.hide("[email protected]",3,2) [email protected] StrUtil.hide("[email protected]",16,16) [email protected] StrUtil.hide("[email protected]",16,17) [email protected]
hide(String, int, int) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
隐藏指定位置的几个身份证号数字为“*”
hideAfter(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
隐藏手机号最后4位 替换字符为"*"
hideBefore(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
隐藏手机号前7位 替换字符为"*" 栗子
hideBetween(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
隐藏手机号中间4位 替换字符为"*"
hideIpPart(String) - 类 中的静态方法cn.hutool.core.net.NetUtil
隐藏掉IP地址的最后一部分为 * 代替
hideIpPart(long) - 类 中的静态方法cn.hutool.core.net.NetUtil
隐藏掉IP地址的最后一部分为 * 代替
Holder<T> - cn.hutool.core.lang中的类
为不可变的对象引用提供一个可变的包装,在java中支持引用传递。
Holder() - 类 的构造器cn.hutool.core.lang.Holder
构造
Holder(T) - 类 的构造器cn.hutool.core.lang.Holder
构造
hour(boolean) - 类 中的方法cn.hutool.core.date.DateTime
获得指定日期的小时数部分
hour(Date, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期的小时数部分
HTML40_EXTENDED_ESCAPE - 类 中的静态变量cn.hutool.core.text.escape.Html4Escape
 
HTML40_EXTENDED_UNESCAPE - 类 中的静态变量cn.hutool.core.text.escape.Html4Unescape
 
Html4Escape - cn.hutool.core.text.escape中的类
HTML4的ESCAPE 参考:Commons Lang3
Html4Escape() - 类 的构造器cn.hutool.core.text.escape.Html4Escape
 
Html4Unescape - cn.hutool.core.text.escape中的类
HTML4的UNESCAPE
Html4Unescape() - 类 的构造器cn.hutool.core.text.escape.Html4Unescape
 
HTML_AMP - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:HTML And 符转义 "&amp;" -> "&"
HTML_APOS - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:HTML 单引号转义 "&apos" -> "'"
HTML_GT - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:HTML 大于号转义 "&gt;" -> ">"
HTML_LT - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:HTML 小于号转义 "&lt;" -> "<"
HTML_NBSP - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:HTML 空格转义 "&nbsp;" -> " "
HTML_QUOTE - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:HTML 双引号转义 "&quot;" -> "\""
HTTP_DATETIME_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
HTTP头中日期时间格式 FastDateFormat:EEE, dd MMM yyyy HH:mm:ss z
HTTP_DATETIME_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
HTTP头中日期时间格式:EEE, dd MMM yyyy HH:mm:ss z

I

Idcard(String) - 类 的构造器cn.hutool.core.util.IdcardUtil.Idcard
构造
idCardNum(String, int, int) - 类 中的静态方法cn.hutool.core.util.DesensitizedUtil
【身份证号】前1位 和后2位
IdcardUtil - cn.hutool.core.util中的类
身份证相关工具类
see https://www.oschina.net/code/snippet_1611_2881 本工具并没有对行政区划代码做校验,如有需求,请参阅(2018年10月): http://www.mca.gov.cn/article/sj/xzqh/2018/201804-12/20181011221630.html
IdcardUtil() - 类 的构造器cn.hutool.core.util.IdcardUtil
 
IdcardUtil.Idcard - cn.hutool.core.util中的类
身份证信息,包括身份、城市代码、生日、性别等
identityHashCode(Object) - 类 中的静态方法cn.hutool.core.util.HashUtil
根据对象的内存地址生成相应的Hash值
idnToASCII(String) - 类 中的静态方法cn.hutool.core.net.NetUtil
Unicode域名转puny code
IdUtil - cn.hutool.core.util中的类
ID生成器工具类,此工具类中主要封装: 1.
IdUtil() - 类 的构造器cn.hutool.core.util.IdUtil
 
ifInitialized(Consumer<T>) - 类 中的方法cn.hutool.core.lang.loader.LazyFunLoader
如果已经初始化,就执行传入函数
ifPresent(Consumer<? super T>) - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的操作(Consumer.accept(T)) 例如如果值存在就打印结果 {@code Opt.ofNullable("Hello Hutool!").
ifPresentOrElse(Consumer<? super T>, VoidFunc0) - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的值存在时的操作(Consumer.accept(T)) 否则执行传入的值不存在时的操作(VoidFunc0中的VoidFunc0.call()) 例如值存在就打印对应的值,不存在则用Console.error打印另一句字符串 {@code Opt.ofNullable("Hello Hutool!").
ignoreCase - 类 中的变量cn.hutool.core.bean.copier.CopyOptions
是否忽略字段大小写
ignoreCase() - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置忽略字段的大小写
ignoreError - 类 中的变量cn.hutool.core.bean.copier.CopyOptions
是否忽略字段注入错误
ignoreError() - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置忽略字段的注入错误
ignoreNullValue - 类 中的变量cn.hutool.core.bean.copier.CopyOptions
是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
ignoreNullValue() - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置忽略空值,当源对象的值为null时,忽略而不注入此值
ignoreProperties - 类 中的变量cn.hutool.core.bean.copier.CopyOptions
忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值
IgnoreWatcher - cn.hutool.core.io.watch.watchers中的类
跳过所有事件处理Watcher
用户继承此类后实现需要监听的方法
IgnoreWatcher() - 类 的构造器cn.hutool.core.io.watch.watchers.IgnoreWatcher
 
ih - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
image - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
image - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
IMAGE_TYPE_BMP - 类 中的静态变量cn.hutool.core.img.ImgUtil
 
IMAGE_TYPE_GIF - 类 中的静态变量cn.hutool.core.img.ImgUtil
 
IMAGE_TYPE_JPEG - 类 中的静态变量cn.hutool.core.img.ImgUtil
 
IMAGE_TYPE_JPG - 类 中的静态变量cn.hutool.core.img.ImgUtil
 
IMAGE_TYPE_PNG - 类 中的静态变量cn.hutool.core.img.ImgUtil
 
IMAGE_TYPE_PSD - 类 中的静态变量cn.hutool.core.img.ImgUtil
 
IMAGES_TYPE - 类 中的静态变量cn.hutool.core.img.BackgroundRemoval
目前暂时支持的图片类型数组 其他格式的不保证结果
ImageSelection - cn.hutool.core.swing.clipboard中的类
图片转换器,用于将图片对象转换为剪贴板支持的对象
此对象也用于将图像文件和DataFlavor.imageFlavor 元信息对应
ImageSelection(Image) - 类 的构造器cn.hutool.core.swing.clipboard.ImageSelection
构造
Img - cn.hutool.core.img中的类
图像编辑器
Img(BufferedImage) - 类 的构造器cn.hutool.core.img.Img
构造,目标图片类型取决于来源图片类型
Img(BufferedImage, String) - 类 的构造器cn.hutool.core.img.Img
构造
ImgUtil - cn.hutool.core.img中的类
图片处理工具类:
功能:缩放图像、切割图像、旋转、图像类型转换、彩色转黑白、文字水印、图片水印等
参考:http://blog.csdn.net/zhangzhikaixinya/article/details/8459400
ImgUtil() - 类 的构造器cn.hutool.core.img.ImgUtil
 
in - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
increment() - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
值+1
increment() - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
值+1
increment() - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
值+1
increment() - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
值+1
increment() - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
值+1
increment() - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
值+1
INDENT_DEFAULT - 类 中的静态变量cn.hutool.core.util.XmlUtil
XML格式化输出默认缩进量
index() - 类 中的方法cn.hutool.core.io.FastByteBuffer
当前缓冲位于缓冲区的索引位
INDEX_NOT_FOUND - 类 中的静态变量cn.hutool.core.text.CharSequenceUtil
 
INDEX_NOT_FOUND - 类 中的静态变量cn.hutool.core.util.PrimitiveArrayUtil
数组中元素未找到的下标,值为-1
IndexedComparator<T> - cn.hutool.core.comparator中的类
按照数组的顺序正序排列,数组的元素位置决定了对象的排序先后
默认的,如果参与排序的元素并不在数组中,则排序在前(可以通过atEndIfMiss设置)
IndexedComparator(T...) - 类 的构造器cn.hutool.core.comparator.IndexedComparator
构造
IndexedComparator(boolean, T...) - 类 的构造器cn.hutool.core.comparator.IndexedComparator
构造
indexedFormat(CharSequence, Object...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
有序的格式化文本,使用{number}做为占位符
通常使用:format("this is {0} for {1}", "a", "b") =》 this is a for b
indexedPixels - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
indexOf(Collection<T>, Matcher<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取匹配规则定义中匹配到元素的第一个位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
indexOf(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定范围内查找指定字符
indexOf(CharSequence, char, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定范围内查找指定字符
indexOf(CharSequence, char, int, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定范围内查找指定字符
indexOf(CharSequence, CharSequence, int, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定范围内查找字符串
indexOf(Object) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
indexOf(T[], Object, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(T[], Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(long[], long) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(int[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(short[], short) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(char[], char) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(byte[], byte) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(double[], double) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(float[], float) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(boolean[], boolean) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
找到指定正则匹配到字符串的开始位置
indexOf(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
找到指定模式匹配到字符串的开始位置
indexOfAll(Collection<T>, Matcher<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取匹配规则定义中匹配到元素的所有位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
indexOfAll(List<T>, Matcher<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
获取匹配规则定义中匹配到元素的所有位置
indexOfIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定范围内查找字符串,忽略大小写
StrUtil.indexOfIgnoreCase(null, *, *) = -1 StrUtil.indexOfIgnoreCase(*, null, *) = -1 StrUtil.indexOfIgnoreCase("", "", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2 StrUtil.indexOfIgnoreCase("abc", "", 9) = -1
indexOfIgnoreCase(CharSequence, CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定范围内查找字符串 StrUtil.indexOfIgnoreCase(null, *, *) = -1 StrUtil.indexOfIgnoreCase(*, null, *) = -1 StrUtil.indexOfIgnoreCase("", "", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5 StrUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1 StrUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2 StrUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2 StrUtil.indexOfIgnoreCase("abc", "", 9) = -1
indexOfIgnoreCase(CharSequence[], CharSequence) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
返回数组中指定元素所在位置,忽略大小写,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOfSub(T[], T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
查找子数组的位置
indexOfSub(T[], int, T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
查找子数组的位置
inflater() - 类 中的方法cn.hutool.core.compress.Deflate
将压缩流解压到target中
init() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Initializes or re-initializes reader
init() - 类 中的方法cn.hutool.core.io.BOMInputStream
Read-ahead four bytes and check for BOM marks.
init() - 类 中的方法cn.hutool.core.io.watch.WatchMonitor
初始化
初始化包括: 1、解析传入的路径,判断其为目录还是文件 2、创建WatchService 对象
init() - 类 中的方法cn.hutool.core.io.watch.WatchServer
初始化
初始化包括: 1、解析传入的路径,判断其为目录还是文件 2、创建WatchService 对象
init() - 类 中的方法cn.hutool.core.lang.loader.AtomicLoader
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
init() - 类 中的方法cn.hutool.core.lang.loader.LazyFunLoader
 
init() - 类 中的方法cn.hutool.core.lang.loader.LazyLoader
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
init() - 类 中的静态方法cn.hutool.core.thread.GlobalThreadPool
初始化全局线程池
INITALPHA - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
INITRAD - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
INITRADIUS - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
input() - 类 中的静态方法cn.hutool.core.lang.Console
读取用户输入的内容(在控制台敲回车前的内容)
InputStreamResource - cn.hutool.core.io.resource中的类
基于InputStream的资源获取器
注意:此对象中getUrl方法始终返回null
InputStreamResource(InputStream) - 类 的构造器cn.hutool.core.io.resource.InputStreamResource
构造
InputStreamResource(InputStream, String) - 类 的构造器cn.hutool.core.io.resource.InputStreamResource
构造
insert(int, Object) - 类 中的方法cn.hutool.core.text.StrBuilder
追加对象,对象会被转换为字符串
insert(int, char) - 类 中的方法cn.hutool.core.text.StrBuilder
插入指定字符
insert(int, char[]) - 类 中的方法cn.hutool.core.text.StrBuilder
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
insert(int, char[], int, int) - 类 中的方法cn.hutool.core.text.StrBuilder
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
insert(int, CharSequence) - 类 中的方法cn.hutool.core.text.StrBuilder
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
insert(int, CharSequence, int, int) - 类 中的方法cn.hutool.core.text.StrBuilder
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
insert(T[], int, T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
insert(Object, int, T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
INSTANCE - 类 中的静态变量cn.hutool.core.comparator.ComparableComparator
单例
INSTANCE - 类 中的静态变量cn.hutool.core.comparator.VersionComparator
单例
INSTANCE - 类 中的静态变量cn.hutool.core.io.file.visitor.DelVisitor
 
INSTANCE - 类 中的静态变量cn.hutool.core.net.DefaultTrustManager
默认的全局单例默认信任管理器,,默认信任所有客户端和服务端证书
InstanceComparator<T> - cn.hutool.core.comparator中的类
按照指定类型顺序排序,对象顺序取决于对象对应的类在数组中的位置。
InstanceComparator(Class<?>...) - 类 的构造器cn.hutool.core.comparator.InstanceComparator
构造
InstanceComparator(boolean, Class<?>...) - 类 的构造器cn.hutool.core.comparator.InstanceComparator
构造
INTBIAS - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
INTBIASSHIFT - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
interlace - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
intern(T) - 接口 中的方法cn.hutool.core.lang.intern.Interner
返回指定对象对应的规范化对象,sample对象可能有多个,但是这些对象如果都equals,则返回的是同一个对象
intern(String) - 类 中的方法cn.hutool.core.lang.intern.JdkStringInterner
 
intern(T) - 类 中的方法cn.hutool.core.lang.intern.WeakInterner
 
Interner<T> - cn.hutool.core.lang.intern中的接口
规范化表示形式封装
所谓规范化,即当两个对象equals时,规范化的对象则可以实现==
此包中的相关封装类似于 String.intern()
InternUtil - cn.hutool.core.lang.intern中的类
规范化对象生成工具
InternUtil() - 类 的构造器cn.hutool.core.lang.intern.InternUtil
 
interrupt(Thread, boolean) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
结束线程,调用此方法后,线程将抛出 InterruptedException异常
intersection(Collection<T>, Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
两个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
intersection(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
多个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
intersectionDistinct(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
多个集合的交集
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
interval(String) - 类 中的方法cn.hutool.core.date.GroupTimeInterval
从开始到当前的间隔时间(毫秒数)
如果使用纳秒计时,返回纳秒差,否则返回毫秒差
如果分组下没有开始时间,返回null
interval(String, DateUnit) - 类 中的方法cn.hutool.core.date.GroupTimeInterval
从开始到当前的间隔时间
interval() - 类 中的方法cn.hutool.core.date.TimeInterval
从开始到当前的间隔时间(毫秒数)
如果使用纳秒计时,返回纳秒差,否则返回毫秒差
intervalDay(String) - 类 中的方法cn.hutool.core.date.GroupTimeInterval
从开始到当前的间隔天数,取绝对值
intervalDay() - 类 中的方法cn.hutool.core.date.TimeInterval
从开始到当前的间隔天数,取绝对值
intervalHour(String) - 类 中的方法cn.hutool.core.date.GroupTimeInterval
从开始到当前的间隔小时数,取绝对值
intervalHour() - 类 中的方法cn.hutool.core.date.TimeInterval
从开始到当前的间隔小时数,取绝对值
intervalMinute(String) - 类 中的方法cn.hutool.core.date.GroupTimeInterval
从开始到当前的间隔分钟数,取绝对值
intervalMinute() - 类 中的方法cn.hutool.core.date.TimeInterval
从开始到当前的间隔分钟数,取绝对值
intervalMs(String) - 类 中的方法cn.hutool.core.date.GroupTimeInterval
从开始到当前的间隔时间(毫秒数)
intervalMs() - 类 中的方法cn.hutool.core.date.TimeInterval
从开始到当前的间隔时间(毫秒数)
intervalPretty(String) - 类 中的方法cn.hutool.core.date.GroupTimeInterval
从开始到当前的间隔时间(毫秒数),返回XX天XX小时XX分XX秒XX毫秒
intervalPretty() - 类 中的方法cn.hutool.core.date.TimeInterval
从开始到当前的间隔时间(毫秒数),返回XX天XX小时XX分XX秒XX毫秒
intervalRestart(String) - 类 中的方法cn.hutool.core.date.GroupTimeInterval
重新计时并返回从开始到当前的持续时间秒
如果此分组下没有记录,则返回0;
intervalRestart() - 类 中的方法cn.hutool.core.date.TimeInterval
 
intervalSecond(String) - 类 中的方法cn.hutool.core.date.GroupTimeInterval
从开始到当前的间隔秒数,取绝对值
intervalSecond() - 类 中的方法cn.hutool.core.date.TimeInterval
从开始到当前的间隔秒数,取绝对值
intervalWeek(String) - 类 中的方法cn.hutool.core.date.GroupTimeInterval
从开始到当前的间隔周数,取绝对值
intervalWeek() - 类 中的方法cn.hutool.core.date.TimeInterval
从开始到当前的间隔周数,取绝对值
intHash(int) - 类 中的静态方法cn.hutool.core.util.HashUtil
Thomas Wang的算法,整数hash
intToByte(int) - 类 中的静态方法cn.hutool.core.convert.Convert
int转byte
intToByte(int) - 类 中的静态方法cn.hutool.core.util.ByteUtil
int转byte
intToBytes(int) - 类 中的静态方法cn.hutool.core.convert.Convert
int转byte数组
默认以小端序转换
intToBytes(int) - 类 中的静态方法cn.hutool.core.util.ByteUtil
int转byte数组
默认以小端序转换
intToBytes(int, ByteOrder) - 类 中的静态方法cn.hutool.core.util.ByteUtil
int转byte数组
自定义端序
intVal() - 接口 中的方法cn.hutool.core.lang.EnumItem
 
intValue() - 类 中的方法cn.hutool.core.lang.hash.Number128
 
intValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
 
intValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
 
intValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
 
intValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
 
intValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
 
intValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
 
INVALID_REGEX - 类 中的静态变量cn.hutool.core.util.XmlUtil
在XML中无效的字符 正则
inverse(Map<K, V>) - 类 中的静态方法cn.hutool.core.map.MapUtil
Map的键和值互换
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
invoke(String, Object...) - 类 中的方法cn.hutool.core.bean.DynaBean
执行原始Bean中的方法
invoke(Object, Method, Object...) - 类 中的静态方法cn.hutool.core.lang.reflect.MethodHandleUtil
执行接口或对象中的方法
invoke(boolean, Object, Method, Object...) - 类 中的静态方法cn.hutool.core.lang.reflect.MethodHandleUtil
执行接口或对象中的方法
     interface Duck {
         default String quack() {
             return "Quack";
         }
     }

     Duck duck = (Duck) Proxy.newProxyInstance(
         ClassLoaderUtil.getClassLoader(),
         new Class[] { Duck.class },
         MethodHandleUtil::invoke);
 
invoke(Object, Method, Object[]) - 类 中的方法cn.hutool.core.map.MapProxy
 
invoke(String, Object[]) - 类 中的静态方法cn.hutool.core.util.ClassUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
invoke(String, boolean, Object...) - 类 中的静态方法cn.hutool.core.util.ClassUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
invoke(String, String, Object[]) - 类 中的静态方法cn.hutool.core.util.ClassUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
invoke(String, String, boolean, Object...) - 类 中的静态方法cn.hutool.core.util.ClassUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
invoke(Object, Method, Object...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
执行方法 对于用户传入参数会做必要检查,包括: 1、忽略多余的参数 2、参数不够补齐默认值 3、传入参数为null,但是目标参数类型为原始类型,做转换
invoke(Object, String, Object...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
执行对象中指定方法 如果需要传递的参数为null,请使用NullWrapperBean来传递,不然会丢失类型信息
invokeAll(Collection<? extends Callable<T>>) - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
invokeAny(Collection<? extends Callable<T>>) - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
invokeSpecial(Object, String, Object...) - 类 中的静态方法cn.hutool.core.lang.reflect.MethodHandleUtil
执行接口或对象中的方法
     interface Duck {
         default String quack() {
             return "Quack";
         }
     }

     Duck duck = (Duck) Proxy.newProxyInstance(
         ClassLoaderUtil.getClassLoader(),
         new Class[] { Duck.class },
         MethodHandleUtil::invokeDefault);
 
invokeSpecial(Object, Method, Object...) - 类 中的静态方法cn.hutool.core.lang.reflect.MethodHandleUtil
执行接口或对象中的方法
     interface Duck {
         default String quack() {
             return "Quack";
         }
     }

     Duck duck = (Duck) Proxy.newProxyInstance(
         ClassLoaderUtil.getClassLoader(),
         new Class[] { Duck.class },
         MethodHandleUtil::invoke);
 
invokeStatic(Method, Object...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
执行静态方法
invokeWithCheck(Object, Method, Object...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
执行方法
执行前要检查给定参数: 1.
inxbuild() - 类 中的方法cn.hutool.core.img.gif.NeuQuant
 
IoCopier<S,T> - cn.hutool.core.io.copy中的类
IO拷贝抽象,可自定义包括缓存、进度条等信息
此对象非线程安全
IoCopier(int, long, StreamProgress) - 类 的构造器cn.hutool.core.io.copy.IoCopier
构造
IORuntimeException - cn.hutool.core.io中的异常错误
IO运行时异常,常用于对IOException的包装
IORuntimeException(Throwable) - 异常错误 的构造器cn.hutool.core.io.IORuntimeException
 
IORuntimeException(String) - 异常错误 的构造器cn.hutool.core.io.IORuntimeException
 
IORuntimeException(String, Object...) - 异常错误 的构造器cn.hutool.core.io.IORuntimeException
 
IORuntimeException(String, Throwable) - 异常错误 的构造器cn.hutool.core.io.IORuntimeException
 
IORuntimeException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.io.IORuntimeException
 
IoUtil - cn.hutool.core.io中的类
IO工具类
IO工具类只是辅助流的读写,并不负责关闭流。
IoUtil() - 类 的构造器cn.hutool.core.io.IoUtil
 
IP_MASK_MAX - 类 中的静态变量cn.hutool.core.net.Ipv4Util
最大掩码位
IP_MASK_SPLIT_MARK - 类 中的静态变量cn.hutool.core.net.Ipv4Util
IP与掩码的分割符
IP_SPLIT_MARK - 类 中的静态变量cn.hutool.core.net.Ipv4Util
IP段的分割符
IPV4 - 类 中的静态变量cn.hutool.core.lang.PatternPool
IP v4
IPV4 - 接口 中的静态变量cn.hutool.core.lang.RegexPool
IP v4
IPV4 - 类 中的静态变量cn.hutool.core.lang.Validator
IP v4
ipv4ToLong(String) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
根据ip地址(xxx.xxx.xxx.xxx)计算出long型的数据 方法别名:inet_aton
ipv4ToLong(String) - 类 中的静态方法cn.hutool.core.net.NetUtil
根据ip地址计算出long型的数据
Ipv4Util - cn.hutool.core.net中的类
IPV4地址工具类 pr自:https://gitee.com/loolly/hutool/pulls/161
Ipv4Util() - 类 的构造器cn.hutool.core.net.Ipv4Util
 
IPV6 - 类 中的静态变量cn.hutool.core.lang.PatternPool
IP v6
IPV6 - 接口 中的静态变量cn.hutool.core.lang.RegexPool
IP v6
IPV6 - 类 中的静态变量cn.hutool.core.lang.Validator
IP v6
ipv6ToBitInteger(String) - 类 中的静态方法cn.hutool.core.net.NetUtil
将IPv6地址字符串转为大整数
isAbsolutePath(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
给定路径已经是绝对路径
此方法并没有针对路径做标准化,建议先执行FileUtil.normalize(String)方法标准化路径后判断
isAbstract(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
是否为抽象类
isAfter(Date) - 类 中的方法cn.hutool.core.date.DateTime
是否在给定日期之后
isAfterOrEquals(Date) - 类 中的方法cn.hutool.core.date.DateTime
是否在给定日期之后或与给定日期相等
isAllAssignableFrom(Class<?>[], Class<?>[]) - 类 中的静态方法cn.hutool.core.util.ClassUtil
比较判断types1和types2两组类,如果types1中所有的类都与types2对应位置的类相同,或者是其父类或接口,则返回true
isAllBlank(CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定字符串数组中的元素,是否全部为空字符串。
isAllCharMatch(CharSequence, Matcher<Character>) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
字符串的每一个字符是否都与定义的匹配器匹配
isAllEmpty(CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定字符串数组中的元素,是否全部为空字符串。
isAllEmpty(Object...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
是否存都为null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
isAllEmpty(Object...) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
是否全都为null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
isAllNotBlank(CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
是否存都不为null或空对象或空白符的对象,通过CharSequenceUtil.hasBlank(CharSequence...)
isAllNotEmpty(CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定字符串数组中的元素,是否都不为空字符串。
isAllNotEmpty(Object...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
是否存都不为null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
isAllNotEmpty(Object...) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
是否全都不为null或空对象,通过ObjectUtil.isEmpty(Object) 判断元素
isAllNotNull(T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
多个字段是否全部不为null
isAllNull(Iterable<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
是否全部元素为null
isAllNull(Iterator<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
是否全部元素为null
isAllNull(T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
多个字段是否全为null
isAllowFileExts - 类 中的变量cn.hutool.core.net.multipart.UploadSetting
扩展名是允许列表还是禁止列表
isAllowFileExts() - 类 中的方法cn.hutool.core.net.multipart.UploadSetting
是否允许文件扩展名
isAM(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
是否为上午
isAM() - 类 中的方法cn.hutool.core.date.DateTime
是否为上午
isAM(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
是否为上午
isAnnotationPresent(Class<? extends Annotation>) - 类 中的方法cn.hutool.core.annotation.CombinationAnnotationElement
 
isArray(Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
对象是否为数组对象
isAscii(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
是否为ASCII字符,ASCII字符位于0~127之间 CharUtil.isAscii('a') = true CharUtil.isAscii('A') = true CharUtil.isAscii('3') = true CharUtil.isAscii('-') = true CharUtil.isAscii('\n') = true CharUtil.isAscii('©') = false
isAsciiControl(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
是否为ASCII控制符(不可见字符),控制符位于0~31和127 CharUtil.isAsciiControl('a') = false CharUtil.isAsciiControl('A') = false CharUtil.isAsciiControl('3') = false CharUtil.isAsciiControl('-') = false CharUtil.isAsciiControl('\n') = true CharUtil.isAsciiControl('©') = false
isAsciiPrintable(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
是否为可见ASCII字符,可见字符位于32~126之间 CharUtil.isAsciiPrintable('a') = true CharUtil.isAsciiPrintable('A') = true CharUtil.isAsciiPrintable('3') = true CharUtil.isAsciiPrintable('-') = true CharUtil.isAsciiPrintable('\n') = false CharUtil.isAsciiPrintable('©') = false
isAssignable(Class<?>, Class<?>) - 类 中的静态方法cn.hutool.core.lang.Assert
断言 superType.isAssignableFrom(subType) 是否为 true.
isAssignable(Class<?>, Class<?>, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
断言 superType.isAssignableFrom(subType) 是否为 true.
isAssignable(Class<?>, Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
检查目标类是否可以从原类转化
转化包括:
1、原类是对象,目标类型是原类型实现的接口
2、目标类型是原类型的父类
3、两者是原始类型或者包装类型(相互转换)
isBase64(CharSequence) - 类 中的静态方法cn.hutool.core.codec.Base64
检查是否为Base64
isBase64(byte[]) - 类 中的静态方法cn.hutool.core.codec.Base64
检查是否为Base64
isBase64Code(byte) - 类 中的静态方法cn.hutool.core.codec.Base64Decoder
给定的字符是否为Base64字符
isBasicType(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
是否为基本类型(包括包装类和原始类)
isBasicType(Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
是否为基本类型,包括包装类型和非包装类型
isBean(Class<?>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
判断是否为Bean对象,判定方法是: 1、是否存在只有一个参数的setXXX方法 2、是否存在public类型的字段
isBefore(Date) - 类 中的方法cn.hutool.core.date.DateTime
是否在给定日期之前
isBeforeOrEquals(Date) - 类 中的方法cn.hutool.core.date.DateTime
是否在给定日期之前或与给定日期相等
isBeside(long, long) - 类 中的静态方法cn.hutool.core.util.NumberUtil
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
isBeside(int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
isBetween(Number, Number, Number) - 类 中的静态方法cn.hutool.core.lang.Validator
检查给定的数字是否在指定范围内
isBirthday(int, int, int) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为生日
isBirthday(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为生日
只支持以下几种格式: yyyyMMdd yyyy-MM-dd yyyy/MM/dd yyyy.MM.dd yyyy年MM月dd日
isBlank(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
字符串是否为空白,空白的定义如下: null 空字符串:"" 空格、全角空格、制表符、换行符,等不可见字符 例: StrUtil.isBlank(null) // true StrUtil.isBlank("") // true StrUtil.isBlank(" \t\n") // true StrUtil.isBlank("abc") // false 注意:该方法与 CharSequenceUtil.isEmpty(CharSequence) 的区别是: 该方法会校验空白字符,且性能相对于 CharSequenceUtil.isEmpty(CharSequence) 略慢。
isBlankChar(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
isBlankChar(int) - 类 中的静态方法cn.hutool.core.util.CharUtil
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
isBlankIfStr(Object) - 类 中的静态方法cn.hutool.core.util.StrUtil
如果对象是字符串是否为空白,空白的定义如下: null 空字符串:"" 空格、全角空格、制表符、换行符,等不可见字符 例: StrUtil.isBlankIfStr(null) // true StrUtil.isBlankIfStr("") // true StrUtil.isBlankIfStr(" \t\n") // true StrUtil.isBlankIfStr("abc") // false 注意:该方法与 StrUtil.isEmptyIfStr(Object) 的区别是: 该方法会校验空白字符,且性能相对于 StrUtil.isEmptyIfStr(Object) 略慢。
isBlankOrUndefined(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
检查字符串是否为null、空白串、“null”、“undefined”
isBoolean(Class<?>) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
给定类是否为Boolean或者boolean
isBoundary(byte) - 类 中的方法cn.hutool.core.net.multipart.MultipartRequestInputStream
 
isCalledBy(Class<?>) - 接口 中的方法cn.hutool.core.lang.caller.Caller
是否被指定类调用
isCalledBy(Class<?>) - 类 中的静态方法cn.hutool.core.lang.caller.CallerUtil
是否被指定类调用
isCalledBy(Class<?>) - 类 中的方法cn.hutool.core.lang.caller.SecurityManagerCaller
 
isCalledBy(Class<?>) - 类 中的方法cn.hutool.core.lang.caller.StackTraceCaller
 
isCarDrivingLicence(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为驾驶证 别名:驾驶证档案编号、行驶证编号 仅限:中国驾驶证档案编号
isCarVin(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为车架号;别名:行驶证编号 车辆识别代号 车辆识别码
isCausedBy(Throwable, Class<? extends Exception>...) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
判断是否由指定异常类引起
isChar(Object) - 类 中的静态方法cn.hutool.core.util.CharUtil
给定对象对应的类是否为字符类,字符类包括: Character.class char.class
isCharClass(Class<?>) - 类 中的静态方法cn.hutool.core.util.CharUtil
给定类名是否为字符类,字符类包括: Character.class char.class
isCharEquals(String) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
检查给定字符串的所有字符是否都一样
isChinese(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否都为汉字
isCitizenId(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为身份证号码(支持18位、15位和港澳台的10位)
isClosed - 类 中的变量cn.hutool.core.io.watch.WatchServer
监听是否已经关闭
isCopyAttributes() - 类 中的方法cn.hutool.core.io.file.FileCopier
是否拷贝所有属性
isCopyContentIfDir() - 类 中的方法cn.hutool.core.io.file.FileCopier
当拷贝来源是目录时是否只拷贝目录下的内容
isCreditCode(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
是否是有效的统一社会信用代码 第一部分:登记管理部门代码1位 (数字或大写英文字母) 第二部分:机构类别代码1位 (数字或大写英文字母) 第三部分:登记管理机关行政区划码6位 (数字) 第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母) 第五部分:校验码1位 (数字或大写英文字母)
isCreditCode(CharSequence) - 类 中的静态方法cn.hutool.core.util.CreditCodeUtil
是否是有效的统一社会信用代码 第一部分:登记管理部门代码1位 (数字或大写英文字母) 第二部分:机构类别代码1位 (数字或大写英文字母) 第三部分:登记管理机关行政区划码6位 (数字) 第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母) 第五部分:校验码1位 (数字或大写英文字母)
isCreditCodeSimple(CharSequence) - 类 中的静态方法cn.hutool.core.util.CreditCodeUtil
正则校验统一社会信用代码(18位) 第一部分:登记管理部门代码1位 (数字或大写英文字母) 第二部分:机构类别代码1位 (数字或大写英文字母) 第三部分:登记管理机关行政区划码6位 (数字) 第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母) 第五部分:校验码1位 (数字或大写英文字母)
isCustomFormat(String) - 类 中的静态方法cn.hutool.core.date.format.GlobalCustomFormat
检查指定格式是否为自定义格式
isDataFlavorSupported(DataFlavor) - 类 中的方法cn.hutool.core.swing.clipboard.ImageSelection
是否支持指定元数据类型
isDirectory(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
判断是否为目录,如果file为null,则返回false
此方法不会追踪到软链对应的真实地址,即软链被当作文件
isDirectory(Path, boolean) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
判断是否为目录,如果file为null,则返回false
isDirectory(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
判断是否为目录,如果path为null,则返回false
isDirectory(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
判断是否为目录,如果file为null,则返回false
isDirEmpty(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
目录是否为空
isDirEmpty(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
目录是否为空
isDocumented(Class<? extends Annotation>) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
是否会保存到 Javadoc 文档中
isDouble(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
判断字符串是否是浮点数
isElement(Node) - 类 中的静态方法cn.hutool.core.util.XmlUtil
给定节点是否为Element 类型节点
isEmail(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为可用邮箱地址
isEmoji(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
判断是否为emoji表情符
isEmpty(Object, String...) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
判断Bean是否为空对象,空对象表示本身为null或者所有属性都为null
此方法不判断static属性
isEmpty(Collection<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
集合是否为空
isEmpty(Iterable<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
Iterable是否为空
isEmpty(Iterator<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
Iterator是否为空
isEmpty(Enumeration<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
Enumeration是否为空
isEmpty(Map<?, ?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
Map是否为空
isEmpty() - 类 中的方法cn.hutool.core.collection.ConcurrentHashSet
 
isEmpty(Iterable<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
Iterable是否为空
isEmpty(Iterator<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
Iterator是否为空
isEmpty() - 类 中的方法cn.hutool.core.collection.Partition
 
isEmpty() - 类 中的方法cn.hutool.core.collection.TransCollection
 
isEmpty() - 类 中的方法cn.hutool.core.io.FastByteBuffer
 
isEmpty(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
文件是否为空
目录:里面没有文件时为空 文件:文件大小为0时为空
isEmpty() - 类 中的方法cn.hutool.core.lang.Opt
判断包裹里元素的值是否不存在,不存在为 true,否则为false
isEmpty(Object) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为空
对于String类型判定是否为empty(null 或 "")
isEmpty() - 类 中的方法cn.hutool.core.map.MapProxy
 
isEmpty(Map<?, ?>) - 类 中的静态方法cn.hutool.core.map.MapUtil
Map是否为空
isEmpty() - 类 中的方法cn.hutool.core.map.MapWrapper
 
isEmpty() - 类 中的方法cn.hutool.core.map.TableMap
 
isEmpty(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
字符串是否为空,空的定义如下: null 空字符串:"" 例: StrUtil.isEmpty(null) // true StrUtil.isEmpty("") // true StrUtil.isEmpty(" \t\n") // false StrUtil.isEmpty("abc") // false 注意:该方法与 CharSequenceUtil.isBlank(CharSequence) 的区别是:该方法不校验空白字符。
isEmpty() - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
isEmpty() - 类 中的方法cn.hutool.core.text.StrBuilder
是否为空
isEmpty(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
数组是否为空
isEmpty(Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
数组是否为空
此方法会匹配单一对象,如果此对象为null则返回true
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回false
如果此对象为数组对象,数组长度大于0情况下返回false,否则返回true
isEmpty(Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
判断指定对象是否为空,支持: 1.
isEmpty(long[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为空
isEmpty(int[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为空
isEmpty(short[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为空
isEmpty(char[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为空
isEmpty(byte[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为空
isEmpty(double[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为空
isEmpty(float[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为空
isEmpty(boolean[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为空
isEmptyIfStr(Object) - 类 中的静态方法cn.hutool.core.util.StrUtil
如果对象是字符串是否为空串,空的定义如下:
null 空字符串:"" 例: StrUtil.isEmptyIfStr(null) // true StrUtil.isEmptyIfStr("") // true StrUtil.isEmptyIfStr(" \t\n") // false StrUtil.isEmptyIfStr("abc") // false 注意:该方法与 StrUtil.isBlankIfStr(Object) 的区别是:该方法不校验空白字符。
isEmptyOrUndefined(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
检查字符串是否为null、“”、“null”、“undefined”
isEmptyParam(Method) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
是否为无参数方法
isEnum(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
判断类是否为枚举类型
isEnum(Class<?>) - 类 中的静态方法cn.hutool.core.util.EnumUtil
指定类是否为Enum类
isEnum(Object) - 类 中的静态方法cn.hutool.core.util.EnumUtil
指定类是否为Enum类
isEqualList(Collection<?>, Collection<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
判断两个Collection 是否元素和顺序相同,返回true的条件是: 两个Collection必须长度相同 两个Collection元素相同index的对象必须equals,满足Objects.equals(Object, Object) 此方法来自Apache-Commons-Collections4。
isEqualList(Iterable<?>, Iterable<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
判断两个Iterable 是否元素和顺序相同,返回true的条件是: 两个Iterable必须长度相同 两个Iterable元素相同index的对象必须equals,满足Objects.equals(Object, Object) 此方法来自Apache-Commons-Collections4。
isEquals() - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Returns true if the fields that have been checked are all equal.
isEqualsMethod(Method) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
是否为equals方法
isExpired(Date, DateField, int, Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
已过时。
此方法存在一定的歧义,容易产生误导,废弃。
isExpired(Date, Date, Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
已过时。
使用isIn方法
isFalse(boolean, Supplier<X>) - 类 中的静态方法cn.hutool.core.lang.Assert
断言是否为假,如果为 true 抛出指定类型异常
并使用指定的函数获取错误信息返回
  Assert.isFalse(i > 0, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
isFalse(boolean, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
断言是否为假,如果为 true 抛出 IllegalArgumentException 异常
 Assert.isFalse(i < 0, "The value must not be negative");
 
isFalse(boolean) - 类 中的静态方法cn.hutool.core.lang.Assert
断言是否为假,如果为 true 抛出 IllegalArgumentException 异常
 Assert.isFalse(i < 0);
 
isFalse(boolean) - 类 中的静态方法cn.hutool.core.lang.Validator
给定值是否不为false
isFalse(Boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
检查 Boolean 值是否为 false BooleanUtil.isFalse(Boolean.TRUE) = false BooleanUtil.isFalse(Boolean.FALSE) = true BooleanUtil.isFalse(null) = false
isFile(Path, boolean) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
判断是否为文件,如果file为null,则返回false
isFile(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
判断是否为文件,如果path为null,则返回false
isFile(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
判断是否为文件,如果file为null,则返回false
isFile() - 类 中的方法cn.hutool.core.net.multipart.UploadFileHeader
Returns true if uploaded data are correctly marked as a file.
isFileSeparator(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
是否为Windows或者Linux(Unix)文件分隔符
Windows平台下分隔符为\,Linux(Unix)为/
isFileURL(URL) - 类 中的静态方法cn.hutool.core.util.URLUtil
提供的URL是否为文件
文件协议包括"file", "vfsfile" 或 "vfs".
isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
判断指定异常是否来自或者包含指定异常
isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>, boolean) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
判断指定异常是否来自或者包含指定异常
isGeneral(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为英文字母 、数字和下划线
isGeneral(CharSequence, int, int) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为给定长度范围的英文字母 、数字和下划线
isGeneral(CharSequence, int) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为给定最小长度的英文字母 、数字和下划线
isGeneralWithChinese(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为中文字、英文字母、数字和下划线
isGreater(BigDecimal, BigDecimal) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较大小,参数1 > 参数2 返回true
isGreaterOrEqual(BigDecimal, BigDecimal) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较大小,参数1 >= 参数2 返回true
isHashCodeMethod(Method) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
是否为hashCode方法
isHex(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为Hex(16进制)字符串
isHexChar(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
是否为16进制规范的字符,判断是否为如下字符 1. 0~9 2. a~f 4.
isHexNumber(String) - 类 中的静态方法cn.hutool.core.util.HexUtil
判断给定字符串是否为16进制数
如果是,需要使用对应数字类型对象的decode方法解码
例如:Integer.decode方法解码int类型的16进制数字
isIn(Date, Date) - 类 中的方法cn.hutool.core.date.DateTime
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
isIn(Date, Date, Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
isInherited(Class<? extends Annotation>) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
是否可以被继承,默认为 false
isInitialize() - 类 中的方法cn.hutool.core.lang.loader.LazyFunLoader
是否已经初始化
isInMemory() - 类 中的方法cn.hutool.core.net.multipart.UploadFile
 
isInnerIP(String) - 类 中的静态方法cn.hutool.core.net.NetUtil
判定是否为内网IP
私有IP:A类 10.0.0.0-10.255.255.255 B类 172.16.0.0-172.31.255.255 C类 192.168.0.0-192.168.255.255 当然,还有127这个网段是环回地址
isInRange(String, String) - 类 中的静态方法cn.hutool.core.net.NetUtil
是否在CIDR规则配置范围内
方法来自:【成都】小邓
isInstanceOf(Class<?>, T) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定对象是否是给定类的实例
 Assert.instanceOf(Foo.class, foo);
 
isInstanceOf(Class<?>, T, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定对象是否是给定类的实例
 Assert.instanceOf(Foo.class, foo, "foo must be an instance of class Foo");
 
isInteger(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
判断String是否是整数
支持10进制
isIpv4(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为IPV4地址
isIpv6(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为IPV6地址
isJarFileURL(URL) - 类 中的静态方法cn.hutool.core.util.URLUtil
提供的URL是否为Jar文件URL 判断依据为file协议且扩展名为.jar
isJarOrZipFile(String) - 类 中的静态方法cn.hutool.core.compiler.JavaFileObjectUtil
是否是jar 或 zip 文件
isJarURL(URL) - 类 中的静态方法cn.hutool.core.util.URLUtil
提供的URL是否为jar包URL 协议包括: "jar", "zip", "vfszip" 或 "wsjar".
isJavaFile(String) - 类 中的静态方法cn.hutool.core.compiler.JavaFileObjectUtil
是否是java文件
isJdkClass(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
是否为JDK中定义的类或接口,判断依据: 1、以java.
isLeapMonth(int, int) - 类 中的静态方法cn.hutool.core.date.chinese.ChineseMonth
当前农历月份是否为闰月
isLeapMonth() - 类 中的方法cn.hutool.core.date.ChineseDate
当前农历月份是否为闰月
isLeapYear() - 类 中的方法cn.hutool.core.date.DateTime
是否闰年
isLeapYear(int) - 类 中的静态方法cn.hutool.core.date.DateUtil
是否闰年
isLess(BigDecimal, BigDecimal) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较大小,参数1 < 参数2 返回true
isLessOrEqual(BigDecimal, BigDecimal) - 类 中的静态方法cn.hutool.core.util.NumberUtil
比较大小,参数1<=参数2 返回true
isLetter(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
判断字符串是否全部为字母组成,包括大写和小写字母和汉字
isLetter(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
判断是否为字母(包括大写字母和小写字母)
字母包括A~Z和a~z CharUtil.isLetter('a') = true CharUtil.isLetter('A') = true CharUtil.isLetter('3') = false CharUtil.isLetter('-') = false CharUtil.isLetter('\n') = false CharUtil.isLetter('©') = false
isLetterLower(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
检查字符是否为小写字母,小写字母指a~z CharUtil.isLetterLower('a') = true CharUtil.isLetterLower('A') = false CharUtil.isLetterLower('3') = false CharUtil.isLetterLower('-') = false CharUtil.isLetterLower('\n') = false CharUtil.isLetterLower('©') = false
isLetterOrNumber(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
是否为字母或数字,包括A~Z、a~z、0~9 CharUtil.isLetterOrNumber('a') = true CharUtil.isLetterOrNumber('A') = true CharUtil.isLetterOrNumber('3') = true CharUtil.isLetterOrNumber('-') = false CharUtil.isLetterOrNumber('\n') = false CharUtil.isLetterOrNumber('©') = false
isLetterUpper(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
判断是否为大写字母,大写字母包括A~Z CharUtil.isLetterUpper('a') = false CharUtil.isLetterUpper('A') = true CharUtil.isLetterUpper('3') = false CharUtil.isLetterUpper('-') = false CharUtil.isLetterUpper('\n') = false CharUtil.isLetterUpper('©') = false
isLoaded() - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
是否已被解析
isLocked() - 类 中的方法cn.hutool.core.comparator.ComparatorChain
是否已经被锁定。
isLong(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
判断字符串是否是Long类型
支持10进制
isLowerCase(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
判断字符串是否全部为小写字母
isLowerCase(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串中的字母是否全部为小写,判断依据如下: 1.
isMac(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为MAC地址
isMaskBitValid(int) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
判断掩码位是否合法
isMaskValid(String) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
判断掩码是否合法
isMatch(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
给定内容是否匹配正则
isMatch(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
给定内容是否匹配正则
isMatchName(Object, String, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
给定的Bean的类名是否匹配指定类名字符串
如果isSimple为false,则只匹配类名而忽略包名,例如:cn.hutool.TestEntity只匹配TestEntity
如果isSimple为true,则匹配包括包名的全类名,例如:cn.hutool.TestEntity匹配cn.hutool.TestEntity
isMatchRegex(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
通过正则表达式验证
isMatchRegex(String, CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
通过正则表达式验证
isMobile(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为手机号码(中国)
isMobile(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
验证是否为手机号码(中国)
isMobileHk(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
验证是否为手机号码(香港)
isMobileMo(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
验证是否为手机号码(澳门)
isMobileTw(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
验证是否为手机号码(台湾)
isModifed(File, long) - 类 中的静态方法cn.hutool.core.io.FileUtil
已过时。
拼写错误,请使用FileUtil.isModified(File, long)
isModified(File, long) - 类 中的静态方法cn.hutool.core.io.FileUtil
判断文件是否被改动
如果文件对象为 null 或者文件不存在,被视为改动
isMoney(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为货币
isMutable() - 类 中的方法cn.hutool.core.date.DateTime
对象是否可变
如果为不可变对象,以下方法将返回新方法: DateTime.offset(DateField, int) DateTime.setField(DateField, int) DateTime.setField(int, int) 如果为不可变对象,DateTime.setTime(long)将抛出异常
isNegative() - 类 中的方法cn.hutool.core.io.unit.DataSize
是否为负数,不包括0
isNormalClass(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
是否为标准的类
这个类必须: 1、非接口 2、非抽象类 3、非Enum枚举 4、非数组 5、非注解 6、非原始类型(int, long等)
isNotBlank(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
字符串是否为非空白,非空白的定义如下: 不为 null 不为空字符串:"" 不为空格、全角空格、制表符、换行符,等不可见字符 例: StrUtil.isNotBlank(null) // false StrUtil.isNotBlank("") // false StrUtil.isNotBlank(" \t\n") // false StrUtil.isNotBlank("abc") // true 注意:该方法与 CharSequenceUtil.isNotEmpty(CharSequence) 的区别是: 该方法会校验空白字符,且性能相对于 CharSequenceUtil.isNotEmpty(CharSequence) 略慢。
isNotEmpty(Object, String...) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
判断Bean是否为非空对象,非空对象表示本身不为null或者含有非null属性的对象
isNotEmpty(Collection<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
集合是否为非空
isNotEmpty(Iterable<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
Iterable是否为空
isNotEmpty(Iterator<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
Iterator是否为空
isNotEmpty(Enumeration<?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
Enumeration是否为空
isNotEmpty(Map<?, ?>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
Map是否为非空
isNotEmpty(Iterable<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
Iterable是否为空
isNotEmpty(Iterator<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
Iterator是否为空
isNotEmpty(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
目录是否为空
isNotEmpty(Object) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为非空
对于String类型判定是否为empty(null 或 "")
isNotEmpty(Map<?, ?>) - 类 中的静态方法cn.hutool.core.map.MapUtil
Map是否为非空
isNotEmpty(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
字符串是否为非空白,非空白的定义如下: 不为 null 不为空字符串:"" 例: StrUtil.isNotEmpty(null) // false StrUtil.isNotEmpty("") // false StrUtil.isNotEmpty(" \t\n") // true StrUtil.isNotEmpty("abc") // true 注意:该方法与 CharSequenceUtil.isNotBlank(CharSequence) 的区别是:该方法不校验空白字符。
isNotEmpty(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
数组是否为非空
isNotEmpty(Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
数组是否为非空
此方法会匹配单一对象,如果此对象为null则返回false
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回true
如果此对象为数组对象,数组长度大于0情况下返回true,否则返回false
isNotEmpty(Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
判断指定对象是否为非空,支持: 1.
isNotEmpty(long[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(int[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(short[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(char[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(byte[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(double[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(float[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(boolean[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
数组是否为非空
isNotNull(Object) - 类 中的静态方法cn.hutool.core.lang.Validator
给定值是否不为null
isNotNull(Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
检查对象是否不为null
isNotPublic(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
指定类是否为非public
isNotPublic(Method) - 类 中的静态方法cn.hutool.core.util.ClassUtil
指定方法是否为非public
isNull(Object, Supplier<X>) - 类 中的静态方法cn.hutool.core.lang.Assert
断言对象是否为null ,如果不为null 抛出指定类型异常 并使用指定的函数获取错误信息返回
 Assert.isNull(value, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
isNull(Object, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
断言对象是否为null ,如果不为null 抛出IllegalArgumentException 异常
 Assert.isNull(value, "The value must be null");
 
isNull(Object) - 类 中的静态方法cn.hutool.core.lang.Assert
断言对象是否为null ,如果不为null 抛出IllegalArgumentException 异常
 Assert.isNull(value);
 
isNull(Object) - 类 中的静态方法cn.hutool.core.lang.Validator
给定值是否为null
isNull(Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
检查对象是否为null
判断标准为: 1. == null 2. equals(null)
isNullOrUndefined(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
检查字符串是否为null、“null”、“undefined”
isNumber(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证该字符串是否是数字
isNumber(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
检查是否为数字字符,数字字符指0~9 CharUtil.isNumber('a') = false CharUtil.isNumber('A') = false CharUtil.isNumber('3') = true CharUtil.isNumber('-') = false CharUtil.isNumber('\n') = false CharUtil.isNumber('©') = false
isNumber(CharSequence) - 类 中的静态方法cn.hutool.core.util.NumberUtil
是否为数字,支持包括: 1、10进制 2、16进制数字(0x开头) 3、科学计数法形式(1234E3) 4、类型标识形式(123D) 5、正负数标识形式(+123、-234)
isNumeric(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
检查字符串是否都为数字组成
ISO8601_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
ISO8601日期时间格式,精确到毫秒 FastDateFormat:yyyy-MM-dd HH:mm:ss,SSS
ISO8601_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy-MM-dd HH:mm:ss,SSS
ISO8601_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
ISO8601日期时间格式,精确到毫秒:yyyy-MM-dd HH:mm:ss,SSS
ISO8859_1_ESCAPE - 类 中的静态变量cn.hutool.core.text.escape.Html4Escape
 
ISO8859_1_UNESCAPE - 类 中的静态变量cn.hutool.core.text.escape.Html4Unescape
 
ISO_8859_1 - 类 中的静态变量cn.hutool.core.util.CharsetUtil
ISO-8859-1
isOnlyCopyFile() - 类 中的方法cn.hutool.core.io.file.FileCopier
当拷贝来源是目录时是否只拷贝文件而忽略子目录
isOpen(InetSocketAddress, int) - 类 中的静态方法cn.hutool.core.net.NetUtil
检查远程端口是否开启
isOverride() - 类 中的方法cn.hutool.core.io.file.FileCopier
是否覆盖目标文件
isPhone(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
验证是否为座机号码+手机号码(CharUtil中国)+ 400 + 800电话 + 手机号号码(香港)
isPlateNumber(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为中国车牌号
isPM(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
是否为下午
isPM() - 类 中的方法cn.hutool.core.date.DateTime
是否为下午
isPM(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
是否为下午
isPowerOfTwo(long) - 类 中的静态方法cn.hutool.core.util.NumberUtil
判断一个整数是否是2的幂
isPresent() - 类 中的方法cn.hutool.core.lang.Opt
判断包裹里元素的值是否存在,存在为 true,否则为false
isPresent(String) - 类 中的静态方法cn.hutool.core.util.ClassLoaderUtil
指定类是否被提供,使用默认ClassLoader
通过调用ClassLoaderUtil.loadClass(String, ClassLoader, boolean)方法尝试加载指定类名的类,如果加载失败返回false
加载失败的原因可能是此类不存在或其关联引用类不存在
isPresent(String, ClassLoader) - 类 中的静态方法cn.hutool.core.util.ClassLoaderUtil
指定类是否被提供
通过调用ClassLoaderUtil.loadClass(String, ClassLoader, boolean)方法尝试加载指定类名的类,如果加载失败返回false
加载失败的原因可能是此类不存在或其关联引用类不存在
isPrimes(int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
是否是质数(素数)
质数表的质数又称素数。
isPrimitiveWrapper(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
是否为包装类型
isPublic(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
指定类是否为Public
isPublic(Method) - 类 中的静态方法cn.hutool.core.util.ClassUtil
指定方法是否为Public
isPublic(Field) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否是Public字段
isPublic(Method) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否是Public方法
isPublic(Class<?>) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否是Public类
isPublic(Constructor<?>) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否是Public构造
isReadable(boolean) - 类 中的方法cn.hutool.core.bean.PropDesc
检查属性是否可读(即是否可以通过PropDesc.getValue(Object)获取到值)
isReadableBean(Class<?>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
判断是否为可读的Bean对象,判定方法是: 1、是否存在只有无参数的getXXX方法或者isXXX方法 2、是否存在public类型的字段
isRunning() - 类 中的方法cn.hutool.core.date.StopWatch
检查是否有正在运行的任务
isSameDay(Calendar, Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
比较两个日期是否为同一天
isSameDay(Date, Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
比较两个日期是否为同一天
isSameInstant(Calendar, Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
检查两个Calendar时间戳是否相同。
isSameMonth(Calendar, Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
比较两个日期是否为同一月
isSameMonth(Date, Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
比较两个日期是否为同一月
isSameTime(Date, Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
是否为相同时间
此方法比较两个日期的时间戳是否相同
isShutdown() - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
isSimpleTypeOrArray(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
是否简单值类型或简单值类型的数组
包括:原始类型,、String、other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class及其数组
isSimpleValueType(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
是否为简单值类型
包括: 原始类型 String、other CharSequence Number Date URI URL Locale Class
isSorted(T[], Comparator<? super T>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
检查数组是否有序,即comparator.compare(array[i], array[i + 1]) <= 0,若传入空数组或空比较器,则返回false
isSorted(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
检查数组是否升序,即array[i].compareTo(array[i + 1]) <= 0,若传入空数组,则返回false
isSorted(byte[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSorted(short[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSorted(char[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSorted(int[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSorted(long[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSorted(double[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSorted(float[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSortedASC(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
检查数组是否升序,即array[i].compareTo(array[i + 1]) <= 0,若传入空数组,则返回false
isSortedASC(byte[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSortedASC(short[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSortedASC(char[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSortedASC(int[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSortedASC(long[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSortedASC(double[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSortedASC(float[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1],若传入空数组,则返回false
isSortedDESC(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
检查数组是否降序,即array[i].compareTo(array[i + 1]) >= 0,若传入空数组,则返回false
isSortedDESC(byte[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
isSortedDESC(short[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
isSortedDESC(char[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
isSortedDESC(int[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
isSortedDESC(long[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
isSortedDESC(double[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
isSortedDESC(float[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1],若传入空数组,则返回false
isStarted() - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
 
isStatic(Method) - 类 中的静态方法cn.hutool.core.util.ClassUtil
是否为静态方法
isStatic(Field) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否是static字段
isStatic(Method) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否是static方法
isStatic(Class<?>) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否是static类
isSub(Path, Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
判断给定的目录是否为给定文件或文件夹的子目录
isSub(File, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
判断给定的目录是否为给定文件或文件夹的子目录
isSub(T[], T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
查找子数组的位置
isSubEquals(CharSequence, int, CharSequence, int, int, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
截取两个字符串的不同部分(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
isSurround(CharSequence, CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串是否被字符包围
isSurround(CharSequence, char, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串是否被字符包围
isSymlink(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
判断是否为符号链接文件
isSymlink(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
判断是否为符号链接文件
isSynthetic(Field) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否是合成字段(由java编译器生成的)
isSynthetic(Method) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否是合成方法(由java编译器生成的)
isSynthetic(Class<?>) - 类 中的静态方法cn.hutool.core.util.ModifierUtil
是否是合成类(由java编译器生成的)
isTel(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
验证是否为座机号码(中国)
isTel400800(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
验证是否为座机号码(中国)+ 400 + 800
isTerminated() - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
isTopLevelClass(Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
是否为顶层类,即定义在包中的类,而非定义在类中的内部类
isToStringMethod(Method) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
是否为toString方法
isTransientSupport() - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
isTrue(boolean, Supplier<? extends X>) - 类 中的静态方法cn.hutool.core.lang.Assert
断言是否为真,如果为 false 抛出给定的异常
 Assert.isTrue(i > 0, IllegalArgumentException::new);
 
isTrue(boolean, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
断言是否为真,如果为 false 抛出 IllegalArgumentException 异常
 Assert.isTrue(i > 0, "The value must be greater than zero");
 
isTrue(boolean) - 类 中的静态方法cn.hutool.core.lang.Assert
断言是否为真,如果为 false 抛出 IllegalArgumentException 异常
 Assert.isTrue(i > 0);
 
isTrue(boolean) - 类 中的静态方法cn.hutool.core.lang.Validator
给定值是否为true
isTrue(Boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
检查 Boolean 值是否为 true BooleanUtil.isTrue(Boolean.TRUE) = true BooleanUtil.isTrue(Boolean.FALSE) = false BooleanUtil.isTrue(null) = false
isType(String, String...) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
根据文件名检查文件类型,忽略大小写
isUnknown(String) - 类 中的静态方法cn.hutool.core.net.NetUtil
检测给定字符串是否为未知,多用于检测HTTP请求相关
isUnknown(Type) - 类 中的静态方法cn.hutool.core.util.TypeUtil
是否未知类型
type为null或者TypeVariable 都视为未知类型
isUploaded() - 类 中的方法cn.hutool.core.net.multipart.UploadFile
 
isUpperCase(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
判断字符串是否全部为大写字母
isUpperCase(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串中的字母是否全部为大写,判断依据如下: 1.
isUrl(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为URL
isUsableLocalPort(int) - 类 中的静态方法cn.hutool.core.net.NetUtil
检测本地端口可用性
来自org.springframework.util.SocketUtils
isUUID(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
isValid(String) - 类 中的静态方法cn.hutool.core.lang.ObjectId
给定的字符串是否为有效的ObjectId
isValid(double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
检查是否为有效的数字
检查double否为无限大,或者Not a Number(NaN)
isValid(float) - 类 中的静态方法cn.hutool.core.util.NumberUtil
检查是否为有效的数字
检查double否为无限大,或者Not a Number(NaN)
isValidCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
是否有效身份证号,忽略X的大小写
isValidCard10(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
验证10位身份编码是否合法
isValidCard15(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
验证15位身份编码是否合法
isValidCard18(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
判断18位身份证的合法性 根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。
isValidCard18(String, boolean) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
判断18位身份证的合法性 根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。
isValidHKCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
验证香港身份证号码(存在Bug,部份特殊身份证无法检查) 身份证前2位为英文字符,如果只出现一个英文字符则表示第一位是空格,对应数字58 前2位英文字符A-Z分别对应数字10-35 最后一位校验码为0-9的数字加上字符"A","A"代表10 将身份证号码全部转换为数字,分别对应乘9-1相加的总和,整除11则证件号码有效
isValidIfNumber(Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回true
isValidLine(String) - 类 中的方法cn.hutool.core.collection.LineIter
重写此方法来判断是否每一行都被返回,默认全部为true
isValidNumber(Number) - 类 中的静态方法cn.hutool.core.util.NumberUtil
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回true
isValidPort(int) - 类 中的静态方法cn.hutool.core.net.NetUtil
是否为有效的端口
此方法并不检查端口是否被占用
isValidTWCard(String) - 类 中的静态方法cn.hutool.core.util.IdcardUtil
验证台湾身份证号码
isWeekend() - 类 中的方法cn.hutool.core.date.DateTime
是否为周末,周末指周六或者周日
isWeekend(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
是否为周末(周六或周日)
isWeekend(LocalDateTime) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
是否为周末(周六或周日)
isWeekend(LocalDate) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
是否为周末(周六或周日)
isWindows() - 类 中的静态方法cn.hutool.core.io.FileUtil
是否为Windows环境
isWord(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证该字符串是否是字母(包括大写和小写字母)
isWrap(CharSequence, String, String) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定字符串是否被包装
isWrap(CharSequence, String) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定字符串是否被同一字符包装(前后都有这些字符串)
isWrap(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定字符串是否被同一字符包装(前后都有这些字符串)
isWrap(CharSequence, char, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定字符串是否被包装
isWritable(boolean) - 类 中的方法cn.hutool.core.bean.PropDesc
检查属性是否可读(即是否可以通过PropDesc.getValue(Object)获取到值)
isZipCode(CharSequence) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为邮政编码(中国)
items() - 接口 中的方法cn.hutool.core.lang.EnumItem
获取所有枚举对象
IterableIter<T> - cn.hutool.core.collection中的接口
提供合成接口,共同提供IterableIterator功能
iterator() - 类 中的方法cn.hutool.core.collection.BoundedPriorityQueue
 
iterator() - 类 中的方法cn.hutool.core.collection.ConcurrentHashSet
 
iterator() - 接口 中的方法cn.hutool.core.collection.IterableIter
 
iterator() - 类 中的方法cn.hutool.core.collection.IterChain
 
iterator - 类 中的变量cn.hutool.core.collection.PartitionIter
被分批的迭代器
iterator() - 类 中的方法cn.hutool.core.collection.TransCollection
 
iterator() - 类 中的方法cn.hutool.core.comparator.ComparatorChain
 
iterator() - 类 中的方法cn.hutool.core.io.resource.MultiResource
 
iterator() - 类 中的方法cn.hutool.core.io.watch.watchers.WatcherChain
 
iterator() - 类 中的方法cn.hutool.core.lang.Range
 
iterator() - 类 中的方法cn.hutool.core.lang.SimpleCache
 
iterator() - 类 中的方法cn.hutool.core.lang.Tuple
 
iterator() - 类 中的方法cn.hutool.core.map.MapWrapper
 
iterator() - 类 中的方法cn.hutool.core.map.TableMap
 
iterator() - 类 中的方法cn.hutool.core.text.csv.CsvData
 
iterator() - 类 中的方法cn.hutool.core.text.csv.CsvReader
 
iterator() - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
iterator() - 类 中的方法cn.hutool.core.text.replacer.ReplacerChain
 
IteratorEnumeration<E> - cn.hutool.core.collection中的类
IteratorEnumeration(Iterator<E>) - 类 的构造器cn.hutool.core.collection.IteratorEnumeration
构造
IterChain<T> - cn.hutool.core.collection中的类
组合Iterator,将多个Iterator组合在一起,便于集中遍历。
IterChain() - 类 的构造器cn.hutool.core.collection.IterChain
构造 可以使用 IterChain.addChain(Iterator) 方法加入更多的集合。
IterChain(Iterator<T>...) - 类 的构造器cn.hutool.core.collection.IterChain
构造
IterUtil - cn.hutool.core.collection中的类
IterableIterator 相关工具类
IterUtil() - 类 的构造器cn.hutool.core.collection.IterUtil
 
iw - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
ix - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
iy - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 

J

JAR_FILE_EXT - 类 中的静态变量cn.hutool.core.io.FileUtil
Jar文件扩展名
JAR_PATH_EXT - 类 中的静态变量cn.hutool.core.io.FileUtil
在Jar中的路径jar的扩展名形式
JAR_URL_PREFIX - 类 中的静态变量cn.hutool.core.util.URLUtil
URL 前缀表示jar: "jar:"
JAR_URL_SEPARATOR - 类 中的静态变量cn.hutool.core.util.URLUtil
Jar路径以及内部文件路径的分界符: "!
JarClassLoader - cn.hutool.core.lang中的类
外部Jar的类加载器
JarClassLoader() - 类 的构造器cn.hutool.core.lang.JarClassLoader
构造
JarClassLoader(URL[]) - 类 的构造器cn.hutool.core.lang.JarClassLoader
构造
javaDefaultHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
JAVA自己带的算法
JavaFileObjectUtil - cn.hutool.core.compiler中的类
JavaFileObject 相关工具类封装
JavaFileObjectUtil() - 类 的构造器cn.hutool.core.compiler.JavaFileObjectUtil
 
JavaSourceCompiler - cn.hutool.core.compiler中的类
Java 源码编译器 通过此类可以动态编译java源码,并加载到ClassLoader,从而动态获取加载的类。
JAXBUtil - cn.hutool.core.util中的类
JAXB(Java Architecture for XML Binding),根据XML Schema产生Java对象,即实现xml和Bean互转。
JAXBUtil() - 类 的构造器cn.hutool.core.util.JAXBUtil
 
JDK_DATETIME_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
JDK中日期时间格式 FastDateFormat:EEE MMM dd HH:mm:ss zzz yyyy
JDK_DATETIME_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
JDK中日期时间格式:EEE MMM dd HH:mm:ss zzz yyyy
JdkStringInterner - cn.hutool.core.lang.intern中的类
JDK中默认的字符串规范化实现
JdkStringInterner() - 类 的构造器cn.hutool.core.lang.intern.JdkStringInterner
 
JNDIUtil - cn.hutool.core.util中的类
JNDI工具类
JNDI是Java Naming and Directory Interface(JAVA命名和目录接口)的英文简写,
它是为JAVA应用程序提供命名和目录访问服务的API(Application Programing Interface,应用程序编程接口)。
JNDIUtil() - 类 的构造器cn.hutool.core.util.JNDIUtil
 
join(Iterable<T>, CharSequence, Function<T, ? extends CharSequence>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
以 conjunction 为分隔符将集合转换为字符串
join(Iterable<T>, CharSequence) - 类 中的静态方法cn.hutool.core.collection.CollUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(Iterable<T>, CharSequence, String, String) - 类 中的静态方法cn.hutool.core.collection.CollUtil
以 conjunction 为分隔符将集合转换为字符串
join(Iterator<T>, CharSequence) - 类 中的静态方法cn.hutool.core.collection.CollUtil
已过时。
请使用IterUtil#join(Iterator, CharSequence)
join(Iterator<T>, CharSequence) - 类 中的静态方法cn.hutool.core.collection.IterUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(Iterator<T>, CharSequence, String, String) - 类 中的静态方法cn.hutool.core.collection.IterUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(Iterator<T>, CharSequence, Function<T, ? extends CharSequence>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(String, String) - 类 中的方法cn.hutool.core.map.MapBuilder
将map转成字符串
join(String, String, boolean) - 类 中的方法cn.hutool.core.map.MapBuilder
将map转成字符串
join(Map<K, V>, String, String, String...) - 类 中的静态方法cn.hutool.core.map.MapUtil
将map转成字符串
join(Map<K, V>, String, String, boolean, String...) - 类 中的静态方法cn.hutool.core.map.MapUtil
将map转成字符串
join(Stream<T>, CharSequence) - 类 中的静态方法cn.hutool.core.stream.StreamUtil
将Stream中所有元素以指定分隔符,合并为一个字符串,对象默认调用toString方法
join(Stream<T>, CharSequence, Function<T, ? extends CharSequence>) - 类 中的静态方法cn.hutool.core.stream.StreamUtil
将Stream中所有元素以指定分隔符,合并为一个字符串
join(CharSequence, Object...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
以 conjunction 为分隔符将多个对象转换为字符串
join(CharSequence, Iterable<T>) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
以 conjunction 为分隔符将多个对象转换为字符串
join(T[], CharSequence) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(T[], CharSequence, String, String) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(T[], CharSequence, Editor<T>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(Object, CharSequence) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(int[], CharSequence) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
已过时。
join(long[], CharSequence) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
已过时。
join(short[], CharSequence) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
已过时。
join(char[], CharSequence) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
已过时。
join(byte[], CharSequence) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
已过时。
join(boolean[], CharSequence) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
已过时。
join(float[], CharSequence) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
已过时。
join(double[], CharSequence) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
已过时。
joinIgnoreNull(String, String) - 类 中的方法cn.hutool.core.map.MapBuilder
将map转成字符串
joinIgnoreNull(Map<K, V>, String, String, String...) - 类 中的静态方法cn.hutool.core.map.MapUtil
将map转成字符串,忽略null的键和值
joining(CharSequence) - 类 中的静态方法cn.hutool.core.stream.CollectorUtil
提供任意对象的Join操作的Collector实现,对象默认调用toString方法
joining(CharSequence, Function<T, ? extends CharSequence>) - 类 中的静态方法cn.hutool.core.stream.CollectorUtil
提供任意对象的Join操作的Collector实现
joining(CharSequence, CharSequence, CharSequence, Function<T, ? extends CharSequence>) - 类 中的静态方法cn.hutool.core.stream.CollectorUtil
提供任意对象的Join操作的Collector实现
jsHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
JS算法

K

keyClick(int...) - 类 中的静态方法cn.hutool.core.swing.RobotUtil
模拟键盘点击
包括键盘的按下和释放
keyLockMap - 类 中的变量cn.hutool.core.lang.SimpleCache
写的时候每个key一把锁,降低锁的粒度
keyPressString(String) - 类 中的静态方法cn.hutool.core.swing.RobotUtil
打印输出指定字符串(借助剪贴板)
keyPressWithAlt(int) - 类 中的静态方法cn.hutool.core.swing.RobotUtil
alt+ 按键
keyPressWithCtrl(int) - 类 中的静态方法cn.hutool.core.swing.RobotUtil
ctrl+ 按键
keyPressWithShift(int) - 类 中的静态方法cn.hutool.core.swing.RobotUtil
shift+ 按键
keySet(Collection<Map<K, ?>>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取指定Map列表中所有的Key
keySet() - 类 中的方法cn.hutool.core.map.MapProxy
 
keySet() - 类 中的方法cn.hutool.core.map.MapWrapper
 
keySet() - 类 中的方法cn.hutool.core.map.TableMap
 

L

LambdaUtil - cn.hutool.core.lang.func中的类
Lambda相关工具类
LambdaUtil() - 类 的构造器cn.hutool.core.lang.func.LambdaUtil
 
lastBgColor - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
lastDispose - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
lastHeader - 类 中的变量cn.hutool.core.net.multipart.MultipartRequestInputStream
 
lastImage - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
lastIndexOf(Collection<T>, Matcher<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取匹配规则定义中匹配到元素的最后位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
lastIndexOf(List<T>, Matcher<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
获取匹配规则定义中匹配到元素的最后位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
lastIndexOf(CharSequence, CharSequence, int, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定范围内查找字符串
fromIndex 为搜索起始位置,从后往前计数
lastIndexOf(Object) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
lastIndexOf(T[], Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(T[], Object, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(long[], long) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(int[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(short[], short) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(char[], char) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(byte[], byte) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(double[], double) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(float[], float) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(boolean[], boolean) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
返回数组中指定元素所在最后的位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(String, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
找到指定正则匹配到第一个字符串的位置
lastIndexOf(Pattern, CharSequence) - 类 中的静态方法cn.hutool.core.util.ReUtil
找到指定模式匹配到最后一个字符串的位置
lastIndexOfIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定范围内查找字符串,忽略大小写
lastIndexOfIgnoreCase(CharSequence, CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
指定范围内查找字符串,忽略大小写
fromIndex 为搜索起始位置,从后往前计数
lastIndexOfSeparator(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得最后一个文件路径分隔符的位置
lastIndexOfSub(T[], T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
查找最后一个子数组的开始位置
lastIndexOfSub(T[], int, T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
查找最后一个子数组的开始位置
lastModifiedTime(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
指定文件最后修改时间
lastModifiedTime(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
指定路径文件最后修改时间
lastMonth() - 类 中的静态方法cn.hutool.core.date.DateUtil
上个月
lastRect - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
lastWeek() - 类 中的静态方法cn.hutool.core.date.DateUtil
上周
LazyFunLoader<T> - cn.hutool.core.lang.loader中的类
函数式懒加载加载器
传入用于生成对象的函数,在对象需要使用时调用生成对象,然后抛弃此生成对象的函数。
LazyFunLoader(Supplier<T>) - 类 的构造器cn.hutool.core.lang.loader.LazyFunLoader
构造
LazyLoader<T> - cn.hutool.core.lang.loader中的类
懒加载加载器
在load方法被调用前,对象未被加载,直到被调用后才开始加载
此加载器常用于对象比较庞大而不一定被使用的情况,用于减少启动时资源占用问题
此加载器使用双重检查(Double-Check)方式检查对象是否被加载,避免多线程下重复加载或加载丢失问题
LazyLoader() - 类 的构造器cn.hutool.core.lang.loader.LazyLoader
 
lct - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
lctFlag - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
lctSize - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
leapDays(int) - 类 中的静态方法cn.hutool.core.date.chinese.LunarInfo
传回农历 y年闰月的天数
leapMonth(int) - 类 中的静态方法cn.hutool.core.date.chinese.LunarInfo
传回农历 y年闰哪个月 1-12 , 没闰传回 0
learn() - 类 中的方法cn.hutool.core.img.gif.NeuQuant
 
length() - 接口 中的方法cn.hutool.core.lang.Segment
片段长度,默认计算方法为abs(Segment.getEndIndex() - Segment.getEndIndex())
length(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
获取字符串的长度,如果为null返回0
length() - 类 中的方法cn.hutool.core.text.StrBuilder
 
length(Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
获取数组长度
如果参数为null,返回0 ArrayUtil.length(null) = 0 ArrayUtil.length([]) = 0 ArrayUtil.length([null]) = 1 ArrayUtil.length([true, false]) = 2 ArrayUtil.length([1, 2, 3]) = 3 ArrayUtil.length(["a", "b", "c"]) = 3
length(Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
计算对象长度,如果是字符串调用其length函数,集合类调用其size函数,数组调用其length属性,其他可遍历对象遍历计算长度
支持的类型包括: CharSequence Map Iterator Enumeration Array
lengthcount - 类 中的变量cn.hutool.core.img.gif.NeuQuant
 
LengthFinder - cn.hutool.core.text.finder中的类
固定长度查找器
LengthFinder(int) - 类 的构造器cn.hutool.core.text.finder.LengthFinder
构造
lengthOfMonth(int, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定月份的总天数
lengthOfYear(int) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定年份的总天数
LF - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:换行符 '\n'
LF - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:换行符 "\n"
likeValueOf(Class<E>, Object) - 类 中的静态方法cn.hutool.core.util.EnumUtil
模糊匹配转换为枚举,给定一个值,匹配枚举中定义的所有字段名(包括name属性),一旦匹配到返回这个枚举对象,否则返回null
lineDelimiter - 类 中的变量cn.hutool.core.text.csv.CsvWriteConfig
换行符
lineEnd(ByteBuffer) - 类 中的静态方法cn.hutool.core.io.BufferUtil
一行的末尾位置,查找位置时位移ByteBuffer到结束位置
lineEnd(ByteBuffer, int) - 类 中的静态方法cn.hutool.core.io.BufferUtil
一行的末尾位置,查找位置时位移ByteBuffer到结束位置
支持的换行符如下: 1.
LineHandler - cn.hutool.core.io中的接口
行处理器
LineIter - cn.hutool.core.collection中的类
将Reader包装为一个按照行读取的Iterator
此对象遍历结束后,应关闭之,推荐使用方式: LineIterator it = null; try { it = new LineIterator(reader); while (it.hasNext()) { String line = it.nextLine(); // do something with line } } finally { it.close(); } 此类来自于Apache Commons io
LineIter(InputStream, Charset) - 类 的构造器cn.hutool.core.collection.LineIter
构造
LineIter(Reader) - 类 的构造器cn.hutool.core.collection.LineIter
构造
lineIter(Reader) - 类 中的静态方法cn.hutool.core.io.IoUtil
返回行遍历器 LineIterator it = null; try { it = IoUtil.lineIter(reader); while (it.hasNext()) { String line = it.nextLine(); // do something with line } } finally { it.close(); }
lineIter(InputStream, Charset) - 类 中的静态方法cn.hutool.core.io.IoUtil
返回行遍历器 LineIterator it = null; try { it = IoUtil.lineIter(in, CharsetUtil.CHARSET_UTF_8); while (it.hasNext()) { String line = it.nextLine(); // do something with line } } finally { it.close(); }
lineNumber() - 类 中的静态方法cn.hutool.core.lang.Console
返回当前行号 (不支持Lambda、内部类、递归内使用)
LineReadWatcher - cn.hutool.core.io.file中的类
行处理的Watcher实现
LineReadWatcher(RandomAccessFile, Charset, LineHandler) - 类 的构造器cn.hutool.core.io.file.LineReadWatcher
构造
LineSeparator - cn.hutool.core.io.file中的枚举
换行符枚举
换行符包括: Mac系统换行符:"\r" Linux系统换行符:"\n" Windows系统换行符:"\r\n"
list(boolean) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个空List
list(boolean, T...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个List
list(boolean, Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个List
list(boolean, Iterable<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个List
提供的参数为null时返回空ArrayList
list(boolean, Iterator<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
list(boolean, Enumeration<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个List
提供的参数为null时返回空ArrayList
list(boolean) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个空List
list(boolean, T...) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个List
list(boolean, Collection<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个List
list(boolean, Iterable<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个List
提供的参数为null时返回空ArrayList
list(boolean, Iterator<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个List
提供的参数为null时返回空ArrayList
list(boolean, Enumeration<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个List
提供的参数为null时返回空ArrayList
list - 类 中的变量cn.hutool.core.collection.Partition
 
list(String, boolean) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
智能转换IP地址集合
list(String, int, boolean) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
根据IP地址、子网掩码获取IP地址区间
list(String, String) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
得到IP地址区间
listen(boolean) - 枚举 中的方法cn.hutool.core.swing.clipboard.ClipboardMonitor
开始监听
listen(ClipboardListener) - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
监听剪贴板修改事件
listen(ClipboardListener, boolean) - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
监听剪贴板修改事件
listen(int, long, ClipboardListener, boolean) - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
监听剪贴板修改事件
listFileNames(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得指定目录下所有文件
不会扫描子目录
listFileNames(ZipFile, String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
获取Zip文件中指定目录下的所有文件,只显示文件,不显示目录
listIterator() - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
listIterator(int) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
ListTypeGetter - cn.hutool.core.getter中的接口
列表类型的Get接口
ListUtil - cn.hutool.core.collection中的类
List相关工具类
ListUtil() - 类 的构造器cn.hutool.core.collection.ListUtil
 
ListValueMap<K,V> - cn.hutool.core.map.multi中的类
值作为集合List的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
ListValueMap() - 类 的构造器cn.hutool.core.map.multi.ListValueMap
构造
ListValueMap(int) - 类 的构造器cn.hutool.core.map.multi.ListValueMap
构造
ListValueMap(Map<? extends K, ? extends Collection<V>>) - 类 的构造器cn.hutool.core.map.multi.ListValueMap
构造
ListValueMap(float, Map<? extends K, ? extends Collection<V>>) - 类 的构造器cn.hutool.core.map.multi.ListValueMap
构造
ListValueMap(int, float) - 类 的构造器cn.hutool.core.map.multi.ListValueMap
构造
load(String, String, FileReader.ReaderHandler<T>) - 类 中的静态方法cn.hutool.core.io.FileUtil
按照给定的readerHandler读取文件中的数据
load(String, Charset, FileReader.ReaderHandler<T>) - 类 中的静态方法cn.hutool.core.io.FileUtil
按照给定的readerHandler读取文件中的数据
load(File, Charset, FileReader.ReaderHandler<T>) - 类 中的静态方法cn.hutool.core.io.FileUtil
按照给定的readerHandler读取文件中的数据
load(File) - 类 中的静态方法cn.hutool.core.lang.JarClassLoader
加载Jar到ClassPath
load(Class<T>) - 类 中的静态方法cn.hutool.core.util.ServiceLoaderUtil
加载服务
load(Class<T>, ClassLoader) - 类 中的静态方法cn.hutool.core.util.ServiceLoaderUtil
加载服务
loadClass(String) - 类 中的静态方法cn.hutool.core.util.ClassLoaderUtil
加载类,通过传入类的字符串,返回其对应的类名,使用默认ClassLoader并初始化类(调用static模块内容和初始化static属性)
扩展Class.forName(String, boolean, ClassLoader)方法,支持以下几类类名的加载: 1、原始类型,例如:int 2、数组类型,例如:int[]、Long[]、String[] 3、内部类,例如:java.lang.Thread.State会被转为java.lang.Thread$State加载
loadClass(String, boolean) - 类 中的静态方法cn.hutool.core.util.ClassLoaderUtil
加载类,通过传入类的字符串,返回其对应的类名,使用默认ClassLoader
扩展Class.forName(String, boolean, ClassLoader)方法,支持以下几类类名的加载: 1、原始类型,例如:int 2、数组类型,例如:int[]、Long[]、String[] 3、内部类,例如:java.lang.Thread.State会被转为java.lang.Thread$State加载
loadClass(String, ClassLoader, boolean) - 类 中的静态方法cn.hutool.core.util.ClassLoaderUtil
加载类,通过传入类的字符串,返回其对应的类名
此方法支持缓存,第一次被加载的类之后会读取缓存中的类
加载失败的原因可能是此类不存在或其关联引用类不存在
扩展Class.forName(String, boolean, ClassLoader)方法,支持以下几类类名的加载: 1、原始类型,例如:int 2、数组类型,例如:int[]、Long[]、String[] 3、内部类,例如:java.lang.Thread.State会被转为java.lang.Thread$State加载
loadClass(File, String) - 类 中的静态方法cn.hutool.core.util.ClassLoaderUtil
加载外部类
loadClass(String, boolean) - 类 中的静态方法cn.hutool.core.util.ClassUtil
加载类
loadClass(String) - 类 中的静态方法cn.hutool.core.util.ClassUtil
加载类并初始化
Loader<T> - cn.hutool.core.lang.loader中的接口
对象加载抽象接口
通过实现此接口自定义实现对象的加载方式,例如懒加载机制、多线程加载等
loadFirst(Class<T>) - 类 中的静态方法cn.hutool.core.util.ServiceLoaderUtil
加载第一个服务,如果用户定义了多个接口实现类,只获取第一个。
loadFirstAvailable(Class<T>) - 类 中的静态方法cn.hutool.core.util.ServiceLoaderUtil
loadJar(File) - 类 中的静态方法cn.hutool.core.lang.JarClassLoader
加载Jar到ClassPath
loadJar(URLClassLoader, File) - 类 中的静态方法cn.hutool.core.lang.JarClassLoader
加载Jar文件到指定loader中
loadJarToSystemClassLoader(File) - 类 中的静态方法cn.hutool.core.lang.JarClassLoader
加载Jar文件到System ClassLoader中
loadList(Class<T>) - 类 中的静态方法cn.hutool.core.util.ServiceLoaderUtil
加载服务 并已list列表返回
loadList(Class<T>, ClassLoader) - 类 中的静态方法cn.hutool.core.util.ServiceLoaderUtil
加载服务 并已list列表返回
loadPrimitiveClass(String) - 类 中的静态方法cn.hutool.core.util.ClassLoaderUtil
加载原始类型的类。
loadUtf8(String, FileReader.ReaderHandler<T>) - 类 中的静态方法cn.hutool.core.io.FileUtil
按照给定的readerHandler读取文件中的数据
loadUtf8(File, FileReader.ReaderHandler<T>) - 类 中的静态方法cn.hutool.core.io.FileUtil
按照给定的readerHandler读取文件中的数据
LOCAL_IP - 类 中的静态变量cn.hutool.core.net.NetUtil
 
localAddressList(Filter<InetAddress>) - 类 中的静态方法cn.hutool.core.net.NetUtil
获取所有满足过滤条件的本地IP地址对象
LocalDateTimeUtil - cn.hutool.core.date中的类
JDK8+中的LocalDateTime 工具类封装
LocalDateTimeUtil() - 类 的构造器cn.hutool.core.date.LocalDateTimeUtil
 
locale - 类 中的变量cn.hutool.core.date.format.AbstractDateBasic
The locale.
LocaleConverter - cn.hutool.core.convert.impl中的类
Locale对象转换器
只提供String转换支持
LocaleConverter() - 类 的构造器cn.hutool.core.convert.impl.LocaleConverter
 
localhostName - 类 中的静态变量cn.hutool.core.net.NetUtil
 
localIps() - 类 中的静态方法cn.hutool.core.net.NetUtil
获得本机的IP地址列表(包括Ipv4和Ipv6)
返回的IP列表有序,按照系统设备顺序
localIpv4s() - 类 中的静态方法cn.hutool.core.net.NetUtil
获得本机的IPv4地址列表
返回的IP列表有序,按照系统设备顺序
localIpv6s() - 类 中的静态方法cn.hutool.core.net.NetUtil
获得本机的IPv6地址列表
返回的IP列表有序,按照系统设备顺序
LocalPortGenerater - cn.hutool.core.net中的类
本地端口生成器
用于生成本地可用(未被占用)的端口号
注意:多线程甚至单线程访问时可能会返回同一端口(例如获取了端口但是没有使用)
LocalPortGenerater(int) - 类 的构造器cn.hutool.core.net.LocalPortGenerater
构造
lock() - 类 中的方法cn.hutool.core.thread.lock.NoLock
 
lockInterruptibly() - 类 中的方法cn.hutool.core.thread.lock.NoLock
 
LockUtil - cn.hutool.core.thread.lock中的类
锁相关工具
LockUtil() - 类 的构造器cn.hutool.core.thread.lock.LockUtil
 
log() - 类 中的静态方法cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
log(Object) - 类 中的静态方法cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
如果传入打印对象为Throwable对象,那么同时打印堆栈
log(Object, Object...) - 类 中的静态方法cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
如果传入打印对象为Throwable对象,那么同时打印堆栈
log(String, Object...) - 类 中的静态方法cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
当传入template无"{}"时,被认为非模板,直接打印多个参数以空格分隔
log(Throwable, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
LONG - 类 中的静态变量cn.hutool.core.date.format.FastDateFormat
LONG locale dependent date or time style.
longestCommonSubstring(String, String) - 类 中的静态方法cn.hutool.core.text.TextSimilarity
最长公共子串,采用动态规划算法。
longToBytes(long) - 类 中的静态方法cn.hutool.core.convert.Convert
long转byte数组
默认以小端序转换
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
longToBytes(long) - 类 中的静态方法cn.hutool.core.util.ByteUtil
long转byte数组
默认以小端序转换
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
longToBytes(long, ByteOrder) - 类 中的静态方法cn.hutool.core.util.ByteUtil
long转byte数组
自定义端序
from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
longToIpv4(long) - 类 中的静态方法cn.hutool.core.net.Ipv4Util
根据long值获取ip v4地址:xx.xx.xx.xx
longToIpv4(long) - 类 中的静态方法cn.hutool.core.net.NetUtil
根据long值获取ip v4地址
longValue() - 类 中的方法cn.hutool.core.lang.hash.Number128
 
longValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
 
longValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
 
longValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
 
longValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
 
longValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
 
longValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
 
lookup(Class<?>) - 类 中的静态方法cn.hutool.core.lang.reflect.LookupFactory
jdk8中如果直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup在调用findSpecial和unreflectSpecial 时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。
lookup(Class<?>) - 类 中的静态方法cn.hutool.core.lang.reflect.MethodHandleUtil
jdk8中如果直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup在调用findSpecial和unreflectSpecial 时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。
LookupFactory - cn.hutool.core.lang.reflect中的类
MethodHandles.Lookup工厂,用于创建MethodHandles.Lookup对象
jdk8中如果直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup在调用findSpecial和unreflectSpecial 时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。
LookupFactory() - 类 的构造器cn.hutool.core.lang.reflect.LookupFactory
 
LookupReplacer - cn.hutool.core.text.replacer中的类
查找替换器,通过查找指定关键字,替换对应的值
LookupReplacer(String[]...) - 类 的构造器cn.hutool.core.text.replacer.LookupReplacer
构造
loopCount - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
loopFiles(Path, FileFilter) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
递归遍历目录以及子目录中的所有文件
如果提供path为文件,直接返回过滤结果
loopFiles(Path, int, FileFilter) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
递归遍历目录以及子目录中的所有文件
如果提供path为文件,直接返回过滤结果
loopFiles(String, FileFilter) - 类 中的静态方法cn.hutool.core.io.FileUtil
递归遍历目录以及子目录中的所有文件
如果提供file为文件,直接返回过滤结果
loopFiles(File, FileFilter) - 类 中的静态方法cn.hutool.core.io.FileUtil
递归遍历目录以及子目录中的所有文件
如果提供file为文件,直接返回过滤结果
loopFiles(File, int, FileFilter) - 类 中的静态方法cn.hutool.core.io.FileUtil
递归遍历目录以及子目录中的所有文件
如果提供file为文件,直接返回过滤结果
loopFiles(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
递归遍历目录以及子目录中的所有文件
loopFiles(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
递归遍历目录以及子目录中的所有文件
lostOwnership(Clipboard, Transferable) - 枚举 中的方法cn.hutool.core.swing.clipboard.ClipboardMonitor
 
lowerFirst(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
小写首字母
例如:str = Name, return name
ls(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
列出指定路径下的目录和文件
给定的绝对路径不能是压缩包中的路径
LT - 类 中的静态变量cn.hutool.core.util.XmlUtil
字符串常量:XML 小于号转义 "&lt;" -> "<"
LunarFestival - cn.hutool.core.date.chinese中的类
节假日(农历)封装
LunarFestival() - 类 的构造器cn.hutool.core.date.chinese.LunarFestival
 
LunarInfo - cn.hutool.core.date.chinese中的类
阴历(农历)信息
LunarInfo() - 类 的构造器cn.hutool.core.date.chinese.LunarInfo
 

M

MAC_ADDRESS - 类 中的静态变量cn.hutool.core.lang.PatternPool
MAC地址正则
MAC_ADDRESS - 接口 中的静态变量cn.hutool.core.lang.RegexPool
MAC地址正则
mail(String) - 类 中的静态方法cn.hutool.core.swing.DesktopUtil
使用平台默认浏览器打开指定URL地址
mainName(File) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
返回主文件名
mainName(String) - 类 中的静态方法cn.hutool.core.io.file.FileNameUtil
返回主文件名
mainName(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
返回主文件名
mainName(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
返回主文件名
ManifestUtil - cn.hutool.core.io中的类
Jar包中manifest.mf文件获取和解析工具类 来自Jodd
ManifestUtil() - 类 的构造器cn.hutool.core.io.ManifestUtil
 
map(Iterable<T>, Function<? super T, ? extends R>, boolean) - 类 中的静态方法cn.hutool.core.collection.CollUtil
通过func自定义一个规则,此规则将原集合中的元素转换成新的元素,生成新的列表返回
例如提供的是一个Bean列表,通过Function接口实现获取某个字段值,返回这个字段值组成的新列表
map(int, int, int) - 类 中的方法cn.hutool.core.img.gif.NeuQuant
 
map(Function<? super T, ? extends U>) - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的操作(Function.apply(T))并返回一个包裹了该操作返回值的Opt 如果不存在,返回一个空的Opt
map() - 类 中的方法cn.hutool.core.map.MapBuilder
创建后的map
map(T[], Class<R>, Function<? super T, ? extends R>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
按照指定规则,将一种类型的数组转换为另一种类型
map(Object, Class<R>, Function<? super T, ? extends R>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
按照指定规则,将一种类型的数组转换为另一种类型
map(T[], Function<? super T, ? extends R>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
按照指定规则,将一种类型的数组元素提取后转换为List
MapBuilder<K,V> - cn.hutool.core.map中的类
Map创建类
MapBuilder(Map<K, V>) - 类 的构造器cn.hutool.core.map.MapBuilder
链式Map创建类
MapConverter - cn.hutool.core.convert.impl中的类
Map 转换器
MapConverter(Type) - 类 的构造器cn.hutool.core.convert.impl.MapConverter
构造,Map的key和value泛型类型自动获取
MapConverter(Type, Type, Type) - 类 的构造器cn.hutool.core.convert.impl.MapConverter
构造
MapProxy - cn.hutool.core.map中的类
Map代理,提供各种getXXX方法,并提供默认值支持
MapProxy(Map<?, ?>) - 类 的构造器cn.hutool.core.map.MapProxy
构造
mapToBean(Map<?, ?>, Class<T>, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
mapToBean(Map<?, ?>, Class<T>, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
mapToBean(Map<?, ?>, Class<T>, boolean, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
Map转换为Bean对象
mapToBeanIgnoreCase(Map<?, ?>, Class<T>, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
mapToXml(Map<?, ?>, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Map转换为XML
mapToXml(Map<?, ?>, String, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Map转换为XML
mapToXmlStr(Map<?, ?>) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String, String, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String, String, boolean, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String, String, String, boolean, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将Map转换为XML格式的字符串
MapUtil - cn.hutool.core.map中的类
Map相关工具类
MapUtil() - 类 的构造器cn.hutool.core.map.MapUtil
 
MapValueProvider - cn.hutool.core.bean.copier.provider中的类
Map值提供者,支持驼峰和下划线的key兼容。
MapValueProvider(Map<?, ?>, boolean) - 类 的构造器cn.hutool.core.bean.copier.provider.MapValueProvider
构造
MapValueProvider(Map<?, ?>, boolean, boolean) - 类 的构造器cn.hutool.core.bean.copier.provider.MapValueProvider
构造
MapWrapper<K,V> - cn.hutool.core.map中的类
Map包装类,通过包装一个已有Map实现特定功能。
MapWrapper(Map<K, V>) - 类 的构造器cn.hutool.core.map.MapWrapper
构造
MaskBit - cn.hutool.core.net中的类
掩码位和掩码之间的Map对应
MaskBit() - 类 的构造器cn.hutool.core.net.MaskBit
 
match(T) - 接口 中的方法cn.hutool.core.lang.Matcher
给定对象是否匹配
match(String) - 类 中的方法cn.hutool.core.text.StrMatcher
匹配并提取匹配到的内容
Matcher<T> - cn.hutool.core.lang中的接口
匹配接口
matchIndex(Matcher<T>, T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
返回数组中第一个匹配规则的值的位置
matchIndex(Matcher<T>, int, T...) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
返回数组中第一个匹配规则的值的位置
MathUtil - cn.hutool.core.math中的类
数学相关方法工具类
此工具类与NumberUtil属于一类工具,NumberUtil偏向于简单数学计算的封装,MathUtil偏向复杂数学计算
MathUtil() - 类 的构造器cn.hutool.core.math.MathUtil
 
max(Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
取最大值
max(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
取最大值
max(T[], Comparator<T>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
取最大值
max(T[]) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最大值
max(long...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最大值
max(int...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最大值
max(short...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最大值
max(double...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最大值
max(float...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最大值
max(BigDecimal...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最大值
max(long...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(int...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(short...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(char...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(byte...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(double...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最大值
max(float...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最大值
MAX_STACK_SIZE - 类 中的静态变量cn.hutool.core.img.gif.GifDecoder
 
MAX_YEAR - 类 中的静态变量cn.hutool.core.date.chinese.LunarInfo
 
maxFileSize - 类 中的变量cn.hutool.core.net.multipart.UploadSetting
最大文件大小,默认无限制
maxLength(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
限制字符串长度,如果超过指定长度,截取指定长度并在末尾加"..."
MAXNETPOS - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
MEDIUM - 类 中的静态变量cn.hutool.core.date.format.FastDateFormat
MEDIUM locale dependent date or time style.
memoryThreshold - 类 中的变量cn.hutool.core.net.multipart.UploadSetting
文件保存到内存的边界
merge(Map<K, X>, Map<K, Y>, BiFunction<X, Y, V>) - 类 中的静态方法cn.hutool.core.collection.CollStreamUtil
合并两个相同key类型的map
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - 类 中的方法cn.hutool.core.map.MapWrapper
 
MethodHandleUtil - cn.hutool.core.lang.reflect中的类
方法句柄MethodHandle封装工具类
参考: https://stackoverflow.com/questions/22614746/how-do-i-invoke-java-8-default-methods-reflectively
MethodHandleUtil() - 类 的构造器cn.hutool.core.lang.reflect.MethodHandleUtil
 
millisecond() - 类 中的方法cn.hutool.core.date.DateTime
获得指定日期的毫秒数部分
millisecond(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期的毫秒数部分
min(Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
取最小值
min(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
取最小值
min(T[], Comparator<T>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
取最小值
min(T[]) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最小值
min(long...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最小值
min(int...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最小值
min(short...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最小值
min(double...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最小值
min(float...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最小值
min(BigDecimal...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
取最小值
min(long...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(int...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(short...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(char...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(byte...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(double...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最小值
min(float...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
取最小值
MINPICTUREBYTES - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
minute() - 类 中的方法cn.hutool.core.date.DateTime
获得指定日期的分钟数部分
例如:10:04:15.250 =》 4
minute(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期的分钟数部分
例如:10:04:15.250 =》 4
mixHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
混合hash算法,输出64位的值
mkdir(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
创建所给目录及其父目录
mkdir(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建文件夹,如果存在直接返回此文件夹
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
mkdir(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建文件夹,会递归自动创建其不存在的父文件夹,如果存在直接返回此文件夹
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
mkParentDirs(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
创建所给文件或目录的父目录
mkParentDirs(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建所给文件或目录的父目录
mkParentDirs(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建父文件夹,如果存在直接返回此文件夹
MOBILE - 类 中的静态变量cn.hutool.core.lang.PatternPool
移动电话
MOBILE - 接口 中的静态变量cn.hutool.core.lang.RegexPool
移动电话
MOBILE - 类 中的静态变量cn.hutool.core.lang.Validator
移动电话
MOBILE_HK - 类 中的静态变量cn.hutool.core.lang.PatternPool
中国香港移动电话 eg: 中国香港: +852 5100 4810, 三位区域码+10位数字, 中国香港手机号码8位数 eg: 中国大陆: +86 180 4953 1399,2位区域码标示+13位数字 中国大陆 +86 Mainland China 中国香港 +852 Hong Kong 中国澳门 +853 Macao 中国台湾 +886 Taiwan
MOBILE_HK - 接口 中的静态变量cn.hutool.core.lang.RegexPool
中国香港移动电话 eg: 中国香港: +852 5100 4810, 三位区域码+10位数字, 中国香港手机号码8位数 eg: 中国大陆: +86 180 4953 1399,2位区域码标示+13位数字 中国大陆 +86 Mainland China 中国香港 +852 Hong Kong 中国澳门 +853 Macao 中国台湾 +886 Taiwan
MOBILE_MO - 类 中的静态变量cn.hutool.core.lang.PatternPool
中国澳门移动电话 eg: 中国台湾: +853 68 00000, 三位区域码 +号码以数字6开头 + 7位数字, 中国台湾手机号码8位数 中国澳门 +853 Macao 国际域名缩写:MO
MOBILE_MO - 接口 中的静态变量cn.hutool.core.lang.RegexPool
中国澳门移动电话 eg: 中国台湾: +853 68 00000, 三位区域码 +号码以数字6开头 + 7位数字, 中国台湾手机号码8位数 中国澳门 +853 Macao 国际域名缩写:MO
MOBILE_TW - 类 中的静态变量cn.hutool.core.lang.PatternPool
中国台湾移动电话 eg: 中国台湾: +886 09 60 000000, 三位区域码+号码以数字09开头 + 8位数字, 中国台湾手机号码10位数 中国台湾 +886 Taiwan 国际域名缩写:TW
MOBILE_TW - 接口 中的静态变量cn.hutool.core.lang.RegexPool
中国台湾移动电话 eg: 中国台湾: +886 09 60 000000, 三位区域码+号码以数字09开头 + 8位数字, 中国台湾手机号码10位数 中国台湾 +886 Taiwan 国际域名缩写:TW
mobilePhone(String) - 类 中的静态方法cn.hutool.core.util.DesensitizedUtil
【手机号码】前三位,后4位,其他隐藏,比如135****2210
ModifierUtil - cn.hutool.core.util中的类
修饰符工具类
ModifierUtil() - 类 的构造器cn.hutool.core.util.ModifierUtil
 
ModifierUtil.ModifierType - cn.hutool.core.util中的枚举
修饰符枚举
modify(Calendar, int, DateModifier.ModifyType) - 类 中的静态方法cn.hutool.core.date.DateModifier
修改日期
modify(Calendar, int, DateModifier.ModifyType, boolean) - 类 中的静态方法cn.hutool.core.date.DateModifier
修改日期,取起始值或者结束值
可选是否归零毫秒。
MONEY - 类 中的静态变量cn.hutool.core.lang.PatternPool
货币
MONEY - 接口 中的静态变量cn.hutool.core.lang.RegexPool
货币
MONEY - 类 中的静态变量cn.hutool.core.lang.Validator
货币
Money - cn.hutool.core.math中的类
单币种货币类,处理货币算术、币种和取整。
Money() - 类 的构造器cn.hutool.core.math.Money
缺省构造器。
Money(long, int) - 类 的构造器cn.hutool.core.math.Money
构造器。
Money(long, int, Currency) - 类 的构造器cn.hutool.core.math.Money
构造器。
Money(String) - 类 的构造器cn.hutool.core.math.Money
构造器。
Money(String, Currency) - 类 的构造器cn.hutool.core.math.Money
构造器。
Money(String, Currency, RoundingMode) - 类 的构造器cn.hutool.core.math.Money
构造器。
Money(double) - 类 的构造器cn.hutool.core.math.Money
构造器。
Money(double, Currency) - 类 的构造器cn.hutool.core.math.Money
构造器。
Money(BigDecimal) - 类 的构造器cn.hutool.core.math.Money
构造器。
Money(BigDecimal, RoundingMode) - 类 的构造器cn.hutool.core.math.Money
构造器。
Money(BigDecimal, Currency) - 类 的构造器cn.hutool.core.math.Money
构造器。
Money(BigDecimal, Currency, RoundingMode) - 类 的构造器cn.hutool.core.math.Money
构造器。
month() - 类 中的方法cn.hutool.core.date.DateTime
获得月份,从0开始计数
month(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得月份,从0开始计数
Month - cn.hutool.core.date中的枚举
月份枚举
与Calendar中的月份int值对应
monthBaseOne() - 类 中的方法cn.hutool.core.date.DateTime
获取月,从1开始计数
monthDays(int, int) - 类 中的静态方法cn.hutool.core.date.chinese.LunarInfo
传回农历 y年m月的总天数
monthEnum() - 类 中的方法cn.hutool.core.date.DateTime
获得月份
monthEnum(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得月份
monthStartFromOne() - 类 中的方法cn.hutool.core.date.DateTime
获得月份,从1开始计数
由于Calendar 中的月份按照0开始计数,导致某些需求容易误解,因此如果想用1表示一月,2表示二月则调用此方法
Morse - cn.hutool.core.codec中的类
莫尔斯电码的编码和解码实现
参考:https://github.com/TakWolf/Java-MorseCoder
Morse() - 类 的构造器cn.hutool.core.codec.Morse
构造
Morse(char, char, char) - 类 的构造器cn.hutool.core.codec.Morse
构造
mouseMove(int, int) - 类 中的静态方法cn.hutool.core.swing.RobotUtil
模拟鼠标移动
mouseWheel(int) - 类 中的静态方法cn.hutool.core.swing.RobotUtil
模拟鼠标滚轮滚动
move(Path, Path, boolean) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
移动文件或目录
当目标是目录时,会将源文件或文件夹整体移动至目标目录下
例如: move("/usr/aaa/abc.txt", "/usr/bbb")结果为:"/usr/bbb/abc.txt" move("/usr/aaa", "/usr/bbb")结果为:"/usr/bbb/aaa"
move(File, File, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
移动文件或者目录
move(CharSequence, int, int, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
循环位移指定位置的字符串为指定距离
当moveLength大于0向右位移,小于0向左位移,0不位移
当moveLength大于字符串长度时采取循环位移策略,即位移到头后从头(尾)位移,例如长度为10,位移13则表示位移3
moveContent(Path, Path, boolean) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
移动文件或目录内容到目标目录中,例如: moveContent("/usr/aaa/abc.txt", "/usr/bbb")结果为:"/usr/bbb/abc.txt" moveContent("/usr/aaa", "/usr/bbb")结果为:"/usr/bbb"
moveContent(File, File, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
移动文件或者目录
MoveVisitor - cn.hutool.core.io.file.visitor中的类
文件移动操作的FileVisitor实现,用于递归遍历移动目录和文件,此类非线程安全
此类在遍历源目录并移动过程中会自动创建目标目录中不存在的上级目录。
MoveVisitor(Path, Path, CopyOption...) - 类 的构造器cn.hutool.core.io.file.visitor.MoveVisitor
构造
mul(float, float) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的乘法运算
mul(float, double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的乘法运算
mul(double, float) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的乘法运算
mul(double, double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的乘法运算
mul(Double, Double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
mul(Number, Number) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
mul(Number...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
mul(String, String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的乘法运算
mul(String...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
mul(BigDecimal...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
MultiFileResource - cn.hutool.core.io.resource中的类
多文件组合资源
此资源为一个利用游标自循环资源,只有调用MultiResource.next() 方法才会获取下一个资源,使用完毕后调用MultiResource.reset()方法重置游标
MultiFileResource(Collection<File>) - 类 的构造器cn.hutool.core.io.resource.MultiFileResource
构造
MultiFileResource(File...) - 类 的构造器cn.hutool.core.io.resource.MultiFileResource
构造
MultipartFormData - cn.hutool.core.net.multipart中的类
HttpRequest解析器
来自Jodd
MultipartFormData() - 类 的构造器cn.hutool.core.net.multipart.MultipartFormData
构造
MultipartFormData(UploadSetting) - 类 的构造器cn.hutool.core.net.multipart.MultipartFormData
构造
MultipartRequestInputStream - cn.hutool.core.net.multipart中的类
Http请求解析流,提供了专门针对带文件的form表单的解析
来自Jodd
MultipartRequestInputStream(InputStream) - 类 的构造器cn.hutool.core.net.multipart.MultipartRequestInputStream
 
multiple(int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
最小公倍数
multiply(long) - 类 中的方法cn.hutool.core.math.Money
货币乘法。
multiply(double) - 类 中的方法cn.hutool.core.math.Money
货币乘法。
multiply(BigDecimal) - 类 中的方法cn.hutool.core.math.Money
货币乘法。
multiply(BigDecimal, RoundingMode) - 类 中的方法cn.hutool.core.math.Money
货币乘法。
multiplyBy(long) - 类 中的方法cn.hutool.core.math.Money
货币累乘。
multiplyBy(double) - 类 中的方法cn.hutool.core.math.Money
货币累乘。
multiplyBy(BigDecimal) - 类 中的方法cn.hutool.core.math.Money
货币累乘。
multiplyBy(BigDecimal, RoundingMode) - 类 中的方法cn.hutool.core.math.Money
货币累乘。
MultiResource - cn.hutool.core.io.resource中的类
多资源组合资源
此资源为一个利用游标自循环资源,只有调用MultiResource.next() 方法才会获取下一个资源,使用完毕后调用MultiResource.reset()方法重置游标
MultiResource(Resource...) - 类 的构造器cn.hutool.core.io.resource.MultiResource
构造
MultiResource(Collection<Resource>) - 类 的构造器cn.hutool.core.io.resource.MultiResource
构造
murmur128(byte[]) - 类 中的静态方法cn.hutool.core.util.HashUtil
MurmurHash算法128-bit实现
murmur32(byte[]) - 类 中的静态方法cn.hutool.core.util.HashUtil
MurmurHash算法32-bit实现
murmur64(byte[]) - 类 中的静态方法cn.hutool.core.util.HashUtil
MurmurHash算法64-bit实现
MurmurHash - cn.hutool.core.lang.hash中的类
Murmur3 32bit、64bit、128bit 哈希算法实现
此算法来自于:https://github.com/xlturing/Simhash4J/blob/master/src/main/java/bee/simhash/main/Murmur3.java 32-bit Java port of https://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp#94
128-bit Java port of https://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp#255
MurmurHash() - 类 的构造器cn.hutool.core.lang.hash.MurmurHash
 
Mutable<T> - cn.hutool.core.lang.mutable中的接口
提供可变值类型接口
MutableBool - cn.hutool.core.lang.mutable中的类
可变 boolean 类型
MutableBool() - 类 的构造器cn.hutool.core.lang.mutable.MutableBool
构造,默认值0
MutableBool(boolean) - 类 的构造器cn.hutool.core.lang.mutable.MutableBool
构造
MutableBool(String) - 类 的构造器cn.hutool.core.lang.mutable.MutableBool
构造
MutableByte - cn.hutool.core.lang.mutable中的类
可变 byte 类型
MutableByte() - 类 的构造器cn.hutool.core.lang.mutable.MutableByte
构造,默认值0
MutableByte(byte) - 类 的构造器cn.hutool.core.lang.mutable.MutableByte
构造
MutableByte(Number) - 类 的构造器cn.hutool.core.lang.mutable.MutableByte
构造
MutableByte(String) - 类 的构造器cn.hutool.core.lang.mutable.MutableByte
构造
MutableDouble - cn.hutool.core.lang.mutable中的类
可变 double 类型
MutableDouble() - 类 的构造器cn.hutool.core.lang.mutable.MutableDouble
构造,默认值0
MutableDouble(double) - 类 的构造器cn.hutool.core.lang.mutable.MutableDouble
构造
MutableDouble(Number) - 类 的构造器cn.hutool.core.lang.mutable.MutableDouble
构造
MutableDouble(String) - 类 的构造器cn.hutool.core.lang.mutable.MutableDouble
构造
MutableFloat - cn.hutool.core.lang.mutable中的类
可变 float 类型
MutableFloat() - 类 的构造器cn.hutool.core.lang.mutable.MutableFloat
构造,默认值0
MutableFloat(float) - 类 的构造器cn.hutool.core.lang.mutable.MutableFloat
构造
MutableFloat(Number) - 类 的构造器cn.hutool.core.lang.mutable.MutableFloat
构造
MutableFloat(String) - 类 的构造器cn.hutool.core.lang.mutable.MutableFloat
构造
MutableInt - cn.hutool.core.lang.mutable中的类
可变 int 类型
MutableInt() - 类 的构造器cn.hutool.core.lang.mutable.MutableInt
构造,默认值0
MutableInt(int) - 类 的构造器cn.hutool.core.lang.mutable.MutableInt
构造
MutableInt(Number) - 类 的构造器cn.hutool.core.lang.mutable.MutableInt
构造
MutableInt(String) - 类 的构造器cn.hutool.core.lang.mutable.MutableInt
构造
MutableLong - cn.hutool.core.lang.mutable中的类
可变 long 类型
MutableLong() - 类 的构造器cn.hutool.core.lang.mutable.MutableLong
构造,默认值0
MutableLong(long) - 类 的构造器cn.hutool.core.lang.mutable.MutableLong
构造
MutableLong(Number) - 类 的构造器cn.hutool.core.lang.mutable.MutableLong
构造
MutableLong(String) - 类 的构造器cn.hutool.core.lang.mutable.MutableLong
构造
MutableObj<T> - cn.hutool.core.lang.mutable中的类
可变Object
MutableObj() - 类 的构造器cn.hutool.core.lang.mutable.MutableObj
构造,空值
MutableObj(T) - 类 的构造器cn.hutool.core.lang.mutable.MutableObj
构造
MutableShort - cn.hutool.core.lang.mutable中的类
可变 short 类型
MutableShort() - 类 的构造器cn.hutool.core.lang.mutable.MutableShort
构造,默认值0
MutableShort(short) - 类 的构造器cn.hutool.core.lang.mutable.MutableShort
构造
MutableShort(Number) - 类 的构造器cn.hutool.core.lang.mutable.MutableShort
构造
MutableShort(String) - 类 的构造器cn.hutool.core.lang.mutable.MutableShort
构造

N

name - 类 中的变量cn.hutool.core.io.resource.UrlResource
 
name() - 接口 中的方法cn.hutool.core.lang.EnumItem
 
NamedInheritableThreadLocal<T> - cn.hutool.core.thread.threadlocal中的类
带有Name标识的 InheritableThreadLocal,调用toString返回name
NamedInheritableThreadLocal(String) - 类 的构造器cn.hutool.core.thread.threadlocal.NamedInheritableThreadLocal
构造
NamedThreadFactory - cn.hutool.core.thread中的类
线程创建工厂类,此工厂可选配置: 1.
NamedThreadFactory(String, boolean) - 类 的构造器cn.hutool.core.thread.NamedThreadFactory
构造
NamedThreadFactory(String, ThreadGroup, boolean) - 类 的构造器cn.hutool.core.thread.NamedThreadFactory
构造
NamedThreadFactory(String, ThreadGroup, boolean, Thread.UncaughtExceptionHandler) - 类 的构造器cn.hutool.core.thread.NamedThreadFactory
构造
NamedThreadLocal<T> - cn.hutool.core.thread.threadlocal中的类
带有Name标识的 ThreadLocal,调用toString返回name
NamedThreadLocal(String) - 类 的构造器cn.hutool.core.thread.threadlocal.NamedThreadLocal
构造
nameUUIDFromBytes(byte[]) - 类 中的静态方法cn.hutool.core.lang.UUID
根据指定的字节数组获取类型 3(基于名称的)UUID 的静态工厂。
NamingCase - cn.hutool.core.text中的类
命名规则封装,主要是针对驼峰风格命名、连接符命名等的封装
NamingCase() - 类 的构造器cn.hutool.core.text.NamingCase
 
NanoId - cn.hutool.core.lang.id中的类
NanoId,一个小型、安全、对 URL友好的唯一字符串 ID 生成器,特点: 安全:它使用加密、强大的随机 API,并保证符号的正确分配 体积小:只有 258 bytes 大小(压缩后)、无依赖 紧凑:它使用比 UUID (A-Za-z0-9_~)更多的符号 此实现的逻辑基于JavaScript的NanoId实现,见:https://github.com/ai/nanoid
NanoId() - 类 的构造器cn.hutool.core.lang.id.NanoId
 
nanoId() - 类 中的静态方法cn.hutool.core.util.IdUtil
获取随机NanoId
nanoId(int) - 类 中的静态方法cn.hutool.core.util.IdUtil
获取随机NanoId
nanosToMillis(long) - 类 中的静态方法cn.hutool.core.date.DateUtil
纳秒转毫秒
nanosToSeconds(long) - 类 中的静态方法cn.hutool.core.date.DateUtil
纳秒转秒,保留小数
NBSP - 类 中的静态变量cn.hutool.core.util.XmlUtil
字符串常量:XML 空格转义 "&nbsp;" -> " "
NCYCLES - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
negate(Boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
取相反值
negate(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
取相反值
NETBIASSHIFT - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
netCat(String, int, boolean, ByteBuffer) - 类 中的静态方法cn.hutool.core.net.NetUtil
简易的使用Socket发送数据
netCat(String, int, byte[]) - 类 中的静态方法cn.hutool.core.net.NetUtil
使用普通Socket发送数据
netindex - 类 中的变量cn.hutool.core.img.gif.NeuQuant
 
NETSIZE - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
NetUtil - cn.hutool.core.net中的类
网络相关工具
NetUtil() - 类 的构造器cn.hutool.core.net.NetUtil
 
network - 类 中的变量cn.hutool.core.img.gif.NeuQuant
 
NeuQuant - cn.hutool.core.img.gif中的类
NeuQuant Neural-Net Quantization Algorithm
NeuQuant(byte[], int, int) - 类 的构造器cn.hutool.core.img.gif.NeuQuant
 
newArray(Class<?>, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
新建一个空数组
newArray(int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
新建一个空数组
newArrayList(T...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个ArrayList
newArrayList(Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个ArrayList
newArrayList(Iterable<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
newArrayList(Iterator<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
newArrayList(Enumeration<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
newBigInteger(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
创建BigInteger,支持16进制、10进制和8进制,如果传入空白串返回null
from Apache Common Lang
newBlockingQueue(int, boolean) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建BlockingQueue
在队列为空时,获取元素的线程会等待队列变为非空。
newCompletionService() - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
新建一个CompletionService,调用其submit方法可以异步执行多个任务,最后调用take方法按照完成的顺序获得其结果。
newCompletionService(ExecutorService) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
新建一个CompletionService,调用其submit方法可以异步执行多个任务,最后调用take方法按照完成的顺序获得其结果。
newConcurrentHashMap() - 类 中的静态方法cn.hutool.core.map.MapUtil
新建一个初始容量为MapUtil.DEFAULT_INITIAL_CAPACITY 的ConcurrentHashMap
newConcurrentHashMap(int) - 类 中的静态方法cn.hutool.core.map.MapUtil
新建一个ConcurrentHashMap
newConcurrentHashMap(Map<K, V>) - 类 中的静态方法cn.hutool.core.map.MapUtil
传入一个Map将其转化为ConcurrentHashMap类型
newCondition() - 类 中的方法cn.hutool.core.thread.lock.NoLock
 
newCopyOnWriteArrayList(Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个CopyOnWriteArrayList
newCountDownLatch(int) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
新建一个CountDownLatch,一个同步辅助类,在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。
newerThan(File, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
给定文件或目录的最后修改时间是否晚于给定时间
newerThan(File, long) - 类 中的静态方法cn.hutool.core.io.FileUtil
给定文件或目录的最后修改时间是否晚于给定时间
newExecutor(int) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
新建一个线程池,默认的策略如下: 1.
newExecutor() - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
获得一个新的线程池,默认的策略如下: 1.
newExecutor(int, int) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
获得一个新的线程池
如果maximumPoolSize >= corePoolSize,在没有新任务加入的情况下,多出的线程将最多保留60s
newExecutor(int, int, int) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
获得一个新的线程池,并指定最大任务队列大小
如果maximumPoolSize >= corePoolSize,在没有新任务加入的情况下,多出的线程将最多保留60s
newExecutorByBlockingCoefficient(float) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
获得一个新的线程池
传入阻塞系数,线程池的大小计算公式为:CPU可用核心数 / (1 - 阻塞因子)
Blocking Coefficient(阻塞系数) = 阻塞时间/(阻塞时间+使用CPU的时间)
计算密集型任务的阻塞系数为0,而IO密集型任务的阻塞系数则接近于1。
newFile(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建File对象,相当于调用new File(),不做任何处理
newHashMap() - 类 中的静态方法cn.hutool.core.map.MapUtil
新建一个HashMap
newHashMap(int, boolean) - 类 中的静态方法cn.hutool.core.map.MapUtil
新建一个HashMap
newHashMap(int) - 类 中的静态方法cn.hutool.core.map.MapUtil
新建一个HashMap
newHashMap(boolean) - 类 中的静态方法cn.hutool.core.map.MapUtil
新建一个HashMap
newHashSet(T...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个HashSet
newHashSet(Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个HashSet
newHashSet(boolean, Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个HashSet
newHashSet(boolean, Iterator<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个HashSet
newHashSet(boolean, Enumeration<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个HashSet
newIdentityMap(int) - 类 中的静态方法cn.hutool.core.map.MapUtil
创建键不重复Map
newInstance(String) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
实例化对象
newInstance(Class<T>, Object...) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
实例化对象
newInstanceIfPossible(Class<T>) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
尝试遍历并调用此类的所有构造方法,直到构造成功并返回 对于某些特殊的接口,按照其默认实现实例化,例如: Map -》 HashMap Collction -》 ArrayList List -》 ArrayList Set -》 HashSet
newLinkedHashSet(T...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个LinkedHashSet
newLinkedList(T...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建LinkedList
newMoneyWithSameCurrency(long) - 类 中的方法cn.hutool.core.math.Money
创建一个币种相同,具有指定金额的货币对象。
newNamedThreadFactory(String, boolean) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
创建线程工厂
newNamedThreadFactory(String, ThreadGroup, boolean) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
创建线程工厂
newNamedThreadFactory(String, ThreadGroup, boolean, Thread.UncaughtExceptionHandler) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
创建线程工厂
newSimpleFormat(String) - 类 中的静态方法cn.hutool.core.date.DateUtil
创建SimpleDateFormat,注意此对象非线程安全!
newSimpleFormat(String, Locale, TimeZone) - 类 中的静态方法cn.hutool.core.date.DateUtil
创建SimpleDateFormat,注意此对象非线程安全!
newSingleExecutor() - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
获得一个新的线程池,只有单个线程,策略如下: 1.
newThread(Runnable) - 类 中的方法cn.hutool.core.thread.NamedThreadFactory
 
newThread(Runnable, String) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
创建新线程,非守护线程,正常优先级,线程组与当前线程的线程组一致
newThread(Runnable, String, boolean) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
创建新线程
newTreeMap(Comparator<? super K>) - 类 中的静态方法cn.hutool.core.map.MapUtil
新建TreeMap,Key有序的Map
newTreeMap(Map<K, V>, Comparator<? super K>) - 类 中的静态方法cn.hutool.core.map.MapUtil
新建TreeMap,Key有序的Map
next() - 类 中的方法cn.hutool.core.collection.ArrayIter
 
next() - 类 中的方法cn.hutool.core.collection.ComputeIter
 
next() - 类 中的方法cn.hutool.core.collection.CopiedIter
 
next() - 类 中的方法cn.hutool.core.collection.EnumerationIter
 
next() - 类 中的方法cn.hutool.core.collection.IterChain
 
next() - 类 中的方法cn.hutool.core.collection.PartitionIter
 
next() - 类 中的方法cn.hutool.core.collection.TransIter
 
next() - 类 中的方法cn.hutool.core.io.resource.MultiResource
 
next() - 接口 中的方法cn.hutool.core.lang.generator.Generator
生成新的对象
next() - 类 中的方法cn.hutool.core.lang.generator.ObjectGenerator
 
next() - 类 中的方法cn.hutool.core.lang.generator.ObjectIdGenerator
 
next() - 类 中的方法cn.hutool.core.lang.generator.SnowflakeGenerator
 
next() - 类 中的方法cn.hutool.core.lang.generator.UUIDGenerator
 
next() - 类 中的静态方法cn.hutool.core.lang.ObjectId
获取一个objectId用下划线分割
next(boolean) - 类 中的静态方法cn.hutool.core.lang.ObjectId
获取一个objectId
next() - 类 中的方法cn.hutool.core.lang.Range
 
next() - 类 中的方法cn.hutool.core.lang.WeightRandom
下一个随机对象
nextBytes() - 类 中的静态方法cn.hutool.core.lang.ObjectId
获取一个objectId的bytes表现形式
nextElement() - 类 中的方法cn.hutool.core.collection.IteratorEnumeration
 
nextId() - 类 中的方法cn.hutool.core.lang.Snowflake
下一个ID
nextIdStr() - 类 中的方法cn.hutool.core.lang.Snowflake
下一个ID(字符串形式)
nextMonth() - 类 中的静态方法cn.hutool.core.date.DateUtil
下个月
nextRow() - 类 中的方法cn.hutool.core.text.csv.CsvParser
读取下一行数据
nextWeek() - 类 中的静态方法cn.hutool.core.date.DateUtil
下周
NioUtil - cn.hutool.core.io中的类
NIO相关工具封装,主要针对Channel读写、拷贝等封装
NioUtil() - 类 的构造器cn.hutool.core.io.NioUtil
 
Node<T> - cn.hutool.core.lang.tree中的接口
节点接口,提供节点相关的的方法定义
node() - 类 中的方法cn.hutool.core.lang.UUID
与此 UUID 相关的节点值。
NodeParser<T,E> - cn.hutool.core.lang.tree.parser中的接口
树节点解析器 可以参考DefaultNodeParser
NoLock - cn.hutool.core.thread.lock中的类
无锁实现
NoLock() - 类 的构造器cn.hutool.core.thread.lock.NoLock
 
noNullElements(T[], Supplier<X>) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定数组是否不包含null元素,如果数组为空或 null将被认为不包含 并使用指定的函数获取错误信息返回
 Assert.noNullElements(array, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return ");
  });
 
noNullElements(T[], String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定数组是否不包含null元素,如果数组为空或 null将被认为不包含
 Assert.noNullElements(array, "The array must not have null elements");
 
noNullElements(T[]) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定数组是否不包含null元素,如果数组为空或 null将被认为不包含
 Assert.noNullElements(array);
 
NoResourceException - cn.hutool.core.io.resource中的异常错误
资源文件或资源不存在异常
NoResourceException(Throwable) - 异常错误 的构造器cn.hutool.core.io.resource.NoResourceException
 
NoResourceException(String) - 异常错误 的构造器cn.hutool.core.io.resource.NoResourceException
 
NoResourceException(String, Object...) - 异常错误 的构造器cn.hutool.core.io.resource.NoResourceException
 
NoResourceException(String, Throwable) - 异常错误 的构造器cn.hutool.core.io.resource.NoResourceException
 
NoResourceException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.io.resource.NoResourceException
 
NORM_DATE_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy-MM-dd
NORM_DATE_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy-MM-dd
NORM_DATE_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式:yyyy-MM-dd
NORM_DATETIME_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期时间格式,精确到秒 FastDateFormat:yyyy-MM-dd HH:mm:ss
NORM_DATETIME_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期时间格式,精确到秒 FastDateFormat:yyyy-MM-dd HH:mm:ss
NORM_DATETIME_MINUTE_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期时间格式,精确到分 FastDateFormat:yyyy-MM-dd HH:mm
NORM_DATETIME_MINUTE_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy-MM-dd HH:mm
NORM_DATETIME_MINUTE_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期时间格式,精确到分:yyyy-MM-dd HH:mm
NORM_DATETIME_MS_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期时间格式,精确到毫秒 FastDateFormat:yyyy-MM-dd HH:mm:ss.SSS
NORM_DATETIME_MS_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期时间格式,精确到毫秒 FastDateFormat:yyyy-MM-dd HH:mm:ss.SSS
NORM_DATETIME_MS_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期时间格式,精确到毫秒:yyyy-MM-dd HH:mm:ss.SSS
NORM_DATETIME_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期时间格式,精确到秒:yyyy-MM-dd HH:mm:ss
NORM_MONTH_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
年月格式 FastDateFormat:yyyy-MM
NORM_MONTH_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
年月格式 FastDateFormat:yyyy-MM
NORM_MONTH_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
年月格式:yyyy-MM
NORM_TIME_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
标准时间格式 FastDateFormat:HH:mm:ss
NORM_TIME_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:HH:mm:ss
NORM_TIME_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
标准时间格式:HH:mm:ss
normalize(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
修复路径
如果原路径尾部有分隔符,则保留为标准分隔符(/),否则不保留 1.
normalize(String) - 类 中的静态方法cn.hutool.core.util.URLUtil
标准化URL字符串,包括: 自动补齐“http://”头 去除开头的\或者/ 替换\为/
normalize(String, boolean) - 类 中的静态方法cn.hutool.core.util.URLUtil
标准化URL字符串,包括: 自动补齐“http://”头 去除开头的\或者/ 替换\为/
normalize(String, boolean, boolean) - 类 中的静态方法cn.hutool.core.util.URLUtil
标准化URL字符串,包括: 自动补齐“http://”头 去除开头的\或者/ 替换\为/ 如果replaceSlash为true,则替换多个/为一个
notBlank(T, Supplier<X>) - 类 中的静态方法cn.hutool.core.lang.Assert
检查给定字符串是否为空白(null、空串或只包含空白符),为空抛出自定义异常。
notBlank(T, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
检查给定字符串是否为空白(null、空串或只包含空白符),为空抛出 IllegalArgumentException
 Assert.notBlank(name, "Name must not be blank");
 
notBlank(T) - 类 中的静态方法cn.hutool.core.lang.Assert
检查给定字符串是否为空白(null、空串或只包含空白符),为空抛出 IllegalArgumentException
 Assert.notBlank(name);
 
notContain(CharSequence, T, Supplier<X>) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定字符串是否不被另一个字符串包含(即是否为子串) 并使用指定的函数获取错误信息返回
 Assert.notContain(name, "rod", ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return ");
  });
 
notContain(String, String, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定字符串是否不被另一个字符串包含(即是否为子串)
 Assert.notContain(name, "rod", "Name must not contain 'rod'");
 
notContain(String, String) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定字符串是否不被另一个字符串包含(即是否为子串)
 Assert.notContain(name, "rod");
 
notContains(Class<E>, String) - 类 中的静态方法cn.hutool.core.util.EnumUtil
判断某个值是不存在枚举中
notEmpty(T, Supplier<X>) - 类 中的静态方法cn.hutool.core.lang.Assert
检查给定字符串是否为空,为空抛出自定义异常,并使用指定的函数获取错误信息返回。
notEmpty(T, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
检查给定字符串是否为空,为空抛出 IllegalArgumentException
 Assert.notEmpty(name, "Name must not be empty");
 
notEmpty(T) - 类 中的静态方法cn.hutool.core.lang.Assert
检查给定字符串是否为空,为空抛出 IllegalArgumentException
 Assert.notEmpty(name);
 
notEmpty(T[], Supplier<X>) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定数组是否包含元素,数组必须不为 null 且至少包含一个元素 并使用指定的函数获取错误信息返回
 Assert.notEmpty(array, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
notEmpty(T[], String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定数组是否包含元素,数组必须不为 null 且至少包含一个元素
 Assert.notEmpty(array, "The array must have elements");
 
notEmpty(T[]) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定数组是否包含元素,数组必须不为 null 且至少包含一个元素
 Assert.notEmpty(array, "The array must have elements");
 
notEmpty(T, Supplier<X>) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定集合非空 并使用指定的函数获取错误信息返回
 Assert.notEmpty(collection, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
notEmpty(T, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定集合非空
 Assert.notEmpty(collection, "Collection must have elements");
 
notEmpty(T) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定集合非空
 Assert.notEmpty(collection);
 
notEmpty(T, Supplier<X>) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定Map非空 并使用指定的函数获取错误信息返回
 Assert.notEmpty(map, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
notEmpty(T, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定Map非空
 Assert.notEmpty(map, "Map must have entries");
 
notEmpty(T) - 类 中的静态方法cn.hutool.core.lang.Assert
断言给定Map非空
 Assert.notEmpty(map, "Map must have entries");
 
notEqual(Object, Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
比较两个对象是否不相等。
NotInitedException - cn.hutool.core.exceptions中的异常错误
未初始化异常
NotInitedException(Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.NotInitedException
 
NotInitedException(String) - 异常错误 的构造器cn.hutool.core.exceptions.NotInitedException
 
NotInitedException(String, Object...) - 异常错误 的构造器cn.hutool.core.exceptions.NotInitedException
 
NotInitedException(String, Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.NotInitedException
 
NotInitedException(String, Throwable, boolean, boolean) - 异常错误 的构造器cn.hutool.core.exceptions.NotInitedException
 
NotInitedException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.exceptions.NotInitedException
 
notNull(T, Supplier<X>) - 类 中的静态方法cn.hutool.core.lang.Assert
断言对象是否不为null ,如果为null 抛出指定类型异常 并使用指定的函数获取错误信息返回
 Assert.notNull(clazz, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
notNull(T, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
断言对象是否不为null ,如果为null 抛出IllegalArgumentException 异常 Assert that an object is not null .
notNull(T) - 类 中的静态方法cn.hutool.core.lang.Assert
断言对象是否不为null ,如果为null 抛出IllegalArgumentException 异常
 Assert.notNull(clazz);
 
now() - 类 中的静态方法cn.hutool.core.date.DateTime
现在的时间
now() - 类 中的静态方法cn.hutool.core.date.DateUtil
当前时间,格式 yyyy-MM-dd HH:mm:ss
now() - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
当前时间,默认时区
now() - 类 中的静态方法cn.hutool.core.date.SystemClock
 
nowDate() - 类 中的静态方法cn.hutool.core.date.SystemClock
 
NULL - 类 中的静态变量cn.hutool.core.text.CharSequenceUtil
字符串常量:"null"
注意:{@code "null" !
null2Zero(BigDecimal) - 类 中的静态方法cn.hutool.core.util.NumberUtil
空转0
NULL_OUTPUT_STREAM - 类 中的静态变量cn.hutool.core.io.NullOutputStream
单例
NullComparator<T> - cn.hutool.core.comparator中的类
null友好的比较器包装,如果nullGreater,则null > non-null,否则反之。
NullComparator(boolean, Comparator<? super T>) - 类 的构造器cn.hutool.core.comparator.NullComparator
构造
nullGreater - 类 中的变量cn.hutool.core.comparator.NullComparator
 
NullOutputStream - cn.hutool.core.io中的类
此OutputStream写出数据到/dev/null,即忽略所有数据
来自 Apache Commons io
NullOutputStream() - 类 的构造器cn.hutool.core.io.NullOutputStream
 
nullToDefault(CharSequence, String) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
如果字符串是 null,则返回指定默认字符串,否则返回字符串本身。
nullToEmpty(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
当给定字符串为null时,转换为Empty
nullToEmpty(String[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
数组元素中的null转换为""
NullWrapperBean<T> - cn.hutool.core.bean中的类
为了解决反射过程中,需要传递null参数,但是会丢失参数类型而设立的包装类
NullWrapperBean(Class<T>) - 类 的构造器cn.hutool.core.bean.NullWrapperBean
 
Number128 - cn.hutool.core.lang.hash中的类
128位数字表示,分高位和低位
Number128(long, long) - 类 的构造器cn.hutool.core.lang.hash.Number128
构造
numberCharToChinese(char, boolean) - 类 中的静态方法cn.hutool.core.convert.NumberChineseFormatter
数字字符转中文,非数字字符原样返回
NumberChineseFormatter - cn.hutool.core.convert中的类
数字转中文类
包括: 1.
NumberChineseFormatter() - 类 的构造器cn.hutool.core.convert.NumberChineseFormatter
 
NumberConverter - cn.hutool.core.convert.impl中的类
数字转换器
支持类型为:
java.lang.Byte java.lang.Short java.lang.Integer java.util.concurrent.atomic.AtomicInteger java.lang.Long java.util.concurrent.atomic.AtomicLong java.lang.Float java.lang.Double java.math.BigDecimal java.math.BigInteger
NumberConverter() - 类 的构造器cn.hutool.core.convert.impl.NumberConverter
 
NumberConverter(Class<? extends Number>) - 类 的构造器cn.hutool.core.convert.impl.NumberConverter
构造
NUMBERS - 类 中的静态变量cn.hutool.core.lang.PatternPool
数字
NUMBERS - 接口 中的静态变量cn.hutool.core.lang.RegexPool
数字
NUMBERS - 类 中的静态变量cn.hutool.core.lang.Validator
数字
numberToBytes(Number) - 类 中的静态方法cn.hutool.core.util.ByteUtil
Number转换为
numberToBytes(Number, ByteOrder) - 类 中的静态方法cn.hutool.core.util.ByteUtil
Number转换为
numberToChinese(double, boolean) - 类 中的静态方法cn.hutool.core.convert.Convert
将阿拉伯数字转为中文表达方式
numberToSimple(Number) - 类 中的静态方法cn.hutool.core.convert.Convert
将阿拉伯数字转为精简表示形式,例如: 1200 -》 1.2k
numberToWord(Number) - 类 中的静态方法cn.hutool.core.convert.Convert
将阿拉伯数字转为英文表达方式
NumberUtil - cn.hutool.core.util中的类
数字工具类
对于精确值计算应该使用 BigDecimal
JDK7中BigDecimal(double val)构造方法的结果有一定的不可预知性,例如: new BigDecimal(0.1) 表示的不是0.1而是0.1000000000000000055511151231257827021181583404541015625 这是因为0.1无法准确的表示为double。
NumberUtil() - 类 的构造器cn.hutool.core.util.NumberUtil
 
NumberWordFormatter - cn.hutool.core.convert中的类
将浮点数类型的number转换成英语的表达方式
参考博客:http://blog.csdn.net/eric_sunah/article/details/8713226
NumberWordFormatter() - 类 的构造器cn.hutool.core.convert.NumberWordFormatter
 
NumericEntityUnescaper - cn.hutool.core.text.escape中的类
形如'的反转义器
NumericEntityUnescaper() - 类 的构造器cn.hutool.core.text.escape.NumericEntityUnescaper
 

O

ObjectGenerator<T> - cn.hutool.core.lang.generator中的类
对象生成器,通过指定对象的Class类型,调用next方法时生成新的对象。
ObjectGenerator(Class<T>) - 类 的构造器cn.hutool.core.lang.generator.ObjectGenerator
构造
ObjectId - cn.hutool.core.lang中的类
MongoDB ID生成策略实现
ObjectId由以下几部分组成: 1.
ObjectId() - 类 的构造器cn.hutool.core.lang.ObjectId
 
objectId() - 类 中的静态方法cn.hutool.core.util.IdUtil
创建MongoDB ID生成策略实现
ObjectId由以下几部分组成: 1.
ObjectIdGenerator - cn.hutool.core.lang.generator中的类
ObjectId生成器
ObjectIdGenerator() - 类 的构造器cn.hutool.core.lang.generator.ObjectIdGenerator
 
ObjectUtil - cn.hutool.core.util中的类
对象工具类,包括判空、克隆、序列化等操作
ObjectUtil() - 类 的构造器cn.hutool.core.util.ObjectUtil
 
of(T...) - 类 中的静态方法cn.hutool.core.collection.ListUtil
数组转为一个不可变List
类似于Java9中的List.of
of(Comparator<E>) - 类 中的静态方法cn.hutool.core.comparator.ComparatorChain
of(Comparator<E>, boolean) - 类 中的静态方法cn.hutool.core.comparator.ComparatorChain
of(Comparator<E>...) - 类 中的静态方法cn.hutool.core.comparator.ComparatorChain
of(List<Comparator<E>>) - 类 中的静态方法cn.hutool.core.comparator.ComparatorChain
of(List<Comparator<E>>, BitSet) - 类 中的静态方法cn.hutool.core.comparator.ComparatorChain
of(InputStream, OutputStream, boolean) - 类 中的静态方法cn.hutool.core.compress.Deflate
创建Deflate
of(InputStream, OutputStream) - 类 中的静态方法cn.hutool.core.compress.Gzip
创建Gzip
of(File, Charset) - 类 中的静态方法cn.hutool.core.compress.ZipReader
创建ZipReader
of(InputStream, Charset) - 类 中的静态方法cn.hutool.core.compress.ZipReader
创建ZipReader
of(File, Charset) - 类 中的静态方法cn.hutool.core.compress.ZipWriter
创建ZipWriter
of(OutputStream, Charset) - 类 中的静态方法cn.hutool.core.compress.ZipWriter
创建ZipWriter
of(int) - 枚举 中的静态方法cn.hutool.core.date.DateField
Calendar相关值转换为DatePart枚举对象
of(long) - 类 中的静态方法cn.hutool.core.date.DateTime
转换时间戳为 DateTime
of(Date) - 类 中的静态方法cn.hutool.core.date.DateTime
转换JDK date为 DateTime
of(Calendar) - 类 中的静态方法cn.hutool.core.date.DateTime
转换 Calendar 为 DateTime
of(String, String) - 类 中的静态方法cn.hutool.core.date.DateTime
构造
of(ChronoUnit) - 枚举 中的静态方法cn.hutool.core.date.DateUnit
单位兼容转换,将ChronoUnit转换为对应的DateUnit
of(Instant) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
InstantLocalDateTime,使用默认时区
of(ZonedDateTime) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
of(Instant, ZoneId) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
of(Instant, TimeZone) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
of(long) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
毫秒转LocalDateTime,使用默认时区 注意:此方法使用默认时区,如果非UTC,会产生时间偏移
of(long, ZoneId) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
毫秒转LocalDateTime,根据时区不同,结果会产生时间偏移
of(long, TimeZone) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
毫秒转LocalDateTime,结果会产生时间偏移
of(Date) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
DateLocalDateTime,使用默认时区
of(TemporalAccessor) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
TemporalAccessorLocalDateTime,使用默认时区
of(int) - 枚举 中的静态方法cn.hutool.core.date.Month
Calendar月份相关值转换为Month枚举对象
of(int) - 枚举 中的静态方法cn.hutool.core.date.Quarter
将 季度int转换为Season枚举对象
of(int) - 枚举 中的静态方法cn.hutool.core.date.Week
Calendar星期相关值转换为Week枚举对象
of(DayOfWeek) - 枚举 中的静态方法cn.hutool.core.date.Week
DayOfWeek星期相关值转换为Week枚举对象
of(long, DataUnit) - 类 中的静态方法cn.hutool.core.io.unit.DataSize
获得指定DataUnit对应的DataSize
of(BigDecimal, DataUnit) - 类 中的静态方法cn.hutool.core.io.unit.DataSize
获得指定DataUnit对应的DataSize
of(Pair<String, Object>...) - 类 中的静态方法cn.hutool.core.lang.Dict
根据给定的Pair数组创建Dict对象
of(Object...) - 类 中的静态方法cn.hutool.core.lang.Dict
根据给定的键值对数组创建Dict对象,传入参数必须为key,value,key,value...
of(T) - 类 中的静态方法cn.hutool.core.lang.Holder
新建Holder类,持有指定值,当值为空时抛出空指针异常
of(T) - 类 中的静态方法cn.hutool.core.lang.Opt
返回一个包裹里元素不可能为空的Opt
of(K, V) - 类 中的静态方法cn.hutool.core.lang.Pair
构建Pair对象
of(T) - 类 中的静态方法cn.hutool.core.lang.tree.TreeBuilder
创建Tree构建器
of(T, TreeNodeConfig) - 类 中的静态方法cn.hutool.core.lang.tree.TreeBuilder
创建Tree构建器
of(K, V) - 类 中的静态方法cn.hutool.core.map.MapUtil
将单一键值对转换为Map
of(K, V, boolean) - 类 中的静态方法cn.hutool.core.map.MapUtil
将单一键值对转换为Map
of(Pair<K, V>...) - 类 中的静态方法cn.hutool.core.map.MapUtil
根据给定的Pair数组创建Map对象
of(Object[]) - 类 中的静态方法cn.hutool.core.map.MapUtil
将数组转换为Map(HashMap),支持数组元素类型为: Map.Entry 长度大于1的数组(取前两个值),如果不满足跳过此元素 Iterable 长度也必须大于1(取前两个值),如果不满足跳过此元素 Iterator 长度也必须大于1(取前两个值),如果不满足跳过此元素 Map<Object, Object> colorMap = MapUtil.of(new String[][] { { "RED", "#FF0000" }, { "GREEN", "#00FF00" }, { "BLUE", "#0000FF" } }); 参考:commons-lang
of(Map<K, V>, V) - 类 中的静态方法cn.hutool.core.map.TolerantMap
构建TolerantMap
of(String, char[]) - 类 中的静态方法cn.hutool.core.net.PassAuth
创建账号密码形式的Authenticator 实现。
of(URI, Charset) - 类 中的静态方法cn.hutool.core.net.url.UrlBuilder
使用URI构建UrlBuilder
of(String) - 类 中的静态方法cn.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,默认使用UTF-8编码
of(String, Charset) - 类 中的静态方法cn.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder
of(URL, Charset) - 类 中的静态方法cn.hutool.core.net.url.UrlBuilder
使用URL构建UrlBuilder
of(String, String, int, String, String, String, Charset) - 类 中的静态方法cn.hutool.core.net.url.UrlBuilder
构建UrlBuilder
of(String, String, int, UrlPath, UrlQuery, String, Charset) - 类 中的静态方法cn.hutool.core.net.url.UrlBuilder
构建UrlBuilder
of(String, Charset) - 类 中的静态方法cn.hutool.core.net.url.UrlPath
构建UrlPath
of(Map<? extends CharSequence, ?>) - 类 中的静态方法cn.hutool.core.net.url.UrlQuery
构建UrlQuery
of(String, Charset) - 类 中的静态方法cn.hutool.core.net.url.UrlQuery
构建UrlQuery
of(String, Charset, boolean) - 类 中的静态方法cn.hutool.core.net.url.UrlQuery
构建UrlQuery
of(T...) - 类 中的静态方法cn.hutool.core.stream.StreamUtil
 
of(Iterable<T>) - 类 中的静态方法cn.hutool.core.stream.StreamUtil
Iterable转换为Stream,默认非并行
of(Iterable<T>, boolean) - 类 中的静态方法cn.hutool.core.stream.StreamUtil
of(File) - 类 中的静态方法cn.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(Path) - 类 中的静态方法cn.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(File, Charset) - 类 中的静态方法cn.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(Path, Charset) - 类 中的静态方法cn.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(T, UnaryOperator<T>, int) - 类 中的静态方法cn.hutool.core.stream.StreamUtil
通过函数创建Stream
of(StrJoiner) - 类 中的静态方法cn.hutool.core.text.StrJoiner
根据已有StrJoiner配置新建一个新的StrJoiner
of(CharSequence) - 类 中的静态方法cn.hutool.core.text.StrJoiner
使用指定分隔符创建StrJoiner
of(CharSequence, CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.StrJoiner
使用指定分隔符创建StrJoiner
ofBlankAble(T) - 类 中的静态方法cn.hutool.core.lang.Opt
返回一个包裹里元素可能为空的Opt,额外判断了空字符串的情况
ofBytes(long) - 类 中的静态方法cn.hutool.core.io.unit.DataSize
获得对应bytes的DataSize
ofDate(TemporalAccessor) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
TemporalAccessorLocalDate,使用默认时区
offer(E) - 类 中的方法cn.hutool.core.collection.BoundedPriorityQueue
加入元素,当队列满时,淘汰末尾元素
offset(DateField, int) - 类 中的方法cn.hutool.core.date.DateTime
调整日期和时间
如果此对象为可变对象,返回自身,否则返回新对象,设置是否可变对象见DateTime.setMutable(boolean)
offset(Date, DateField, int) - 类 中的静态方法cn.hutool.core.date.DateUtil
获取指定日期偏移指定时间后的时间,生成的偏移日期不影响原日期
offset(LocalDateTime, long, TemporalUnit) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
日期偏移,根据field不同加不同值(偏移会修改传入的对象)
offset() - 类 中的方法cn.hutool.core.io.FastByteBuffer
 
offsetDay(Date, int) - 类 中的静态方法cn.hutool.core.date.DateUtil
偏移天
offsetHour(Date, int) - 类 中的静态方法cn.hutool.core.date.DateUtil
偏移小时
offsetMillisecond(Date, int) - 类 中的静态方法cn.hutool.core.date.DateUtil
偏移毫秒数
offsetMinute(Date, int) - 类 中的静态方法cn.hutool.core.date.DateUtil
偏移分钟
offsetMonth(Date, int) - 类 中的静态方法cn.hutool.core.date.DateUtil
偏移月
offsetNew(DateField, int) - 类 中的方法cn.hutool.core.date.DateTime
调整日期和时间
返回调整后的新DateTime,不影响原对象
offsetSecond(Date, int) - 类 中的静态方法cn.hutool.core.date.DateUtil
偏移秒数
offsetWeek(Date, int) - 类 中的静态方法cn.hutool.core.date.DateUtil
偏移周
ofGigabytes(long) - 类 中的静态方法cn.hutool.core.io.unit.DataSize
获得对应gigabytes的DataSize
ofHttp(String) - 类 中的静态方法cn.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,当传入的URL没有协议时,按照http协议对待,编码默认使用UTF-8
ofHttp(String, Charset) - 类 中的静态方法cn.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,当传入的URL没有协议时,按照http协议对待。
ofHttpWithoutEncode(String) - 类 中的静态方法cn.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,当传入的URL没有协议时,按照http协议对待
此方法不对URL编码
ofKilobytes(long) - 类 中的静态方法cn.hutool.core.io.unit.DataSize
获得对应kilobytes的DataSize
ofMegabytes(long) - 类 中的静态方法cn.hutool.core.io.unit.DataSize
获得对应megabytes的DataSize
ofNullable(T) - 类 中的静态方法cn.hutool.core.lang.Opt
返回一个包裹里元素可能为空的Opt
ofTerabytes(long) - 类 中的静态方法cn.hutool.core.io.unit.DataSize
获得对应terabytes的DataSize
ofUTC(Instant) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
InstantLocalDateTime,使用UTC时区
ofUTC(long) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
毫秒转LocalDateTime,使用UTC时区
onChange(Clipboard, Transferable) - 接口 中的方法cn.hutool.core.swing.clipboard.ClipboardListener
剪贴板变动触发的事件方法
在此事件中对剪贴板设置值无效,如若修改,需返回修改内容
onChange(Clipboard, Transferable) - 类 中的方法cn.hutool.core.swing.clipboard.StrClipboardListener
 
onChange(Clipboard, String) - 类 中的方法cn.hutool.core.swing.clipboard.StrClipboardListener
剪贴板变动触发的事件方法
在此事件中对剪贴板设置值无效,如若修改,需返回修改内容
onCreate(WatchEvent<?>, Path) - 接口 中的方法cn.hutool.core.io.watch.Watcher
文件创建时执行的方法
onCreate(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.DelayWatcher
 
onCreate(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.IgnoreWatcher
 
onCreate(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.WatcherChain
 
onDelete(WatchEvent<?>, Path) - 接口 中的方法cn.hutool.core.io.watch.Watcher
文件删除时执行的方法
onDelete(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.DelayWatcher
 
onDelete(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.IgnoreWatcher
 
onDelete(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.WatcherChain
 
oneByOneHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
一次一个hash
onModify(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.file.LineReadWatcher
 
onModify(WatchEvent<?>, Path) - 接口 中的方法cn.hutool.core.io.watch.Watcher
文件修改时执行的方法
文件修改可能触发多次
onModify(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.DelayWatcher
 
onModify(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.IgnoreWatcher
 
onModify(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.WatcherChain
 
onOverflow(WatchEvent<?>, Path) - 接口 中的方法cn.hutool.core.io.watch.Watcher
事件丢失或出错时执行的方法
onOverflow(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.DelayWatcher
 
onOverflow(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.IgnoreWatcher
 
onOverflow(WatchEvent<?>, Path) - 类 中的方法cn.hutool.core.io.watch.watchers.WatcherChain
 
open(File) - 类 中的静态方法cn.hutool.core.swing.DesktopUtil
启动关联应用程序来打开文件
Opt<T> - cn.hutool.core.lang中的类
复制jdk16中的Optional,以及自己进行了一点调整和新增,比jdk8中的Optional多了几个实用的函数
详细见:https://gitee.com/dromara/hutool/pulls/426
OptArrayTypeGetter - cn.hutool.core.getter中的接口
可选默认值的数组类型的Get接口 提供一个统一的接口定义返回不同类型的值(基本类型)
如果值不存在或获取错误,返回默认值
OptBasicTypeGetter<K> - cn.hutool.core.getter中的接口
可选默认值的基本类型的getter接口
提供一个统一的接口定义返回不同类型的值(基本类型)
如果值不存在或获取错误,返回默认值
OptionalConverter - cn.hutool.core.convert.impl中的类
Optional对象转换器
OptionalConverter() - 类 的构造器cn.hutool.core.convert.impl.OptionalConverter
 
OptNullBasicTypeFromObjectGetter<K> - cn.hutool.core.getter中的接口
基本类型的getter接口抽象实现,所有类型的值获取都是通过将getObj获得的值转换而来
用户只需实现getObj方法即可,其他类型将会从Object结果中转换 在不提供默认值的情况下, 如果值不存在或获取错误,返回null
OptNullBasicTypeFromStringGetter<K> - cn.hutool.core.getter中的接口
基本类型的getter接口抽象实现,所有类型的值获取都是通过将String转换而来
用户只需实现getStr方法即可,其他类型将会从String结果中转换 在不提供默认值的情况下, 如果值不存在或获取错误,返回null
OptNullBasicTypeGetter<K> - cn.hutool.core.getter中的接口
基本类型的getter接口抽象实现
提供一个统一的接口定义返回不同类型的值(基本类型)
在不提供默认值的情况下, 如果值不存在或获取错误,返回null
用户只需实现OptBasicTypeGetter接口即可
or(Supplier<? extends Opt<? extends T>>) - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里元素的值存在,就返回本身,如果不存在,则使用传入的操作执行后获得的 Opt
or(boolean...) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
对Boolean数组取或 BooleanUtil.or(true, true) = true BooleanUtil.or(false, false) = false BooleanUtil.or(true, false) = true BooleanUtil.or(true, true, false) = true BooleanUtil.or(true, true, true) = true BooleanUtil.or(false, false, false) = false
ordinalIndexOf(CharSequence, CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
返回字符串 searchStr 在字符串 str 中第 ordinal 次出现的位置。
orElse(T) - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里元素的值存在,则返回该值,否则返回传入的other
orElseGet(Supplier<? extends T>) - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里元素的值存在,则返回该值,否则返回传入的操作执行后的返回值
orElseThrow() - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里的值存在,则返回该值,否则抛出 NoSuchElementException
orElseThrow(Supplier<? extends X>) - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里的值存在,则返回该值,否则执行传入的操作,获取异常类型的返回值并抛出 往往是一个包含无参构造器的异常 例如传入IllegalStateException::new
orElseThrow(Function<String, ? extends X>, String) - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里的值存在,则返回该值,否则执行传入的操作,获取异常类型的返回值并抛出 往往是一个包含 自定义消息 构造器的异常 例如 {@code Opt.ofNullable(null).orElseThrow(IllegalStateException::new, "Ops!
orOfWrap(Boolean...) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
对Boolean数组取或 BooleanUtil.or(Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE BooleanUtil.or(Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE BooleanUtil.or(Boolean.TRUE, Boolean.FALSE) = Boolean.TRUE BooleanUtil.or(Boolean.TRUE, Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE BooleanUtil.or(Boolean.FALSE, Boolean.FALSE, Boolean.TRUE) = Boolean.TRUE BooleanUtil.or(Boolean.TRUE, Boolean.FALSE, Boolean.TRUE) = Boolean.TRUE BooleanUtil.or(Boolean.FALSE, Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE
OTHER_UNESCAPE - 类 中的静态变量cn.hutool.core.text.escape.XmlUnescape
 
out - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
OVERFLOW - 类 中的静态变量cn.hutool.core.io.watch.WatchMonitor
事件丢失

P

padAfter(CharSequence, int, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之 StrUtil.padAfter(null, *, *);//null StrUtil.padAfter("1", 3, '0');//"100" StrUtil.padAfter("123", 2, '0');//"23" StrUtil.padAfter("123", -1, '0')//"" 空串
padAfter(CharSequence, int, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
补充字符串以满足最小长度 StrUtil.padAfter(null, *, *);//null StrUtil.padAfter("1", 3, "ABC");//"1AB" StrUtil.padAfter("123", 2, "ABC");//"23"
padLeft(List<T>, int, T) - 类 中的静态方法cn.hutool.core.collection.CollUtil
填充List,以达到最小长度
padPre(CharSequence, int, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
补充字符串以满足指定长度,如果提供的字符串大于指定长度,截断之 同:leftPad (org.apache.commons.lang3.leftPad) StrUtil.padPre(null, *, *);//null StrUtil.padPre("1", 3, "ABC");//"AB1" StrUtil.padPre("123", 2, "ABC");//"12" StrUtil.padPre("1039", -1, "0");//"103"
padPre(CharSequence, int, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之 同:leftPad (org.apache.commons.lang3.leftPad) StrUtil.padPre(null, *, *);//null StrUtil.padPre("1", 3, '0');//"001" StrUtil.padPre("123", 2, '0');//"12"
padRight(Collection<T>, int, T) - 类 中的静态方法cn.hutool.core.collection.CollUtil
填充List,以达到最小长度
page(int, int, List<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
对指定List分页取值
page(int, int, List<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
对指定List分页取值
page(List<T>, int, Consumer<List<T>>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
对指定List进行分页,逐页返回数据
PageUtil - cn.hutool.core.util中的类
分页工具类
PageUtil() - 类 的构造器cn.hutool.core.util.PageUtil
 
Pair<K,V> - cn.hutool.core.lang中的类
键值对对象,只能在构造时传入键值
Pair(K, V) - 类 的构造器cn.hutool.core.lang.Pair
构造
palSize - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
parallelStream() - 类 中的方法cn.hutool.core.lang.Tuple
将元组转成并行流
ParameterizedTypeImpl - cn.hutool.core.lang中的类
ParameterizedType 接口实现,用于重新定义泛型类型
ParameterizedTypeImpl(Type[], Type, Type) - 类 的构造器cn.hutool.core.lang.ParameterizedTypeImpl
构造
parse(CharSequence, boolean, DateParser) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
使用指定DateParser解析字符串为Calendar
parse(CharSequence, DateFormat) - 类 中的静态方法cn.hutool.core.date.DateUtil
构建DateTime对象
parse(CharSequence, DateParser) - 类 中的静态方法cn.hutool.core.date.DateUtil
构建DateTime对象
parse(CharSequence, DateParser, boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
构建DateTime对象
parse(CharSequence, DateTimeFormatter) - 类 中的静态方法cn.hutool.core.date.DateUtil
构建DateTime对象
parse(CharSequence, String) - 类 中的静态方法cn.hutool.core.date.DateUtil
将特定格式的日期转换为Date对象
parse(CharSequence, String, Locale) - 类 中的静态方法cn.hutool.core.date.DateUtil
将特定格式的日期转换为Date对象
parse(String, String...) - 类 中的静态方法cn.hutool.core.date.DateUtil
通过给定的日期格式解析日期时间字符串。
parse(CharSequence) - 类 中的静态方法cn.hutool.core.date.DateUtil
将日期字符串转换为DateTime对象,格式:
yyyy-MM-dd HH:mm:ss yyyy/MM/dd HH:mm:ss yyyy.MM.dd HH:mm:ss yyyy年MM月dd日 HH时mm分ss秒 yyyy-MM-dd yyyy/MM/dd yyyy.MM.dd HH:mm:ss HH时mm分ss秒 yyyy-MM-dd HH:mm yyyy-MM-dd HH:mm:ss.SSS yyyy-MM-dd HH:mm:ss.SSSSSS yyyyMMddHHmmss yyyyMMddHHmmssSSS yyyyMMdd EEE, dd MMM yyyy HH:mm:ss z EEE MMM dd HH:mm:ss zzz yyyy yyyy-MM-dd'T'HH:mm:ss'Z' yyyy-MM-dd'T'HH:mm:ss.SSS'Z' yyyy-MM-dd'T'HH:mm:ssZ yyyy-MM-dd'T'HH:mm:ss.SSSZ
parse(String) - 接口 中的方法cn.hutool.core.date.format.DateParser
将日期字符串解析并转换为 Date 对象
等价于 DateFormat.parse(String)
parse(String, ParsePosition) - 接口 中的方法cn.hutool.core.date.format.DateParser
将日期字符串解析并转换为 Date 对象
等价于 DateFormat.parse(String, ParsePosition)
parse(String, ParsePosition, Calendar) - 接口 中的方法cn.hutool.core.date.format.DateParser
根据给定格式更新Calendar Upon success, the ParsePosition index is updated to indicate how much of the source text was consumed.
parse(String) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
parse(String, ParsePosition) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
parse(String, ParsePosition, Calendar) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
parse(String) - 类 中的方法cn.hutool.core.date.format.FastDateParser
 
parse(String, ParsePosition) - 类 中的方法cn.hutool.core.date.format.FastDateParser
 
parse(String, ParsePosition, Calendar) - 类 中的方法cn.hutool.core.date.format.FastDateParser
 
parse(CharSequence, String) - 类 中的静态方法cn.hutool.core.date.format.GlobalCustomFormat
使用自定义格式解析日期
parse(CharSequence) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
解析日期时间字符串为LocalDateTime,仅支持yyyy-MM-dd'T'HH:mm:ss格式,例如:2007-12-03T10:15:30
DateTimeFormatter.ISO_LOCAL_DATE_TIME
parse(CharSequence, DateTimeFormatter) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
解析日期时间字符串为LocalDateTime,格式支持日期时间、日期、时间
如果formatter为{code null},则使用DateTimeFormatter.ISO_LOCAL_DATE_TIME
parse(CharSequence, String) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
解析日期时间字符串为LocalDateTime
parse(CharSequence) - 类 中的静态方法cn.hutool.core.io.unit.DataSize
获取指定数据大小文本对应的DataSize对象,如果无单位指定,默认获取DataUnit.BYTES 例如: "12KB" -- parses as "12 kilobytes" "5MB" -- parses as "5 megabytes" "20" -- parses as "20 bytes"
parse(CharSequence, DataUnit) - 类 中的静态方法cn.hutool.core.io.unit.DataSize
Obtain a DataSize from a text string such as 12MB using the specified default DataUnit if no unit is specified.
parse(String) - 类 中的静态方法cn.hutool.core.io.unit.DataSizeUtil
解析数据大小字符串,转换为bytes大小
parse(T) - 类 中的静态方法cn.hutool.core.lang.Dict
将PO对象转为Dict
parse(TreeNode<T>, Tree<T>) - 类 中的方法cn.hutool.core.lang.tree.parser.DefaultNodeParser
 
parse(T, Tree<E>) - 接口 中的方法cn.hutool.core.lang.tree.parser.NodeParser
 
parse(String, Charset) - 类 中的方法cn.hutool.core.net.url.UrlPath
解析path
parse(String, Charset) - 类 中的方法cn.hutool.core.net.url.UrlQuery
解析URL中的查询字符串
parse(String, Charset, boolean) - 类 中的方法cn.hutool.core.net.url.UrlQuery
解析URL中的查询字符串
parse(Reader) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
构建 CsvParser
parse(String) - 类 中的静态方法cn.hutool.core.util.CharsetUtil
解析字符串编码为Charset对象,解析失败返回系统默认编码
parse(String, Charset) - 类 中的静态方法cn.hutool.core.util.CharsetUtil
解析字符串编码为Charset对象,解析失败返回默认编码
parseBean(T) - 类 中的方法cn.hutool.core.lang.Dict
将值对象转换为Dict
类名会被当作表名,小写第一个字母
parseBean(T, boolean, boolean) - 类 中的方法cn.hutool.core.lang.Dict
将值对象转换为Dict
类名会被当作表名,小写第一个字母
parseByPatterns(String, String...) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
通过给定的日期格式解析日期时间字符串。
parseByPatterns(String, Locale, String...) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
通过给定的日期格式解析日期时间字符串。
parseByPatterns(String, Locale, boolean, String...) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
通过给定的日期格式解析日期时间字符串。
parseCookies(String) - 类 中的静态方法cn.hutool.core.net.NetUtil
解析Cookie信息
parseCST(CharSequence) - 类 中的静态方法cn.hutool.core.date.DateUtil
解析CST时间,格式:
EEE MMM dd HH:mm:ss z yyyy(例如:Wed Aug 01 00:00:00 CST 2012)
parseDate(CharSequence) - 类 中的静态方法cn.hutool.core.date.DateUtil
解析日期字符串,忽略时分秒,支持的格式包括: yyyy-MM-dd yyyy/MM/dd yyyy.MM.dd yyyy年MM月dd日
parseDate(CharSequence) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
解析日期时间字符串为LocalDate,仅支持yyyy-MM-dd'T'HH:mm:ss格式,例如:2007-12-03T10:15:30
parseDate(CharSequence, DateTimeFormatter) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
解析日期时间字符串为LocalDate,格式支持日期
parseDate(CharSequence, String) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
解析日期字符串为LocalDate
parseDateTime(CharSequence) - 类 中的静态方法cn.hutool.core.date.DateUtil
解析日期时间字符串,格式支持: yyyy-MM-dd HH:mm:ss yyyy/MM/dd HH:mm:ss yyyy.MM.dd HH:mm:ss yyyy年MM月dd日 HH:mm:ss
parseDouble(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
解析转换数字字符串为long型数字,规则如下: 1、0开头的忽略开头的0 2、空串返回0 3、其它情况按照10进制转换 4、.123形式返回0.123(按照小于0的小数对待)
parseFloat(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
解析转换数字字符串为long型数字,规则如下: 1、0开头的忽略开头的0 2、空串返回0 3、其它情况按照10进制转换 4、.123形式返回0.123(按照小于0的小数对待)
parseInt(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
解析转换数字字符串为int型数字,规则如下: 1、0x开头的视为16进制数字 2、0开头的忽略开头的0 3、其它情况按照10进制转换 4、空串返回0 5、.123形式返回0(按照小于0的小数对待) 6、123.56截取小数点之前的数字,忽略小数部分
parseLocalDateTime(CharSequence) - 类 中的静态方法cn.hutool.core.date.DateUtil
构建LocalDateTime对象
格式:yyyy-MM-dd HH:mm:ss
parseLocalDateTime(CharSequence, String) - 类 中的静态方法cn.hutool.core.date.DateUtil
构建LocalDateTime对象
parseLong(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
解析转换数字字符串为long型数字,规则如下: 1、0x开头的视为16进制数字 2、0开头的忽略开头的0 3、空串返回0 4、其它情况按照10进制转换 5、.123形式返回0(按照小于0的小数对待) 6、123.56截取小数点之前的数字,忽略小数部分
parseNumber(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
将指定字符串转换为Number 对象
此方法不支持科学计数法
parseObject(String) - 接口 中的方法cn.hutool.core.date.format.DateParser
将日期字符串解析并转换为 Date 对象
parseObject(String, ParsePosition) - 接口 中的方法cn.hutool.core.date.format.DateParser
根据 ParsePosition 给定将日期字符串解析并转换为 Date 对象
parseObject(String, ParsePosition) - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
parsePattern() - 类 中的方法cn.hutool.core.date.format.FastDatePrinter
Returns a list of Rules given a pattern.
parseRequestStream(InputStream, Charset) - 类 中的方法cn.hutool.core.net.multipart.MultipartFormData
提取上传的文件和表单数据
parseTime(CharSequence) - 类 中的静态方法cn.hutool.core.date.DateUtil
解析时间,格式HH:mm:ss,日期部分默认为1970-01-01
parseTimeToday(CharSequence) - 类 中的静态方法cn.hutool.core.date.DateUtil
解析时间,格式HH:mm 或 HH:mm:ss,日期默认为今天
parseToken(String, int[]) - 类 中的方法cn.hutool.core.date.format.FastDatePrinter
Performs the parsing of tokens.
parseUTC(String) - 类 中的静态方法cn.hutool.core.date.DateUtil
解析UTC时间,格式:
yyyy-MM-dd'T'HH:mm:ss'Z' yyyy-MM-dd'T'HH:mm:ss.SSS'Z' yyyy-MM-dd'T'HH:mm:ssZ yyyy-MM-dd'T'HH:mm:ss.SSSZ yyyy-MM-dd'T'HH:mm:ss+0800 yyyy-MM-dd'T'HH:mm:ss+08:00
parseXml(String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将String类型的XML转换为XML文档
partition(List<T>, int) - 类 中的静态方法cn.hutool.core.collection.ListUtil
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
Partition<T> - cn.hutool.core.collection中的类
列表分区或分段
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
Partition(List<T>, int) - 类 的构造器cn.hutool.core.collection.Partition
列表分区
PartitionIter<T> - cn.hutool.core.collection中的类
分批迭代工具,可以分批处理数据 比如调用其他客户的接口,传入的入参有限,需要分批 比如mysql/oracle用in语句查询,超过1000可以分批 比如数据库取出游标,可以把游标里的数据一批一批处理
PartitionIter(Iterator<T>, int) - 类 的构造器cn.hutool.core.collection.PartitionIter
创建分组对象
partitionSize - 类 中的变量cn.hutool.core.collection.PartitionIter
实际每批大小
partValue(int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
把给定的总数平均分成N份,返回每份的个数
当除以分数有余数时每份+1
partValue(int, int, boolean) - 类 中的静态方法cn.hutool.core.util.NumberUtil
把给定的总数平均分成N份,返回每份的个数
如果isPlusOneWhenHasRem为true,则当除以分数有余数时每份+1,否则丢弃余数部分
PassAuth - cn.hutool.core.net中的类
账号密码形式的Authenticator 实现。
PassAuth(String, char[]) - 类 的构造器cn.hutool.core.net.PassAuth
构造
PasswdStrength - cn.hutool.core.text中的类
检测密码强度
来自:https://github.com/venshine/CheckPasswordStrength
PasswdStrength() - 类 的构造器cn.hutool.core.text.PasswdStrength
 
PasswdStrength.CHAR_TYPE - cn.hutool.core.text中的枚举
字符类型枚举
PasswdStrength.PASSWD_LEVEL - cn.hutool.core.text中的枚举
密码等级枚举
password(String) - 类 中的静态方法cn.hutool.core.util.DesensitizedUtil
【密码】密码的全部字符都用*代替,比如:******
PATH_FILE_PRE - 类 中的静态变量cn.hutool.core.io.FileUtil
当Path为文件形式时, path会加入一个表示文件的前缀
PATH_SEGMENT - 类 中的静态变量cn.hutool.core.net.URLEncoder
URL的Path的每一个Segment URLEncoder
默认的编码器针对URI路径编码,定义如下: pchar = unreserved / pct-encoded / sub-delims / ":"(非空segment不包含:) / "@" unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" sub-delims = "!"
PATH_SEPARATOR - 类 中的静态变量cn.hutool.core.io.FileUtil
多个PATH之间的分隔符
在Unix和Linux下 是':'; 在Windows下是 ';'
PathConverter - cn.hutool.core.convert.impl中的类
字符串转换器
PathConverter() - 类 的构造器cn.hutool.core.convert.impl.PathConverter
 
pathEndsWith(File, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
判断文件路径是否有指定后缀,忽略大小写
常用语判断扩展名
pathEquals(File, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
文件路径是否相同
取两个文件的绝对路径比较,在Windows下忽略大小写,在Linux下不忽略。
PathUtil - cn.hutool.core.io.file中的类
NIO中Path对象操作封装
PathUtil() - 类 的构造器cn.hutool.core.io.file.PathUtil
 
pattern - 类 中的变量cn.hutool.core.date.format.AbstractDateBasic
The pattern
PatternFinder - cn.hutool.core.text.finder中的类
正则查找器
PatternFinder(String, boolean) - 类 的构造器cn.hutool.core.text.finder.PatternFinder
构造
PatternFinder(Pattern) - 类 的构造器cn.hutool.core.text.finder.PatternFinder
构造
patternParts - 类 中的变量cn.hutool.core.bean.BeanPath
 
PatternPool - cn.hutool.core.lang中的类
常用正则表达式集合,更多正则见:https://any86.github.io/any-rule/
PatternPool() - 类 的构造器cn.hutool.core.lang.PatternPool
 
peek(Consumer<T>) - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里元素的值存在,就执行对应的操作,并返回本身 如果不存在,返回一个空的Opt 属于 Opt.ifPresent(java.util.function.Consumer<? super T>)的链式拓展
PeriodConverter - cn.hutool.core.convert.impl中的类
Period对象转换器
PeriodConverter() - 类 的构造器cn.hutool.core.convert.impl.PeriodConverter
 
PhoneUtil - cn.hutool.core.util中的类
电话号码工具类,包括: 手机号码 400、800号码 座机号码
PhoneUtil() - 类 的构造器cn.hutool.core.util.PhoneUtil
 
ping(String) - 类 中的静态方法cn.hutool.core.net.NetUtil
检测IP地址是否能ping通
ping(String, int) - 类 中的静态方法cn.hutool.core.net.NetUtil
检测IP地址是否能ping通
PinyinComparator - cn.hutool.core.comparator中的类
按照GBK拼音顺序对给定的汉字字符串排序
PinyinComparator() - 类 的构造器cn.hutool.core.comparator.PinyinComparator
构造
pixelAspect - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
pixels - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
pixels - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
pixelStack - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
pjwHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
PJW算法
PLATE_NUMBER - 类 中的静态变量cn.hutool.core.lang.PatternPool
中国车牌号码(兼容新能源车牌)
PLATE_NUMBER - 接口 中的静态变量cn.hutool.core.lang.RegexPool
中国车牌号码(兼容新能源车牌)
PLATE_NUMBER - 类 中的静态变量cn.hutool.core.lang.Validator
中国车牌号码
popPart(Stack<T>, int) - 类 中的静态方法cn.hutool.core.collection.CollUtil
切取部分数据
切取后的栈将减少这些元素
popPart(Deque<T>, int) - 类 中的静态方法cn.hutool.core.collection.CollUtil
切取部分数据
切取后的栈将减少这些元素
PORT_RANGE_MAX - 类 中的静态变量cn.hutool.core.net.NetUtil
默认最大端口,65535
PORT_RANGE_MIN - 类 中的静态变量cn.hutool.core.net.NetUtil
默认最小端口,1024
postVisitDirectory(Path, IOException) - 类 中的方法cn.hutool.core.io.file.visitor.DelVisitor
访问目录结束后删除目录,当执行此方法时,子文件或目录都已访问(删除)完毕
理论上当执行到此方法时,目录下已经被清空了
pow(Number, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的幂运算
pow(BigDecimal, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的幂运算
prefix - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
prependIfMissing(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
不忽略大小写
prependIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
prependIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
忽略大小写
pressImage(Image, int, int, float) - 类 中的方法cn.hutool.core.img.Img
给图片添加图片水印
pressImage(Image, Rectangle, float) - 类 中的方法cn.hutool.core.img.Img
给图片添加图片水印
pressImage(File, File, Image, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加图片水印
pressImage(InputStream, OutputStream, Image, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加图片水印
此方法并不关闭流
pressImage(ImageInputStream, ImageOutputStream, Image, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加图片水印
此方法并不关闭流
pressImage(Image, File, Image, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加图片水印
此方法并不关闭流
pressImage(Image, OutputStream, Image, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加图片水印
此方法并不关闭流
pressImage(Image, ImageOutputStream, Image, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加图片水印
此方法并不关闭流
pressImage(Image, Image, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加图片水印
此方法并不关闭流
pressImage(Image, Image, Rectangle, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加图片水印
此方法并不关闭流
pressText(String, Color, Font, int, int, float) - 类 中的方法cn.hutool.core.img.Img
给图片添加文字水印
pressText(File, File, String, Color, Font, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加文字水印
pressText(InputStream, OutputStream, String, Color, Font, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加文字水印
此方法并不关闭流
pressText(ImageInputStream, ImageOutputStream, String, Color, Font, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加文字水印
此方法并不关闭流
pressText(Image, File, String, Color, Font, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加文字水印
此方法并不关闭流
pressText(Image, OutputStream, String, Color, Font, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加文字水印
此方法并不关闭流
pressText(Image, ImageOutputStream, String, Color, Font, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加文字水印
此方法并不关闭流
pressText(Image, String, Color, Font, int, int, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
给图片添加文字水印
此方法并不关闭流
prettyPrint() - 类 中的方法cn.hutool.core.date.StopWatch
生成所有任务的一个任务花费时间表
preVisitDirectory(Path, BasicFileAttributes) - 类 中的方法cn.hutool.core.compress.ZipCopyVisitor
 
preVisitDirectory(Path, BasicFileAttributes) - 类 中的方法cn.hutool.core.io.file.visitor.CopyVisitor
 
preVisitDirectory(Path, BasicFileAttributes) - 类 中的方法cn.hutool.core.io.file.visitor.MoveVisitor
 
PRIME1 - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
PRIME2 - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
PRIME3 - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
PRIME4 - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
PRIMITIVE_WRAPPER_MAP - 枚举 中的静态变量cn.hutool.core.convert.BasicType
原始类型为Key,包装类型为Value,例如: int.class =》 Integer.class.
PrimitiveArrayUtil - cn.hutool.core.util中的类
原始类型数组工具类
PrimitiveArrayUtil() - 类 的构造器cn.hutool.core.util.PrimitiveArrayUtil
 
PrimitiveConverter - cn.hutool.core.convert.impl中的类
原始类型转换器
支持类型为:
byte short int long float double char boolean
PrimitiveConverter(Class<?>) - 类 的构造器cn.hutool.core.convert.impl.PrimitiveConverter
构造
print(Object) - 类 中的静态方法cn.hutool.core.lang.Console
同 System.out.print()方法,打印控制台日志
print(Object, Object...) - 类 中的静态方法cn.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
如果传入打印对象为Throwable对象,那么同时打印堆栈
print(String, Object...) - 类 中的静态方法cn.hutool.core.lang.Console
同 System.out.print()方法,打印控制台日志
print() - 类 中的方法cn.hutool.core.lang.ConsoleTable
打印到控制台
print(File) - 类 中的静态方法cn.hutool.core.swing.DesktopUtil
使用关联应用程序的打印命令, 用本机桌面打印设备来打印文件
printProgress(char, int) - 类 中的静态方法cn.hutool.core.lang.Console
打印进度条
printProgress(char, int, double) - 类 中的静态方法cn.hutool.core.lang.Console
打印进度条
process() - 类 中的方法cn.hutool.core.img.gif.NeuQuant
 
processMultiple(int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
可以用于计算双色球、大乐透注数的方法
比如大乐透35选5可以这样调用processMultiple(7,5); 就是数学中的:C75=7*6/2*1
processStream(MultipartRequestInputStream) - 类 中的方法cn.hutool.core.net.multipart.UploadFile
处理上传表单流,提取出文件
progress - 类 中的变量cn.hutool.core.io.copy.IoCopier
进度条
progress(long) - 接口 中的方法cn.hutool.core.io.StreamProgress
进行中
PropDesc - cn.hutool.core.bean中的类
属性描述,包括了字段、getter、setter和相应的方法执行
PropDesc(Field, Method, Method) - 类 的构造器cn.hutool.core.bean.PropDesc
构造
Getter和Setter方法设置为默认可访问
propertiesFilter - 类 中的变量cn.hutool.core.bean.copier.CopyOptions
属性过滤器,断言通过的属性才会被复制
PropertyComparator<T> - cn.hutool.core.comparator中的类
Bean属性排序器
支持读取Bean多层次下的属性
PropertyComparator(String) - 类 的构造器cn.hutool.core.comparator.PropertyComparator
构造
PropertyComparator(String, boolean) - 类 的构造器cn.hutool.core.comparator.PropertyComparator
构造
PropIgnore - cn.hutool.core.annotation中的注释类型
属性忽略注解,使用此注解的字段等会被忽略,主要用于Bean拷贝、Bean转Map等
此注解应用于字段时,忽略读取和设置属性值,应用于setXXX方法忽略设置值,应用于getXXX忽略读取值
PUNY_CODE_PREFIX - 类 中的静态变量cn.hutool.core.codec.PunyCode
 
PunyCode - cn.hutool.core.codec中的类
Punycode是一个根据RFC 3492标准而制定的编码系统,主要用于把域名从地方语言所采用的Unicode编码转换成为可用于DNS系统的编码 参考:https://blog.csdn.net/a19881029/article/details/18262671
PunyCode() - 类 的构造器cn.hutool.core.codec.PunyCode
 
PURE_DATE_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMdd
PURE_DATE_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMdd
PURE_DATE_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式:yyyyMMdd
PURE_DATETIME_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMddHHmmss
PURE_DATETIME_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMddHHmmss
PURE_DATETIME_MS_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMddHHmmssSSS
PURE_DATETIME_MS_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMddHHmmssSSS
PURE_DATETIME_MS_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式:yyyyMMddHHmmssSSS
PURE_DATETIME_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式:yyyyMMddHHmmss
PURE_TIME_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:HHmmss
PURE_TIME_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:HHmmss
PURE_TIME_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期格式:HHmmss
put(String, Object) - 类 中的方法cn.hutool.core.lang.Dict
 
put(K, V) - 类 中的方法cn.hutool.core.lang.SimpleCache
放入缓存
put(Object) - 类 中的静态方法cn.hutool.core.lang.Singleton
将已有对象放入单例中,其Class做为键
put(String, Object) - 类 中的静态方法cn.hutool.core.lang.Singleton
将已有对象放入单例中,key做为键
put(K, V) - 类 中的方法cn.hutool.core.map.BiMap
 
put(K, V) - 类 中的方法cn.hutool.core.map.CustomKeyMap
 
put(K, V) - 类 中的方法cn.hutool.core.map.MapBuilder
链式Map创建
put(boolean, K, V) - 类 中的方法cn.hutool.core.map.MapBuilder
链式Map创建
put(boolean, K, Supplier<V>) - 类 中的方法cn.hutool.core.map.MapBuilder
链式Map创建
put(Object, Object) - 类 中的方法cn.hutool.core.map.MapProxy
 
put(K, V) - 类 中的方法cn.hutool.core.map.MapWrapper
 
put(K, V) - 类 中的方法cn.hutool.core.map.TableMap
 
putAll(Map<? extends String, ?>) - 类 中的方法cn.hutool.core.lang.Dict
 
putAll(Map<? extends K, ? extends V>) - 类 中的方法cn.hutool.core.map.BiMap
 
putAll(Map<? extends K, ? extends V>) - 类 中的方法cn.hutool.core.map.CustomKeyMap
 
putAll(Map<K, V>) - 类 中的方法cn.hutool.core.map.MapBuilder
链式Map创建
putAll(Map<?, ?>) - 类 中的方法cn.hutool.core.map.MapProxy
 
putAll(Map<? extends K, ? extends V>) - 类 中的方法cn.hutool.core.map.MapWrapper
 
putAll(Map<? extends K, ? extends V>) - 类 中的方法cn.hutool.core.map.TableMap
 
putAllValues(Map<? extends K, ? extends Collection<V>>) - 类 中的方法cn.hutool.core.map.multi.AbsCollValueMap
放入所有value
putCustom(Type, Class<? extends Converter<?>>) - 类 中的方法cn.hutool.core.convert.ConverterRegistry
登记自定义转换器
putCustom(Type, Converter<?>) - 类 中的方法cn.hutool.core.convert.ConverterRegistry
登记自定义转换器
putExtra(String, Object) - 类 中的方法cn.hutool.core.lang.tree.Tree
扩展属性
putExtra(String, Object) - 类 中的方法cn.hutool.core.lang.tree.TreeBuilder
扩展属性
putFileType(String, String) - 类 中的静态方法cn.hutool.core.io.FileTypeUtil
增加文件类型映射
如果已经存在将覆盖之前的映射
putFormatter(String, Function<Date, String>) - 类 中的静态方法cn.hutool.core.date.format.GlobalCustomFormat
加入日期格式化规则
putIfAbsent(K, V) - 类 中的方法cn.hutool.core.map.MapWrapper
 
putParser(String, Function<CharSequence, Date>) - 类 中的静态方法cn.hutool.core.date.format.GlobalCustomFormat
加入日期解析规则
putPropertyDescriptorMap(Class<?>, Map<String, PropertyDescriptor>, boolean) - 枚举 中的方法cn.hutool.core.bean.BeanInfoCache
加入缓存
putValue(K, V) - 类 中的方法cn.hutool.core.map.multi.AbsCollValueMap
放入Value
如果键对应值列表有值,加入,否则创建一个新列表后加入

Q

quarter() - 类 中的方法cn.hutool.core.date.DateTime
获得当前日期所属季度,从1开始计数
quarter(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期所属季度,从1开始计数
Quarter - cn.hutool.core.date中的枚举
季度枚举
quarterEnum() - 类 中的方法cn.hutool.core.date.DateTime
获得当前日期所属季度
quarterEnum(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期所属季度
QUERY - 类 中的静态变量cn.hutool.core.net.URLEncoder
用于查询语句的URLEncoder
编码器针对URI路径编码,定义如下: 0x20 ' ' =》 '+' 0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is '*', '-', '
QUOTE - 类 中的静态变量cn.hutool.core.util.XmlUtil
字符串常量:XML 双引号转义 "&quot;" -> "\""

R

RADBIAS - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
RADBIASSHIFT - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
RADIUSBIAS - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
RADIUSBIASSHIFT - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
RADIUSDEC - 类 中的静态变量cn.hutool.core.img.gif.NeuQuant
 
RADIXS_34 - 类 中的静态变量cn.hutool.core.util.RadixUtil
34进制字符串,不包含 IO 字符 对于需要补齐的,自己可以随机填充IO字符 26个字母:abcdefghijklmnopqrstuvwxyz
RADIXS_59 - 类 中的静态变量cn.hutool.core.util.RadixUtil
59进制字符串,不包含 IOl 字符
RADIXS_SHUFFLE_34 - 类 中的静态变量cn.hutool.core.util.RadixUtil
打乱后的34进制
RADIXS_SHUFFLE_59 - 类 中的静态变量cn.hutool.core.util.RadixUtil
打乱后的59进制
RadixUtil - cn.hutool.core.util中的类
进制转换工具类,可以转换为任意进制 把一个十进制整数根据自己定义的进制规则进行转换
from:https://gitee.com/loolly/hutool/pulls/260 主要应用一下情况: 根据ID生成邀请码,并且尽可能的缩短。
RadixUtil() - 类 的构造器cn.hutool.core.util.RadixUtil
 
radpower - 类 中的变量cn.hutool.core.img.gif.NeuQuant
 
rainbow(int, int, int) - 类 中的静态方法cn.hutool.core.util.PageUtil
分页彩虹算法
来自:https://github.com/iceroot/iceroot/blob/master/src/main/java/com/icexxx/util/IceUtil.java
通过传入的信息,生成一个分页列表显示
rainbow(int, int) - 类 中的静态方法cn.hutool.core.util.PageUtil
分页彩虹算法(默认展示10页)
来自:https://github.com/iceroot/iceroot/blob/master/src/main/java/com/icexxx/util/IceUtil.java
RandomAccessAvgPartition<T> - cn.hutool.core.collection中的类
列表分区或分段(可随机访问列表)
通过传入分区个数,将指定列表分区为不同的块,每块区域的长度均匀分布(个数差不超过1)
[1,2,3,4] -》 [1,2], [3, 4] [1,2,3,4] -》 [1,2], [3], [4] [1,2,3,4] -》 [1], [2], [3], [4] [1,2,3,4] -》 [1], [2], [3], [4], [] 分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
RandomAccessAvgPartition(List<T>, int) - 类 的构造器cn.hutool.core.collection.RandomAccessAvgPartition
列表分区
RandomAccessPartition<T> - cn.hutool.core.collection中的类
列表分区或分段(可随机访问列表)
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
RandomAccessPartition(List<T>, int) - 类 的构造器cn.hutool.core.collection.RandomAccessPartition
构造
randomBigDecimal() - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数[0, 1)
randomBigDecimal(BigDecimal) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数 [0,limit)
randomBigDecimal(BigDecimal, BigDecimal) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomBoolean() - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得随机Boolean值
randomBytes(int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机bytes
randomChar() - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机字母或数字,小写
randomChar(String) - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机字符
randomChinese() - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机汉字('一'-'鿿')
randomColor() - 类 中的静态方法cn.hutool.core.img.ImgUtil
生成随机颜色
randomColor(Random) - 类 中的静态方法cn.hutool.core.img.ImgUtil
生成随机颜色
randomColor() - 类 中的静态方法cn.hutool.core.util.RandomUtil
已过时。
使用ImgUtil.randomColor()
randomCreditCode() - 类 中的静态方法cn.hutool.core.util.CreditCodeUtil
获取一个随机的统一社会信用代码
randomDate(Date, DateField, int, int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
以给定日期为基准,随机产生一个日期
randomDay(int, int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
以当天为基准,随机产生一个日期
randomDouble(double, double) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomDouble(double, double, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomDouble() - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得随机数[0, 1)
randomDouble(int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomDouble(double) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数 [0,limit)
randomDouble(double, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomEle(List<T>) - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机获得列表中的元素
randomEle(List<T>, int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机获得列表中的元素
randomEle(T[]) - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机获得数组中的元素
randomEle(T[], int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机获得数组中的元素
randomEleList(List<T>, int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机获得列表中的一定量的元素,返回List
此方法与RandomUtil.randomEles(List, int) 不同点在于,不会获取重复位置的元素
randomEles(List<T>, int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机获得列表中的一定量元素
randomEleSet(Collection<T>, int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机获得列表中的一定量的不重复元素,返回Set
randomInt(int, int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomInt() - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得随机数int值
randomInt(int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数 [0,limit)
randomInts(int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
创建指定长度的随机索引
randomLong(long, long) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数[min, max)
randomLong() - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得随机数
randomLong(long) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得指定范围内的随机数 [0,limit)
randomNanoId() - 类 中的静态方法cn.hutool.core.lang.id.NanoId
生成伪随机的NanoId字符串,长度为默认的NanoId.DEFAULT_SIZE,使用密码安全的伪随机生成器
randomNanoId(int) - 类 中的静态方法cn.hutool.core.lang.id.NanoId
生成伪随机的NanoId字符串
randomNanoId(Random, char[], int) - 类 中的静态方法cn.hutool.core.lang.id.NanoId
生成伪随机的NanoId字符串
randomNumber() - 类 中的静态方法cn.hutool.core.util.RandomUtil
随机数字,数字为0~9单个数字
randomNumbers(int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得一个只包含数字的字符串
randomString(int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得一个随机的字符串(只包含数字和字符)
randomString(String, int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得一个随机的字符串
randomStringUpper(int) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得一个随机的字符串(只包含数字和大写字符)
randomStringWithoutStr(int, String) - 类 中的静态方法cn.hutool.core.util.RandomUtil
获得一个随机的字符串(只包含数字和字符) 并排除指定字符串
RandomUtil - cn.hutool.core.util中的类
随机工具类
RandomUtil() - 类 的构造器cn.hutool.core.util.RandomUtil
 
randomUUID() - 类 中的静态方法cn.hutool.core.lang.UUID
获取类型 4(伪随机生成的)UUID 的静态工厂。
randomUUID(boolean) - 类 中的静态方法cn.hutool.core.lang.UUID
获取类型 4(伪随机生成的)UUID 的静态工厂。
randomUUID() - 类 中的静态方法cn.hutool.core.util.IdUtil
获取随机UUID
range(Date, Date, DateField) - 类 中的静态方法cn.hutool.core.date.DateUtil
创建日期范围生成器
Range<T> - cn.hutool.core.lang中的类
范围生成器。
Range(T, Range.Stepper<T>) - 类 的构造器cn.hutool.core.lang.Range
构造
Range(T, T, Range.Stepper<T>) - 类 的构造器cn.hutool.core.lang.Range
构造
Range(T, T, Range.Stepper<T>, boolean, boolean) - 类 的构造器cn.hutool.core.lang.Range
构造
range(int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
从0开始给定范围内的整数列表,步进为1
range(int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
给定范围内的整数列表,步进为1
range(int, int, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
给定范围内的整数列表
range(int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
生成一个从0开始的数字列表
range(int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
生成一个数字列表
自动判定正序反序
range(int, int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
生成一个数字列表
自动判定正序反序
Range.Stepper<T> - cn.hutool.core.lang中的接口
步进接口,此接口用于实现如何对一个对象按照指定步进增加步进
步进接口可以定义以下逻辑: 1、步进规则,即对象如何做步进 2、步进大小,通过实现此接口,在实现类中定义一个对象属性,可灵活定义步进大小 3、限制range个数,通过实现此接口,在实现类中定义一个对象属性,可灵活定义limit,限制range个数
rangeToList(Date, Date, DateField) - 类 中的静态方法cn.hutool.core.date.DateUtil
创建日期范围生成器
RE_CHINESE - 类 中的静态变量cn.hutool.core.util.ReUtil
正则表达式匹配中文汉字
RE_CHINESES - 类 中的静态变量cn.hutool.core.util.ReUtil
正则表达式匹配中文字符串
RE_KEYS - 类 中的静态变量cn.hutool.core.util.ReUtil
正则中需要被转义的关键字
read(Consumer<ZipEntry>) - 类 中的方法cn.hutool.core.compress.ZipReader
读取并处理Zip文件中的每一个ZipEntry
read(BufferedInputStream) - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads GIF image from stream
read(InputStream) - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads GIF image from stream
read(String) - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads GIF file from specified file/URL source (URL assumed if name contains ":/" or "file:")
read() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads a single byte from the input stream.
read(String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
从文件中读取图片,请使用绝对路径,使用相对路径会相对于ClassPath
read(File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
从文件中读取图片
read(Resource) - 类 中的静态方法cn.hutool.core.img.ImgUtil
Resource中读取图片
read(InputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
从流中读取图片
read(ImageInputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
从图片流中读取图片
read(URL) - 类 中的静态方法cn.hutool.core.img.ImgUtil
从URL中读取图片
read() - 类 中的方法cn.hutool.core.io.BOMInputStream
 
read(char[], int, int) - 类 中的方法cn.hutool.core.io.BomReader
 
read(FileReader.ReaderHandler<T>) - 类 中的方法cn.hutool.core.io.file.FileReader
按照给定的readerHandler读取文件中的数据
read(InputStream, String) - 类 中的静态方法cn.hutool.core.io.IoUtil
已过时。
read(InputStream, Charset) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取内容,读取完毕后关闭流
read(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取内容,读到输出流中,读取完毕后关闭流
read(InputStream, boolean) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取内容,读到输出流中,读取完毕后可选是否关闭流
read(Reader) - 类 中的静态方法cn.hutool.core.io.IoUtil
从Reader中读取String,读取完毕后关闭Reader
read(Reader, boolean) - 类 中的静态方法cn.hutool.core.io.IoUtil
Reader中读取String
read(ReadableByteChannel, Charset) - 类 中的静态方法cn.hutool.core.io.NioUtil
从流中读取内容,读取完毕后并不关闭流
read(ReadableByteChannel) - 类 中的静态方法cn.hutool.core.io.NioUtil
从流中读取内容,读到输出流中
read(FileChannel, String) - 类 中的静态方法cn.hutool.core.io.NioUtil
从FileChannel中读取内容,读取完毕后并不关闭Channel
read(FileChannel, Charset) - 类 中的静态方法cn.hutool.core.io.NioUtil
从FileChannel中读取内容
read(File) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
读取CSV文件,默认UTF-8编码
read(File, Charset) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
读取CSV文件
read(Path) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
读取CSV文件,默认UTF-8编码
read(Path, Charset) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
读取CSV文件
read(Reader) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
从Reader中读取CSV数据,读取后关闭Reader
read(Reader, Class<T>) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
从Reader中读取CSV数据并转换为Bean列表,读取后关闭Reader。
read(String, Class<T>) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
从字符串中读取CSV数据并转换为Bean列表,读取后关闭Reader。
read(Reader, CsvRowHandler) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
从Reader中读取CSV数据,读取后关闭Reader
read() - 类 中的方法cn.hutool.core.text.csv.CsvReader
读取CSV文件,此方法只能调用一次
调用此方法的前提是构造中传入文件路径或Reader
read(CsvRowHandler) - 类 中的方法cn.hutool.core.text.csv.CsvReader
读取CSV数据,此方法只能调用一次
调用此方法的前提是构造中传入文件路径或Reader
read(ZipFile, Consumer<ZipEntry>) - 类 中的静态方法cn.hutool.core.util.ZipUtil
读取并处理Zip文件中的每一个ZipEntry
read(ZipInputStream, Consumer<ZipEntry>) - 类 中的静态方法cn.hutool.core.util.ZipUtil
读取并处理Zip流中的每一个ZipEntry
readableFileSize() - 类 中的方法cn.hutool.core.io.file.FileWrapper
可读的文件大小
readableFileSize(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
可读的文件大小
readableFileSize(long) - 类 中的静态方法cn.hutool.core.io.FileUtil
可读的文件大小
参考 http://stackoverflow.com/questions/3263892/format-file-size-as-mb-gb-etc
readBlock() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads next variable length block from input.
readBoundary() - 类 中的方法cn.hutool.core.net.multipart.MultipartRequestInputStream
输入流中读取边界
readBySax(File, ContentHandler) - 类 中的静态方法cn.hutool.core.util.XmlUtil
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
readBySax(Reader, ContentHandler) - 类 中的静态方法cn.hutool.core.util.XmlUtil
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
readBySax(InputStream, ContentHandler) - 类 中的静态方法cn.hutool.core.util.XmlUtil
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
readBySax(InputSource, ContentHandler) - 类 中的静态方法cn.hutool.core.util.XmlUtil
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
readByte() - 类 中的方法cn.hutool.core.net.multipart.MultipartRequestInputStream
读取byte字节流,在末尾抛出异常
readBytes(ByteBuffer) - 类 中的静态方法cn.hutool.core.io.BufferUtil
读取剩余部分bytes
readBytes(ByteBuffer, int) - 类 中的静态方法cn.hutool.core.io.BufferUtil
读取指定长度的bytes
如果长度不足,则读取剩余部分,此时buffer必须为读模式
readBytes(ByteBuffer, int, int) - 类 中的静态方法cn.hutool.core.io.BufferUtil
读取指定区间的数据
readBytes() - 类 中的方法cn.hutool.core.io.file.FileReader
读取文件所有数据
文件的长度不能超过 Integer.MAX_VALUE
readBytes(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
读取文件的所有内容为byte数组
readBytes(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
readBytes(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
readBytes(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取bytes,读取完毕后关闭流
readBytes(InputStream, boolean) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取bytes
readBytes(InputStream, int) - 类 中的静态方法cn.hutool.core.io.IoUtil
读取指定长度的byte数组,不关闭流
readBytes() - 类 中的方法cn.hutool.core.io.resource.BytesResource
 
readBytes() - 类 中的方法cn.hutool.core.io.resource.CharSequenceResource
 
readBytes() - 类 中的方法cn.hutool.core.io.resource.MultiResource
 
readBytes() - 接口 中的方法cn.hutool.core.io.resource.Resource
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
readBytes(String) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
读取Classpath下的资源为byte[]
readColorTable(int) - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads color table as 256 RGB integer values
readContents() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Main file parser.
readDataHeader(Charset) - 类 中的方法cn.hutool.core.net.multipart.MultipartRequestInputStream
从流中读取文件头部信息, 如果达到末尾则返回null
readDataHeaderString(Charset) - 类 中的方法cn.hutool.core.net.multipart.MultipartRequestInputStream
读取数据头信息字符串
ReaderWriterCopier - cn.hutool.core.io.copy中的类
ReaderWriter 拷贝
ReaderWriterCopier() - 类 的构造器cn.hutool.core.io.copy.ReaderWriterCopier
构造
ReaderWriterCopier(int) - 类 的构造器cn.hutool.core.io.copy.ReaderWriterCopier
构造
ReaderWriterCopier(int, long) - 类 的构造器cn.hutool.core.io.copy.ReaderWriterCopier
构造
ReaderWriterCopier(int, long, StreamProgress) - 类 的构造器cn.hutool.core.io.copy.ReaderWriterCopier
构造
readFromStr(String) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
从字符串中读取CSV数据
readFromStr(String, CsvRowHandler) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
从字符串中读取CSV数据
readGraphicControlExt() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads Graphics Control Extension values
readHeader() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads GIF file header information.
readHex(InputStream, int, boolean) - 类 中的静态方法cn.hutool.core.io.IoUtil
读取16进制字符串
readHex28Lower(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取前28个byte并转换为16进制,字母部分使用小写
readHex28Upper(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取前28个byte并转换为16进制,字母部分使用大写
readImage() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads next frame image
readLine(ByteBuffer, Charset) - 类 中的静态方法cn.hutool.core.io.BufferUtil
读取一行,如果buffer中最后一部分并非完整一行,则返回null
支持的换行符如下: 1.
readLine(RandomAccessFile, Charset, LineHandler) - 类 中的静态方法cn.hutool.core.io.FileUtil
单行处理文件内容
readLine(RandomAccessFile, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
单行处理文件内容
readLines(T) - 类 中的方法cn.hutool.core.io.file.FileReader
从文件中读取每一行数据
readLines(LineHandler) - 类 中的方法cn.hutool.core.io.file.FileReader
按照行处理文件内容
readLines() - 类 中的方法cn.hutool.core.io.file.FileReader
从文件中读取每一行数据
readLines(String, String, T) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readLines(String, Charset, T) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readLines(File, String, T) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readLines(File, Charset, T) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readLines(URL, String, T) - 类 中的静态方法cn.hutool.core.io.FileUtil
readLines(URL, Charset, T) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readLines(URL, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
已过时。
readLines(URL, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readLines(String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readLines(String, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readLines(File, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readLines(File, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readLines(File, Charset, LineHandler) - 类 中的静态方法cn.hutool.core.io.FileUtil
按行处理文件内容
readLines(RandomAccessFile, Charset, LineHandler) - 类 中的静态方法cn.hutool.core.io.FileUtil
按行处理文件内容
readLines(InputStream, String, T) - 类 中的静态方法cn.hutool.core.io.IoUtil
readLines(InputStream, Charset, T) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取内容
readLines(Reader, T) - 类 中的静态方法cn.hutool.core.io.IoUtil
从Reader中读取内容
readLines(InputStream, Charset, LineHandler) - 类 中的静态方法cn.hutool.core.io.IoUtil
按行读取数据,针对每行的数据做处理
readLines(Reader, LineHandler) - 类 中的静态方法cn.hutool.core.io.IoUtil
按行读取数据,针对每行的数据做处理
Reader自带编码定义,因此读取数据的编码跟随其编码。
readLSD() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads Logical Screen Descriptor
readMapList(Reader) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
从Reader中读取CSV数据,结果为Map,读取后关闭Reader。
readNetscapeExt() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads Netscape extenstion to obtain iteration count
readObj(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取对象,即对象的反序列化 注意!!!
readObj(InputStream, Class<T>) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取对象,即对象的反序列化,读取后不关闭流 注意!!!
readObj(ValidateObjectInputStream, Class<T>) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取对象,即对象的反序列化,读取后不关闭流 此方法使用了ValidateObjectInputStream中的黑白名单方式过滤类,用于避免反序列化漏洞
通过构造ValidateObjectInputStream,调用ValidateObjectInputStream.accept(Class[]) 或者ValidateObjectInputStream.refuse(Class[])方法添加可以被序列化的类或者禁止序列化的类。
readObjectFromXml(File) - 类 中的静态方法cn.hutool.core.util.XmlUtil
从XML中读取对象 Reads serialized object from the XML file.
readObjectFromXml(String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
从XML中读取对象 Reads serialized object from the XML file.
readObjectFromXml(InputSource) - 类 中的静态方法cn.hutool.core.util.XmlUtil
从XML中读取对象 Reads serialized object from the XML file.
readShort() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Reads next 16-bit value, LSB first
readStr(ByteBuffer, Charset) - 类 中的静态方法cn.hutool.core.io.BufferUtil
读取剩余部分并转为字符串
readStr(Charset) - 类 中的方法cn.hutool.core.io.resource.BytesResource
 
readStr(Charset) - 类 中的方法cn.hutool.core.io.resource.CharSequenceResource
 
readStr(Charset) - 类 中的方法cn.hutool.core.io.resource.MultiResource
 
readStr(Charset) - 接口 中的方法cn.hutool.core.io.resource.Resource
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
readStr(String, Charset) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
读取Classpath下的资源为字符串
readString() - 类 中的方法cn.hutool.core.io.file.FileReader
读取文件内容
readString(File, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
已过时。
readString(File, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
读取文件内容
readString(String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
已过时。
readString(String, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
读取文件内容
readString(URL, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
已过时。
readString(URL, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
读取文件内容
readString(Charset) - 类 中的方法cn.hutool.core.net.multipart.MultipartRequestInputStream
读取字节流,直到下一个boundary
readTo(File) - 类 中的方法cn.hutool.core.compress.ZipReader
解压到指定目录中
readTo(File, Filter<ZipEntry>) - 类 中的方法cn.hutool.core.compress.ZipReader
解压到指定目录中
readUtf8(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取UTF8编码的内容
readUtf8(FileChannel) - 类 中的静态方法cn.hutool.core.io.NioUtil
从FileChannel中读取UTF-8编码内容
readUtf8Lines(String, T) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行的UTF-8编码数据
readUtf8Lines(File, T) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据,数据编码为UTF-8
readUtf8Lines(URL, T) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据,编码为UTF-8
readUtf8Lines(URL) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readUtf8Lines(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据,编码为UTF-8
readUtf8Lines(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
从文件中读取每一行数据
readUtf8Lines(File, LineHandler) - 类 中的静态方法cn.hutool.core.io.FileUtil
按行处理文件内容,编码为UTF-8
readUtf8Lines(InputStream, T) - 类 中的静态方法cn.hutool.core.io.IoUtil
从流中读取内容,使用UTF-8编码
readUtf8Lines(InputStream, LineHandler) - 类 中的静态方法cn.hutool.core.io.IoUtil
按行读取UTF-8编码数据,针对每行的数据做处理
readUtf8Str(ByteBuffer) - 类 中的静态方法cn.hutool.core.io.BufferUtil
读取剩余部分并转为UTF-8编码字符串
readUtf8Str() - 类 中的方法cn.hutool.core.io.resource.MultiResource
 
readUtf8Str() - 接口 中的方法cn.hutool.core.io.resource.Resource
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
readUtf8Str(String) - 类 中的静态方法cn.hutool.core.io.resource.ResourceUtil
读取Classpath下的资源为字符串,使用UTF-8编码
readUtf8String(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
读取文件内容
readUtf8String(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
读取文件内容
readXML(File) - 类 中的静态方法cn.hutool.core.util.XmlUtil
读取解析XML文件
readXML(String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
读取解析XML文件
如果给定内容以“<”开头,表示这是一个XML内容,直接读取,否则按照路径处理
路径可以为相对路径,也可以是绝对路径,相对路径相对于ClassPath
readXML(InputStream) - 类 中的静态方法cn.hutool.core.util.XmlUtil
读取解析XML文件
编码在XML中定义
readXML(Reader) - 类 中的静态方法cn.hutool.core.util.XmlUtil
读取解析XML文件
readXML(InputSource) - 类 中的静态方法cn.hutool.core.util.XmlUtil
读取解析XML文件
编码在XML中定义
ReferenceConverter - cn.hutool.core.convert.impl中的类
Reference转换器
ReferenceConverter(Class<? extends Reference>) - 类 的构造器cn.hutool.core.convert.impl.ReferenceConverter
构造
ReferenceUtil - cn.hutool.core.util中的类
引用工具类,主要针对Reference 工具化封装
主要封装包括: 1.
ReferenceUtil() - 类 的构造器cn.hutool.core.util.ReferenceUtil
 
ReferenceUtil.ReferenceType - cn.hutool.core.util中的枚举
引用类型
reflectionCompare(Object, Object) - 类 中的静态方法cn.hutool.core.builder.CompareToBuilder
通过反射比较两个Bean对象,对象字段可以为private。
reflectionCompare(Object, Object, boolean) - 类 中的静态方法cn.hutool.core.builder.CompareToBuilder
Compares two Objects via reflection.
reflectionCompare(Object, Object, Collection<String>) - 类 中的静态方法cn.hutool.core.builder.CompareToBuilder
Compares two Objects via reflection.
reflectionCompare(Object, Object, String...) - 类 中的静态方法cn.hutool.core.builder.CompareToBuilder
Compares two Objects via reflection.
reflectionCompare(Object, Object, boolean, Class<?>, String...) - 类 中的静态方法cn.hutool.core.builder.CompareToBuilder
Compares two Objects via reflection.
reflectionEquals(Object, Object, Collection<String>) - 类 中的静态方法cn.hutool.core.builder.EqualsBuilder
反射检查两个对象是否equals,此方法检查对象及其父对象的属性(包括私有属性)是否equals
reflectionEquals(Object, Object, String...) - 类 中的静态方法cn.hutool.core.builder.EqualsBuilder
反射检查两个对象是否equals,此方法检查对象及其父对象的属性(包括私有属性)是否equals
reflectionEquals(Object, Object, boolean) - 类 中的静态方法cn.hutool.core.builder.EqualsBuilder
This method uses reflection to determine if the two Objects are equal.
reflectionEquals(Object, Object, boolean, Class<?>, String...) - 类 中的静态方法cn.hutool.core.builder.EqualsBuilder
This method uses reflection to determine if the two Objects are equal.
reflectionHashCode(int, int, Object) - 类 中的静态方法cn.hutool.core.builder.HashCodeBuilder
Uses reflection to build a valid hash code from the fields of object.
reflectionHashCode(int, int, Object, boolean) - 类 中的静态方法cn.hutool.core.builder.HashCodeBuilder
Uses reflection to build a valid hash code from the fields of object.
reflectionHashCode(int, int, T, boolean, Class<? super T>, String...) - 类 中的静态方法cn.hutool.core.builder.HashCodeBuilder
Uses reflection to build a valid hash code from the fields of object.
reflectionHashCode(Object, boolean) - 类 中的静态方法cn.hutool.core.builder.HashCodeBuilder
Uses reflection to build a valid hash code from the fields of object.
reflectionHashCode(Object, Collection<String>) - 类 中的静态方法cn.hutool.core.builder.HashCodeBuilder
Uses reflection to build a valid hash code from the fields of object.
reflectionHashCode(Object, String...) - 类 中的静态方法cn.hutool.core.builder.HashCodeBuilder
Uses reflection to build a valid hash code from the fields of object.
ReflectUtil - cn.hutool.core.util中的类
反射工具类
ReflectUtil() - 类 的构造器cn.hutool.core.util.ReflectUtil
 
refuse(Class<?>...) - 类 中的方法cn.hutool.core.io.ValidateObjectInputStream
禁止反序列化的类,用于反序列化验证
REGEX_NORM - 类 中的静态变量cn.hutool.core.date.DatePattern
标准日期时间正则,每个字段支持单个数字或2个数字,包括: yyyy-MM-dd HH:mm:ss.SSSSSS yyyy-MM-dd HH:mm:ss.SSS yyyy-MM-dd HH:mm:ss yyyy-MM-dd HH:mm yyyy-MM-dd
RegexPool - cn.hutool.core.lang中的接口
常用正则表达式字符串池
register(Watchable, WatchService, WatchEvent.Kind<?>...) - 类 中的静态方法cn.hutool.core.io.watch.WatchUtil
注册Watchable对象到WatchService服务
registerPath(Path, int) - 类 中的方法cn.hutool.core.io.watch.WatchServer
将指定路径加入到监听中
RejectPolicy - cn.hutool.core.thread中的枚举
线程拒绝策略枚举 如果设置了maxSize, 当总线程数达到上限, 会调用RejectedExecutionHandler进行处理,此枚举为JDK预定义的几种策略枚举表示
remove() - 类 中的方法cn.hutool.core.collection.ArrayIter
不允许操作数组元素
remove(Object) - 类 中的方法cn.hutool.core.collection.ConcurrentHashSet
 
remove() - 类 中的方法cn.hutool.core.collection.CopiedIter
此对象不支持移除元素
remove() - 类 中的方法cn.hutool.core.collection.EnumerationIter
 
remove() - 类 中的方法cn.hutool.core.collection.IterChain
 
remove() - 类 中的方法cn.hutool.core.collection.TransIter
 
remove() - 类 中的方法cn.hutool.core.io.resource.MultiResource
 
remove(T) - 类 中的方法cn.hutool.core.lang.ConsistentHash
移除节点的同时移除相应的虚拟节点
remove(String, int) - 类 中的静态方法cn.hutool.core.lang.PatternPool
移除缓存
remove() - 类 中的方法cn.hutool.core.lang.Range
 
remove(K) - 类 中的方法cn.hutool.core.lang.SimpleCache
移除缓存
remove(Class<?>) - 类 中的静态方法cn.hutool.core.lang.Singleton
移除指定Singleton对象
remove(String) - 类 中的静态方法cn.hutool.core.lang.Singleton
移除指定Singleton对象
remove(Object) - 类 中的方法cn.hutool.core.map.CustomKeyMap
 
remove(Object, Object) - 类 中的方法cn.hutool.core.map.CustomKeyMap
 
remove(Object) - 类 中的方法cn.hutool.core.map.MapProxy
 
remove(Object) - 类 中的方法cn.hutool.core.map.MapWrapper
 
remove(Object, Object) - 类 中的方法cn.hutool.core.map.MapWrapper
 
remove(Object) - 类 中的方法cn.hutool.core.map.TableMap
 
remove(int, int) - 类 中的静态方法cn.hutool.core.math.BitStatusUtil
删除一个状态
remove(Object) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
remove(int) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
remove(T[], int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(long[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(int[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(short[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(char[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(byte[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(double[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(float[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(boolean[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(Object, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
removeAll(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
移除字符串中所有给定字符串
例:removeAll("aa-bb-cc-dd", "-") =》 aabbccdd
removeAll(CharSequence, char...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去除字符串中指定的多个字符,如有多个则全部去除
removeAll(Collection<?>) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
removeAllLineBreaks(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去除所有换行符,包括: 1.
removeAny(T, E...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
去掉集合中的多个元素,此方法直接修改原集合
removeAny(Map<K, V>, K...) - 类 中的静态方法cn.hutool.core.map.MapUtil
去掉Map中指定key的键值对,修改原Map
removeAny(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
移除字符串中所有给定字符串,当某个字符串出现多次,则全部移除
例:removeAny("aa-bb-cc-dd", "a", "b") =》 --cc-dd
removeBlank(T) - 类 中的静态方法cn.hutool.core.collection.CollUtil
去除null或者""或者空白字符串 元素,此方法直接修改原集合
removeBlank(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
去除null或者""或者空白字符串 元素
removeEldestEntry(Map.Entry<K, V>) - 类 中的方法cn.hutool.core.map.FixedLinkedHashMap
 
removeEle(T[], T) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
removeEle(long[], long) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
removeEle(int[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
removeEle(short[], short) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
removeEle(char[], char) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
removeEle(byte[], byte) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
removeEle(double[], double) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
removeEle(float[], float) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
removeEle(boolean[], boolean) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
removeEmpty(T) - 类 中的静态方法cn.hutool.core.collection.CollUtil
去除null或者"" 元素,此方法直接修改原集合
removeEmpty(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
去除null或者"" 元素
removeEqual(T, String...) - 类 中的方法cn.hutool.core.lang.Dict
与给定实体对比并去除相同的部分
此方法用于在更新操作时避免所有字段被更新,跳过不需要更新的字段 version from 2.0.0
removeFileType(String) - 类 中的静态方法cn.hutool.core.io.FileTypeUtil
移除文件类型映射
removeHeaderAlias(String) - 类 中的方法cn.hutool.core.text.csv.CsvConfig
去除标题别名
removeIf(Predicate<? super T>) - 类 中的方法cn.hutool.core.collection.TransCollection
 
removeListener(ClipboardListener) - 枚举 中的方法cn.hutool.core.swing.clipboard.ClipboardMonitor
去除指定监听
removeNull(T) - 类 中的静态方法cn.hutool.core.collection.CollUtil
去除null 元素,此方法直接修改原集合
removeNull(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
去除null 元素
removeNullValue(Map<K, V>) - 类 中的静态方法cn.hutool.core.map.MapUtil
去除Map中值为null的键值对
注意:此方法在传入的Map上直接修改。
removePreAndLowerFirst(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, preLength=3 =》 return name
removePreAndLowerFirst(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, prefix=set =》 return name
removePrefix(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去掉指定前缀
removePrefixIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
忽略大小写去掉指定前缀
removeSafeCharacter(char) - 类 中的方法cn.hutool.core.net.URLEncoder
移除安全字符
安全字符不被编码
removeSufAndLowerFirst(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去掉指定后缀,并小写首字母
removeSuffix(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去掉指定后缀
removeSuffixIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
忽略大小写去掉指定后缀
rename(Path, String, boolean) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
修改文件或目录的文件名,不变更路径,只是简单修改文件名
FileUtil.rename(file, "aaa.jpg", false) xx/xx.png =》xx/aaa.jpg
rename(File, String, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
修改文件或目录的文件名,不变更路径,只是简单修改文件名,不保留扩展名。
rename(File, String, boolean, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
修改文件或目录的文件名,不变更路径,只是简单修改文件名
重命名有两种模式:
1、isRetainExt为true时,保留原扩展名: FileUtil.rename(file, "aaa", true) xx/xx.png =》xx/aaa.png 2、isRetainExt为false时,不保留原扩展名,需要在newName中 FileUtil.rename(file, "aaa.jpg", false) xx/xx.png =》xx/aaa.jpg
renameKey(Map<K, V>, K, K) - 类 中的静态方法cn.hutool.core.map.MapUtil
重命名键
实现方式为一处然后重新put,当旧的key不存在直接返回
当新的key存在,抛出IllegalArgumentException 异常
repeat - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
repeat(char, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
重复某个字符 StrUtil.repeat('e', 0) = "" StrUtil.repeat('e', 3) = "eee" StrUtil.repeat('e', -2) = ""
repeat(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
重复某个字符串
repeatAndJoin(CharSequence, int, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
重复某个字符串并通过分界符连接 StrUtil.repeatAndJoin("?"
repeatByLength(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
重复某个字符串到指定长度
replace(T) - 接口 中的方法cn.hutool.core.lang.Replacer
替换指定类型为目标类型
replace(K, V, V) - 类 中的方法cn.hutool.core.map.CustomKeyMap
 
replace(K, V) - 类 中的方法cn.hutool.core.map.CustomKeyMap
 
replace(K, V, V) - 类 中的方法cn.hutool.core.map.MapWrapper
 
replace(K, V) - 类 中的方法cn.hutool.core.map.MapWrapper
 
replace(CharSequence, CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
替换字符串中的指定字符串
replace(CharSequence, CharSequence, CharSequence, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
替换字符串中的指定字符串
replace(CharSequence, int, CharSequence, CharSequence, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
替换字符串中的指定字符串
replace(CharSequence, int, int, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
替换指定字符串的指定区间内字符为固定字符
replace(CharSequence, Pattern, Func1<Matcher, String>) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过Matcher提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
replace(CharSequence, String, Func1<Matcher, String>) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replace(CharSequence, int, StrBuilder) - 类 中的方法cn.hutool.core.text.escape.NumericEntityUnescaper
 
replace(CharSequence, int, StrBuilder) - 类 中的方法cn.hutool.core.text.replacer.LookupReplacer
 
replace(CharSequence, int, StrBuilder) - 类 中的方法cn.hutool.core.text.replacer.ReplacerChain
 
replace(CharSequence, int, StrBuilder) - 类 中的方法cn.hutool.core.text.replacer.StrReplacer
抽象的字符串替换方法,通过传入原字符串和当前位置,执行替换逻辑,返回处理或替换的字符串长度部分。
replace(CharSequence) - 类 中的方法cn.hutool.core.text.replacer.StrReplacer
 
replaceAll(BiFunction<? super K, ? super V, ? extends V>) - 类 中的方法cn.hutool.core.map.MapWrapper
 
replaceAll(CharSequence, String, String) - 类 中的静态方法cn.hutool.core.util.ReUtil
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串 例如:原字符串是:中文1234,我想把1234换成(1234),则可以: ReUtil.replaceAll("中文1234", "(\\d+)", "($1)")) 结果:中文(1234)
replaceAll(CharSequence, Pattern, String) - 类 中的静态方法cn.hutool.core.util.ReUtil
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
replaceAll(CharSequence, String, Func1<Matcher, String>) - 类 中的静态方法cn.hutool.core.util.ReUtil
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过Matcher提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
replaceAll(CharSequence, Pattern, Func1<Matcher, String>) - 类 中的静态方法cn.hutool.core.util.ReUtil
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过Matcher提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
replaceChars(CharSequence, String, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
替换字符字符数组中所有的字符为replacedStr
提供的chars为所有需要被替换的字符,例如:"\r\n",则"\r"和"\n"都会被替换,哪怕他们单独存在
replaceChars(CharSequence, char[], CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
替换字符字符数组中所有的字符为replacedStr
replaceFirst(Pattern, CharSequence, String) - 类 中的静态方法cn.hutool.core.util.ReUtil
替换匹配的第一个内容
replaceIgnoreCase(CharSequence, CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
替换字符串中的指定字符串,忽略大小写
Replacer<T> - cn.hutool.core.lang中的接口
替换器
通过实现此接口完成指定类型对象的替换操作,替换后的目标类型依旧为指定类型
ReplacerChain - cn.hutool.core.text.replacer中的类
字符串替换链,用于组合多个字符串替换逻辑
ReplacerChain(StrReplacer...) - 类 的构造器cn.hutool.core.text.replacer.ReplacerChain
构造
reset() - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Reset the EqualsBuilder so you can use the same object again
reset() - 类 中的方法cn.hutool.core.collection.ArrayIter
重置数组位置
reset() - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Ansi
 
reset() - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16CCITTFalse
 
reset() - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Checksum
 
reset() - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Modbus
 
reset() - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16USB
 
reset() - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16X25
 
reset() - 类 中的方法cn.hutool.core.io.checksum.CRC16
 
reset() - 类 中的方法cn.hutool.core.io.checksum.CRC8
 
reset() - 类 中的方法cn.hutool.core.io.FastByteArrayOutputStream
 
reset() - 类 中的方法cn.hutool.core.io.FastByteBuffer
 
reset() - 类 中的方法cn.hutool.core.io.resource.MultiResource
重置游标
reset() - 类 中的方法cn.hutool.core.lang.Range
重置Range
reset() - 类 中的方法cn.hutool.core.lang.tree.TreeBuilder
重置Builder,实现复用
reset() - 接口 中的方法cn.hutool.core.text.finder.Finder
复位查找器,用于重用对象
reset() - 类 中的方法cn.hutool.core.text.finder.PatternFinder
 
reset() - 类 中的方法cn.hutool.core.text.split.SplitIter
重置
reset() - 类 中的方法cn.hutool.core.text.StrBuilder
删除全部字符,位置归零
reset() - 类 中的方法cn.hutool.core.thread.ConcurrencyTester
重置测试器,重置包括: 清空worker 重置计时器
resetFrame() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Resets frame state for reading next image.
resize(T[], int, Class<?>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
resize(Object, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
resize(T[], int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
生成一个新的重新设置大小的数组
新数组的类型为原数组的类型,调整大小后拷贝原数组到新数组下。
resize(byte[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
resolve(Func1<T, ?>) - 类 中的静态方法cn.hutool.core.lang.func.LambdaUtil
解析lambda表达式,加了缓存。
resolveClass(ObjectStreamClass) - 类 中的方法cn.hutool.core.io.ValidateObjectInputStream
只允许反序列化SerialObject class
Resource - cn.hutool.core.io.resource中的接口
资源接口定义
资源是数据表示的统称,我们可以将任意的数据封装为一个资源,然后读取其内容。
ResourceClassLoader<T extends Resource> - cn.hutool.core.lang中的类
资源类加载器,可以加载任意类型的资源类
ResourceClassLoader(ClassLoader, Map<String, T>) - 类 的构造器cn.hutool.core.lang.ResourceClassLoader
构造
ResourceUtil - cn.hutool.core.io.resource中的类
Resource资源工具类
ResourceUtil() - 类 的构造器cn.hutool.core.io.resource.ResourceUtil
 
restart() - 类 中的方法cn.hutool.core.date.TimeInterval
重新开始计算时间(重置开始时间)
retainAll(Collection<?>) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
ReUtil - cn.hutool.core.util中的类
正则相关工具类
常用正则请见 Validator
ReUtil() - 类 的构造器cn.hutool.core.util.ReUtil
 
reverse(List<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
反序给定List,会在原List基础上直接修改
reverse(List<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
反序给定List,会在原List基础上直接修改
reverse(Map<T, T>) - 类 中的静态方法cn.hutool.core.map.MapUtil
Map的键和值互换 互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
reverse(T[], int, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
反转数组,会变更原数组
reverse(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
反转数组,会变更原数组
reverse(long[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(long[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(int[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(int[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(short[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(short[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(char[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(char[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(byte[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(byte[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(double[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(double[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(float[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(float[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(boolean[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(boolean[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(String) - 类 中的静态方法cn.hutool.core.util.StrUtil
反转字符串
例如:abcd =》dcba
ReverseComparator<E> - cn.hutool.core.comparator中的类
反转比较器
ReverseComparator(Comparator<? super E>) - 类 的构造器cn.hutool.core.comparator.ReverseComparator
 
reversed() - 类 中的方法cn.hutool.core.comparator.NullComparator
 
reverseNew(List<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
反序给定List,会创建一个新的List,原List数据不变
reverseNew(List<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
反序给定List,会创建一个新的List,原List数据不变
rightClick() - 类 中的静态方法cn.hutool.core.swing.RobotUtil
模拟右键单击
鼠标单击包括鼠标右键的按下和释放
RingIndexUtil - cn.hutool.core.collection中的类
集合索引环形获取工具类
RingIndexUtil() - 类 的构造器cn.hutool.core.collection.RingIndexUtil
 
ringNextInt(int, AtomicInteger) - 类 中的静态方法cn.hutool.core.collection.RingIndexUtil
通过cas操作 实现对指定值内的回环累加
ringNextIntByObj(Object, AtomicInteger) - 类 中的静态方法cn.hutool.core.collection.RingIndexUtil
通过cas操作 实现对指定值内的回环累加
ringNextLong(long, AtomicLong) - 类 中的静态方法cn.hutool.core.collection.RingIndexUtil
通过cas操作 实现对指定值内的回环累加
RobotUtil - cn.hutool.core.swing中的类
Robot 封装工具类,提供截屏等工具
RobotUtil() - 类 的构造器cn.hutool.core.swing.RobotUtil
 
Rot - cn.hutool.core.codec中的类
RotN(rotate by N places),回转N位密码,是一种简易的替换式密码,也是过去在古罗马开发的凯撒加密的一种变体。
Rot() - 类 的构造器cn.hutool.core.codec.Rot
 
rotate(int) - 类 中的方法cn.hutool.core.img.Img
旋转图片为指定角度
来自:http://blog.51cto.com/cping1982/130066
rotate(File, int, File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
旋转图片为指定角度
此方法不会关闭输出流
rotate(Image, int, File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
旋转图片为指定角度
此方法不会关闭输出流
rotate(Image, int, OutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
旋转图片为指定角度
此方法不会关闭输出流
rotate(Image, int, ImageOutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
旋转图片为指定角度
此方法不会关闭输出流,输出格式为JPG
rotate(Image, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
旋转图片为指定角度
来自:http://blog.51cto.com/cping1982/130066
rotatingHash(String, int) - 类 中的静态方法cn.hutool.core.util.HashUtil
旋转hash
round(Calendar, DateField) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
修改日期为某个时间字段四舍五入时间
round(Date, DateField) - 类 中的静态方法cn.hutool.core.date.DateUtil
修改日期为某个时间字段四舍五入时间
round(double) - 类 中的方法cn.hutool.core.img.Img
图片圆角处理
round(double, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
round(String, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
round(BigDecimal, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
round(double, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
round(String, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
round(BigDecimal, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
roundDown(Number, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定小数位数,舍去多余位数
roundDown(BigDecimal, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定小数位数,舍去多余位数
roundHalfEven(Number, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
四舍六入五成双计算法 四舍六入五成双是一种比较精确比较科学的计数保留法,是一种数字修约规则。
roundHalfEven(BigDecimal, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
四舍六入五成双计算法 四舍六入五成双是一种比较精确比较科学的计数保留法,是一种数字修约规则。
rounding(BigDecimal, RoundingMode) - 类 中的方法cn.hutool.core.math.Money
对BigDecimal型的值按指定取整方式取整。
roundStr(double, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
roundStr(String, int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
roundStr(double, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
roundStr(String, int, RoundingMode) - 类 中的静态方法cn.hutool.core.util.NumberUtil
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
rsHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
RS算法hash
run() - 类 中的方法cn.hutool.core.io.file.LineReadWatcher
 
run() - 类 中的方法cn.hutool.core.io.watch.WatchMonitor
 
run() - 枚举 中的方法cn.hutool.core.swing.clipboard.ClipboardMonitor
 
run() - 类 中的方法cn.hutool.core.thread.SemaphoreRunnable
 
run() - 类 中的方法cn.hutool.core.thread.SyncFinisher.Worker
 
RuntimeUtil - cn.hutool.core.util中的类
系统运行时工具类,用于执行系统命令的工具
RuntimeUtil() - 类 的构造器cn.hutool.core.util.RuntimeUtil
 

S

safeGet(String) - 类 中的方法cn.hutool.core.bean.DynaBean
获得字段对应值,获取异常返回null
safeSleep(Number) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
考虑Thread.sleep(long)方法有可能时间不足给定毫秒数,此方法保证sleep时间不小于给定的毫秒数
safeSleep(long) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
考虑Thread.sleep(long)方法有可能时间不足给定毫秒数,此方法保证sleep时间不小于给定的毫秒数
safeUnescape(String) - 类 中的静态方法cn.hutool.core.util.EscapeUtil
安全的unescape文本,当文本不是被escape的时候,返回原文。
sample - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
samplefac - 类 中的变量cn.hutool.core.img.gif.NeuQuant
 
scale(float) - 类 中的方法cn.hutool.core.img.Img
缩放图像(按比例缩放)
scale(int, int) - 类 中的方法cn.hutool.core.img.Img
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
scale(int, int, Color) - 类 中的方法cn.hutool.core.img.Img
等比缩放图像,此方法按照按照给定的长宽等比缩放图片,按照长宽缩放比最多的一边等比缩放,空白部分填充背景色
缩放后默认为jpeg格式
scale(File, File, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按比例缩放),目标文件的扩展名决定目标文件类型
scale(InputStream, OutputStream, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
scale(ImageInputStream, ImageOutputStream, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
scale(Image, File, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
scale(Image, OutputStream, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
scale(Image, ImageOutputStream, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按比例缩放)
缩放后默认为jpeg格式,此方法并不关闭流
scale(Image, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按比例缩放)
scale(Image, int, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按长宽缩放)
注意:目标长宽与原图不成比例会变形
scale(File, File, int, int, Color) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按高度和宽度缩放)
缩放后默认格式与源图片相同,无法识别原图片默认JPG
scale(InputStream, OutputStream, int, int, Color) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
scale(ImageInputStream, ImageOutputStream, int, int, Color) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
scale(Image, ImageOutputStream, int, int, Color) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式,此方法并不关闭流
scale(Image, int, int, Color) - 类 中的静态方法cn.hutool.core.img.ImgUtil
缩放图像(按高度和宽度缩放)
缩放后默认为jpeg格式
ScaleType - cn.hutool.core.img中的枚举
图片缩略算法类型
scan() - 类 中的方法cn.hutool.core.lang.ClassScanner
扫描包路径下满足class过滤器条件的所有class文件
此方法首先扫描指定包名下的资源目录,如果未扫描到,则扫描整个classpath中所有加载的类
scan(boolean) - 类 中的方法cn.hutool.core.lang.ClassScanner
扫描包路径下满足class过滤器条件的所有class文件
scanAllPackage() - 类 中的静态方法cn.hutool.core.lang.ClassScanner
扫描该包路径下所有class文件,包括其他加载的jar或者类
scanAllPackage(String, Filter<Class<?>>) - 类 中的静态方法cn.hutool.core.lang.ClassScanner
扫描包路径下和所有在classpath中加载的类,满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理
scanAllPackageByAnnotation(String, Class<? extends Annotation>) - 类 中的静态方法cn.hutool.core.lang.ClassScanner
扫描指定包路径下所有包含指定注解的类,包括其他加载的jar或者类
scanAllPackageBySuper(String, Class<?>) - 类 中的静态方法cn.hutool.core.lang.ClassScanner
扫描指定包路径下所有指定类或接口的子类或实现类,不包括指定父类本身,包括其他加载的jar或者类
scanner() - 类 中的静态方法cn.hutool.core.lang.Console
创建从控制台读取内容的Scanner
scanPackage() - 类 中的静态方法cn.hutool.core.lang.ClassScanner
扫描classpath下所有class文件,如果classpath下已经有类,不再扫描其他加载的jar或者类
scanPackage(String) - 类 中的静态方法cn.hutool.core.lang.ClassScanner
扫描该包路径下所有class文件
scanPackage(String, Filter<Class<?>>) - 类 中的静态方法cn.hutool.core.lang.ClassScanner
扫描包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理
scanPackage() - 类 中的静态方法cn.hutool.core.util.ClassUtil
扫描该包路径下所有class文件
scanPackage(String) - 类 中的静态方法cn.hutool.core.util.ClassUtil
扫描该包路径下所有class文件
scanPackage(String, Filter<Class<?>>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
扫描包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理,有可能是一个不完善的地方,以后需要进行修改
scanPackageByAnnotation(String, Class<? extends Annotation>) - 类 中的静态方法cn.hutool.core.lang.ClassScanner
扫描指定包路径下所有包含指定注解的类
如果classpath下已经有类,不再扫描其他加载的jar或者类
scanPackageByAnnotation(String, Class<? extends Annotation>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
扫描指定包路径下所有包含指定注解的类
scanPackageBySuper(String, Class<?>) - 类 中的静态方法cn.hutool.core.lang.ClassScanner
扫描指定包路径下所有指定类或接口的子类或实现类,不包括指定父类本身
如果classpath下已经有类,不再扫描其他加载的jar或者类
scanPackageBySuper(String, Class<?>) - 类 中的静态方法cn.hutool.core.util.ClassUtil
扫描指定包路径下所有指定类或接口的子类或实现类
schedule(ScheduledThreadPoolExecutor, Runnable, long, long, boolean) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
开始执行一个定时任务,执行方式分fixedRate模式和fixedDelay模式。
schedule(ScheduledThreadPoolExecutor, Runnable, long, long, TimeUnit, boolean) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
开始执行一个定时任务,执行方式分fixedRate模式和fixedDelay模式。
ScreenUtil - cn.hutool.core.swing中的类
屏幕相关(当前显示设置)工具类
ScreenUtil() - 类 的构造器cn.hutool.core.swing.ScreenUtil
 
sdbmHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
SDBM算法
second() - 类 中的方法cn.hutool.core.date.DateTime
获得指定日期的秒数部分
second(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期的秒数部分
secondToTime(int) - 类 中的静态方法cn.hutool.core.date.DateUtil
秒数转为时间格式(HH:mm:ss)
参考:https://github.com/iceroot
SecurityManagerCaller - cn.hutool.core.lang.caller中的类
SecurityManager 方式获取调用者
SecurityManagerCaller() - 类 的构造器cn.hutool.core.lang.caller.SecurityManagerCaller
 
Segment<T extends Number> - cn.hutool.core.lang中的接口
片段表示,用于表示文本、集合等数据结构的一个区间。
select() - 类 中的方法cn.hutool.core.math.Arrangement
全排列选择(列表全部参与排列)
select(int) - 类 中的方法cn.hutool.core.math.Arrangement
排列选择(从列表中选择m个排列)
select(int) - 类 中的方法cn.hutool.core.math.Combination
组合选择(从列表中选择m个组合)
selectAll() - 类 中的方法cn.hutool.core.math.Arrangement
排列所有组合,即A(n, 1) + A(n, 2) + A(n, 3)...
selectAll() - 类 中的方法cn.hutool.core.math.Combination
全组合
selectNumberRule(int, int) - 类 中的方法cn.hutool.core.date.format.FastDatePrinter
Gets an appropriate rule for the padding required.
SemaphoreRunnable - cn.hutool.core.thread中的类
带有信号量控制的Runnable 接口抽象实现 通过设置信号量,可以限制可以访问某些资源(物理或逻辑的)线程数目。
SemaphoreRunnable(Runnable, Semaphore) - 类 的构造器cn.hutool.core.thread.SemaphoreRunnable
构造
serialize(T) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
序列化
对象必须实现Serializable接口
serialize(T) - 类 中的静态方法cn.hutool.core.util.SerializeUtil
序列化
对象必须实现Serializable接口
SerializeUtil - cn.hutool.core.util中的类
序列化工具类
SerializeUtil() - 类 的构造器cn.hutool.core.util.SerializeUtil
 
ServiceLoaderUtil - cn.hutool.core.util中的类
SPI机制中的服务加载工具类,流程如下 1、创建接口,并创建实现类 2、ClassPath/META-INF/services下创建与接口全限定类名相同的文件 3、文件内容填写实现类的全限定类名 相关介绍见:https://www.jianshu.com/p/3a3edbcd8f24
ServiceLoaderUtil() - 类 的构造器cn.hutool.core.util.ServiceLoaderUtil
 
set(Object, Object) - 类 中的方法cn.hutool.core.bean.BeanPath
设置表达式指定位置(或filed对应)的值
若表达式指向一个List则设置其坐标对应位置的值,若指向Map则put对应key的值,Bean则设置字段的值
注意: 1.
set(String, Object) - 类 中的方法cn.hutool.core.bean.DynaBean
设置字段值
set(boolean, T...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
新建一个HashSet
set(String, Object) - 类 中的方法cn.hutool.core.lang.Dict
设置列
set(T) - 接口 中的方法cn.hutool.core.lang.mutable.Mutable
设置值
set(boolean) - 类 中的方法cn.hutool.core.lang.mutable.MutableBool
设置值
set(Boolean) - 类 中的方法cn.hutool.core.lang.mutable.MutableBool
 
set(byte) - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
设置值
set(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
 
set(double) - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
设置值
set(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
 
set(float) - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
设置值
set(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
 
set(int) - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
设置值
set(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
 
set(long) - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
设置值
set(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
 
set(T) - 类 中的方法cn.hutool.core.lang.mutable.MutableObj
 
set(short) - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
设置值
set(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
 
set(Transferable) - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
设置内容到剪贴板
set(Transferable, ClipboardOwner) - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
设置内容到剪贴板
set(int, String) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
setAccessible(Method) - 类 中的静态方法cn.hutool.core.util.ClassUtil
设置方法为可访问
setAccessible(T) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
设置方法为可访问(私有方法可以被外部调用)
setAllowCoreThreadTimeOut(boolean) - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
设置线程执行超时后是否回收线程
setAllowFileExts(boolean) - 类 中的方法cn.hutool.core.net.multipart.UploadSetting
设定是否允许扩展名
setAlpha(Graphics2D, float) - 类 中的静态方法cn.hutool.core.img.GraphicsUtil
设置画笔透明度
setAlwaysDelimitText(boolean) - 类 中的方法cn.hutool.core.text.csv.CsvWriteConfig
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
setAlwaysDelimitText(boolean) - 类 中的方法cn.hutool.core.text.csv.CsvWriter
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
setAmount(BigDecimal) - 类 中的方法cn.hutool.core.math.Money
设置本货币对象代表的金额数。
setBackground(Color) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Sets the background color for the last added frame and any subsequent frames.
setBeginAtSameTime(boolean) - 类 中的方法cn.hutool.core.thread.SyncFinisher
设置是否所有worker线程同时开始
setBeginLineNo(long) - 类 中的方法cn.hutool.core.text.csv.CsvReadConfig
设置开始的行(包括),默认0,此处为原始文件行号
setBetweenMs(long) - 类 中的方法cn.hutool.core.date.BetweenFormatter
设置 时长毫秒数
setCacheHash(boolean) - 类 中的方法cn.hutool.core.lang.Tuple
缓存Hash值,当为true时,此对象的hash值只被计算一次,常用于Tuple中的值不变时使用。
setCapacity(int) - 类 中的方法cn.hutool.core.map.FixedLinkedHashMap
设置容量
setCent(long) - 类 中的方法cn.hutool.core.math.Money
设置货币的分值。
setCharset(Charset) - 类 中的方法cn.hutool.core.io.file.FileWrapper
设置字符集编码
setCharset(Charset) - 类 中的方法cn.hutool.core.net.url.UrlBuilder
设置编码,用于URLEncode和URLDecode
setChildren(List<Tree<T>>) - 类 中的方法cn.hutool.core.lang.tree.Tree
设置子节点,设置后会覆盖所有原有子节点
setChildrenKey(String) - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
设置子点对应的名称
setClassLoader(ClassLoader) - 类 中的方法cn.hutool.core.lang.ClassScanner
设置自定义的类加载器
setComment(String) - 类 中的方法cn.hutool.core.compress.ZipWriter
设置注释
setCommentCharacter(Character) - 类 中的方法cn.hutool.core.text.csv.CsvConfig
设置 注释符号,用于区分注释行,null表示忽略注释
setComparator(int, Comparator<E>) - 类 中的方法cn.hutool.core.comparator.ComparatorChain
替换指定位置的比较器,保持原排序方式
setComparator(int, Comparator<E>, boolean) - 类 中的方法cn.hutool.core.comparator.ComparatorChain
替换指定位置的比较器,替换指定排序方式
setContainsHeader(boolean) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
设置是否首行做为标题行,默认false
setContainsHeader(boolean) - 类 中的方法cn.hutool.core.text.csv.CsvReadConfig
设置是否首行做为标题行,默认false
setCopyAttributes(boolean) - 类 中的方法cn.hutool.core.io.file.FileCopier
设置是否拷贝所有属性
setCopyContentIfDir(boolean) - 类 中的方法cn.hutool.core.io.file.FileCopier
当拷贝来源是目录时是否只拷贝目录下的内容
setCopyFilter(Filter<T>) - 类 中的方法cn.hutool.core.lang.copier.SrcToDestCopier
设置过滤器
setCorePoolSize(int) - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
设置初始池大小,默认0
setDaemon(boolean) - 类 中的方法cn.hutool.core.thread.ThreadFactoryBuilder
设置是否守护线程
setDeep(Integer) - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
设置递归深度
setDelay(int) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
设置每一帧的间隔时间 Sets the delay time between each frame, or changes it for subsequent frames (applies to last frame added).
setDelay(long) - 枚举 中的方法cn.hutool.core.swing.clipboard.ClipboardMonitor
设置重试等待
setDelay(int) - 类 中的静态方法cn.hutool.core.swing.RobotUtil
设置默认的延迟时间
当按键执行完后的等待时间,也可以用ThreadUtil.sleep方法代替
setDelimiter(CharSequence) - 类 中的方法cn.hutool.core.text.StrJoiner
设置分隔符
setDest(T) - 类 中的方法cn.hutool.core.lang.copier.SrcToDestCopier
设置目标
setDispose(int) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Sets the GIF frame disposal code for the last added frame and any subsequent frames.
setEditable(Class<?>) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性
setEmptyResult(String) - 类 中的方法cn.hutool.core.text.StrJoiner
设置当没有任何元素加入时,默认返回的字符串,默认""
setEncodeSpaceAsPlus(boolean) - 类 中的方法cn.hutool.core.net.URLEncoder
是否将空格编码为+
setEndLineNo(long) - 类 中的方法cn.hutool.core.text.csv.CsvReadConfig
设置结束的行(包括),默认不限制,此处为原始文件行号
setEquals(boolean) - 类 中的方法cn.hutool.core.builder.EqualsBuilder
Sets the isEquals value.
setErrorOnDifferentFieldCount(boolean) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
设置每行字段个数不同时是否抛出异常,默认false
setErrorOnDifferentFieldCount(boolean) - 类 中的方法cn.hutool.core.text.csv.CsvReadConfig
设置每行字段个数不同时是否抛出异常,默认false
setExtra(Map<String, Object>) - 类 中的方法cn.hutool.core.lang.tree.TreeNode
设置扩展字段
setField(DateField, int) - 类 中的方法cn.hutool.core.date.DateTime
设置日期的某个部分
如果此对象为可变对象,返回自身,否则返回新对象,设置是否可变对象见DateTime.setMutable(boolean)
setField(int, int) - 类 中的方法cn.hutool.core.date.DateTime
设置日期的某个部分
如果此对象为可变对象,返回自身,否则返回新对象,设置是否可变对象见DateTime.setMutable(boolean)
setFieldMapping(Map<String, String>) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置拷贝属性的字段映射,用于不同的属性之前拷贝做对应表用
setFieldNameEditor(Editor<String>) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置字段属性编辑器,用于自定义属性转换规则,例如驼峰转下划线等
此转换器只针对源端的字段做转换,请确认转换后与目标端字段一致
当转换后的字段名为null时忽略这个字段
setFieldSeparator(char) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
设置字段分隔符,默认逗号','
setFieldSeparator(char) - 类 中的方法cn.hutool.core.text.csv.CsvConfig
设置字段分隔符,默认逗号','
setFieldValue(Object, String, Object) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
设置字段值,通过反射设置字段值,并不调用setXXX方法
对象同样支持Map类型,fieldNameOrIndex即为key
setFieldValue(Object, String, Object) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
设置字段值
setFieldValue(Object, Field, Object) - 类 中的静态方法cn.hutool.core.util.ReflectUtil
设置字段值
setFieldValueEditor(BiFunction<String, Object, Object>) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置字段属性值编辑器,用于自定义属性值转换规则,例如null转""等
setFile(File) - 类 中的方法cn.hutool.core.io.file.FileWrapper
设置文件
setFileExts(String[]) - 类 中的方法cn.hutool.core.net.multipart.UploadSetting
设定文件扩展名限定里列表
禁止列表还是允许列表取决于isAllowFileExts
setFirstDayOfWeek(Week) - 类 中的方法cn.hutool.core.date.DateTime
设置一周的第一天
JDK的Calendar中默认一周的第一天是周日,Hutool中将此默认值设置为周一
设置一周的第一天主要影响DateTime.weekOfMonth()DateTime.weekOfYear() 两个方法
setFirstPageNo(int) - 类 中的静态方法cn.hutool.core.util.PageUtil
设置首页页码,可以为0或者1 当设置为0时,页码0表示第一页,开始位置为0 当设置为1时,页码1表示第一页,开始位置为0
setFormat(String) - 类 中的方法cn.hutool.core.convert.impl.CalendarConverter
设置日期格式
setFormat(String) - 类 中的方法cn.hutool.core.convert.impl.DateConverter
设置日期格式
setFormat(String) - 类 中的方法cn.hutool.core.convert.impl.TemporalAccessorConverter
设置日期格式
setForwardSort(int) - 类 中的方法cn.hutool.core.comparator.ComparatorChain
更改指定位置的排序方式为正序
setFragment(String) - 类 中的方法cn.hutool.core.net.url.UrlBuilder
设置标识符,例如#后边的部分
setFrameRate(float) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Sets frame rate in frames per second.
setGlobalAuthenticator(String, char[]) - 类 中的静态方法cn.hutool.core.net.NetUtil
设置全局验证
setGlobalAuthenticator(Authenticator) - 类 中的静态方法cn.hutool.core.net.NetUtil
设置全局验证
setHandler(RejectedExecutionHandler) - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
设置当线程阻塞(block)时的异常处理器,所谓线程阻塞即线程池和等待队列已满,无法处理线程时采取的策略 此处可以使用JDK预定义的几种策略,见RejectPolicy枚举
setHeaderAlias(Map<String, String>) - 类 中的方法cn.hutool.core.text.csv.CsvConfig
设置标题行的别名Map
setHighValue(long) - 类 中的方法cn.hutool.core.lang.hash.Number128
 
setHost(String) - 类 中的方法cn.hutool.core.net.url.UrlBuilder
设置主机,例如127.0.0.1
setId(T) - 接口 中的方法cn.hutool.core.lang.tree.Node
设置ID
setId(T) - 类 中的方法cn.hutool.core.lang.tree.Tree
 
setId(E) - 类 中的方法cn.hutool.core.lang.tree.TreeBuilder
设置ID
setId(T) - 类 中的方法cn.hutool.core.lang.tree.TreeNode
 
setIdKey(String) - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
设置ID对应的名称
setIgnoreCase(boolean) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置是否忽略字段的大小写
setIgnoreElementError(boolean) - 类 中的方法cn.hutool.core.convert.impl.ArrayConverter
设置是否忽略元素转换错误
setIgnoreError(boolean) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置是否忽略字段的注入错误
setIgnoreNull(String, Object) - 类 中的方法cn.hutool.core.lang.Dict
设置列,当键或值为null时忽略
setIgnoreNullValue(boolean) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
setIgnoreProperties(String...) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值
setImage(Image) - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
设置图片到剪贴板
setInitialize(boolean) - 类 中的方法cn.hutool.core.lang.ClassScanner
设置是否在扫描到类时初始化类
setKeepAliveTime(long, TimeUnit) - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长
setKeepAliveTime(long) - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长,单位纳秒
setKeepTaskList(boolean) - 类 中的方法cn.hutool.core.date.StopWatch
设置是否在停止后保留任务,false 表示停止运行后不保留任务
setKeyManagers(KeyManager...) - 类 中的方法cn.hutool.core.net.SSLContextBuilder
设置 JSSE key managers
setLevel(int) - 类 中的方法cn.hutool.core.compress.ZipWriter
设置压缩级别,可选1~9,-1表示默认
setLevel(BetweenFormatter.Level) - 类 中的方法cn.hutool.core.date.BetweenFormatter
设置格式化级别
setLineDelimiter(char[]) - 类 中的方法cn.hutool.core.text.csv.CsvWriteConfig
设置换行符
setLineDelimiter(char[]) - 类 中的方法cn.hutool.core.text.csv.CsvWriter
设置换行符
setLowValue(long) - 类 中的方法cn.hutool.core.lang.hash.Number128
 
setMaxDepth(int) - 类 中的方法cn.hutool.core.io.watch.WatchMonitor
当监听目录时,监听目录的最大深度
当设置值为1(或小于1)时,表示不递归监听子目录
例如设置: maxDepth <= 1 表示只监听当前目录 maxDepth = 2 表示监听当前目录以及下层目录 maxDepth = 3 表示监听当前目录以及下层
setMaxFileSize(long) - 类 中的方法cn.hutool.core.net.multipart.UploadSetting
设定最大文件大小,-1表示无限制
setMaxPoolSize(int) - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
设置最大池大小(允许同时执行的最大线程数)
setMemoryThreshold(int) - 类 中的方法cn.hutool.core.net.multipart.UploadSetting
设定文件保存到内存的边界
如果文件大小小于这个边界,将保存于内存中,否则保存至临时目录中
setModifiers(WatchEvent.Modifier[]) - 类 中的方法cn.hutool.core.io.watch.WatchServer
设置监听选项,例如监听频率等,可设置项包括: 1、com.sun.nio.file.StandardWatchEventKinds 2、com.sun.nio.file.SensitivityWatchEventModifier
setMutable(boolean) - 类 中的方法cn.hutool.core.date.DateTime
设置对象是否可变 如果为不可变对象,以下方法将返回新方法: DateTime.offset(DateField, int) DateTime.setField(DateField, int) DateTime.setField(int, int) 如果为不可变对象,DateTime.setTime(long)将抛出异常
setName(CharSequence) - 接口 中的方法cn.hutool.core.lang.tree.Node
设置节点标签名称
setName(CharSequence) - 类 中的方法cn.hutool.core.lang.tree.Tree
 
setName(CharSequence) - 类 中的方法cn.hutool.core.lang.tree.TreeBuilder
设置节点标签名称
setName(CharSequence) - 类 中的方法cn.hutool.core.lang.tree.TreeNode
 
setNameKey(String) - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
设置节点名对应的名称
setNamePrefix(String) - 类 中的方法cn.hutool.core.thread.ThreadFactoryBuilder
设置线程名前缀,例如设置前缀为hutool-thread-,则线程名为hutool-thread-1之类。
setNamespaceAware(boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
设置是否打开命名空间支持,默认打开
setNullMode(StrJoiner.NullMode) - 类 中的方法cn.hutool.core.text.StrJoiner
设置null元素处理逻辑
setObj(T) - 类 中的方法cn.hutool.core.lang.WeightRandom.WeightObj
设置对象
setOneAsFirstPageNo() - 类 中的静态方法cn.hutool.core.util.PageUtil
设置首页页码为1 当设置为1时,页码1表示第一页,开始位置为0
setOnlyCopyFile(boolean) - 类 中的方法cn.hutool.core.io.file.FileCopier
设置当拷贝来源是目录时是否只拷贝文件而忽略子目录
setOrAppend(List<T>, int, T) - 类 中的静态方法cn.hutool.core.collection.CollUtil
设置或增加元素。
setOrAppend(List<T>, int, T) - 类 中的静态方法cn.hutool.core.collection.ListUtil
设置或增加元素。
setOrAppend(T[], int, T) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
setOrAppend(Object, int, Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
setOverride(boolean) - 类 中的方法cn.hutool.core.io.file.FileCopier
设置是否覆盖目标文件
setParent(Tree<T>) - 类 中的方法cn.hutool.core.lang.tree.Tree
设置父节点
setParentId(T) - 接口 中的方法cn.hutool.core.lang.tree.Node
设置父节点ID
setParentId(T) - 类 中的方法cn.hutool.core.lang.tree.Tree
 
setParentId(E) - 类 中的方法cn.hutool.core.lang.tree.TreeBuilder
设置父节点ID
setParentId(T) - 类 中的方法cn.hutool.core.lang.tree.TreeNode
 
setParentIdKey(String) - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
设置父点对应的名称
setPath(UrlPath) - 类 中的方法cn.hutool.core.net.url.UrlBuilder
设置路径,例如/aa/bb/cc,将覆盖之前所有的path相关设置
setPixels() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Creates new frame image from current data (and previous frames as specified by their disposition codes).
setPort(int) - 类 中的方法cn.hutool.core.net.url.UrlBuilder
设置端口,默认-1
setPositionBaseCentre(boolean) - 类 中的方法cn.hutool.core.img.Img
计算x,y坐标的时候是否从中心做为原始坐标开始计算
setPrefix(CharSequence) - 类 中的方法cn.hutool.core.text.StrJoiner
设置前缀
setPriority(int) - 类 中的方法cn.hutool.core.thread.ThreadFactoryBuilder
设置线程优先级
setPropertiesFilter(BiPredicate<Field, Object>) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
属性过滤器,断言通过的属性才会被复制
setProperty(Object, String, Object) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
解析Bean中的属性值
setProtocol(String) - 类 中的方法cn.hutool.core.net.SSLContextBuilder
设置协议。
setQuality(int) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Sets quality of color quantization (conversion of images to the maximum 256 colors allowed by the GIF specification).
setQuality(double) - 类 中的方法cn.hutool.core.img.Img
设置图片输出质量,数字为0~1(不包括0和1)表示质量压缩比,除此数字外设置表示不压缩
setQuality(float) - 类 中的方法cn.hutool.core.img.Img
设置图片输出质量,数字为0~1(不包括0和1)表示质量压缩比,除此数字外设置表示不压缩
setQuery(UrlQuery) - 类 中的方法cn.hutool.core.net.url.UrlBuilder
设置查询语句,例如a=1&b=2,将覆盖之前所有的query相关设置
setRepeat(int) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Sets the number of times the set of GIF frames should be played.
setReverseSort(int) - 类 中的方法cn.hutool.core.comparator.ComparatorChain
更改指定位置的排序方式为反序
setScheme(String) - 类 中的方法cn.hutool.core.net.url.UrlBuilder
设置协议,例如http
setSecureRandom(SecureRandom) - 类 中的方法cn.hutool.core.net.SSLContextBuilder
设置 SecureRandom
setSize(int, int) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Sets the GIF frame size.
setSkipEmptyRows(boolean) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
设置是否跳过空白行,默认true
setSkipEmptyRows(boolean) - 类 中的方法cn.hutool.core.text.csv.CsvReadConfig
设置是否跳过空白行,默认true
setSrc(T) - 类 中的方法cn.hutool.core.lang.copier.SrcToDestCopier
设置源
setStr(String) - 类 中的静态方法cn.hutool.core.swing.clipboard.ClipboardUtil
设置字符串文本到剪贴板
setSuffix(CharSequence) - 类 中的方法cn.hutool.core.text.StrJoiner
设置后缀
setTargetImageType(String) - 类 中的方法cn.hutool.core.img.Img
设置目标图片文件格式,用于写出
setter - 类 中的变量cn.hutool.core.bean.PropDesc
Setter方法
setText(CharSequence) - 类 中的方法cn.hutool.core.text.finder.PatternFinder
 
setText(CharSequence) - 类 中的方法cn.hutool.core.text.finder.TextFinder
设置被查找的文本
setTextDelimiter(char) - 类 中的方法cn.hutool.core.text.csv.CsvBaseReader
设置 文本分隔符,文本包装符,默认双引号'"'
setTextDelimiter(char) - 类 中的方法cn.hutool.core.text.csv.CsvConfig
设置 文本分隔符,文本包装符,默认双引号'"'
setThreadFactory(ThreadFactory) - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
设置线程工厂,用于自定义线程创建
setThreadFactory(ThreadFactory) - 类 中的方法cn.hutool.core.thread.ThreadFactoryBuilder
设置用于创建基础线程的线程工厂
setTime(long) - 类 中的方法cn.hutool.core.date.DateTime
 
setTimeZone(TimeZone) - 类 中的方法cn.hutool.core.date.DateTime
设置时区
setTmpUploadPath(String) - 类 中的方法cn.hutool.core.net.multipart.UploadSetting
设定上传文件的临时目录,null表示使用系统临时目录
setTransientSupport(boolean) - 类 中的方法cn.hutool.core.bean.copier.CopyOptions
设置是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
setTransparent(Color) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Sets the transparent color for the last added frame and any subsequent frames.
setTransparent(Color, boolean) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Sets the transparent color for the last added frame and any subsequent frames.
setTrimField(boolean) - 类 中的方法cn.hutool.core.text.csv.CsvReadConfig
设置每个字段是否去除两边空白符
如果字段以CsvConfig.textDelimiter包围,则保留两边空格
setTrustManagers(TrustManager...) - 类 中的方法cn.hutool.core.net.SSLContextBuilder
设置信任信息
setTryCount(int) - 枚举 中的方法cn.hutool.core.swing.clipboard.ClipboardMonitor
设置重试次数
setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - 类 中的方法cn.hutool.core.thread.ThreadFactoryBuilder
设置未捕获异常的处理方式
setValue(Annotation, String, Object) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
设置新的注解的属性(字段)值
setValue(Object, Object) - 类 中的方法cn.hutool.core.bean.PropDesc
设置Bean的字段值
首先调用字段对应的Setter方法,如果Setter方法不存在,则判断字段如果为public,则直接赋值字段值
此方法不检查任何注解,使用前需调用 PropDesc.isWritable(boolean) 检查是否可写
setValue(Object, Object, boolean, boolean) - 类 中的方法cn.hutool.core.bean.PropDesc
设置属性值,可以自动转换字段类型为目标类型
SetValueMap<K,V> - cn.hutool.core.map.multi中的类
值作为集合Set(LinkedHashSet)的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
SetValueMap() - 类 的构造器cn.hutool.core.map.multi.SetValueMap
构造
SetValueMap(int) - 类 的构造器cn.hutool.core.map.multi.SetValueMap
构造
SetValueMap(Map<? extends K, ? extends Collection<V>>) - 类 的构造器cn.hutool.core.map.multi.SetValueMap
构造
SetValueMap(float, Map<? extends K, ? extends Collection<V>>) - 类 的构造器cn.hutool.core.map.multi.SetValueMap
构造
SetValueMap(int, float) - 类 的构造器cn.hutool.core.map.multi.SetValueMap
构造
setWatcher(Watcher) - 类 中的方法cn.hutool.core.io.watch.WatchMonitor
设置监听
多个监听请使用WatcherChain
setWeight(Comparable<?>) - 接口 中的方法cn.hutool.core.lang.tree.Node
设置权重
setWeight(Comparable<?>) - 类 中的方法cn.hutool.core.lang.tree.Tree
 
setWeight(Comparable<?>) - 类 中的方法cn.hutool.core.lang.tree.TreeBuilder
设置权重
setWeight(Comparable<?>) - 类 中的方法cn.hutool.core.lang.tree.TreeNode
 
setWeightKey(String) - 类 中的方法cn.hutool.core.lang.tree.TreeNodeConfig
设置权重对应的名称
setWithEndTag(boolean) - 类 中的方法cn.hutool.core.net.url.UrlPath
是否path的末尾加 /
setWorkQueue(BlockingQueue<Runnable>) - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
设置队列,用于存在未执行的线程
可选队列有: 1.
setWrapElement(boolean) - 类 中的方法cn.hutool.core.text.StrJoiner
设置前缀和后缀是否包装每个元素
SHORT - 类 中的静态变量cn.hutool.core.date.format.FastDateFormat
SHORT locale dependent date or time style.
shortSummary() - 类 中的方法cn.hutool.core.date.StopWatch
获取任务信息
shortToBytes(short) - 类 中的静态方法cn.hutool.core.convert.Convert
short转byte数组
默认以小端序转换
shortToBytes(short) - 类 中的静态方法cn.hutool.core.util.ByteUtil
short转byte数组
默认以小端序转换
shortToBytes(short, ByteOrder) - 类 中的静态方法cn.hutool.core.util.ByteUtil
short转byte数组
自定义端序
shortValue() - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
 
shuffle(T[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
打乱数组顺序,会变更原数组
shuffle(T[], Random) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
打乱数组顺序,会变更原数组
shuffle(int[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(int[], Random) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(long[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(long[], Random) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(double[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(double[], Random) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(float[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(float[], Random) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(boolean[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(boolean[], Random) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(byte[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(byte[], Random) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(char[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(char[], Random) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(short[]) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(short[], Random) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shutdown() - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
shutdown(boolean) - 类 中的静态方法cn.hutool.core.thread.GlobalThreadPool
关闭公共线程池
shutdownNow() - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
Simhash - cn.hutool.core.text中的类
Simhash是一种局部敏感hash,用于海量文本去重。
Simhash() - 类 的构造器cn.hutool.core.text.Simhash
构造
Simhash(int, int) - 类 的构造器cn.hutool.core.text.Simhash
构造
similar(String, String) - 类 中的静态方法cn.hutool.core.text.TextSimilarity
计算相似度,两个都是空串相似度为1,被认为是相同的串
比较方法为: 只比较两个字符串字母、数字、汉字部分,其他符号去除 计算出两个字符串最大子串,除以最长的字符串,结果即为相似度
similar(String, String, int) - 类 中的静态方法cn.hutool.core.text.TextSimilarity
计算相似度百分比
similar(String, String) - 类 中的静态方法cn.hutool.core.util.StrUtil
计算两个字符串的相似度
similar(String, String, int) - 类 中的静态方法cn.hutool.core.util.StrUtil
计算两个字符串的相似度百分比
SIMPLE_MONTH_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
简单年月格式 FastDateFormat:yyyyMM
SIMPLE_MONTH_FORMATTER - 类 中的静态变量cn.hutool.core.date.DatePattern
简单年月格式 FastDateFormat:yyyyMM
SIMPLE_MONTH_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
简单年月格式:yyyyMM
SimpleCache<K,V> - cn.hutool.core.lang中的类
简单缓存,无超时实现,默认使用WeakHashMap实现缓存自动清理
SimpleCache() - 类 的构造器cn.hutool.core.lang.SimpleCache
构造,默认使用WeakHashMap实现缓存自动清理
SimpleCache(Map<K, V>) - 类 的构造器cn.hutool.core.lang.SimpleCache
构造 通过自定义Map初始化,可以自定义缓存实现。
SimpleCollector<T,A,R> - cn.hutool.core.stream中的类
简单Collector接口实现
SimpleCollector(Supplier<A>, BiConsumer<A, T>, BinaryOperator<A>, Function<A, R>, Set<Collector.Characteristics>) - 类 的构造器cn.hutool.core.stream.SimpleCollector
构造
SimpleCollector(Supplier<A>, BiConsumer<A, T>, BinaryOperator<A>, Set<Collector.Characteristics>) - 类 的构造器cn.hutool.core.stream.SimpleCollector
构造
simpleUUID() - 类 中的静态方法cn.hutool.core.util.IdUtil
简化的UUID,去掉了横线
SimpleWatcher - cn.hutool.core.io.watch中的类
空白WatchListener
用户继承此类后实现需要监听的方法
SimpleWatcher() - 类 的构造器cn.hutool.core.io.watch.SimpleWatcher
 
SINGLE_QUOTE - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:单引号 '\''
Singleton - cn.hutool.core.lang中的类
单例类
提供单例对象的统一管理,当调用get方法时,如果对象池中存在此对象,返回此对象,否则创建新对象返回
size() - 类 中的方法cn.hutool.core.collection.AvgPartition
 
size(Object) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取Collection或者iterator的大小,此方法可以处理的对象类型如下: Collection - the collection size Map - the map size Array - the array size Iterator - the number of elements remaining in the iterator Enumeration - the number of elements remaining in the enumeration
size() - 类 中的方法cn.hutool.core.collection.ConcurrentHashSet
 
size(Iterable<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
返回 Iterable 对象的元素数量
size(Iterator<?>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
返回 Iterator 对象的元素数量
size - 类 中的变量cn.hutool.core.collection.Partition
 
size() - 类 中的方法cn.hutool.core.collection.Partition
 
size() - 类 中的方法cn.hutool.core.collection.TransCollection
 
size() - 类 中的方法cn.hutool.core.comparator.ComparatorChain
比较器链中比较器个数
size() - 类 中的方法cn.hutool.core.io.FastByteArrayOutputStream
 
size() - 类 中的方法cn.hutool.core.io.FastByteBuffer
 
size(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
计算目录或文件的总大小
当给定对象为文件时,直接调用 File.length()
当给定对象为目录时,遍历目录下的所有文件和目录,递归计算其大小,求和返回
size() - 类 中的方法cn.hutool.core.lang.Tuple
得到元组的大小
size() - 类 中的方法cn.hutool.core.map.MapProxy
 
size() - 类 中的方法cn.hutool.core.map.MapWrapper
 
size() - 类 中的方法cn.hutool.core.map.TableMap
 
size() - 类 中的方法cn.hutool.core.net.multipart.UploadFile
 
size() - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
sizeSet - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
skip() - 类 中的方法cn.hutool.core.img.gif.GifDecoder
Skips variable length blocks up to and including next zero length block.
skipBytes(long) - 类 中的方法cn.hutool.core.net.multipart.MultipartRequestInputStream
跳过指定位数的 bytes.
skipEmptyRows - 类 中的变量cn.hutool.core.text.csv.CsvReadConfig
是否跳过空白行,默认true
skipToBoundary() - 类 中的方法cn.hutool.core.net.multipart.MultipartRequestInputStream
跳过边界表示
SLASH - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:斜杠 '/'
SLASH - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:斜杠 "/"
sleep(Number, TimeUnit) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
挂起当前线程
sleep(Number) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
挂起当前线程
sleep(long) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
挂起当前线程
slice(File, File, int, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切片(指定切片的宽度和高度)
slice(Image, File, int, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切片(指定切片的宽度和高度)
sliceByRowsAndCols(File, File, int, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切割(指定切片的行数和列数)
sliceByRowsAndCols(Image, File, int, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
图像切割(指定切片的行数和列数),默认RGB模式
Snowflake - cn.hutool.core.lang中的类
Twitter的Snowflake 算法
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
Snowflake() - 类 的构造器cn.hutool.core.lang.Snowflake
构造,使用自动生成的工作节点ID和数据中心ID
Snowflake(long) - 类 的构造器cn.hutool.core.lang.Snowflake
构造
Snowflake(long, long) - 类 的构造器cn.hutool.core.lang.Snowflake
构造
Snowflake(long, long, boolean) - 类 的构造器cn.hutool.core.lang.Snowflake
构造
Snowflake(Date, long, long, boolean) - 类 的构造器cn.hutool.core.lang.Snowflake
 
Snowflake(Date, long, long, boolean, long) - 类 的构造器cn.hutool.core.lang.Snowflake
 
SnowflakeGenerator - cn.hutool.core.lang.generator中的类
Snowflake生成器
注意,默认此生成器必须单例使用,否则会有重复
默认构造的终端ID和数据中心ID都为0,不适用于分布式环境。
SnowflakeGenerator() - 类 的构造器cn.hutool.core.lang.generator.SnowflakeGenerator
构造
SnowflakeGenerator(long, long) - 类 的构造器cn.hutool.core.lang.generator.SnowflakeGenerator
构造
SolarTerms - cn.hutool.core.date.chinese中的类
24节气相关信息
SolarTerms() - 类 的构造器cn.hutool.core.date.chinese.SolarTerms
 
sort(Collection<T>, Comparator<? super T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
排序集合,排序不会修改原集合
sort(List<T>, Comparator<? super T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
针对List排序,排序会修改原List
sort(Map<K, V>, Comparator<? super K>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
排序Map
sort(List<T>, Comparator<? super T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
针对List排序,排序会修改原List
sort(Map<K, V>) - 类 中的静态方法cn.hutool.core.map.MapUtil
排序已有Map,Key有序的Map,使用默认Key排序方式(字母顺序)
sort(Map<K, V>, Comparator<? super K>) - 类 中的静态方法cn.hutool.core.map.MapUtil
排序已有Map,Key有序的Map
sortByEntry(Map<K, V>, Comparator<Map.Entry<K, V>>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
sortByPinyin(Collection<String>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
根据汉字的拼音顺序排序
sortByPinyin(List<String>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
根据汉字的拼音顺序排序
sortByPinyin(List<String>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
根据汉字的拼音顺序排序
sortByProperty(Collection<T>, String) - 类 中的静态方法cn.hutool.core.collection.CollUtil
根据Bean的属性排序
sortByProperty(List<T>, String) - 类 中的静态方法cn.hutool.core.collection.CollUtil
根据Bean的属性排序
sortByProperty(List<T>, String) - 类 中的静态方法cn.hutool.core.collection.ListUtil
根据Bean的属性排序
sortByValue(Map<K, V>, boolean) - 类 中的静态方法cn.hutool.core.map.MapUtil
按照值排序,可选是否倒序
sortEntryToList(Collection<Map.Entry<K, V>>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
将Set排序(根据Entry的值)
sortJoin(Map<?, ?>, String, String, boolean, String...) - 类 中的静态方法cn.hutool.core.map.MapUtil
根据参数排序后拼接为字符串,常用于签名
sortPageAll(int, int, Comparator<T>, Collection<T>...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
将多个集合排序并显示不同的段落(分页)
采用BoundedPriorityQueue实现分页取局部
sortToMap(Collection<Map.Entry<K, V>>, Comparator<Map.Entry<K, V>>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
SPACE - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:空格符 ' '
SPACE - 类 中的静态变量cn.hutool.core.text.CharSequenceUtil
字符串常量:空格符 " "
spendMs(long) - 类 中的静态方法cn.hutool.core.date.DateUtil
计时,常用于记录某段代码的执行时间,单位:毫秒
spendNt(long) - 类 中的静态方法cn.hutool.core.date.DateUtil
计时,常用于记录某段代码的执行时间,单位:纳秒
split(Collection<T>, int) - 类 中的静态方法cn.hutool.core.collection.CollUtil
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表
split(List<T>, int) - 类 中的静态方法cn.hutool.core.collection.ListUtil
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表 需要特别注意的是,此方法调用List.subList(int, int)切分List, 此方法返回的是原List的视图,也就是说原List有变更,切分后的结果也会变更。
split(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串
a#b#c =》 [a,b,c]
a##b#c =》 [a,"",b,c]
split(CharSequence, char, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串,不去除切分后每个元素两边的空白符,不去除空白项
split(CharSequence, char, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串,不限制分片数量
split(CharSequence, char, int, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串
split(CharSequence, char, int, boolean, Function<String, R>) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串
split(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串,如果分隔符不存在则返回原字符串
split(CharSequence, CharSequence, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串
split(CharSequence, CharSequence, int, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串
split(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
根据给定长度,将给定字符串截取为多个部分
split(CharSequence, char, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串
split(CharSequence, char, int, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串,大小写敏感
split(CharSequence, char, int, boolean, Function<String, R>) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串,大小写敏感
split(CharSequence, char, int, boolean, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串
split(CharSequence, char, int, boolean, boolean, Function<String, R>) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串
split(CharSequence, String, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串,不忽略大小写
split(CharSequence, String, int, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串,不忽略大小写
split(CharSequence, String, int, boolean, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串
split(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.StrSplitter
使用空白符切分字符串
切分后的字符串两边不包含空白符,空串或空白符串并不做为元素之一
split(String, Pattern, int, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
通过正则切分字符串
split(byte[], int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
拆分byte数组为几个等份(最后一份按照剩余长度分配空间)
splitAvg(List<T>, int) - 类 中的静态方法cn.hutool.core.collection.ListUtil
将集合平均分成多个list,返回这个集合的列表 例: ListUtil.splitAvg(null, 3); // [] ListUtil.splitAvg(Arrays.asList(1, 2, 3, 4), 2); // [[1, 2], [3, 4]] ListUtil.splitAvg(Arrays.asList(1, 2, 3), 5); // [[1], [2], [3], [], []] ListUtil.splitAvg(Arrays.asList(1, 2, 3), 2); // [[1, 2], [3]]
splitByLength(String, int) - 类 中的静态方法cn.hutool.core.text.StrSplitter
根据给定长度,将给定字符串截取为多个部分
splitByRegex(String, String, int, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
通过正则切分字符串
spliterator() - 类 中的方法cn.hutool.core.collection.TransCollection
 
spliterator() - 类 中的方法cn.hutool.core.lang.Tuple
 
SpliteratorUtil - cn.hutool.core.collection中的类
Spliterator相关工具类
SpliteratorUtil() - 类 的构造器cn.hutool.core.collection.SpliteratorUtil
 
splitIgnoreCase(CharSequence, char, int, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串,忽略大小写
splitIgnoreCase(CharSequence, String, int, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串,忽略大小写
SplitIter - cn.hutool.core.text.split中的类
字符串切分迭代器
此迭代器是字符串切分的懒模式实现,实例化后不完成切分,只有调用ComputeIter.hasNext()或遍历时才完成切分
此迭代器非线程安全
SplitIter(CharSequence, TextFinder, int, boolean) - 类 的构造器cn.hutool.core.text.split.SplitIter
构造
splitList(List<T>, int) - 类 中的静态方法cn.hutool.core.collection.CollUtil
已过时。
splitPath(CharSequence) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串路径,仅支持Unix分界符:/
splitPath(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串路径,仅支持Unix分界符:/
splitPathToArray(CharSequence) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串路径,仅支持Unix分界符:/
splitPathToArray(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串路径,仅支持Unix分界符:/
splitToArray(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串,如果分隔符不存在则返回原字符串
splitToArray(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串
splitToArray(CharSequence, char, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串
splitToArray(CharSequence, char, int, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串为字符串数组
splitToArray(CharSequence, String, int, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串为字符串数组
splitToArray(String, int) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串为字符串数组
splitToArray(String, Pattern, int, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
通过正则切分字符串为字符串数组
splitToInt(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串为int数组
splitToInt(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串为int数组
splitToLong(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串为long数组
splitToLong(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串为long数组
splitTrim(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串,去除切分后每个元素两边的空白符,去除空白项
splitTrim(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串,去除切分后每个元素两边的空白符,去除空白项
splitTrim(CharSequence, char, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串,去除切分后每个元素两边的空白符,去除空白项
splitTrim(CharSequence, CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切分字符串,去除切分后每个元素两边的空白符,去除空白项
splitTrim(CharSequence, char, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串
splitTrim(CharSequence, char, int, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串,大小写敏感,去除每个元素两边空白符
splitTrim(CharSequence, String, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串,去除每个元素两边空格,忽略大小写
splitTrim(CharSequence, String, int, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串,去除每个元素两边空格,忽略大小写
splitTrimIgnoreCase(CharSequence, String, int, boolean) - 类 中的静态方法cn.hutool.core.text.StrSplitter
切分字符串,去除每个元素两边空格,忽略大小写
sqrt(long) - 类 中的静态方法cn.hutool.core.util.NumberUtil
平方根算法
推荐使用 Math.sqrt(double)
src - 类 中的变量cn.hutool.core.lang.copier.SrcToDestCopier
SrcToDestCopier<T,C extends SrcToDestCopier<T,C>> - cn.hutool.core.lang.copier中的类
复制器抽象类
抽象复制器抽象了一个对象复制到另一个对象,通过实现Copier.copy()方法实现复制逻辑。
SrcToDestCopier() - 类 的构造器cn.hutool.core.lang.copier.SrcToDestCopier
 
SSL - 接口 中的静态变量cn.hutool.core.net.SSLProtocols
Supports some version of SSL; may support other versions
SSLContextBuilder - cn.hutool.core.net中的类
SSLContext构建器,可以自定义:
协议(protocol),默认TLS KeyManager,默认空 TrustManager,默认DefaultTrustManager,即信任全部 SecureRandom 构建后可获得SSLContext,通过调用SSLContext.getSocketFactory()获取SSLSocketFactory
SSLContextBuilder() - 类 的构造器cn.hutool.core.net.SSLContextBuilder
 
SSLProtocols - cn.hutool.core.net中的接口
SSL或TLS协议
SSLUtil - cn.hutool.core.net中的类
SSL(Secure Sockets Layer 安全套接字协议)相关工具封装
SSLUtil() - 类 的构造器cn.hutool.core.net.SSLUtil
 
SSLv2 - 接口 中的静态变量cn.hutool.core.net.SSLProtocols
Supports SSL version 2 or later; may support other versions
SSLv3 - 接口 中的静态变量cn.hutool.core.net.SSLProtocols
Supports SSL version 3; may support other versions
StackTraceCaller - cn.hutool.core.lang.caller中的类
通过StackTrace方式获取调用者。
StackTraceCaller() - 类 的构造器cn.hutool.core.lang.caller.StackTraceCaller
 
StackTraceElementConverter - cn.hutool.core.convert.impl中的类
StackTraceElement 转换器
只支持Map方式转换
StackTraceElementConverter() - 类 的构造器cn.hutool.core.convert.impl.StackTraceElementConverter
 
stacktraceToOneLineString(Throwable) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
堆栈转为单行完整字符串
stacktraceToOneLineString(Throwable, int) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
堆栈转为单行完整字符串
stacktraceToString(Throwable) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
堆栈转为完整字符串
stacktraceToString(Throwable, int) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
堆栈转为完整字符串
stacktraceToString(Throwable, int, Map<Character, String>) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
堆栈转为完整字符串
start(String) - 类 中的方法cn.hutool.core.date.GroupTimeInterval
开始计时并返回当前时间
start() - 类 中的方法cn.hutool.core.date.StopWatch
开始默认的新任务
start(String) - 类 中的方法cn.hutool.core.date.StopWatch
开始指定名称的新任务
start() - 类 中的方法cn.hutool.core.date.TimeInterval
 
start(OutputStream) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Initiates GIF file creation on the given stream.
start(String) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Initiates writing of a GIF file with the specified name.
start() - 类 中的方法cn.hutool.core.io.file.Tailer
开始监听
start(boolean) - 类 中的方法cn.hutool.core.io.file.Tailer
开始监听
start() - 接口 中的方法cn.hutool.core.io.StreamProgress
开始
start(int) - 类 中的方法cn.hutool.core.text.finder.CharFinder
 
start(int) - 类 中的方法cn.hutool.core.text.finder.CharMatcherFinder
 
start(int) - 接口 中的方法cn.hutool.core.text.finder.Finder
返回开始位置,即起始字符位置(包含),未找到返回-1
start(int) - 类 中的方法cn.hutool.core.text.finder.LengthFinder
 
start(int) - 类 中的方法cn.hutool.core.text.finder.PatternFinder
 
start(int) - 类 中的方法cn.hutool.core.text.finder.StrFinder
 
start() - 类 中的方法cn.hutool.core.thread.SyncFinisher
开始工作
执行此方法后如果不再重复使用此对象,需调用SyncFinisher.stop()关闭回收资源。
start(boolean) - 类 中的方法cn.hutool.core.thread.SyncFinisher
开始工作
执行此方法后如果不再重复使用此对象,需调用SyncFinisher.stop()关闭回收资源。
started - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
startIndex - 类 中的变量cn.hutool.core.lang.DefaultSegment
 
startWith(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
字符串是否以给定字符开始
startWith(CharSequence, CharSequence, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
startWith(CharSequence, CharSequence, boolean, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
startWith(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
是否以指定字符串开头
startWithAny(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串是否以任何一个字符串开始
给定字符串和数组为空都返回false
startWithIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
是否以指定字符串开头,忽略大小写
startWithIgnoreEquals(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
是否以指定字符串开头,忽略相等字符串的情况
state(boolean, Supplier<String>) - 类 中的静态方法cn.hutool.core.lang.Assert
检查boolean表达式,当检查结果为false时抛出 IllegalStateException
state(boolean, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Assert
检查boolean表达式,当检查结果为false时抛出 IllegalStateException
state(boolean) - 类 中的静态方法cn.hutool.core.lang.Assert
检查boolean表达式,当检查结果为false时抛出 IllegalStateException
StatefulException - cn.hutool.core.exceptions中的异常错误
带有状态码的异常
StatefulException() - 异常错误 的构造器cn.hutool.core.exceptions.StatefulException
 
StatefulException(String) - 异常错误 的构造器cn.hutool.core.exceptions.StatefulException
 
StatefulException(String, Object...) - 异常错误 的构造器cn.hutool.core.exceptions.StatefulException
 
StatefulException(Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.StatefulException
 
StatefulException(String, Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.StatefulException
 
StatefulException(String, Throwable, boolean, boolean) - 异常错误 的构造器cn.hutool.core.exceptions.StatefulException
 
StatefulException(int, String) - 异常错误 的构造器cn.hutool.core.exceptions.StatefulException
 
StatefulException(int, Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.StatefulException
 
StatefulException(int, String, Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.StatefulException
 
status - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
STATUS_FORMAT_ERROR - 类 中的静态变量cn.hutool.core.img.gif.GifDecoder
File read status: Error decoding file (may be partially decoded)
STATUS_OK - 类 中的静态变量cn.hutool.core.img.gif.GifDecoder
File read status: No errors.
STATUS_OPEN_ERROR - 类 中的静态变量cn.hutool.core.img.gif.GifDecoder
File read status: Unable to open source.
step(T, T, int) - 接口 中的方法cn.hutool.core.lang.Range.Stepper
增加步进
增加步进后的返回值如果为null则表示步进结束
用户需根据end参数自行定义边界,当达到边界时返回null表示结束,否则Range中边界对象无效,会导致无限循环
stop() - 类 中的方法cn.hutool.core.date.StopWatch
停止当前任务
stop() - 类 中的方法cn.hutool.core.io.file.Tailer
结束,此方法需在异步模式或
stop() - 类 中的方法cn.hutool.core.thread.SyncFinisher
结束线程池。
StopWatch - cn.hutool.core.date中的类
秒表封装
此工具用于存储一组任务的耗时时间,并一次性打印对比。
StopWatch() - 类 的构造器cn.hutool.core.date.StopWatch
构造,不启动任何任务
StopWatch(String) - 类 的构造器cn.hutool.core.date.StopWatch
构造,不启动任何任务
StopWatch(String, boolean) - 类 的构造器cn.hutool.core.date.StopWatch
构造,不启动任何任务
StopWatch.TaskInfo - cn.hutool.core.date中的类
存放任务名称和花费时间对象
store(Long) - 类 中的方法cn.hutool.core.text.Simhash
按照(frac, 《simhash, content》)索引进行存储
str(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
CharSequence 转为字符串,null安全
str(Object, String) - 类 中的静态方法cn.hutool.core.util.StrUtil
已过时。
str(Object, Charset) - 类 中的静态方法cn.hutool.core.util.StrUtil
将对象转为字符串 1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
str(byte[], String) - 类 中的静态方法cn.hutool.core.util.StrUtil
将byte数组转为字符串
str(byte[], Charset) - 类 中的静态方法cn.hutool.core.util.StrUtil
解码字节码
str(Byte[], String) - 类 中的静态方法cn.hutool.core.util.StrUtil
将Byte数组转为字符串
str(Byte[], Charset) - 类 中的静态方法cn.hutool.core.util.StrUtil
解码字节码
str(ByteBuffer, String) - 类 中的静态方法cn.hutool.core.util.StrUtil
将编码的byteBuffer数据转换为字符串
str(ByteBuffer, Charset) - 类 中的静态方法cn.hutool.core.util.StrUtil
将编码的byteBuffer数据转换为字符串
strBuilder(CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
创建StrBuilder对象
StrBuilder - cn.hutool.core.text中的类
可复用的字符串生成器,非线程安全
StrBuilder() - 类 的构造器cn.hutool.core.text.StrBuilder
构造
StrBuilder(int) - 类 的构造器cn.hutool.core.text.StrBuilder
构造
StrBuilder(CharSequence...) - 类 的构造器cn.hutool.core.text.StrBuilder
构造
strBuilder() - 类 中的静态方法cn.hutool.core.util.StrUtil
创建StrBuilder对象
strBuilder(int) - 类 中的静态方法cn.hutool.core.util.StrUtil
创建StrBuilder对象
StrClipboardListener - cn.hutool.core.swing.clipboard中的类
剪贴板字符串内容监听
StrClipboardListener() - 类 的构造器cn.hutool.core.swing.clipboard.StrClipboardListener
 
stream() - 类 中的方法cn.hutool.core.lang.Opt
如果包裹里元素的值存在,就返回一个包含该元素的 Stream, 否则返回一个空元素的 Stream 该方法能将 Opt 中的元素传递给 Stream {@code Stream> os = ..
stream() - 类 中的方法cn.hutool.core.lang.Tuple
将元组转成流
stream() - 类 中的方法cn.hutool.core.text.csv.CsvReader
根据Reader创建Stream,以便使用stream方式读取csv行
StreamCopier - cn.hutool.core.io.copy中的类
StreamCopier() - 类 的构造器cn.hutool.core.io.copy.StreamCopier
构造
StreamCopier(int) - 类 的构造器cn.hutool.core.io.copy.StreamCopier
构造
StreamCopier(int, long) - 类 的构造器cn.hutool.core.io.copy.StreamCopier
构造
StreamCopier(int, long, StreamProgress) - 类 的构造器cn.hutool.core.io.copy.StreamCopier
构造
StreamProgress - cn.hutool.core.io中的接口
Stream进度条
StreamUtil - cn.hutool.core.stream中的类
Stream 工具类
StreamUtil() - 类 的构造器cn.hutool.core.stream.StreamUtil
 
StrFinder - cn.hutool.core.text.finder中的类
字符查找器
StrFinder(CharSequence, boolean) - 类 的构造器cn.hutool.core.text.finder.StrFinder
构造
StrFormatter - cn.hutool.core.text中的类
字符串格式化工具
StrFormatter() - 类 的构造器cn.hutool.core.text.StrFormatter
 
StringConverter - cn.hutool.core.convert.impl中的类
字符串转换器,提供各种对象转换为字符串的逻辑封装
StringConverter() - 类 的构造器cn.hutool.core.convert.impl.StringConverter
 
StringResource - cn.hutool.core.io.resource中的类
字符串资源,字符串做为资源
StringResource(String) - 类 的构造器cn.hutool.core.io.resource.StringResource
构造,使用UTF8编码
StringResource(String, String) - 类 的构造器cn.hutool.core.io.resource.StringResource
构造,使用UTF8编码
StringResource(String, String, Charset) - 类 的构造器cn.hutool.core.io.resource.StringResource
构造
strip(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去除两边的指定字符串
strip(CharSequence, CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去除两边的指定字符串
stripIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去除两边的指定字符串,忽略大小写
stripIgnoreCase(CharSequence, CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去除两边的指定字符串,忽略大小写
StrJoiner - cn.hutool.core.text中的类
字符串连接器(拼接器),通过给定的字符串和多个元素,拼接为一个字符串
StrJoiner(CharSequence) - 类 的构造器cn.hutool.core.text.StrJoiner
构造
StrJoiner(Appendable, CharSequence) - 类 的构造器cn.hutool.core.text.StrJoiner
构造
StrJoiner(CharSequence, CharSequence, CharSequence) - 类 的构造器cn.hutool.core.text.StrJoiner
构造
StrJoiner(Appendable, CharSequence, CharSequence, CharSequence) - 类 的构造器cn.hutool.core.text.StrJoiner
构造
StrJoiner.NullMode - cn.hutool.core.text中的枚举
null处理的模式
StrMatcher - cn.hutool.core.text中的类
字符串模式匹配,使用${XXXXX}作为变量,例如: pattern: ${name}-${age}-${gender}-${country}-${province}-${city}-${status} text: "小明-19-男-中国-河南-郑州-已婚" result: {name=小明, age=19, gender=男, country=中国, province=河南, city=郑州, status=已婚}
StrMatcher(String) - 类 的构造器cn.hutool.core.text.StrMatcher
构造
stroke(Color, float) - 类 中的方法cn.hutool.core.img.Img
描边,此方法为向内描边,会覆盖图片相应的位置
stroke(Color, Stroke) - 类 中的方法cn.hutool.core.img.Img
描边,此方法为向内描边,会覆盖图片相应的位置
StrPool - cn.hutool.core.text中的接口
常用字符串常量定义
StrReplacer - cn.hutool.core.text.replacer中的类
抽象字符串替换类
通过实现replace方法实现局部替换逻辑
StrReplacer() - 类 的构造器cn.hutool.core.text.replacer.StrReplacer
 
StrSplitter - cn.hutool.core.text中的类
字符串切分器,封装统一的字符串分割静态方法
StrSplitter() - 类 的构造器cn.hutool.core.text.StrSplitter
 
strToBcd(String) - 类 中的静态方法cn.hutool.core.codec.BCD
字符串转BCD码
strToUnicode(String) - 类 中的静态方法cn.hutool.core.convert.Convert
String的字符串转换成unicode的String
StrUtil - cn.hutool.core.util中的类
字符串工具类
StrUtil() - 类 的构造器cn.hutool.core.util.StrUtil
 
sub(List<T>, int, int) - 类 中的静态方法cn.hutool.core.collection.CollUtil
截取列表的部分
sub(List<T>, int, int, int) - 类 中的静态方法cn.hutool.core.collection.CollUtil
截取列表的部分
sub(Collection<T>, int, int) - 类 中的静态方法cn.hutool.core.collection.CollUtil
截取集合的部分
sub(Collection<T>, int, int, int) - 类 中的静态方法cn.hutool.core.collection.CollUtil
截取集合的部分
sub(List<T>, int, int) - 类 中的静态方法cn.hutool.core.collection.ListUtil
截取集合的部分
sub(List<T>, int, int, int) - 类 中的静态方法cn.hutool.core.collection.ListUtil
截取集合的部分
此方法与List.subList(int, int) 不同在于子列表是新的副本,操作子列表不会影响原列表。
sub(int, int) - 类 中的方法cn.hutool.core.lang.Tuple
截取元组指定部分
sub(CharSequence, int, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
改进JDK subString
index从0开始计算,最后一个字符为-1
如果from和to位置一样,返回 ""
如果from或to为负数,则按照length从后向前数位置,如果绝对值大于字符串长度,则from归到0,to归到length
如果经过修正的index中from大于to,则互换from和to example:
abcdefgh 2 3 =》 c
abcdefgh 2 -3 =》 cde
sub(T[], int, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
获取子数组
sub(Object, int, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
获取子数组
sub(Object, int, int, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
获取子数组
sub(float, float) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的减法运算
sub(float, double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的减法运算
sub(double, float) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的减法运算
sub(double, double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的减法运算
sub(Double, Double) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的减法运算
sub(Number, Number) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的减法运算
如果传入多个值为null或者空,则返回0
sub(Number...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的减法运算
如果传入多个值为null或者空,则返回0
sub(String...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的减法运算
如果传入多个值为null或者空,则返回0
sub(BigDecimal...) - 类 中的静态方法cn.hutool.core.util.NumberUtil
提供精确的减法运算
如果传入多个值为null或者空,则返回0
sub(byte[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
获取子数组
sub(int[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
获取子数组
sub(long[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
获取子数组
sub(short[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
获取子数组
sub(char[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
获取子数组
sub(double[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
获取子数组
sub(float[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
获取子数组
sub(boolean[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
获取子数组
subAfter(CharSequence, CharSequence, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下: StrUtil.subAfter(null, *, false) = null StrUtil.subAfter("", *, false) = "" StrUtil.subAfter(*, null, false) = "" StrUtil.subAfter("abc", "a", false) = "bc" StrUtil.subAfter("abcba", "b", false) = "cba" StrUtil.subAfter("abc", "c", false) = "" StrUtil.subAfter("abc", "d", false) = "" StrUtil.subAfter("abc", "", false) = "abc"
subAfter(CharSequence, char, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下: StrUtil.subAfter(null, *, false) = null StrUtil.subAfter("", *, false) = "" StrUtil.subAfter("abc", 'a', false) = "bc" StrUtil.subAfter("abcba", 'b', false) = "cba" StrUtil.subAfter("abc", 'c', false) = "" StrUtil.subAfter("abc", 'd', false) = ""
subAfter(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
获取手机号后4位
subBefore(CharSequence, CharSequence, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串为空串"",则返回空串,如果分隔字符串未找到,返回原字符串,举例如下: StrUtil.subBefore(null, *, false) = null StrUtil.subBefore("", *, false) = "" StrUtil.subBefore("abc", "a", false) = "" StrUtil.subBefore("abcba", "b", false) = "a" StrUtil.subBefore("abc", "c", false) = "ab" StrUtil.subBefore("abc", "d", false) = "abc" StrUtil.subBefore("abc", "", false) = "" StrUtil.subBefore("abc", null, false) = "abc"
subBefore(CharSequence, char, boolean) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串未找到,返回原字符串,举例如下: StrUtil.subBefore(null, *, false) = null StrUtil.subBefore("", *, false) = "" StrUtil.subBefore("abc", 'a', false) = "" StrUtil.subBefore("abcba", 'b', false) = "a" StrUtil.subBefore("abc", 'c', false) = "ab" StrUtil.subBefore("abc", 'd', false) = "abc"
subBefore(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
获取手机号前3位
subBetween(CharSequence, CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
截取指定字符串中间部分,不包括标识字符串
栗子: StrUtil.subBetween("wx[b]yz", "[", "]") = "b" StrUtil.subBetween(null, *, *) = null StrUtil.subBetween(*, null, *) = null StrUtil.subBetween(*, *, null) = null StrUtil.subBetween("", "", "") = "" StrUtil.subBetween("", "", "]") = null StrUtil.subBetween("", "[", "]") = null StrUtil.subBetween("yabcz", "", "") = "" StrUtil.subBetween("yabcz", "y", "z") = "abc" StrUtil.subBetween("yabczyabcz", "y", "z") = "abc"
subBetween(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
截取指定字符串中间部分,不包括标识字符串
栗子: StrUtil.subBetween(null, *) = null StrUtil.subBetween("", "") = "" StrUtil.subBetween("", "tag") = null StrUtil.subBetween("tagabctag", null) = null StrUtil.subBetween("tagabctag", "") = "" StrUtil.subBetween("tagabctag", "tag") = "abc"
subBetween(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
获取手机号中间4位
subBetweenAll(CharSequence, CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
截取指定字符串多段中间部分,不包括标识字符串
栗子: StrUtil.subBetweenAll("wx[b]y[z]", "[", "]") = ["b","z"] StrUtil.subBetweenAll(null, *, *) = [] StrUtil.subBetweenAll(*, null, *) = [] StrUtil.subBetweenAll(*, *, null) = [] StrUtil.subBetweenAll("", "", "") = [] StrUtil.subBetweenAll("", "", "]") = [] StrUtil.subBetweenAll("", "[", "]") = [] StrUtil.subBetweenAll("yabcz", "", "") = [] StrUtil.subBetweenAll("yabcz", "y", "z") = ["abc"] StrUtil.subBetweenAll("yabczyabcz", "y", "z") = ["abc","abc"] StrUtil.subBetweenAll("[yabc[zy]abcz]", "[", "]"); = ["zy"] 重叠时只截取内部,
subBetweenAll(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
截取指定字符串多段中间部分,不包括标识字符串
栗子: StrUtil.subBetweenAll(null, *) = [] StrUtil.subBetweenAll(*, null) = [] StrUtil.subBetweenAll(*, *) = [] StrUtil.subBetweenAll("", "") = [] StrUtil.subBetweenAll("", "#") = [] StrUtil.subBetweenAll("gotanks", "") = [] StrUtil.subBetweenAll("#gotanks#", "#") = ["gotanks"] StrUtil.subBetweenAll("#hello# #world#!"
subByCodePoint(CharSequence, int, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
通过CodePoint截取字符串,可以截断Emoji
subList(int, int) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
submit(Runnable) - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
submit(Callable<T>) - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
submit(Runnable, T) - 类 中的方法cn.hutool.core.thread.DelegatedExecutorService
 
submit(Callable<T>) - 类 中的静态方法cn.hutool.core.thread.GlobalThreadPool
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
submit(Runnable) - 类 中的静态方法cn.hutool.core.thread.GlobalThreadPool
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
subPath(Path, int, int) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
获取指定位置的子路径部分,支持负数,例如起始为-1表示从后数第一个节点位置
subPath(String, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得相对子路径 栗子: dirPath: d:/aaa/bbb filePath: d:/aaa/bbb/ccc =》 ccc dirPath: d:/Aaa/bbb filePath: d:/aaa/bbb/ccc.txt =》 ccc.txt
subPath(String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
获得相对子路径,忽略大小写 栗子: dirPath: d:/aaa/bbb filePath: d:/aaa/bbb/ccc =》 ccc dirPath: d:/Aaa/bbb filePath: d:/aaa/bbb/ccc.txt =》 ccc.txt dirPath: d:/Aaa/bbb filePath: d:/aaa/bbb/ =》 ""
subPre(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切割指定位置之前部分的字符串
subPreGbk(CharSequence, int, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
截取部分字符串,这里一个汉字的长度认为是2
subSequence(int, int) - 类 中的方法cn.hutool.core.text.StrBuilder
 
subString(int) - 类 中的方法cn.hutool.core.text.StrBuilder
返回自定段的字符串
subString(int, int) - 类 中的方法cn.hutool.core.text.StrBuilder
返回自定段的字符串
subSuf(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切割指定位置之后部分的字符串
subSufByLength(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切割指定长度的后部分的字符串 StrUtil.subSufByLength("abcde", 3) = "cde" StrUtil.subSufByLength("abcde", 0) = "" StrUtil.subSufByLength("abcde", -5) = "" StrUtil.subSufByLength("abcde", -1) = "" StrUtil.subSufByLength("abcde", 5) = "abcde" StrUtil.subSufByLength("abcde", 10) = "abcde" StrUtil.subSufByLength(null, 3) = null
subTelAfter(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
获取固话号码中的号码
subTelBefore(CharSequence) - 类 中的静态方法cn.hutool.core.util.PhoneUtil
获取固话号码中的区号
subtract(Collection<T>, Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
计算集合的单差集,即只返回【集合1】中有,但是【集合2】中没有的元素,例如: subtract([1,2,3,4],[2,3,4,5]) -》 [1]
subtract(byte) - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
减去值
subtract(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
减去值
subtract(double) - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
减去值
subtract(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
减去值
subtract(float) - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
减去值
subtract(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
减去值
subtract(int) - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
减去值
subtract(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
减去值
subtract(long) - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
减去值
subtract(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
减去值
subtract(short) - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
减去值
subtract(Number) - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
减去值
subtract(Money) - 类 中的方法cn.hutool.core.math.Money
货币减法。
subtractFrom(Money) - 类 中的方法cn.hutool.core.math.Money
货币累减。
subtractToList(Collection<T>, Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
计算集合的单差集,即只返回【集合1】中有,但是【集合2】中没有的元素,例如: subtractToList([1,2,3,4],[2,3,4,5]) -》 [1]
subWithLength(String, int, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
截取字符串,从指定位置开始,截取指定长度的字符串
author weibaohui
suffix - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
supplier() - 类 中的方法cn.hutool.core.stream.SimpleCollector
 
swap(T[], int, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
交换数组中两个位置的值
swap(Object, int, int) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
交换数组中两个位置的值
swap(int[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
交换数组中两个位置的值
swap(long[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
交换数组中两个位置的值
swap(double[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
交换数组中两个位置的值
swap(float[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
交换数组中两个位置的值
swap(boolean[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
交换数组中两个位置的值
swap(byte[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
交换数组中两个位置的值
swap(char[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
交换数组中两个位置的值
swap(short[], int, int) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
交换数组中两个位置的值
swapCase(String) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
切换给定字符串中的大小写。
swapElement(List<T>, T, T) - 类 中的静态方法cn.hutool.core.collection.ListUtil
将指定元素交换到指定元素位置,其他元素的索引值不变
交换会修改原List
如果集合中有多个相同元素,只交换第一个找到的元素
swapTo(List<T>, T, Integer) - 类 中的静态方法cn.hutool.core.collection.ListUtil
将指定元素交换到指定索引位置,其他元素的索引值不变
交换会修改原List
如果集合中有多个相同元素,只交换第一个找到的元素
sync(Object) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
阻塞当前线程,保证在main方法中执行不被退出
SyncFinisher - cn.hutool.core.thread中的类
线程同步结束器
在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。
SyncFinisher(int) - 类 的构造器cn.hutool.core.thread.SyncFinisher
构造
SyncFinisher.Worker - cn.hutool.core.thread中的类
工作者,为一个线程
SYSTEM_COMPILER - 类 中的静态变量cn.hutool.core.compiler.CompilerUtil
java 编译器
systemCharset() - 类 中的静态方法cn.hutool.core.util.CharsetUtil
系统字符集编码,如果是Windows,则默认为GBK编码,否则取 CharsetUtil.defaultCharsetName()
systemCharsetName() - 类 中的静态方法cn.hutool.core.util.CharsetUtil
系统字符集编码,如果是Windows,则默认为GBK编码,否则取 CharsetUtil.defaultCharsetName()
SystemClock - cn.hutool.core.date中的类
系统时钟
高并发场景下System.currentTimeMillis()的性能问题的优化 System.currentTimeMillis()的调用比new一个普通对象要耗时的多(具体耗时高出多少我还没测试过,有人说是100倍左右) System.currentTimeMillis()之所以慢是因为去跟系统打了一次交道 后台定时更新时钟,JVM退出时,线程自动回收 see: http://git.oschina.net/yu120/sequence
SystemClock(long) - 类 的构造器cn.hutool.core.date.SystemClock
构造

T

TAB - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:制表符 '\t'
TAB - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:制表符 "\t"
TABLE - 类 中的静态变量cn.hutool.core.codec.Caesar
 
table(ConsoleTable) - 类 中的静态方法cn.hutool.core.lang.Console
打印表格到控制台
TableMap<K,V> - cn.hutool.core.map中的类
可重复键和值的Map
通过键值单独建立List方式,使键值对一一对应,实现正向和反向两种查找
无论是正向还是反向,都是遍历列表查找过程,相比标准的HashMap要慢,数据越多越慢
TableMap(int) - 类 的构造器cn.hutool.core.map.TableMap
构造
TableMap(K[], V[]) - 类 的构造器cn.hutool.core.map.TableMap
构造
tail(File, LineHandler) - 类 中的静态方法cn.hutool.core.io.FileUtil
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
tail(File, Charset, LineHandler) - 类 中的静态方法cn.hutool.core.io.FileUtil
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
tail(File, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
Tailer - cn.hutool.core.io.file中的类
文件内容跟随器,实现类似Linux下"tail -f"命令功能
Tailer(File, LineHandler) - 类 的构造器cn.hutool.core.io.file.Tailer
构造,默认UTF-8编码
Tailer(File, LineHandler, int) - 类 的构造器cn.hutool.core.io.file.Tailer
构造,默认UTF-8编码
Tailer(File, Charset, LineHandler) - 类 的构造器cn.hutool.core.io.file.Tailer
构造
Tailer(File, Charset, LineHandler, int, long) - 类 的构造器cn.hutool.core.io.file.Tailer
构造
Tailer.ConsoleLineHandler - cn.hutool.core.io.file中的类
命令行打印的行处理器
TEL - 类 中的静态变量cn.hutool.core.lang.PatternPool
座机号码
TEL - 接口 中的静态变量cn.hutool.core.lang.RegexPool
座机号码
pr#387@Gitee
TEL_400_800 - 类 中的静态变量cn.hutool.core.lang.PatternPool
座机号码+400+800电话
TEL_400_800 - 接口 中的静态变量cn.hutool.core.lang.RegexPool
座机号码+400+800电话
TemporalAccessorConverter - cn.hutool.core.convert.impl中的类
JDK8中新加入的java.time包对象解析转换器
支持的对象包括: java.time.Instant java.time.LocalDateTime java.time.LocalDate java.time.LocalTime java.time.ZonedDateTime java.time.OffsetDateTime java.time.OffsetTime
TemporalAccessorConverter(Class<?>) - 类 的构造器cn.hutool.core.convert.impl.TemporalAccessorConverter
构造
TemporalAccessorConverter(Class<?>, String) - 类 的构造器cn.hutool.core.convert.impl.TemporalAccessorConverter
构造
TemporalAccessorUtil - cn.hutool.core.date中的类
TemporalAccessor 工具类封装
TemporalAccessorUtil() - 类 的构造器cn.hutool.core.date.TemporalAccessorUtil
 
TemporalUtil - cn.hutool.core.date中的类
Temporal 工具类封装
TemporalUtil() - 类 的构造器cn.hutool.core.date.TemporalUtil
 
test(Runnable) - 类 中的方法cn.hutool.core.thread.ConcurrencyTester
执行测试
text() - 接口 中的方法cn.hutool.core.lang.EnumItem
在中文语境下,多数时间枚举会配合一个中文说明
text - 类 中的变量cn.hutool.core.text.finder.TextFinder
 
textDelimiter - 类 中的变量cn.hutool.core.text.csv.CsvConfig
文本包装符,默认双引号'"'
TextFinder - cn.hutool.core.text.finder中的类
文本查找抽象类
TextFinder() - 类 的构造器cn.hutool.core.text.finder.TextFinder
 
TextSimilarity - cn.hutool.core.text中的类
文本相似度计算
工具类提供者:【杭州】fineliving
TextSimilarity() - 类 的构造器cn.hutool.core.text.TextSimilarity
 
thenComparing(Comparator<? super T>) - 类 中的方法cn.hutool.core.comparator.NullComparator
 
thepicture - 类 中的变量cn.hutool.core.img.gif.NeuQuant
 
thisDayOfMonth() - 类 中的静态方法cn.hutool.core.date.DateUtil
 
thisDayOfWeek() - 类 中的静态方法cn.hutool.core.date.DateUtil
 
thisDayOfWeekEnum() - 类 中的静态方法cn.hutool.core.date.DateUtil
 
thisHour(boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
 
thisMillisecond() - 类 中的静态方法cn.hutool.core.date.DateUtil
 
thisMinute() - 类 中的静态方法cn.hutool.core.date.DateUtil
 
thisMonth() - 类 中的静态方法cn.hutool.core.date.DateUtil
 
thisMonthEnum() - 类 中的静态方法cn.hutool.core.date.DateUtil
 
thisSecond() - 类 中的静态方法cn.hutool.core.date.DateUtil
 
thisWeekOfMonth() - 类 中的静态方法cn.hutool.core.date.DateUtil
 
thisWeekOfYear() - 类 中的静态方法cn.hutool.core.date.DateUtil
 
thisYear() - 类 中的静态方法cn.hutool.core.date.DateUtil
 
ThreadFactoryBuilder - cn.hutool.core.thread中的类
ThreadFactory创建器
参考:Guava的ThreadFactoryBuilder
ThreadFactoryBuilder() - 类 的构造器cn.hutool.core.thread.ThreadFactoryBuilder
 
ThreadUtil - cn.hutool.core.thread中的类
线程池工具
ThreadUtil() - 类 的构造器cn.hutool.core.thread.ThreadUtil
 
tianlHash(String) - 类 中的静态方法cn.hutool.core.util.HashUtil
TianL Hash算法
TIME - 类 中的静态变量cn.hutool.core.lang.PatternPool
时间正则
TIME - 接口 中的静态变量cn.hutool.core.lang.RegexPool
时间正则
TimeInterval - cn.hutool.core.date中的类
计时器
计算某个过程花费的时间,精确到毫秒或纳秒
TimeInterval() - 类 的构造器cn.hutool.core.date.TimeInterval
构造,默认使用毫秒计数
TimeInterval(boolean) - 类 的构造器cn.hutool.core.date.TimeInterval
构造
timer() - 类 中的静态方法cn.hutool.core.date.DateUtil
计时器
计算某个过程花费的时间,精确到毫秒
timer(boolean) - 类 中的静态方法cn.hutool.core.date.DateUtil
计时器
计算某个过程花费的时间,精确到毫秒
timestamp() - 类 中的方法cn.hutool.core.lang.UUID
与此 UUID 相关联的时间戳值。
timeToSecond(String) - 类 中的静态方法cn.hutool.core.date.DateUtil
HH:mm:ss 时间格式字符串转为秒数
参考:https://github.com/iceroot
timeZone - 类 中的变量cn.hutool.core.date.format.AbstractDateBasic
The time zone.
TimeZoneConverter - cn.hutool.core.convert.impl中的类
TimeZone转换器
TimeZoneConverter() - 类 的构造器cn.hutool.core.convert.impl.TimeZoneConverter
 
TLS - 接口 中的静态变量cn.hutool.core.net.SSLProtocols
Supports some version of TLS; may support other versions
TLSv1 - 接口 中的静态变量cn.hutool.core.net.SSLProtocols
Supports RFC 2246: TLS version 1.0 ; may support other versions
TLSv11 - 接口 中的静态变量cn.hutool.core.net.SSLProtocols
Supports RFC 4346: TLS version 1.1 ; may support other versions
TLSv12 - 接口 中的静态变量cn.hutool.core.net.SSLProtocols
Supports RFC 5246: TLS version 1.2 ; may support other versions
tmpUploadPath - 类 中的变量cn.hutool.core.net.multipart.UploadSetting
临时文件目录
toAbsNormal(Path) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
将Path路径转换为标准的绝对路径
toAbsoluteUrl(String, String) - 类 中的静态方法cn.hutool.core.net.NetUtil
相对URL转换为绝对URL
toArray() - 类 中的方法cn.hutool.core.io.FastByteBuffer
返回快速缓冲中的数据
toArray(int, int) - 类 中的方法cn.hutool.core.io.FastByteBuffer
返回快速缓冲中的数据
toArray() - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
toArray(T[]) - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
toArray(boolean) - 类 中的方法cn.hutool.core.text.split.SplitIter
获取切分后的对象数组
toArray(ByteBuffer) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
ByteBuffer 转byte数组
toArray(Iterator<T>, Class<T>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
将集合转为数组
toArray(Iterable<T>, Class<T>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
将集合转为数组
toArray(Collection<T>, Class<T>) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
将集合转为数组
toAvailableStream(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
将指定InputStream 转换为InputStream.available()方法可用的流。
toBase64(Image, String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
将图片对象转换为Base64形式
toBase64DataUri(Image, String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
将图片对象转换为Base64的Data URI形式,格式为:data:image/[imageType];base64,[data]
toBean(Object, Class<T>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
对象或Map转Bean
toBean(Object, Class<T>, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
对象或Map转Bean
toBean(Class<T>, ValueProvider<String>, CopyOptions) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
ServletRequest 参数转Bean
toBean(T) - 类 中的方法cn.hutool.core.lang.Dict
转换为Bean对象
toBean(T, boolean) - 类 中的方法cn.hutool.core.lang.Dict
转换为Bean对象
toBean(Class<T>) - 类 中的方法cn.hutool.core.lang.Dict
填充Value Object对象
toBean(Class<T>) - 类 中的方法cn.hutool.core.text.csv.CsvRow
一行数据转换为Bean对象
toBeanIgnoreCase(Object, Class<T>, boolean) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
对象或Map转Bean,忽略字段转换时发生的异常
toBeanIgnoreCase(T) - 类 中的方法cn.hutool.core.lang.Dict
转换为Bean对象
toBeanIgnoreCase(Class<T>) - 类 中的方法cn.hutool.core.lang.Dict
填充Value Object对象,忽略大小写
toBeanIgnoreError(Object, Class<T>) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
对象或Map转Bean,忽略字段转换时发生的异常
toBeanWithCamelCase(T) - 类 中的方法cn.hutool.core.lang.Dict
转换为Bean对象,并使用驼峰法模式转换
toBigDecimal(Object, BigDecimal) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为BigDecimal
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBigDecimal(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为BigDecimal
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
toBigDecimal(Number) - 类 中的静态方法cn.hutool.core.util.NumberUtil
数字转BigDecimal
Float、Double等有精度问题,转换为字符串后再转换
null转换为0
toBigDecimal(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
数字转BigDecimal
null或""或空白符转换为0
toBigInteger(Object, BigInteger) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBigInteger(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toBigInteger(String) - 类 中的静态方法cn.hutool.core.util.HexUtil
Hex(16进制)字符串转为BigInteger
toBigInteger(Number) - 类 中的静态方法cn.hutool.core.util.NumberUtil
数字转BigInteger
null转换为0
toBigInteger(String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
数字转BigInteger
null或""或空白符转换为0
toBool(Object, Boolean) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为boolean
String支持的值为:true、false、yes、ok、no,1,0 如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBool(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为boolean
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toBoolean(String) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
转换字符串为boolean值
toBooleanArray(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Boolean数组
toBuffered(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
toBuffered(InputStream, int) - 类 中的静态方法cn.hutool.core.io.IoUtil
toBuffered(OutputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
toBuffered(OutputStream, int) - 类 中的静态方法cn.hutool.core.io.IoUtil
toBuffered(Reader) - 类 中的静态方法cn.hutool.core.io.IoUtil
toBuffered(Reader, int) - 类 中的静态方法cn.hutool.core.io.IoUtil
toBuffered(Writer) - 类 中的静态方法cn.hutool.core.io.IoUtil
toBuffered(Writer, int) - 类 中的静态方法cn.hutool.core.io.IoUtil
toBufferedImage(Image) - 类 中的静态方法cn.hutool.core.img.ImgUtil
ImageBufferedImage
首先尝试强转,否则新建一个BufferedImage后重新绘制,使用 BufferedImage.TYPE_INT_RGB 模式
toBufferedImage(Image, String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
ImageBufferedImage
如果源图片的RGB模式与目标模式一致,则直接转换,否则重新绘制
默认的,png图片使用 BufferedImage.TYPE_INT_ARGB模式,其它使用 BufferedImage.TYPE_INT_RGB 模式
toBufferedImage(Image, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
ImageBufferedImage
如果源图片的RGB模式与目标模式一致,则直接转换,否则重新绘制
toByte(Object, Byte) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为byte
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toByte(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为byte
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toByte(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为byte
toByteArray(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Byte数组
toByteArray() - 类 中的方法cn.hutool.core.io.FastByteArrayOutputStream
转为Byte数组
toByteObj(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为Byte
toBytes(Image, String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
将图片对象转换为bytes形式
toBytes() - 类 中的方法cn.hutool.core.io.unit.DataSize
返回bytes大小
toBytes(int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
int值转byte数组,使用大端字节序(高位字节在前,低位字节在后)
见:http://www.ruanyifeng.com/blog/2016/11/byte-order.html
toCalendar() - 类 中的方法cn.hutool.core.date.DateTime
转换为Calendar, 默认 Locale
toCalendar(Locale) - 类 中的方法cn.hutool.core.date.DateTime
转换为Calendar
toCalendar(TimeZone) - 类 中的方法cn.hutool.core.date.DateTime
转换为Calendar
toCalendar(TimeZone, Locale) - 类 中的方法cn.hutool.core.date.DateTime
转换为Calendar
toCamelCase(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
将下划线方式命名的字符串转换为驼峰式。
toCamelCase(CharSequence) - 类 中的静态方法cn.hutool.core.text.NamingCase
将下划线方式命名的字符串转换为驼峰式。
toCamelCaseMap(Map<K, V>) - 类 中的静态方法cn.hutool.core.map.MapUtil
将已知Map转换为key为驼峰风格的Map
如果KEY为非String类型,保留原值
toChar(Object, Character) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为字符
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toChar(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为字符
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toChar(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为char
toCharacter(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为Character
toCharArray(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Character数组
toChinese() - 枚举 中的方法cn.hutool.core.date.Week
转换为中文名
toChinese(String) - 枚举 中的方法cn.hutool.core.date.Week
转换为中文名
toChronoUnit() - 枚举 中的方法cn.hutool.core.date.DateUnit
单位兼容转换,将DateUnit转换为对应的ChronoUnit
toChronoUnit(DateUnit) - 枚举 中的静态方法cn.hutool.core.date.DateUnit
单位兼容转换,将DateUnit转换为对应的ChronoUnit
toCloseByNumber(int) - 类 中的静态方法cn.hutool.core.util.CharUtil
将[1-20]数字转换为带圈的字符: 1 -》 '①' 12 -》 '⑫' 20 -》 '⑳' 也称作:封闭式字符,英文:Enclosed Alphanumerics
toCloseChar(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
将字母、数字转换为带圈的字符: '1' -》 '①' 'A' -》 'Ⓐ' 'a' -》 'ⓐ' 获取带圈数字 /封闭式字母数字 ,从1-20,超过1-20报错
toCollection(Iterable<E>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
Iterable转为Collection
首先尝试强转,强转失败则构建一个新的ArrayList
toCollection(Class<?>, Class<?>, Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为集合类
toCombination(AnnotatedElement) - 类 中的静态方法cn.hutool.core.annotation.AnnotationUtil
将指定的被注解的元素转换为组合注解元素
toComparison() - 类 中的方法cn.hutool.core.builder.CompareToBuilder
Returns a negative integer, a positive integer, or zero as the builder has judged the "left-hand" side as less than, greater than, or equal to the "right-hand" side.
toCopyOnWriteArrayList(Collection<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个CopyOnWriteArrayList
toDate(Object, Date) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Date
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toDate(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Date
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
toDateStr() - 类 中的方法cn.hutool.core.date.DateTime
转为"yyyy-MM-dd" 格式字符串
today() - 类 中的静态方法cn.hutool.core.date.DateUtil
当前日期,格式 yyyy-MM-dd
toDBC(String) - 类 中的静态方法cn.hutool.core.convert.Convert
全角转半角
toDBC(String, Set<Character>) - 类 中的静态方法cn.hutool.core.convert.Convert
替换全角为半角
toDouble(Object, Double) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为double
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toDouble(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为double
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toDouble(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为double
toDouble(Number) - 类 中的静态方法cn.hutool.core.util.NumberUtil
Number值转换为double
float强制转换存在精度问题,此方法避免精度丢失
toDoubleArray(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Double数组
toDoubleObj(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为double
toEnum(Class<E>, Object, E) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值
toEnum(Class<E>, Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值null
toEpochMilli(TemporalAccessor) - 类 中的静态方法cn.hutool.core.date.LocalDateTimeUtil
TemporalAccessor转换为 时间戳(从1970-01-01T00:00:00Z开始的毫秒数)
toEpochMilli(TemporalAccessor) - 类 中的静态方法cn.hutool.core.date.TemporalAccessorUtil
TemporalAccessor转换为 时间戳(从1970-01-01T00:00:00Z开始的毫秒数)
toFile(Document, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档写入到文件
使用Document中的编码
toFile(Document, String, String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档写入到文件
toFloat(Object, Float) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Float
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toFloat(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Float
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toFloat(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为float
toFloatArray(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Float数组
toFloatObj(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为Float
toGigabytes() - 类 中的方法cn.hutool.core.io.unit.DataSize
返回GB大小
toHashCode() - 类 中的方法cn.hutool.core.builder.HashCodeBuilder
Return the computed hashCode.
toHex(String, Charset) - 类 中的静态方法cn.hutool.core.convert.Convert
字符串转换成十六进制字符串,结果为小写
toHex(byte[]) - 类 中的静态方法cn.hutool.core.convert.Convert
byte数组转16进制串
toHex(Color) - 类 中的静态方法cn.hutool.core.img.ImgUtil
Color对象转16进制表示,例如#fcf6d6
toHex(int, int, int) - 类 中的静态方法cn.hutool.core.img.ImgUtil
RGB颜色值转换成十六进制颜色码
toHex(int) - 类 中的静态方法cn.hutool.core.util.HexUtil
转为16进制字符串
toHex(long) - 类 中的静态方法cn.hutool.core.util.HexUtil
转为16进制字符串
toIdentityMap(Collection<V>, Function<V, K>) - 类 中的静态方法cn.hutool.core.collection.CollStreamUtil
将collection转化为类型不变的map
Collection<V> ----> Map<K,V>
toImage(String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
将Base64编码的图像信息转为 BufferedImage
toImage(byte[]) - 类 中的静态方法cn.hutool.core.img.ImgUtil
将的图像bytes转为 BufferedImage
toInstant(Object, Date) - 类 中的静态方法cn.hutool.core.convert.Convert
Instant
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toInstant(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
CalendarInstant对象
toInstant(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
Date对象转换为Instant对象
toInstant(TemporalAccessor) - 类 中的静态方法cn.hutool.core.date.DateUtil
Date对象转换为Instant对象
toInstant(TemporalAccessor) - 类 中的静态方法cn.hutool.core.date.TemporalAccessorUtil
TemporalAccessor转换为 Instant对象
toInt(Object, Integer) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为int
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toInt(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为int
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toInt(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为int
toInt(byte[]) - 类 中的静态方法cn.hutool.core.util.NumberUtil
byte数组转int,使用大端字节序(高位字节在前,低位字节在后)
见:http://www.ruanyifeng.com/blog/2016/11/byte-order.html
toIntArray(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Integer数组
toInteger(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为Integer
toIntSecond(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
格式化成yyMMddHHmm后转换为int型
toIpList(Set<InetAddress>) - 类 中的静态方法cn.hutool.core.net.NetUtil
地址列表转换为IP地址列表
toJdkDate() - 类 中的方法cn.hutool.core.date.DateTime
转换为 Date
考虑到很多框架(例如Hibernate)的兼容性,提供此方法返回JDK原生的Date对象
toKebabCase(CharSequence) - 类 中的静态方法cn.hutool.core.text.NamingCase
将驼峰式命名的字符串转换为短横连接方式。
toKilobytes() - 类 中的方法cn.hutool.core.io.unit.DataSize
返回KB大小
TolerantMap<K,V> - cn.hutool.core.map中的类
一个可以提供默认值的Map
TolerantMap(V) - 类 的构造器cn.hutool.core.map.TolerantMap
构造
TolerantMap(int, float, V) - 类 的构造器cn.hutool.core.map.TolerantMap
构造
TolerantMap(int, V) - 类 的构造器cn.hutool.core.map.TolerantMap
构造
TolerantMap(Map<K, V>, V) - 类 的构造器cn.hutool.core.map.TolerantMap
构造
toLinkedList(T...) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建LinkedList
toList() - 类 中的方法cn.hutool.core.collection.BoundedPriorityQueue
 
toList(Collection<E>, Function<E, T>) - 类 中的静态方法cn.hutool.core.collection.CollStreamUtil
将collection转化为List集合,但是两者的泛型不同
Collection<E> ------> List<T>
toList(T...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
数组转为ArrayList
toList(Iterable<E>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
Iterator转List
不判断,直接生成新的List
toList(Iterator<E>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
Iterator转List
不判断,直接生成新的List
toList(T...) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个ArrayList
toList(Collection<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个ArrayList
toList(Iterable<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
toList(Iterator<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
toList(Enumeration<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
toList(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为ArrayList,元素类型默认Object
toList(Class<T>, Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为ArrayList
toList() - 类 中的方法cn.hutool.core.lang.Tuple
将元组转换成列表
toList(boolean) - 类 中的方法cn.hutool.core.text.split.SplitIter
获取切分后的对象列表
toList(Function<String, T>) - 类 中的方法cn.hutool.core.text.split.SplitIter
获取切分后的对象列表
toListMap(Iterable<? extends Map<K, V>>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
行转列,合并相同的键,值合并为列表
将Map列表中相同key的值组成列表做为Map的value
CollUtil.toMapList(Map)的逆方法
比如传入数据: [ {a: 1, b: 1, c: 1} {a: 2, b: 2} {a: 3, b: 3} {a: 4} ] 结果是: { a: [1,2,3,4] b: [1,2,3,] c: [1] }
toListMap(Iterable<V>, Function<V, K>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
将列表转成值为List的HashMap
toListMap(Iterable<T>, Function<T, K>, Function<T, V>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
将列表转成值为List的HashMap
toListMap(Map<K, List<V>>, Iterable<T>, Function<T, K>, Function<T, V>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
将列表转成值为List的HashMap
toListMap(Iterable<? extends Map<K, V>>) - 类 中的静态方法cn.hutool.core.map.MapUtil
行转列,合并相同的键,值合并为列表
将Map列表中相同key的值组成列表做为Map的value
MapUtil.toMapList(Map)的逆方法
比如传入数据: [ {a: 1, b: 1, c: 1} {a: 2, b: 2} {a: 3, b: 3} {a: 4} ] 结果是: { a: [1,2,3,4] b: [1,2,3,] c: [1] }
toLocalDateTime(Object, LocalDateTime) - 类 中的静态方法cn.hutool.core.convert.Convert
LocalDateTime
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toLocalDateTime(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为LocalDateTime
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
toLocalDateTime(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
Calendar 转换为 LocalDateTime,使用系统默认时区
toLocalDateTime(Instant) - 类 中的静态方法cn.hutool.core.date.DateUtil
Instant 转换为 LocalDateTime,使用系统默认时区
toLocalDateTime(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
Date 转换为 LocalDateTime,使用系统默认时区
toLong(Object, Long) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为long
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toLong(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为long
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toLong(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为long
toLongArray(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Long数组
toLongObj(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为Long
toMap(Collection<E>, Function<E, K>, Function<E, V>) - 类 中的静态方法cn.hutool.core.collection.CollStreamUtil
将Collection转化为map(value类型与collection的泛型不同)
Collection<E> -----> Map<K,V>
toMap(Iterable<Map.Entry<K, V>>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
将Entry集合转换为HashMap
toMap(Object[]) - 类 中的静态方法cn.hutool.core.collection.CollUtil
将数组转换为Map(HashMap),支持数组元素类型为: Map.Entry 长度大于1的数组(取前两个值),如果不满足跳过此元素 Iterable 长度也必须大于1(取前两个值),如果不满足跳过此元素 Iterator 长度也必须大于1(取前两个值),如果不满足跳过此元素 Map<Object, Object> colorMap = CollectionUtil.toMap(new String[][] {{ {"RED", "#FF0000"}, {"GREEN", "#00FF00"}, {"BLUE", "#0000FF"}}); 参考:commons-lang
toMap(Iterable<V>, Map<K, V>, Func1<V, K>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,元素作为值
toMap(Iterable<E>, Map<K, V>, Func1<E, K>, Func1<E, V>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,按照valueFunc函数规则根据元素对象生成value组成新的Map
toMap(Iterable<Map.Entry<K, V>>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
将Entry集合转换为HashMap
toMap(Iterable<K>, Iterable<V>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
toMap(Iterable<K>, Iterable<V>, boolean) - 类 中的静态方法cn.hutool.core.collection.IterUtil
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
toMap(Iterator<K>, Iterator<V>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
toMap(Iterator<K>, Iterator<V>, boolean) - 类 中的静态方法cn.hutool.core.collection.IterUtil
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
toMap(Iterable<V>, Function<V, K>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
将列表转成HashMap
toMap(Iterable<T>, Function<T, K>, Function<T, V>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
将列表转成HashMap
toMap(Map<K, V>, Iterable<T>, Function<T, K>, Function<T, V>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
将列表转成Map
toMap(Iterator<V>, Map<K, V>, Func1<V, K>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
Iterator转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,元素作为值
toMap(Iterator<E>, Map<K, V>, Func1<E, K>, Func1<E, V>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,按照valueFunc函数规则根据元素对象生成value组成新的Map
toMap(Class<K>, Class<V>, Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Map
toMapList(Map<K, ? extends Iterable<V>>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
列转行。
toMapList(Map<K, ? extends Iterable<V>>) - 类 中的静态方法cn.hutool.core.map.MapUtil
列转行。
toMarkSupportStream(InputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
InputStream转换为支持mark标记的流
若原流支持mark标记,则返回原流,否则使用BufferedInputStream 包装之
toMegabytes() - 类 中的方法cn.hutool.core.io.unit.DataSize
返回MB大小
tomorrow() - 类 中的静态方法cn.hutool.core.date.DateUtil
明天
toMsStr() - 类 中的方法cn.hutool.core.date.DateTime
 
toNumber(Object, Number) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Number
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toNumber(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Number
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toNumberArray(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Number数组
toObjectArray(Map<?, ?>) - 类 中的静态方法cn.hutool.core.map.MapUtil
将键值对转换为二维数组,第一维是key,第二纬是value
toParameterizedType(Type) - 类 中的静态方法cn.hutool.core.util.TypeUtil
Type 转换为ParameterizedType
ParameterizedType用于获取当前类或父类中泛型参数化后的类型
一般用于获取泛型参数具体的参数类型,例如: class A<T> class B extends A<String> 通过此方法,传入B.class即可得到BParameterizedType,从而获取到String
toPascalCase(CharSequence) - 类 中的静态方法cn.hutool.core.text.NamingCase
将下划线方式命名的字符串转换为帕斯卡式。
toPrimitiveByteArray(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Byte数组
toProxyBean(Class<T>) - 类 中的方法cn.hutool.core.map.MapProxy
将Map代理为指定接口的动态代理对象
toPushbackStream(InputStream, int) - 类 中的静态方法cn.hutool.core.io.IoUtil
转换为PushbackInputStream
如果传入的输入流已经是PushbackInputStream,强转返回,否则新建一个
toRenderedImage(Image) - 类 中的静态方法cn.hutool.core.img.ImgUtil
ImageRenderedImage
首先尝试强转,否则新建一个BufferedImage后重新绘制,使用 BufferedImage.TYPE_INT_RGB 模式。
toSBC(String) - 类 中的静态方法cn.hutool.core.convert.Convert
半角转全角
toSBC(String, Set<Character>) - 类 中的静态方法cn.hutool.core.convert.Convert
半角转全角
toSegment(int, int) - 类 中的静态方法cn.hutool.core.util.PageUtil
将页数和每页条目数转换为开始位置和结束位置
此方法用于包括结束位置的分页方法
例如: 页码:0,每页10 =》 [0, 10] 页码:1,每页10 =》 [10, 20] …… 当PageUtil.setFirstPageNo(int)设置为1时: 页码:1,每页10 =》 [0, 10] 页码:2,每页10 =》 [10, 20] ……
toSet(Collection<E>, Function<E, T>) - 类 中的静态方法cn.hutool.core.collection.CollStreamUtil
将collection转化为Set集合,但是两者的泛型不同
Collection<E> ------> Set<T>
toSet(Class<T>, Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为HashSet
toShort(Object, Short) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Short
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toShort(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Short
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toShort(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为short
toShortArray(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为Short数组
toShortObj(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
boolean值转为Short
toSqlDate() - 类 中的方法cn.hutool.core.date.DateTime
转为 Date
toStr(Object, String) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为字符串
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toStr(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为字符串
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toStr(Number, String) - 类 中的静态方法cn.hutool.core.util.NumberUtil
数字转字符串
调用Object.toString(),并去除尾小数点儿后多余的0
toStr(Number) - 类 中的静态方法cn.hutool.core.util.NumberUtil
数字转字符串
调用Object.toString()BigDecimal.toPlainString(),并去除尾小数点儿后多余的0
toStr(Number, boolean) - 类 中的静态方法cn.hutool.core.util.NumberUtil
数字转字符串
调用Object.toString()BigDecimal.toPlainString(),并去除尾小数点儿后多余的0
toStr(BigDecimal) - 类 中的静态方法cn.hutool.core.util.NumberUtil
BigDecimal数字转字符串
调用BigDecimal.toPlainString(),并去除尾小数点儿后多余的0
toStr(BigDecimal, boolean) - 类 中的静态方法cn.hutool.core.util.NumberUtil
BigDecimal数字转字符串
调用BigDecimal.toPlainString(),可选去除尾小数点儿后多余的0
toStr(Node) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
默认非格式化输出,若想格式化请使用XmlUtil.format(Document)
toStr(Document) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
默认非格式化输出,若想格式化请使用XmlUtil.format(Document)
toStr(Node, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
toStr(Document, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
toStr(Node, String, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
toStr(Document, String, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
toStr(Node, String, boolean, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
toStrArray(Object) - 类 中的静态方法cn.hutool.core.convert.Convert
转换为String数组
toStream(Image, String) - 类 中的静态方法cn.hutool.core.img.ImgUtil
将图片对象转换为InputStream形式
toStream(String, String) - 类 中的静态方法cn.hutool.core.io.IoUtil
已过时。
toStream(String, Charset) - 类 中的静态方法cn.hutool.core.io.IoUtil
String 转为流
toStream(File) - 类 中的静态方法cn.hutool.core.io.IoUtil
文件转为FileInputStream
toStream(byte[]) - 类 中的静态方法cn.hutool.core.io.IoUtil
toStream(ByteArrayOutputStream) - 类 中的静态方法cn.hutool.core.io.IoUtil
toString() - 类 中的方法cn.hutool.core.bean.DynaBean
 
toString() - 类 中的方法cn.hutool.core.date.BetweenFormatter
 
toString() - 类 中的方法cn.hutool.core.date.ChineseDate
 
toString(BetweenFormatter.Level) - 类 中的方法cn.hutool.core.date.DateBetween
格式化输出时间差
toString() - 类 中的方法cn.hutool.core.date.DateBetween
 
toString() - 类 中的方法cn.hutool.core.date.DateTime
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
如果时区被设置,会转换为其时区对应的时间,否则转换为当前地点对应的时区
toString(TimeZone) - 类 中的方法cn.hutool.core.date.DateTime
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
如果时区不为null,会转换为其时区对应的时间,否则转换为当前时间对应的时区
toString(String) - 类 中的方法cn.hutool.core.date.DateTime
转为字符串
toString(DatePrinter) - 类 中的方法cn.hutool.core.date.DateTime
转为字符串
toString(DateFormat) - 类 中的方法cn.hutool.core.date.DateTime
转为字符串
toString() - 类 中的方法cn.hutool.core.date.format.AbstractDateBasic
 
toString() - 类 中的方法cn.hutool.core.date.format.FastDateFormat
 
toString() - 类 中的方法cn.hutool.core.date.StopWatch
 
toString() - 类 中的方法cn.hutool.core.io.FastByteArrayOutputStream
 
toString(String) - 类 中的方法cn.hutool.core.io.FastByteArrayOutputStream
转为字符串
toString(Charset) - 类 中的方法cn.hutool.core.io.FastByteArrayOutputStream
转为字符串
toString() - 类 中的方法cn.hutool.core.io.FastStringWriter
 
toString() - 类 中的方法cn.hutool.core.io.resource.ClassPathResource
 
toString() - 类 中的方法cn.hutool.core.io.resource.FileResource
返回路径
toString() - 类 中的方法cn.hutool.core.io.resource.UrlResource
返回路径
toString() - 类 中的方法cn.hutool.core.io.unit.DataSize
 
toString() - 类 中的方法cn.hutool.core.lang.ConsoleTable
获取表格字符串
toString() - 类 中的方法cn.hutool.core.lang.mutable.MutableBool
 
toString() - 类 中的方法cn.hutool.core.lang.mutable.MutableByte
 
toString() - 类 中的方法cn.hutool.core.lang.mutable.MutableDouble
 
toString() - 类 中的方法cn.hutool.core.lang.mutable.MutableFloat
 
toString() - 类 中的方法cn.hutool.core.lang.mutable.MutableInt
 
toString() - 类 中的方法cn.hutool.core.lang.mutable.MutableLong
 
toString() - 类 中的方法cn.hutool.core.lang.mutable.MutableObj
 
toString() - 类 中的方法cn.hutool.core.lang.mutable.MutableShort
 
toString() - 类 中的方法cn.hutool.core.lang.Opt
返回包裹内元素调用toString()的结果,不存在则返回null
toString() - 类 中的方法cn.hutool.core.lang.Pair
 
toString() - 类 中的方法cn.hutool.core.lang.ParameterizedTypeImpl
 
toString() - 类 中的方法cn.hutool.core.lang.tree.Tree
 
toString() - 类 中的方法cn.hutool.core.lang.Tuple
 
toString() - 类 中的方法cn.hutool.core.lang.TypeReference
 
toString() - 类 中的方法cn.hutool.core.lang.UUID
返回此UUID 的字符串表现形式。
toString(boolean) - 类 中的方法cn.hutool.core.lang.UUID
返回此UUID 的字符串表现形式。
toString() - 类 中的方法cn.hutool.core.map.MapWrapper
 
toString() - 类 中的方法cn.hutool.core.map.TableMap
 
toString() - 类 中的方法cn.hutool.core.map.TolerantMap
 
toString() - 类 中的方法cn.hutool.core.math.Money
生成本对象的缺省字符串表示
toString() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
 
toString() - 类 中的方法cn.hutool.core.net.url.UrlPath
 
toString() - 类 中的方法cn.hutool.core.net.url.UrlQuery
 
toString(char) - 类 中的静态方法cn.hutool.core.text.ASCIIStrCache
字符转为字符串
如果为ASCII字符,使用缓存
toString() - 类 中的方法cn.hutool.core.text.csv.CsvData
 
toString() - 类 中的方法cn.hutool.core.text.csv.CsvRow
 
toString(boolean) - 类 中的方法cn.hutool.core.text.StrBuilder
生成字符串
toString() - 类 中的方法cn.hutool.core.text.StrBuilder
生成字符串
toString() - 类 中的方法cn.hutool.core.text.StrJoiner
 
toString(String) - 类 中的静态方法cn.hutool.core.text.UnicodeUtil
Unicode字符串转为普通字符串
Unicode字符串的表现方式为:\\uXXXX
toString() - 类 中的方法cn.hutool.core.thread.threadlocal.NamedInheritableThreadLocal
 
toString() - 类 中的方法cn.hutool.core.thread.threadlocal.NamedThreadLocal
 
toString(Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
数组或集合转String
toString(boolean, String, String) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
将boolean转换为字符串 BooleanUtil.toString(true, "true", "false") = "true" BooleanUtil.toString(false, "true", "false") = "false"
toString(char) - 类 中的静态方法cn.hutool.core.util.CharUtil
字符转为字符串
如果为ASCII字符,使用缓存
toString(Enum<?>) - 类 中的静态方法cn.hutool.core.util.EnumUtil
Enum对象转String,调用Enum.name() 方法
toString() - 类 中的方法cn.hutool.core.util.IdcardUtil.Idcard
 
toString(Object) - 类 中的静态方法cn.hutool.core.util.ObjectUtil
将Object转为String
策略为: 1、null转为"null" 2、调用Convert.toStr(Object)转换
toString(Object) - 类 中的静态方法cn.hutool.core.util.StrUtil
调用对象的toString方法,null会返回“null”
toStringAndReset() - 类 中的方法cn.hutool.core.text.StrBuilder
重置并返回生成的字符串
toStringDefaultTimeZone() - 类 中的方法cn.hutool.core.date.DateTime
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
时区使用当前地区的默认时区
toStringNormal() - 类 中的方法cn.hutool.core.date.ChineseDate
转换为标准的日期格式来表示农历日期,例如2020-01-13
toStringOnOff(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
将boolean转换为字符串 'on' 或者 'off'.
toStringTrueFalse(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
将boolean转换为字符串 'true' 或者 'false'.
toStringYesNo(boolean) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
将boolean转换为字符串 'yes' 或者 'no'.
toSymbolCase(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
将驼峰式命名的字符串转换为使用符号连接方式。
toSymbolCase(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.NamingCase
将驼峰式命名的字符串转换为使用符号连接方式。
totalLength(CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
给定字符串数组的总长度
null字符长度定义为0
totalPage(int, int) - 类 中的静态方法cn.hutool.core.util.PageUtil
根据总数计算总页数
toTerabytes() - 类 中的方法cn.hutool.core.io.unit.DataSize
返回TB大小
toTimestamp() - 类 中的方法cn.hutool.core.date.DateTime
转为Timestamp
toTimeStr() - 类 中的方法cn.hutool.core.date.DateTime
转为"HH:mm:ss" 格式字符串
toTimeZone(ZoneId) - 类 中的静态方法cn.hutool.core.date.ZoneUtil
ZoneId转换为TimeZonenull则返回系统默认值
toTreeSet(Collection<T>, Comparator<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
将集合转换为排序后的TreeSet
touch(String) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
touch(File) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
touch(File, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
touch(String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
toUnderlineCase(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
将驼峰式命名的字符串转换为下划线方式。
toUnderlineCase(CharSequence) - 类 中的静态方法cn.hutool.core.text.NamingCase
将驼峰式命名的字符串转换为下划线方式,又称SnakeCase、underScoreCase。
toUnicode(char) - 类 中的静态方法cn.hutool.core.text.UnicodeUtil
字符编码为Unicode形式
toUnicode(int) - 类 中的静态方法cn.hutool.core.text.UnicodeUtil
字符编码为Unicode形式
toUnicode(String) - 类 中的静态方法cn.hutool.core.text.UnicodeUtil
字符串编码为Unicode形式
toUnicode(String, boolean) - 类 中的静态方法cn.hutool.core.text.UnicodeUtil
字符串编码为Unicode形式
toUnicodeHex(int) - 类 中的静态方法cn.hutool.core.util.HexUtil
将指定int值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如: '你' =》你
toUnicodeHex(char) - 类 中的静态方法cn.hutool.core.util.HexUtil
将指定char值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如: '你' =》'你'
toUnsignedByteArray(BigInteger) - 类 中的静态方法cn.hutool.core.util.NumberUtil
以无符号字节数组的形式返回传入值。
toUnsignedByteArray(int, BigInteger) - 类 中的静态方法cn.hutool.core.util.NumberUtil
以无符号字节数组的形式返回传入值。
toURI() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
转换为URI
toURI(URL) - 类 中的静态方法cn.hutool.core.util.URLUtil
转URL为URI
toURI(URL, boolean) - 类 中的静态方法cn.hutool.core.util.URLUtil
转URL为URI
toURI(String) - 类 中的静态方法cn.hutool.core.util.URLUtil
转字符串为URI
toURI(String, boolean) - 类 中的静态方法cn.hutool.core.util.URLUtil
转字符串为URI
toURL() - 类 中的方法cn.hutool.core.net.url.UrlBuilder
转换为URL 对象
toURL(URLStreamHandler) - 类 中的方法cn.hutool.core.net.url.UrlBuilder
转换为URL 对象
toUrlForHttp(String) - 类 中的静态方法cn.hutool.core.util.URLUtil
将URL字符串转换为URL对象,并做必要验证
toUrlForHttp(String, URLStreamHandler) - 类 中的静态方法cn.hutool.core.util.URLUtil
将URL字符串转换为URL对象,并做必要验证
toUtf8Stream(String) - 类 中的静态方法cn.hutool.core.io.IoUtil
String 转为UTF-8编码的字节流流
toZipFile(File, Charset) - 类 中的静态方法cn.hutool.core.util.ZipUtil
将Zip文件转换为ZipFile
toZoneId(TimeZone) - 类 中的静态方法cn.hutool.core.date.ZoneUtil
TimeZone转换为ZoneIdnull则返回系统默认值
trans(Collection<F>, Function<? super F, ? extends T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
使用给定的转换函数,转换源集合为新类型的集合
trans(Iterator<F>, Function<? super F, ? extends T>) - 类 中的静态方法cn.hutool.core.collection.IterUtil
按照给定函数,转换Iterator为另一种类型的Iterator
trans(Spliterator<F>, Function<? super F, ? extends T>) - 类 中的静态方法cn.hutool.core.collection.SpliteratorUtil
使用给定的转换函数,转换源Spliterator为新类型的Spliterator
TransCollection<F,T> - cn.hutool.core.collection中的类
使用给定的转换函数,转换源集合为新类型的集合
TransCollection(Collection<F>, Function<? super F, ? extends T>) - 类 的构造器cn.hutool.core.collection.TransCollection
构造
transElements(NodeList) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将NodeList转换为Element列表
transElements(Element, NodeList) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将NodeList转换为Element列表
非Element节点将被忽略
transform(AffineTransform, BufferedImage) - 类 中的静态方法cn.hutool.core.img.ImgUtil
转换图片
可以使用一系列平移 (translation)、缩放 (scale)、翻转 (flip)、旋转 (rotation) 和错切 (shear) 来构造仿射变换。
transform(Source, Result, String, int) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档写出
格式化输出逻辑参考:https://stackoverflow.com/questions/139076/how-to-pretty-print-xml-from-java
transform(Source, Result, String, int, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档写出
格式化输出逻辑参考:https://stackoverflow.com/questions/139076/how-to-pretty-print-xml-from-java
transIndex - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
transIndex - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
TransIter<F,T> - cn.hutool.core.collection中的类
使用给定的转换函数,转换源Iterator为新类型的Iterator
TransIter(Iterator<? extends F>, Function<? super F, ? extends T>) - 类 的构造器cn.hutool.core.collection.TransIter
构造
transparency - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
transparent - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
transparentExactMatch - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
TransSpliterator<F,T> - cn.hutool.core.collection中的类
使用给定的转换函数,转换源Spliterator为新类型的Spliterator
TransSpliterator(Spliterator<F>, Function<? super F, ? extends T>) - 类 的构造器cn.hutool.core.collection.TransSpliterator
 
transToStartEnd(int, int) - 类 中的静态方法cn.hutool.core.util.PageUtil
将页数和每页条目数转换为开始位置和结束位置
此方法用于包括结束位置的分页方法
例如: 页码:0,每页10 =》 [0, 10] 页码:1,每页10 =》 [10, 20] …… 当PageUtil.setFirstPageNo(int)设置为1时: 页码:1,每页10 =》 [0, 10] 页码:2,每页10 =》 [10, 20] ……
Tree<T> - cn.hutool.core.lang.tree中的类
通过转换器将你的实体转化为TreeNodeMap节点实体 属性都存在此处,属性有序,可支持排序
Tree() - 类 的构造器cn.hutool.core.lang.tree.Tree
 
Tree(TreeNodeConfig) - 类 的构造器cn.hutool.core.lang.tree.Tree
构造
TreeBuilder<E> - cn.hutool.core.lang.tree中的类
树构建器
TreeBuilder(E, TreeNodeConfig) - 类 的构造器cn.hutool.core.lang.tree.TreeBuilder
构造
TreeNode<T> - cn.hutool.core.lang.tree中的类
树节点 每个属性都可以在TreeNodeConfig中被重命名
在你的项目里它可以是部门实体、地区实体等任意类树节点实体 类树节点实体: 包含key,父Key.不限于这些属性的可以构造成一颗树的实体对象
TreeNode() - 类 的构造器cn.hutool.core.lang.tree.TreeNode
空构造
TreeNode(T, T, String, Comparable<?>) - 类 的构造器cn.hutool.core.lang.tree.TreeNode
构造
TreeNodeConfig - cn.hutool.core.lang.tree中的类
树配置属性相关
TreeNodeConfig() - 类 的构造器cn.hutool.core.lang.tree.TreeNodeConfig
 
TreeUtil - cn.hutool.core.lang.tree中的类
树工具类
TreeUtil() - 类 的构造器cn.hutool.core.lang.tree.TreeUtil
 
trim(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
除去字符串头尾部的空白,如果字符串是null,依然返回null
trim(CharSequence, int) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
除去字符串头尾部的空白符,如果字符串是null,依然返回null
trim(CharSequence, int, Predicate<Character>) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
按照断言,除去字符串头尾部的断言为真的字符,如果字符串是null,依然返回null
trim(String[]) - 类 中的静态方法cn.hutool.core.util.StrUtil
给定字符串数组全部做去首尾空格
trimEnd(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
除去字符串尾部的空白,如果字符串是null,则返回null
trimField - 类 中的变量cn.hutool.core.text.csv.CsvReadConfig
每个字段是否去除两边空白符
trimStart(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
除去字符串头部的空白,如果字符串是null,则返回null
trimStrFields(T, String...) - 类 中的静态方法cn.hutool.core.bean.BeanUtil
把Bean里面的String属性做trim操作。
trimToEmpty(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
除去字符串头尾部的空白,如果字符串是null,返回""
trimToNull(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
除去字符串头尾部的空白,如果字符串是null或者"",返回null
truncate(Calendar, DateField) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
修改日期为某个时间字段起始时间
truncate(Date, DateField) - 类 中的静态方法cn.hutool.core.date.DateUtil
修改日期为某个时间字段起始时间
tryAdvance(Consumer<? super T>) - 类 中的方法cn.hutool.core.collection.TransSpliterator
 
tryConvertEnum(Object, Class) - 类 中的静态方法cn.hutool.core.convert.impl.EnumConverter
尝试转换,转换规则为: 如果实现EnumItem接口,则调用fromInt或fromStr转换 找到类似转换的静态方法调用实现转换且优先使用 约定枚举类应该提供 valueOf(String) 和 valueOf(Integer)用于转换 oriInt /name 转换托底
tryLock() - 类 中的方法cn.hutool.core.thread.lock.NoLock
 
tryLock(long, TimeUnit) - 类 中的方法cn.hutool.core.thread.lock.NoLock
 
trySplit() - 类 中的方法cn.hutool.core.collection.TransSpliterator
 
Tuple - cn.hutool.core.lang中的类
不可变数组类型(元组),用于多值返回
多值可以支持每个元素值类型不同
Tuple(Object...) - 类 的构造器cn.hutool.core.lang.Tuple
构造
TypeReference<T> - cn.hutool.core.lang中的类
Type类型参考
通过构建一个类型参考子类,可以获取其泛型参数中的Type类型。
TypeReference() - 类 的构造器cn.hutool.core.lang.TypeReference
构造
TypeUtil - cn.hutool.core.util中的类
针对 Type 的工具类封装
最主要功能包括: 1.
TypeUtil() - 类 的构造器cn.hutool.core.util.TypeUtil
 

U

unbiasnet() - 类 中的方法cn.hutool.core.img.gif.NeuQuant
 
UNDERLINE - 接口 中的静态变量cn.hutool.core.text.CharPool
字符常量:下划线 '_'
UNDERLINE - 接口 中的静态变量cn.hutool.core.text.StrPool
字符串常量:下划线 "_"
unescape(String) - 类 中的静态方法cn.hutool.core.util.EscapeUtil
Escape解码
unescape(String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
反转义XML特殊字符:
unescapeHtml4(CharSequence) - 类 中的静态方法cn.hutool.core.util.EscapeUtil
反转义HTML4中的特殊字符
unescapeXml(CharSequence) - 类 中的静态方法cn.hutool.core.util.EscapeUtil
反转义XML中的特殊字符
unGzip() - 类 中的方法cn.hutool.core.compress.Gzip
将压缩流解压到target中
unGzip(byte[], String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Gzip解压缩处理
unGzip(byte[]) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Gzip解压处理
unGzip(InputStream) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Gzip解压处理
unGzip(InputStream, int) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Gzip解压处理
unicodeToStr(String) - 类 中的静态方法cn.hutool.core.convert.Convert
unicode的String转换成String的字符串
UnicodeUtil - cn.hutool.core.text中的类
提供Unicode字符串和普通字符串之间的转换
UnicodeUtil() - 类 的构造器cn.hutool.core.text.UnicodeUtil
 
union(Collection<T>, Collection<T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
两个集合的并集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最多的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c],此结果中只保留了三个c
union(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
多个集合的并集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最多的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c],此结果中只保留了三个c
unionAll(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
多个集合的完全并集,类似于SQL中的“UNION ALL”
针对一个集合中存在多个相同元素的情况,保留全部元素
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c, a, b, c, c]
unionDistinct(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
多个集合的非重复并集,类似于SQL中的“UNION DISTINCT”
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
UNIT_NAMES - 枚举 中的静态变量cn.hutool.core.io.unit.DataUnit
 
universal(char[], int, int[]) - 类 中的静态方法cn.hutool.core.util.HashUtil
Universal Hashing
UniversalNamespaceCache(Node, boolean) - 类 的构造器cn.hutool.core.util.XmlUtil.UniversalNamespaceCache
This constructor parses the document and stores all namespaces it can find.
UNIX_SEPARATOR - 类 中的静态变量cn.hutool.core.io.file.FileNameUtil
类Unix路径分隔符
unlock() - 类 中的方法cn.hutool.core.thread.lock.NoLock
 
unmodifiable(Collection<? extends T>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
转为只读集合
unmodifiable(List<T>) - 类 中的静态方法cn.hutool.core.collection.ListUtil
将对应List转换为不可修改的List
unmodifiable(Map<K, V>) - 类 中的静态方法cn.hutool.core.map.MapUtil
将对应Map转换为不可修改的Map
unWrap(Class<?>) - 枚举 中的静态方法cn.hutool.core.convert.BasicType
包装类转为原始类,非包装类返回原类
unWrap(Class<?>) - 类 中的静态方法cn.hutool.core.convert.Convert
包装类转为原始类,非包装类返回原类
unwrap(Throwable) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
剥离反射引发的InvocationTargetException、UndeclaredThrowableException中间异常,返回业务本身的异常
unWrap(CharSequence, String, String) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去掉字符包装,如果未被包装则返回原字符串
unWrap(CharSequence, char, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去掉字符包装,如果未被包装则返回原字符串
unWrap(CharSequence, char) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
去掉字符包装,如果未被包装则返回原字符串
unWrap(Integer...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组,null转为0
unWrap(Long...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Character...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Byte...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Short...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Float...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Double...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Boolean...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
包装类数组转为原始类型数组
unzip(String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压到文件名相同的目录中,默认编码UTF-8
unzip(String, Charset) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压到文件名相同的目录中
unzip(File) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压到文件名相同的目录中,使用UTF-8编码
unzip(File, Charset) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压到文件名相同的目录中
unzip(String, String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压,默认UTF-8编码
unzip(String, String, Charset) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压
unzip(File, File) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压,默认使用UTF-8编码
unzip(File, File, Charset) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压
unzip(ZipFile, File) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压
unzip(InputStream, File, Charset) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压
ZIP条目不使用高速缓冲。
unzip(ZipInputStream, File) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压
ZIP条目不使用高速缓冲。
unzipFileBytes(String, String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
从Zip文件中提取指定的文件为bytes
unzipFileBytes(String, Charset, String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
从Zip文件中提取指定的文件为bytes
unzipFileBytes(File, String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
从Zip文件中提取指定的文件为bytes
unzipFileBytes(File, Charset, String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
从Zip文件中提取指定的文件为bytes
unZlib(byte[], String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Zlib解压缩处理
unZlib(byte[]) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压缩zlib
unZlib(InputStream) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压缩zlib
unZlib(InputStream, int) - 类 中的静态方法cn.hutool.core.util.ZipUtil
解压缩zlib
update(int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Ansi
 
update(int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16CCITT
 
update(byte[], int, int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16CCITTFalse
 
update(int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16CCITTFalse
 
update(byte[]) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Checksum
计算全部字节
update(byte[], int, int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Checksum
 
update(byte[], int, int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16DNP
 
update(int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16DNP
 
update(int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16IBM
 
update(byte[], int, int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Maxim
 
update(int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Maxim
 
update(int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16Modbus
 
update(byte[], int, int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16USB
 
update(int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16USB
 
update(byte[], int, int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16X25
 
update(int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16X25
 
update(byte[], int, int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16XModem
 
update(int) - 类 中的方法cn.hutool.core.io.checksum.crc16.CRC16XModem
 
update(byte[], int, int) - 类 中的方法cn.hutool.core.io.checksum.CRC16
 
update(int) - 类 中的方法cn.hutool.core.io.checksum.CRC16
 
update(byte[], int, int) - 类 中的方法cn.hutool.core.io.checksum.CRC8
 
update(byte[]) - 类 中的方法cn.hutool.core.io.checksum.CRC8
Updates the current checksum with the specified array of bytes.
update(int) - 类 中的方法cn.hutool.core.io.checksum.CRC8
 
UploadFile - cn.hutool.core.net.multipart中的类
上传的文件对象
UploadFile(UploadFileHeader, UploadSetting) - 类 的构造器cn.hutool.core.net.multipart.UploadFile
构造
UploadFileHeader - cn.hutool.core.net.multipart中的类
上传的文件的头部信息
来自Jodd
UploadSetting - cn.hutool.core.net.multipart中的类
上传文件设定文件
UploadSetting() - 类 的构造器cn.hutool.core.net.multipart.UploadSetting
 
upperFirst(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
大写首字母
例如:str = name, return Name
upperFirstAndAddPre(CharSequence, String) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
原字符串首字母大写并在其首部添加指定字符串 例如:str=name, preString=get =》 return getName
URIConverter - cn.hutool.core.convert.impl中的类
URI对象转换器
URIConverter() - 类 的构造器cn.hutool.core.convert.impl.URIConverter
 
url - 类 中的变量cn.hutool.core.io.resource.UrlResource
 
URL - 类 中的静态变量cn.hutool.core.lang.PatternPool
URL
URL - 接口 中的静态变量cn.hutool.core.lang.RegexPool
URL
URL - 类 中的静态变量cn.hutool.core.lang.Validator
URL
url(String) - 类 中的静态方法cn.hutool.core.util.URLUtil
通过一个字符串形式的URL地址创建URL对象
url(String, URLStreamHandler) - 类 中的静态方法cn.hutool.core.util.URLUtil
通过一个字符串形式的URL地址创建URL对象
URL_HTTP - 类 中的静态变量cn.hutool.core.lang.PatternPool
Http URL
URL_HTTP - 接口 中的静态变量cn.hutool.core.lang.RegexPool
Http URL
URL_HTTP - 类 中的静态变量cn.hutool.core.lang.Validator
Http URL
URL_PROTOCOL_FILE - 类 中的静态变量cn.hutool.core.util.URLUtil
URL 协议表示文件: "file"
URL_PROTOCOL_JAR - 类 中的静态变量cn.hutool.core.util.URLUtil
URL 协议表示Jar文件: "jar"
URL_PROTOCOL_VFS - 类 中的静态变量cn.hutool.core.util.URLUtil
URL 协议表示JBoss VFS资源: "vfs"
URL_PROTOCOL_VFSFILE - 类 中的静态变量cn.hutool.core.util.URLUtil
URL 协议表示JBoss文件: "vfsfile"
URL_PROTOCOL_VFSZIP - 类 中的静态变量cn.hutool.core.util.URLUtil
URL 协议表示JBoss zip文件: "vfszip"
URL_PROTOCOL_WSJAR - 类 中的静态变量cn.hutool.core.util.URLUtil
URL 协议表示WebSphere文件: "wsjar"
URL_PROTOCOL_ZIP - 类 中的静态变量cn.hutool.core.util.URLUtil
URL 协议表示zip文件: "zip"
UrlBuilder - cn.hutool.core.net.url中的类
URL 生成器,格式形如: [scheme:]scheme-specific-part[#fragment] [scheme:][//authority][path][?
UrlBuilder() - 类 的构造器cn.hutool.core.net.url.UrlBuilder
构造
UrlBuilder(String, String, int, UrlPath, UrlQuery, String, Charset) - 类 的构造器cn.hutool.core.net.url.UrlBuilder
构造
URLConverter - cn.hutool.core.convert.impl中的类
URL对象转换器
URLConverter() - 类 的构造器cn.hutool.core.convert.impl.URLConverter
 
URLDecoder - cn.hutool.core.net中的类
URL解码,数据内容的类型是 application/x-www-form-urlencoded。
URLDecoder() - 类 的构造器cn.hutool.core.net.URLDecoder
 
URLEncoder - cn.hutool.core.net中的类
URL编码,数据内容的类型是 application/x-www-form-urlencoded。
URLEncoder() - 类 的构造器cn.hutool.core.net.URLEncoder
构造
[a-zA-Z0-9]默认不被编码
URLEncodeUtil - cn.hutool.core.net中的类
URL编码工具
URLEncodeUtil() - 类 的构造器cn.hutool.core.net.URLEncodeUtil
 
UrlPath - cn.hutool.core.net.url中的类
URL中Path部分的封装
UrlPath() - 类 的构造器cn.hutool.core.net.url.UrlPath
 
UrlQuery - cn.hutool.core.net.url中的类
URL中查询字符串部分的封装,类似于: key1=v1&key2=&key3=v3
UrlQuery() - 类 的构造器cn.hutool.core.net.url.UrlQuery
构造
UrlQuery(Map<? extends CharSequence, ?>) - 类 的构造器cn.hutool.core.net.url.UrlQuery
构造
UrlResource - cn.hutool.core.io.resource中的类
URL资源访问类
UrlResource(URL) - 类 的构造器cn.hutool.core.io.resource.UrlResource
构造
UrlResource(URL, String) - 类 的构造器cn.hutool.core.io.resource.UrlResource
构造
UrlResource(File) - 类 的构造器cn.hutool.core.io.resource.UrlResource
已过时。
Please use FileResource
URLUtil - cn.hutool.core.util中的类
URL(Uniform Resource Locator)统一资源定位符相关工具类 统一资源定位符,描述了一台特定服务器上某资源的特定位置。
URLUtil() - 类 的构造器cn.hutool.core.util.URLUtil
 
useArrayBlockingQueue(int) - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
使用ArrayBlockingQueue 做为等待队列
有界队列,相对无界队列有利于控制队列大小,队列满时,运行线程小于maxPoolSize时会创建新线程,否则触发异常策略
usedEntry - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
userId() - 类 中的静态方法cn.hutool.core.util.DesensitizedUtil
【用户id】不对外提供userId
UserPassAuthenticator - cn.hutool.core.net中的类
账号密码形式的Authenticator
UserPassAuthenticator(String, char[]) - 类 的构造器cn.hutool.core.net.UserPassAuthenticator
构造
useSynchronousQueue() - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
使用SynchronousQueue 做为等待队列(非公平策略)
它将任务直接提交给线程而不保持它们。
useSynchronousQueue(boolean) - 类 中的方法cn.hutool.core.thread.ExecutorBuilder
使用SynchronousQueue 做为等待队列
它将任务直接提交给线程而不保持它们。
UTC_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss'Z'
UTC_MS_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
UTC_MS_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
UTC_MS_WITH_XXX_OFFSET_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss.SSSXXX
UTC_MS_WITH_XXX_OFFSET_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ss.SSSXXX
UTC_MS_WITH_ZONE_OFFSET_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ssZ
UTC_MS_WITH_ZONE_OFFSET_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ssZ
UTC_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ss'Z'
UTC_SIMPLE_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss
UTC_SIMPLE_MS_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss.SSS
UTC_SIMPLE_MS_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ss.SSS
UTC_SIMPLE_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ss
UTC_WITH_XXX_OFFSET_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ssXXX
UTC_WITH_XXX_OFFSET_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ssXXX
UTC_WITH_ZONE_OFFSET_FORMAT - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ssZ
UTC_WITH_ZONE_OFFSET_PATTERN - 类 中的静态变量cn.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ssZ
utf8Bytes(CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
编码字符串,编码为UTF-8
utf8Str(Object) - 类 中的静态方法cn.hutool.core.util.StrUtil
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
UTF_8 - 类 中的静态变量cn.hutool.core.util.CharsetUtil
UTF-8
UtilException - cn.hutool.core.exceptions中的异常错误
工具类异常
UtilException(Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.UtilException
 
UtilException(String) - 异常错误 的构造器cn.hutool.core.exceptions.UtilException
 
UtilException(String, Object...) - 异常错误 的构造器cn.hutool.core.exceptions.UtilException
 
UtilException(String, Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.UtilException
 
UtilException(String, Throwable, boolean, boolean) - 异常错误 的构造器cn.hutool.core.exceptions.UtilException
 
UtilException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.exceptions.UtilException
 
UUID - 类 中的静态变量cn.hutool.core.lang.PatternPool
UUID
UUID - 接口 中的静态变量cn.hutool.core.lang.RegexPool
UUID
UUID - cn.hutool.core.lang中的类
提供通用唯一识别码(universally unique identifier)(UUID)实现,UUID表示一个128位的值。
UUID(long, long) - 类 的构造器cn.hutool.core.lang.UUID
使用指定的数据构造新的 UUID。
UUID - 类 中的静态变量cn.hutool.core.lang.Validator
UUID
uuid() - 类 中的静态方法cn.hutool.core.util.StrUtil
生成随机UUID
UUID_SIMPLE - 类 中的静态变量cn.hutool.core.lang.PatternPool
不带横线的UUID
UUID_SIMPLE - 接口 中的静态变量cn.hutool.core.lang.RegexPool
不带横线的UUID
UUID_SIMPLE - 类 中的静态变量cn.hutool.core.lang.Validator
不带横线的UUID
UUIDConverter - cn.hutool.core.convert.impl中的类
UUID对象转换器转换器
UUIDConverter() - 类 的构造器cn.hutool.core.convert.impl.UUIDConverter
 
UUIDGenerator - cn.hutool.core.lang.generator中的类
UUID生成器
UUIDGenerator() - 类 的构造器cn.hutool.core.lang.generator.UUIDGenerator
 

V

validateBetween(Number, Number, Number, String) - 类 中的静态方法cn.hutool.core.lang.Validator
检查给定的数字是否在指定范围内
validateBirthday(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证验证是否为生日
validateCarDrivingLicence(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为驾驶证 别名:驾驶证档案编号、行驶证编号
validateCarVin(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为车架号;别名:行驶证编号 车辆识别代号 车辆识别码
validateChinese(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为汉字
validateCitizenIdNumber(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为身份证号码(支持18位、15位和港澳台的10位)
validateEmail(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为可用邮箱地址
validateEmpty(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为空,非空时抛出异常
对于String类型判定是否为empty(null 或 "")
validateEqual(Object, Object, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否相等,不相等抛出异常
ValidateException - cn.hutool.core.exceptions中的异常错误
验证异常
ValidateException() - 异常错误 的构造器cn.hutool.core.exceptions.ValidateException
 
ValidateException(String) - 异常错误 的构造器cn.hutool.core.exceptions.ValidateException
 
ValidateException(String, Object...) - 异常错误 的构造器cn.hutool.core.exceptions.ValidateException
 
ValidateException(Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.ValidateException
 
ValidateException(String, Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.ValidateException
 
ValidateException(int, String) - 异常错误 的构造器cn.hutool.core.exceptions.ValidateException
 
ValidateException(int, Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.ValidateException
 
ValidateException(String, Throwable, boolean, boolean) - 异常错误 的构造器cn.hutool.core.exceptions.ValidateException
 
ValidateException(int, String, Throwable) - 异常错误 的构造器cn.hutool.core.exceptions.ValidateException
 
validateFalse(boolean, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Validator
检查指定值是否为false
validateGeneral(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为英文字母 、数字和下划线
validateGeneral(T, int, int, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为给定长度范围的英文字母 、数字和下划线
validateGeneral(T, int, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为给定最小长度的英文字母 、数字和下划线
validateGeneralWithChinese(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为中文字、英文字母、数字和下划线
validateHex(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为Hex(16进制)字符串
validateIpv4(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为IPV4地址
validateIpv6(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为IPV6地址
validateLetter(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否全部为字母组成,包括大写和小写字母和汉字
validateLowerCase(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证字符串是否全部为小写字母
validateMac(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为MAC地址
validateMatchRegex(String, T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
通过正则表达式验证
不符合正则抛出ValidateException 异常
validateMobile(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为手机号码(中国)
validateMoney(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为货币
validateNotEmpty(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为非空,为空时抛出异常
对于String类型判定是否为empty(null 或 "")
validateNotEmptyAndEqual(Object, Object, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值不等时抛出异常
validateNotEmptyAndNotEqual(Object, Object, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值相等时抛出异常
validateNotEqual(Object, Object, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否不等,相等抛出异常
validateNotNull(T, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Validator
检查指定值是否非null
validateNull(T, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Validator
检查指定值是否为null
validateNumber(String, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为数字
ValidateObjectInputStream - cn.hutool.core.io中的类
带有类验证的对象流,用于避免反序列化漏洞
详细见:https://xz.aliyun.com/t/41/
ValidateObjectInputStream(InputStream, Class<?>...) - 类 的构造器cn.hutool.core.io.ValidateObjectInputStream
构造
validatePlateNumber(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为中国车牌号
validateTrue(boolean, String, Object...) - 类 中的静态方法cn.hutool.core.lang.Validator
检查指定值是否为true
validateUpperCase(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证字符串是否全部为大写字母
validateUrl(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为URL
validateUUID(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
validateWord(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为字母(包括大写和小写字母)
validateZipCode(T, String) - 类 中的静态方法cn.hutool.core.lang.Validator
验证是否为邮政编码(中国)
Validator - cn.hutool.core.lang中的类
字段验证器(验证器),分两种类型的验证: isXXX:通过返回boolean值判断是否满足给定格式。
Validator() - 类 的构造器cn.hutool.core.lang.Validator
 
value(String, Type) - 类 中的方法cn.hutool.core.bean.copier.provider.BeanValueProvider
 
value(String, Type) - 类 中的方法cn.hutool.core.bean.copier.provider.DynaBeanValueProvider
 
value(String, Type) - 类 中的方法cn.hutool.core.bean.copier.provider.MapValueProvider
 
value(T, Type) - 接口 中的方法cn.hutool.core.bean.copier.ValueProvider
获取值
返回值一般需要匹配被注入类型,如果不匹配会调用默认转换 Convert#convert(Type, Object)实现转换
valueOf(String) - 枚举 中的静态方法cn.hutool.core.bean.BeanDescCache
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.bean.BeanInfoCache
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.convert.BasicType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.date.BetweenFormatter.Level
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.date.DateField
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.date.DateModifier.ModifyType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.date.DateUnit
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.date.Month
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.date.Quarter
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.date.Week
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.img.ScaleType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.io.file.FileMode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.io.file.LineSeparator
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.io.unit.DataUnit
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.io.watch.WatchKind
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.swing.clipboard.ClipboardMonitor
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.text.PasswdStrength.CHAR_TYPE
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.text.PasswdStrength.PASSWD_LEVEL
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.text.StrJoiner.NullMode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.thread.RejectPolicy
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.util.DesensitizedUtil.DesensitizedType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.util.ModifierUtil.ModifierType
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.hutool.core.util.ReferenceUtil.ReferenceType
返回带有指定名称的该类型的枚举常量。
ValueProvider<T> - cn.hutool.core.bean.copier中的接口
值提供者,用于提供Bean注入时参数对应值得抽象接口
继承或匿名实例化此接口
在Bean注入过程中,Bean获得字段名,通过外部方式根据这个字段名查找相应的字段值,然后注入Bean
values() - 枚举 中的静态方法cn.hutool.core.bean.BeanDescCache
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.bean.BeanInfoCache
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values(Collection<Map<?, V>>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
获取指定Map列表中所有的Value
values() - 枚举 中的静态方法cn.hutool.core.convert.BasicType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.date.BetweenFormatter.Level
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.date.DateField
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.date.DateModifier.ModifyType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.date.DateUnit
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.date.Month
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.date.Quarter
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.date.Week
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.img.ScaleType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.io.file.FileMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.io.file.LineSeparator
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.io.unit.DataUnit
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.io.watch.WatchKind
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 类 中的方法cn.hutool.core.map.MapProxy
 
values() - 类 中的方法cn.hutool.core.map.MapWrapper
 
values() - 类 中的方法cn.hutool.core.map.TableMap
 
values() - 枚举 中的静态方法cn.hutool.core.swing.clipboard.ClipboardMonitor
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.text.PasswdStrength.CHAR_TYPE
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.text.PasswdStrength.PASSWD_LEVEL
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.text.StrJoiner.NullMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.thread.RejectPolicy
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.util.DesensitizedUtil.DesensitizedType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.util.ModifierUtil.ModifierType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.hutool.core.util.ReferenceUtil.ReferenceType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
valuesOfKeys(Map<K, V>, K...) - 类 中的静态方法cn.hutool.core.collection.CollUtil
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
valuesOfKeys(Map<K, V>, Iterable<K>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
valuesOfKeys(Map<K, V>, Iterator<K>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
variant() - 类 中的方法cn.hutool.core.lang.UUID
与此 UUID 相关联的变体号。
version() - 类 中的方法cn.hutool.core.lang.UUID
与此 UUID 相关联的版本号.
VersionComparator - cn.hutool.core.comparator中的类
版本比较器
比较两个版本的大小
排序时版本从小到大排序,即比较时小版本在前,大版本在后
支持如:1.3.20.8,6.82.20160101,8.5a/8.5c等版本形式
参考:https://www.cnblogs.com/shihaiming/p/6286575.html
VersionComparator() - 类 的构造器cn.hutool.core.comparator.VersionComparator
默认构造
visitFile(Path, BasicFileAttributes) - 类 中的方法cn.hutool.core.compress.ZipCopyVisitor
 
visitFile(Path, BasicFileAttributes) - 类 中的方法cn.hutool.core.io.file.visitor.CopyVisitor
 
visitFile(Path, BasicFileAttributes) - 类 中的方法cn.hutool.core.io.file.visitor.DelVisitor
 
visitFile(Path, BasicFileAttributes) - 类 中的方法cn.hutool.core.io.file.visitor.MoveVisitor
 
VoidFunc<P> - cn.hutool.core.lang.func中的接口
函数对象
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
VoidFunc0 - cn.hutool.core.lang.func中的接口
函数对象
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
VoidFunc1<P> - cn.hutool.core.lang.func中的接口
函数对象
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象

W

waitForDie() - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
等待当前线程结束.
waitForDie(Thread) - 类 中的静态方法cn.hutool.core.thread.ThreadUtil
等待线程结束.
walkFiles(Path, FileVisitor<? super Path>) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
遍历指定path下的文件并做处理
walkFiles(Path, int, FileVisitor<? super Path>) - 类 中的静态方法cn.hutool.core.io.file.PathUtil
遍历指定path下的文件并做处理
walkFiles(File, Consumer<File>) - 类 中的静态方法cn.hutool.core.io.FileUtil
递归遍历目录并处理目录下的文件,可以处理目录或文件: 非目录则直接调用Consumer处理 目录则递归调用此方法处理
WAR_URL_PREFIX - 类 中的静态变量cn.hutool.core.util.URLUtil
URL 前缀表示war: "war:"
WAR_URL_SEPARATOR - 类 中的静态变量cn.hutool.core.util.URLUtil
WAR路径及内部文件路径分界符
watch() - 类 中的方法cn.hutool.core.io.watch.WatchMonitor
开始监听事件,阻塞当前进程
watch(Watcher) - 类 中的方法cn.hutool.core.io.watch.WatchMonitor
开始监听事件,阻塞当前进程
watch(WatchAction, Filter<WatchEvent<?>>) - 类 中的方法cn.hutool.core.io.watch.WatchServer
执行事件获取并处理
watch(Watcher, Filter<WatchEvent<?>>) - 类 中的方法cn.hutool.core.io.watch.WatchServer
执行事件获取并处理
WatchAction - cn.hutool.core.io.watch中的接口
监听事件处理函数接口
Watcher - cn.hutool.core.io.watch中的接口
观察者(监视器)
WatcherChain - cn.hutool.core.io.watch.watchers中的类
观察者链
用于加入多个观察者
WatcherChain(Watcher...) - 类 的构造器cn.hutool.core.io.watch.watchers.WatcherChain
构造
WatchException - cn.hutool.core.io.watch中的异常错误
监听异常
WatchException(Throwable) - 异常错误 的构造器cn.hutool.core.io.watch.WatchException
 
WatchException(String) - 异常错误 的构造器cn.hutool.core.io.watch.WatchException
 
WatchException(String, Object...) - 异常错误 的构造器cn.hutool.core.io.watch.WatchException
 
WatchException(String, Throwable) - 异常错误 的构造器cn.hutool.core.io.watch.WatchException
 
WatchException(Throwable, String, Object...) - 异常错误 的构造器cn.hutool.core.io.watch.WatchException
 
WatchKind - cn.hutool.core.io.watch中的枚举
监听事件类型枚举,包括: 1.
WatchMonitor - cn.hutool.core.io.watch中的类
路径监听器 监听器可监听目录或文件
如果监听的Path不存在,则递归创建空目录然后监听此空目录
递归监听目录时,并不会监听新创建的目录
WatchMonitor(File, WatchEvent.Kind<?>...) - 类 的构造器cn.hutool.core.io.watch.WatchMonitor
构造
WatchMonitor(String, WatchEvent.Kind<?>...) - 类 的构造器cn.hutool.core.io.watch.WatchMonitor
构造
WatchMonitor(Path, WatchEvent.Kind<?>...) - 类 的构造器cn.hutool.core.io.watch.WatchMonitor
构造
WatchMonitor(Path, int, WatchEvent.Kind<?>...) - 类 的构造器cn.hutool.core.io.watch.WatchMonitor
构造
例如设置: maxDepth <= 1 表示只监听当前目录 maxDepth = 2 表示监听当前目录以及下层目录 maxDepth = 3 表示监听当前目录以及下两层
WatchServer - cn.hutool.core.io.watch中的类
文件监听服务,此服务可以同时监听多个路径。
WatchServer() - 类 的构造器cn.hutool.core.io.watch.WatchServer
 
WatchUtil - cn.hutool.core.io.watch中的类
监听工具类
主要负责文件监听器的快捷创建
WatchUtil() - 类 的构造器cn.hutool.core.io.watch.WatchUtil
 
wCRCin - 类 中的变量cn.hutool.core.io.checksum.crc16.CRC16Checksum
CRC16 Checksum 结果值
WeakInterner<T> - cn.hutool.core.lang.intern中的类
使用WeakHashMap(线程安全)存储对象的规范化对象,注意此对象需单例使用!
WeakInterner() - 类 的构造器cn.hutool.core.lang.intern.WeakInterner
 
WebAppResource - cn.hutool.core.io.resource中的类
Web root资源访问对象
WebAppResource(String) - 类 的构造器cn.hutool.core.io.resource.WebAppResource
构造
Week - cn.hutool.core.date中的枚举
星期枚举
与Calendar中的星期int值对应
weekOfMonth() - 类 中的方法cn.hutool.core.date.DateTime
获得指定日期是所在月份的第几周
此方法返回值与一周的第一天有关,比如:
2016年1月3日为周日,如果一周的第一天为周日,那这天是第二周(返回2)
如果一周的第一天为周一,那这天是第一周(返回1)
weekOfMonth(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期是所在月份的第几周
weekOfYear() - 类 中的方法cn.hutool.core.date.DateTime
获得指定日期是所在年份的第几周
此方法返回值与一周的第一天有关,比如:
2016年1月3日为周日,如果一周的第一天为周日,那这天是第二周(返回2)
如果一周的第一天为周一,那这天是第一周(返回1)
跨年的那个星期得到的结果总是1
weekOfYear(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期是所在年份的第几周
此方法返回值与一周的第一天有关,比如:
2016年1月3日为周日,如果一周的第一天为周日,那这天是第二周(返回2)
如果一周的第一天为周一,那这天是第一周(返回1)
跨年的那个星期得到的结果总是1
WeightObj(T, double) - 类 的构造器cn.hutool.core.lang.WeightRandom.WeightObj
构造
WeightRandom<T> - cn.hutool.core.lang中的类
权重随机算法实现
平时,经常会遇到权重随机算法,从不同权重的N个元素中随机选择一个,并使得总体选择结果是按照权重分布的。
WeightRandom() - 类 的构造器cn.hutool.core.lang.WeightRandom
构造
WeightRandom(WeightRandom.WeightObj<T>) - 类 的构造器cn.hutool.core.lang.WeightRandom
构造
WeightRandom(Iterable<WeightRandom.WeightObj<T>>) - 类 的构造器cn.hutool.core.lang.WeightRandom
构造
WeightRandom(WeightRandom.WeightObj<T>[]) - 类 的构造器cn.hutool.core.lang.WeightRandom
构造
weightRandom(WeightRandom.WeightObj<T>[]) - 类 中的静态方法cn.hutool.core.util.RandomUtil
带有权重的随机生成器
weightRandom(Iterable<WeightRandom.WeightObj<T>>) - 类 中的静态方法cn.hutool.core.util.RandomUtil
带有权重的随机生成器
WeightRandom.WeightObj<T> - cn.hutool.core.lang中的类
带有权重的对象包装
where() - 类 中的静态方法cn.hutool.core.lang.Console
返回当前位置+行号 (不支持Lambda、内部类、递归内使用)
width - 类 中的变量cn.hutool.core.img.gif.AnimatedGifEncoder
 
width - 类 中的变量cn.hutool.core.img.gif.GifDecoder
 
WINDOWS_SEPARATOR - 类 中的静态变量cn.hutool.core.io.file.FileNameUtil
Windows路径分隔符
WORD - 类 中的静态变量cn.hutool.core.lang.PatternPool
字母
WORD - 接口 中的静态变量cn.hutool.core.lang.RegexPool
字母
work() - 类 中的方法cn.hutool.core.thread.SyncFinisher.Worker
任务内容
Worker() - 类 的构造器cn.hutool.core.thread.SyncFinisher.Worker
 
wrap(Class<?>) - 枚举 中的静态方法cn.hutool.core.convert.BasicType
原始类转为包装类,非原始类返回原类
wrap(Class<?>) - 类 中的静态方法cn.hutool.core.convert.Convert
原始类转为包装类,非原始类返回原类
wrap(Throwable, Class<T>) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
包装一个异常
wrap(Map<K, V>) - 类 中的静态方法cn.hutool.core.map.MapUtil
创建Map包装类MapWrapper
MapWrapper对Map做一次包装
wrap(CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
包装指定字符串
当前缀和后缀一致时使用此方法
wrap(CharSequence, CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
包装指定字符串
wrap(Object) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
包装数组对象
wrap(int...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(long...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(char...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(byte...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(short...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(float...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(double...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(boolean...) - 类 中的静态方法cn.hutool.core.util.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrapAll(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
包装多个字符串
wrapAllIfMissing(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
包装多个字符串,如果已经包装,则不再包装
wrapAllWithPair(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
使用单个字符包装多个字符串
wrapAllWithPairIfMissing(CharSequence, CharSequence...) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
使用成对的字符包装多个字符串,如果已经包装,则不再包装
wrapAndThrow(Throwable) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
包装异常并重新抛出此异常
RuntimeExceptionError 直接抛出,其它检查异常包装为UndeclaredThrowableException 后抛出
wrapIfMissing(CharSequence, CharSequence, CharSequence) - 类 中的静态方法cn.hutool.core.text.CharSequenceUtil
包装指定字符串,如果前缀或后缀已经包含对应的字符串,则不再包装
WRAPPER_PRIMITIVE_MAP - 枚举 中的静态变量cn.hutool.core.convert.BasicType
包装类型为Key,原始类型为Value,例如: Integer.class =》 int.class.
wrapRuntime(Throwable) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
使用运行时异常包装编译异常
如果传入参数已经是运行时异常,则直接返回,不再额外包装
wrapRuntime(String) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
将指定的消息包装为运行时异常
wrapRuntimeAndThrow(String) - 类 中的静态方法cn.hutool.core.exceptions.ExceptionUtil
将消息包装为运行时异常并抛出
write(OutputStream) - 类 中的方法cn.hutool.core.img.Img
写出图像为结果设置格式
结果类型设定见Img.setTargetImageType(String)
write(ImageOutputStream) - 类 中的方法cn.hutool.core.img.Img
写出图像为结果设置格式
结果类型设定见Img.setTargetImageType(String)
write(File) - 类 中的方法cn.hutool.core.img.Img
写出图像为目标文件扩展名对应的格式
write(ImageInputStream, String, ImageOutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
按照目标格式写出图像:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
write(Image, String, OutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
写出图像:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
write(Image, String, ImageOutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
写出图像为指定格式:GIF=》JPG、GIF=》PNG、PNG=》JPG、PNG=》GIF(X)、BMP=》PNG
此方法并不关闭流
write(Image, String, ImageOutputStream, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
写出图像为指定格式
write(Image, File) - 类 中的静态方法cn.hutool.core.img.ImgUtil
写出图像为目标文件扩展名对应的格式
write(Image, ImageWriter, ImageOutputStream, float) - 类 中的静态方法cn.hutool.core.img.ImgUtil
通过ImageWriter写出图片到输出流
write(char[], int, int) - 类 中的方法cn.hutool.core.io.AppendableWriter
 
write(int) - 类 中的方法cn.hutool.core.io.AppendableWriter
 
write(String, int, int) - 类 中的方法cn.hutool.core.io.AppendableWriter
 
write(String) - 类 中的方法cn.hutool.core.io.AppendableWriter
 
write(char[]) - 类 中的方法cn.hutool.core.io.AppendableWriter
 
write(byte[], int, int) - 类 中的方法cn.hutool.core.io.FastByteArrayOutputStream
 
write(int) - 类 中的方法cn.hutool.core.io.FastByteArrayOutputStream
 
write(int) - 类 中的方法cn.hutool.core.io.FastStringWriter
 
write(String) - 类 中的方法cn.hutool.core.io.FastStringWriter
 
write(String, int, int) - 类 中的方法cn.hutool.core.io.FastStringWriter
 
write(char[]) - 类 中的方法cn.hutool.core.io.FastStringWriter
 
write(char[], int, int) - 类 中的方法cn.hutool.core.io.FastStringWriter
 
write(String, boolean) - 类 中的方法cn.hutool.core.io.file.FileWriter
将String写入文件
write(String) - 类 中的方法cn.hutool.core.io.file.FileWriter
将String写入文件,覆盖模式
write(byte[], int, int) - 类 中的方法cn.hutool.core.io.file.FileWriter
写入数据到文件
write(byte[], int, int, boolean) - 类 中的方法cn.hutool.core.io.file.FileWriter
写入数据到文件
write(OutputStream, boolean, byte[]) - 类 中的静态方法cn.hutool.core.io.IoUtil
将byte[]写到流中
write(OutputStream, String, boolean, Object...) - 类 中的静态方法cn.hutool.core.io.IoUtil
write(OutputStream, Charset, boolean, Object...) - 类 中的静态方法cn.hutool.core.io.IoUtil
将多部分内容写到流中,自动转换为字符串
write(byte[], int, int) - 类 中的方法cn.hutool.core.io.NullOutputStream
什么也不做,写出到/dev/null.
write(int) - 类 中的方法cn.hutool.core.io.NullOutputStream
什么也不做,写出到 /dev/null.
write(byte[]) - 类 中的方法cn.hutool.core.io.NullOutputStream
什么也不做,写出到 /dev/null.
write(String) - 类 中的方法cn.hutool.core.net.multipart.UploadFile
将上传的文件写入指定的目标文件路径,自动创建文件
写入后原临时文件会被删除
write(File) - 类 中的方法cn.hutool.core.net.multipart.UploadFile
将上传的文件写入目标文件
写入后原临时文件会被删除
write(String[]...) - 类 中的方法cn.hutool.core.text.csv.CsvWriter
将多行写出到Writer
write(Iterable<?>) - 类 中的方法cn.hutool.core.text.csv.CsvWriter
将多行写出到Writer
write(CsvData) - 类 中的方法cn.hutool.core.text.csv.CsvWriter
将一个 CsvData 集合写出到Writer
write(Node, Writer, String, int) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档写出
write(Node, Writer, String, int, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档写出
write(Node, OutputStream, String, int) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档写出
write(Node, OutputStream, String, int, boolean) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将XML文档写出
writeBeans(Iterable<?>) - 类 中的方法cn.hutool.core.text.csv.CsvWriter
将一个Bean集合写出到Writer,并自动生成表头
writeBytes(byte[], String) - 类 中的静态方法cn.hutool.core.io.FileUtil
写数据到文件中
writeBytes(byte[], File) - 类 中的静态方法cn.hutool.core.io.FileUtil
写数据到文件中
writeBytes(byte[], File, int, int, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
写入数据到文件
writeComment(String) - 类 中的方法cn.hutool.core.text.csv.CsvWriter
写出一行注释,注释符号可自定义
如果注释符不存在,则抛出异常
writeFromStream(InputStream) - 类 中的方法cn.hutool.core.io.file.FileWriter
将流的内容写入文件
此方法会自动关闭输入流
writeFromStream(InputStream, boolean) - 类 中的方法cn.hutool.core.io.file.FileWriter
将流的内容写入文件
writeFromStream(InputStream, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
将流的内容写入文件
此方法会自动关闭输入流
writeFromStream(InputStream, File, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
将流的内容写入文件
writeFromStream(InputStream, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将流的内容写入文件
此方法会自动关闭输入流
writeGraphicCtrlExt() - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Writes Graphic Control Extension
writeHeaderLine(String...) - 类 中的方法cn.hutool.core.text.csv.CsvWriter
写出一行头部行,支持标题别名
writeImageDesc() - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Writes Image Descriptor
writeJpg(Image, ImageOutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
写出图像为JPG格式
writeJpg(Image, OutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
写出图像为JPG格式
writeLine(String...) - 类 中的方法cn.hutool.core.text.csv.CsvWriter
写出一行
writeLine() - 类 中的方法cn.hutool.core.text.csv.CsvWriter
追加新行(换行)
writeLines(Collection<T>) - 类 中的方法cn.hutool.core.io.file.FileWriter
将列表写入文件,覆盖模式
writeLines(Collection<T>, boolean) - 类 中的方法cn.hutool.core.io.file.FileWriter
将列表写入文件
writeLines(Collection<T>, LineSeparator, boolean) - 类 中的方法cn.hutool.core.io.file.FileWriter
将列表写入文件
writeLines(Collection<T>, String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, String, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, File, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, File, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, String, String, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件
writeLines(Collection<T>, String, Charset, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件
writeLines(Collection<T>, File, String, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件
writeLines(Collection<T>, File, Charset, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件
writeLSD() - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Writes Logical Screen Descriptor
writeMap(Map<?, ?>, String, boolean) - 类 中的方法cn.hutool.core.io.file.FileWriter
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeMap(Map<?, ?>, LineSeparator, String, boolean) - 类 中的方法cn.hutool.core.io.file.FileWriter
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeMap(Map<?, ?>, File, Charset, String, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeNetscapeExt() - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Writes Netscape application extension to define repeat count.
writeObj(OutputStream, boolean, Serializable) - 类 中的静态方法cn.hutool.core.io.IoUtil
将多部分内容写到流中
writeObjectAsXml(File, Object) - 类 中的静态方法cn.hutool.core.util.XmlUtil
将可序列化的对象转换为XML写入文件,已经存在的文件将被覆盖
Writes serializable object to a XML file.
writeObjects(OutputStream, boolean, Serializable...) - 类 中的静态方法cn.hutool.core.io.IoUtil
将多部分内容写到流中
writePalette() - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Writes color table
writePixels() - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Encodes and writes pixel data
writePng(Image, ImageOutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
写出图像为PNG格式
writePng(Image, OutputStream) - 类 中的静态方法cn.hutool.core.img.ImgUtil
写出图像为PNG格式
writeShort(int) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Write 16-bit value to output stream, LSB first
writeString(String) - 类 中的方法cn.hutool.core.img.gif.AnimatedGifEncoder
Writes string to output stream
writeString(String, String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式
writeString(String, String, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式
writeString(String, File, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式
writeString(String, File, Charset) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式
writeTo(OutputStream) - 类 中的方法cn.hutool.core.io.FastByteArrayOutputStream
写出
writeTo(OutputStream) - 接口 中的方法cn.hutool.core.io.resource.Resource
将资源内容写出到流,不关闭输出流,但是关闭资源流
writeToStream(OutputStream) - 类 中的方法cn.hutool.core.io.file.FileReader
将文件写入流中,此方法不会关闭比输出流
writeToStream(OutputStream, boolean) - 类 中的方法cn.hutool.core.io.file.FileReader
将文件写入流中
writeToStream(File, OutputStream) - 类 中的静态方法cn.hutool.core.io.FileUtil
将文件写入流中,此方法不会关闭输出流
writeToStream(String, OutputStream) - 类 中的静态方法cn.hutool.core.io.FileUtil
将路径对应文件写入流中,此方法不会关闭输出流
writeUtf8(OutputStream, boolean, Object...) - 类 中的静态方法cn.hutool.core.io.IoUtil
将多部分内容写到流中,自动转换为UTF-8字符串
writeUtf8Lines(Collection<T>, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式,编码为UTF-8
writeUtf8Lines(Collection<T>, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
将列表写入文件,覆盖模式,编码为UTF-8
writeUtf8Map(Map<?, ?>, File, String, boolean) - 类 中的静态方法cn.hutool.core.io.FileUtil
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeUtf8String(String, String) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式,字符集为UTF-8
writeUtf8String(String, File) - 类 中的静态方法cn.hutool.core.io.FileUtil
将String写入文件,覆盖模式,字符集为UTF-8

X

XmlEscape - cn.hutool.core.text.escape中的类
XML特殊字符转义
见:https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents
& (ampersand) 替换为 &amp; < (less than) 替换为 &lt; > (greater than) 替换为 &gt; " (double quote) 替换为 &quot; ' (single quote / apostrophe) 替换为 &apos;
XmlEscape() - 类 的构造器cn.hutool.core.text.escape.XmlEscape
构造
xmlToBean(String, Class<T>) - 类 中的静态方法cn.hutool.core.util.JAXBUtil
xml转换成JavaBean
xmlToBean(File, Charset, Class<T>) - 类 中的静态方法cn.hutool.core.util.JAXBUtil
XML文件转Bean
xmlToBean(Reader, Class<T>) - 类 中的静态方法cn.hutool.core.util.JAXBUtil
Reader中读取XML字符串,并转换为Bean
xmlToBean(Node, Class<T>) - 类 中的静态方法cn.hutool.core.util.XmlUtil
XML转Java Bean
xmlToMap(String) - 类 中的静态方法cn.hutool.core.util.XmlUtil
XML格式字符串转换为Map
xmlToMap(Node) - 类 中的静态方法cn.hutool.core.util.XmlUtil
XML格式字符串转换为Map
xmlToMap(String, Map<String, Object>) - 类 中的静态方法cn.hutool.core.util.XmlUtil
XML格式字符串转换为Map
只支持第一级别的XML,不支持多级XML
xmlToMap(Node, Map<String, Object>) - 类 中的静态方法cn.hutool.core.util.XmlUtil
XML节点转换为Map
XmlUnescape - cn.hutool.core.text.escape中的类
XML的UNESCAPE
XmlUnescape() - 类 的构造器cn.hutool.core.text.escape.XmlUnescape
构造
XmlUtil - cn.hutool.core.util中的类
XML工具类
此工具使用w3c dom工具,不需要依赖第三方包。
XmlUtil() - 类 的构造器cn.hutool.core.util.XmlUtil
 
XmlUtil.UniversalNamespaceCache - cn.hutool.core.util中的类
全局命名空间上下文
见:https://www.ibm.com/developerworks/cn/xml/x-nmspccontext/
xor(boolean...) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
对Boolean数组取异或 BooleanUtil.xor(true, true) = false BooleanUtil.xor(false, false) = false BooleanUtil.xor(true, false) = true BooleanUtil.xor(true, true) = false BooleanUtil.xor(false, false) = false BooleanUtil.xor(true, false) = true
xorOfWrap(Boolean...) - 类 中的静态方法cn.hutool.core.util.BooleanUtil
对Boolean数组取异或 BooleanUtil.xor(new Boolean[] { Boolean.TRUE, Boolean.TRUE }) = Boolean.FALSE BooleanUtil.xor(new Boolean[] { Boolean.FALSE, Boolean.FALSE }) = Boolean.FALSE BooleanUtil.xor(new Boolean[] { Boolean.TRUE, Boolean.FALSE }) = Boolean.TRUE

Y

year() - 类 中的方法cn.hutool.core.date.DateTime
获得年的部分
year(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得年的部分
yearAndQuarter(long, long) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获得指定日期区间内的年份和季度
yearAndQuarter(Calendar) - 类 中的静态方法cn.hutool.core.date.CalendarUtil
获得指定日期年份和季度
格式:[20131]表示2013年第一季度
yearAndQuarter(Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期年份和季节
格式:[20131]表示2013年第一季度
yearAndQuarter(Date, Date) - 类 中的静态方法cn.hutool.core.date.DateUtil
获得指定日期区间内的年份和季节
yearDays(int) - 类 中的静态方法cn.hutool.core.date.chinese.LunarInfo
传回农历 y年的总天数
yesterday() - 类 中的静态方法cn.hutool.core.date.DateUtil
昨天
yuanToCent(double) - 类 中的静态方法cn.hutool.core.math.MathUtil
金额元转换为分

Z

zero2One(int) - 类 中的静态方法cn.hutool.core.util.NumberUtil
如果给定值为0,返回1,否则返回原值
zip(String, String, String, boolean) - 类 中的静态方法cn.hutool.core.collection.CollUtil
映射键值(参考Python的zip()函数)
例如:
keys = a,b,c,d
values = 1,2,3,4
delimiter = , 则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(String, String, String) - 类 中的静态方法cn.hutool.core.collection.CollUtil
映射键值(参考Python的zip()函数),返回Map无序
例如:
keys = a,b,c,d
values = 1,2,3,4
delimiter = , 则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(Collection<K>, Collection<V>) - 类 中的静态方法cn.hutool.core.collection.CollUtil
映射键值(参考Python的zip()函数)
例如:
keys = [a,b,c,d]
values = [1,2,3,4]
则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(K[], V[], boolean) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
映射键值(参考Python的zip()函数)
例如:
keys = [a,b,c,d]
values = [1,2,3,4]
则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(K[], V[]) - 类 中的静态方法cn.hutool.core.util.ArrayUtil
映射键值(参考Python的zip()函数),返回Map无序
例如:
keys = [a,b,c,d]
values = [1,2,3,4]
则得到的Map是 {a=1, b=2, c=3, d=4}
如果两个数组长度不同,则只对应最短部分
zip(String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
打包到当前目录,使用默认编码UTF-8
zip(String, Charset) - 类 中的静态方法cn.hutool.core.util.ZipUtil
打包到当前目录
zip(File) - 类 中的静态方法cn.hutool.core.util.ZipUtil
打包到当前目录,使用默认编码UTF-8
zip(File, Charset) - 类 中的静态方法cn.hutool.core.util.ZipUtil
打包到当前目录
zip(String, String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
不包含被打包目录
zip(String, String, boolean) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
zip(String, String, Charset, boolean) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
zip(File, boolean, File...) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
使用默认UTF-8编码
zip(File, Charset, boolean, File...) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
zip(File, Charset, boolean, FileFilter, File...) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
zip(OutputStream, Charset, boolean, FileFilter, File...) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对文件或文件目录进行压缩
zip(ZipOutputStream, boolean, FileFilter, File...) - 类 中的静态方法cn.hutool.core.util.ZipUtil
zip(File, String, String) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件,使用默认UTF-8编码
zip(File, String, String, Charset) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
zip(File, String, InputStream) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
使用默认编码UTF-8
zip(File, String, InputStream, Charset) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
zip(File, String[], InputStream[]) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
路径列表和流列表长度必须一致
zip(File, String[], InputStream[], Charset) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
路径列表和流列表长度必须一致
zip(OutputStream, String[], InputStream[]) - 类 中的静态方法cn.hutool.core.util.ZipUtil
将文件流压缩到目标流中
zip(ZipOutputStream, String[], InputStream[]) - 类 中的静态方法cn.hutool.core.util.ZipUtil
将文件流压缩到目标流中
zip(File, Charset, Resource...) - 类 中的静态方法cn.hutool.core.util.ZipUtil
对流中的数据加入到压缩文件
路径列表和流列表长度必须一致
ZIP_CODE - 类 中的静态变量cn.hutool.core.lang.PatternPool
邮编,兼容港澳台
ZIP_CODE - 接口 中的静态变量cn.hutool.core.lang.RegexPool
邮编,兼容港澳台
ZIP_CODE - 类 中的静态变量cn.hutool.core.lang.Validator
邮编
ZipCopyVisitor - cn.hutool.core.compress中的类
Zip文件拷贝的FileVisitor实现,zip中追加文件,此类非线程安全
此类在遍历源目录并复制过程中会自动创建目标目录中不存在的上级目录。
ZipCopyVisitor(Path, FileSystem, CopyOption...) - 类 的构造器cn.hutool.core.compress.ZipCopyVisitor
构造
ZipReader - cn.hutool.core.compress中的类
Zip文件或流读取器,一般用于Zip文件解压
ZipReader(File, Charset) - 类 的构造器cn.hutool.core.compress.ZipReader
构造
ZipReader(ZipFile) - 类 的构造器cn.hutool.core.compress.ZipReader
构造
ZipReader(InputStream, Charset) - 类 的构造器cn.hutool.core.compress.ZipReader
构造
ZipReader(ZipInputStream) - 类 的构造器cn.hutool.core.compress.ZipReader
构造
ZipUtil - cn.hutool.core.util中的类
压缩工具类
ZipUtil() - 类 的构造器cn.hutool.core.util.ZipUtil
 
ZipWriter - cn.hutool.core.compress中的类
Zip生成封装
ZipWriter(File, Charset) - 类 的构造器cn.hutool.core.compress.ZipWriter
构造
ZipWriter(OutputStream, Charset) - 类 的构造器cn.hutool.core.compress.ZipWriter
构造
ZipWriter(ZipOutputStream) - 类 的构造器cn.hutool.core.compress.ZipWriter
构造
zlib(String, String, int) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Zlib压缩处理
zlib(File, int) - 类 中的静态方法cn.hutool.core.util.ZipUtil
Zlib压缩文件
zlib(byte[], int) - 类 中的静态方法cn.hutool.core.util.ZipUtil
打成Zlib压缩包
zlib(InputStream, int) - 类 中的静态方法cn.hutool.core.util.ZipUtil
打成Zlib压缩包
zlib(InputStream, int, int) - 类 中的静态方法cn.hutool.core.util.ZipUtil
打成Zlib压缩包
zobrist(char[], int, int[][]) - 类 中的静态方法cn.hutool.core.util.HashUtil
Zobrist Hashing
Zodiac - cn.hutool.core.date中的类
星座 来自:https://blog.csdn.net/u010758605/article/details/48317881
Zodiac() - 类 的构造器cn.hutool.core.date.Zodiac
 
ZoneUtil - cn.hutool.core.date中的类
ZoneIdTimeZone相关封装
ZoneUtil() - 类 的构造器cn.hutool.core.date.ZoneUtil
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
跳过导航链接

Copyright © 2021. All rights reserved.