Skip navigation links
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> - Class in org.dromara.hutool.core.map.multi
MultiValueMap的基本实现
AbsCollValueMap(Supplier<Map<K, Collection<V>>>) - Constructor for class org.dromara.hutool.core.map.multi.AbsCollValueMap
使用mapFactory创建的集合构造一个多值映射Map集合
AbsCollValueMap(Map<K, Collection<V>>) - Constructor for class org.dromara.hutool.core.map.multi.AbsCollValueMap
基于HashMap构造一个多值映射集合
AbsCollValueMap() - Constructor for class org.dromara.hutool.core.map.multi.AbsCollValueMap
基于HashMap构造一个多值映射集合
AbsCopier<S,T> - Class in org.dromara.hutool.core.bean.copier
抽象的对象拷贝封装,提供来源对象、目标对象持有
AbsCopier(S, T, CopyOptions) - Constructor for class org.dromara.hutool.core.bean.copier.AbsCopier
构造
AbsEntry<K,V> - Class in org.dromara.hutool.core.map
抽象的Map.Entry实现,来自Guava
实现了默认的AbsEntry.equals(Object)AbsEntry.hashCode()AbsEntry.toString()方法。
AbsEntry() - Constructor for class org.dromara.hutool.core.map.AbsEntry
 
AbsServiceLoader<S> - Class in org.dromara.hutool.core.spi
抽象服务加载器,提供包括路径前缀、服务类、类加载器、编码、安全相关持有
AbsServiceLoader(String, Class<S>, ClassLoader, Charset) - Constructor for class org.dromara.hutool.core.spi.AbsServiceLoader
构造
AbsTable<R,C,V> - Class in org.dromara.hutool.core.map.multi
AbsTable() - Constructor for class org.dromara.hutool.core.map.multi.AbsTable
 
AbstractBeanDesc - Class in org.dromara.hutool.core.bean.path
Bean描述抽象类
AbstractBeanDesc(Class<?>) - Constructor for class org.dromara.hutool.core.bean.path.AbstractBeanDesc
构造
AbstractBuilder(String) - Constructor for class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
构造
AbstractCache<K,V> - Class in org.dromara.hutool.core.cache.impl
超时和限制大小的缓存的默认实现
继承此抽象缓存需要:
创建一个新的Map 实现 prune 策略
AbstractCache() - Constructor for class org.dromara.hutool.core.cache.impl.AbstractCache
 
AbstractCollector() - Constructor for class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.AbstractCollector
 
AbstractConverter - Class in org.dromara.hutool.core.convert
抽象转换器,提供通用的转换逻辑,同时通过convertInternal实现对应类型的专属逻辑
转换器不会抛出转换异常,转换失败时会返回null
抽象转换器的默认逻辑不适用于有泛型参数的对象,如Map、Collection、Entry等。
AbstractConverter() - Constructor for class org.dromara.hutool.core.convert.AbstractConverter
 
AbstractEnhancedWrappedStream<T,S extends AbstractEnhancedWrappedStream<T,S>> - Class in org.dromara.hutool.core.stream
WrappedStream接口的公共实现,用于包装并增强一个已有的流实例
AbstractEnhancedWrappedStream(Stream<T>) - Constructor for class org.dromara.hutool.core.stream.AbstractEnhancedWrappedStream
创建一个流包装器
AbstractFileCache - Class in org.dromara.hutool.core.cache.file
文件缓存,以解决频繁读取文件引起的性能问题
AbstractFileCache(int, int, long) - Constructor for class org.dromara.hutool.core.cache.file.AbstractFileCache
构造
AbstractFilter - Class in org.dromara.hutool.core.text.bloom
抽象Bloom过滤器
AbstractFilter(int) - Constructor for class org.dromara.hutool.core.text.bloom.AbstractFilter
构造
AbstractMetroHash<R extends AbstractMetroHash<R>> - Class in org.dromara.hutool.core.codec.hash.metro
Apache 发布的MetroHash算法抽象实现,是一组用于非加密用例的最先进的哈希函数。
AbstractMetroHash(long) - Constructor for class org.dromara.hutool.core.codec.hash.metro.AbstractMetroHash
使用指定种子构造
AbstractPlaceholderSegment - Class in org.dromara.hutool.core.text.placeholder.segment
字符串模板-占位符-抽象 Segment 例如:{@literal "???"
AbstractPlaceholderSegment(String) - Constructor for class org.dromara.hutool.core.text.placeholder.segment.AbstractPlaceholderSegment
构造
accept(T, U) - Method in interface org.dromara.hutool.core.func.SerBiConsumer
Performs this operation on the given arguments.
accept(T) - Method in interface org.dromara.hutool.core.func.SerConsumer
Performs this operation on the given argument.
accept(P1, P2, P3) - Method in interface org.dromara.hutool.core.func.SerConsumer3
接收参数方法
accept(Class<?>...) - Method in class org.dromara.hutool.core.io.stream.ValidateObjectInputStream
接受反序列化的类,用于反序列化验证
accept(T, Consumer<T>) - Static method in class org.dromara.hutool.core.util.ObjUtil
如果指定的对象不为 null,则执行Consumer处理source,否则不进行操作
accepting(T, U) - Method in interface org.dromara.hutool.core.func.SerBiConsumer
Performs this operation on the given arguments.
accepting(T) - Method in interface org.dromara.hutool.core.func.SerConsumer
Performs this operation on the given argument.
accepting(P1, P2, P3) - Method in interface org.dromara.hutool.core.func.SerConsumer3
接收参数方法
accepting(String) - Method in class org.dromara.hutool.core.io.file.Tailer.ConsoleLineHandler
 
accessCount - Variable in class org.dromara.hutool.core.cache.impl.CacheObj
访问次数
accessed - Variable in class org.dromara.hutool.core.tree.HierarchyIterator
已经访问过的列表
accumulator() - Method in class org.dromara.hutool.core.stream.SimpleCollector
 
acquire() - Method in interface org.dromara.hutool.core.thread.ratelimiter.RateLimiter
获取许可,阻塞方法,如果没有足够的许可,则阻塞等待
acquire(int) - Method in interface org.dromara.hutool.core.thread.ratelimiter.RateLimiter
获取许可,阻塞方法,如果没有足够的许可,则阻塞等待
acquire(int) - Method in class org.dromara.hutool.core.thread.ratelimiter.SemaphoreRateLimiter
 
actualArgs(Method, Object[]) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
检查用户传入参数: 1、忽略多余的参数 2、参数不够补齐默认值 3、通过NullWrapperBean传递的参数,会直接赋值null 4、传入参数为null,但是目标参数类型为原始类型,做转换 5、传入参数类型不对应,尝试转换类型
ActualTypeMapperPool - Class in org.dromara.hutool.core.reflect
泛型变量和泛型实际类型映射关系缓存
ActualTypeMapperPool() - Constructor for class org.dromara.hutool.core.reflect.ActualTypeMapperPool
 
add(T) - Method in class org.dromara.hutool.core.codec.hash.ConsistentHash
增加节点
每增加一个节点,就会在闭环上增加给定复制节点数
例如复制节点数是2,则每调用此方法一次,增加两个虚拟节点,这两个节点指向同一Node 由于hash算法会调用node的toString方法,故按照toString去重
add(E) - Method in class org.dromara.hutool.core.collection.BoundedList
 
add(int, E) - Method in class org.dromara.hutool.core.collection.BoundedList
 
add(E) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
add(int, E) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
add(Object) - Method in class org.dromara.hutool.core.collection.queue.DiscardingQueue
 
add(E) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
add(E) - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
add(E) - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
add(V) - Method in class org.dromara.hutool.core.collection.set.UniqueKeySet
 
add(boolean, FileFilter, File...) - Method in class org.dromara.hutool.core.compress.ZipWriter
对文件或文件目录进行压缩
add(Resource...) - Method in class org.dromara.hutool.core.compress.ZipWriter
添加资源到压缩包,添加后关闭资源流
add(String, InputStream) - Method in class org.dromara.hutool.core.compress.ZipWriter
添加文件流到压缩包,添加后关闭输入文件流
如果输入流为null,则只创建空目录
add(String[], InputStream[]) - Method in class org.dromara.hutool.core.compress.ZipWriter
对流中的数据加入到压缩文件
路径列表和流列表长度必须一致
add(byte) - Method in class org.dromara.hutool.core.io.CircularByteBuffer
增加byte到buffer中
add(byte[], int, int) - Method in class org.dromara.hutool.core.io.CircularByteBuffer
Adds the given bytes to the buffer.
add(File...) - Method in class org.dromara.hutool.core.io.resource.MultiFileResource
增加文件资源
add(Path...) - Method in class org.dromara.hutool.core.io.resource.MultiFileResource
增加文件资源
add(Collection<File>) - Method in class org.dromara.hutool.core.io.resource.MultiFileResource
增加文件资源
add(Resource) - Method in class org.dromara.hutool.core.io.resource.MultiFileResource
 
add(Resource) - Method in class org.dromara.hutool.core.io.resource.MultiResource
增加资源
add(byte) - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
增加值
add(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
增加值
add(double) - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
增加值
add(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
增加值
add(float) - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
增加值
add(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
增加值
add(int) - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
增加值
add(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
增加值
add(long) - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
增加值
add(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
增加值
add(short) - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
增加值
add(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
增加值
add(T, int) - Method in class org.dromara.hutool.core.lang.selector.SmoothWeightSelector
增加对象
add(WeightObj<T>) - Method in class org.dromara.hutool.core.lang.selector.SmoothWeightSelector
增加权重对象
add(E, int) - Method in class org.dromara.hutool.core.lang.selector.WeightListRandomSelector
增加随机种子
add(T, int) - Method in class org.dromara.hutool.core.lang.selector.WeightRandomSelector
增加对象
add(WeightObj<T>) - Method in class org.dromara.hutool.core.lang.selector.WeightRandomSelector
增加对象权重
add(int, int) - Static method in class org.dromara.hutool.core.math.BitStatusUtil
增加状态
add(Money) - Method in class org.dromara.hutool.core.math.Money
货币加法。
add(Number...) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供精确的加法运算
如果传入多个值为null或者空,则返回0
add(String...) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供精确的加法运算
如果传入多个值为null或者空,则返回 需要注意的是,在不同Locale下,数字的表示形式也是不同的,例如:
德国、荷兰、比利时、丹麦、意大利、罗马尼亚和欧洲大多地区使用`,`区分小数
也就是说,在这些国家地区,1.20表示120,而非1.2。
add(CharSequence) - Method in class org.dromara.hutool.core.net.url.UrlPath
添加到path最后面
add(CharSequence, Object) - Method in class org.dromara.hutool.core.net.url.UrlQuery
增加键值对
add(T) - Method in interface org.dromara.hutool.core.stream.EasyStream.Builder
Adds an element to the unwrap being built.
add(String) - Method in class org.dromara.hutool.core.text.bloom.AbstractFilter
 
add(String) - Method in interface org.dromara.hutool.core.text.bloom.BloomFilter
在boolean的bitMap中增加一个字符串
如果存在就返回false .如果不存在.先增加这个字符串.再返回true
add(String) - Method in class org.dromara.hutool.core.text.bloom.CombinedBloomFilter
增加字符串到Filter映射中
addAll(T[]...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
合并所有数组,返回合并后的新数组
忽略null的数组
addAll(byte[]...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(int[]...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(long[]...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(double[]...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(float[]...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(char[]...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(boolean[]...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(short[]...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将多个数组合并在一起
忽略null的数组
addAll(Collection<? extends E>) - Method in class org.dromara.hutool.core.collection.BoundedList
 
addAll(int, Collection<? extends E>) - Method in class org.dromara.hutool.core.collection.BoundedList
 
addAll(Collection<T>, Object) - Static method in class org.dromara.hutool.core.collection.CollUtil
将指定对象全部加入到集合中
提供的对象如果为集合类型,会自动转换为目标元素类型
addAll(Collection<T>, Object, Type) - Static method in class org.dromara.hutool.core.collection.CollUtil
将指定对象全部加入到集合中
提供的对象如果为集合类型,会自动转换为目标元素类型
如果为String,支持类似于[1,2,3,4] 或者 1,2,3,4 这种格式
addAll(Collection<T>, Object, Type, Converter) - Static method in class org.dromara.hutool.core.collection.CollUtil
将指定对象全部加入到集合中
提供的对象如果为集合类型,会自动转换为目标元素类型
如果为String,支持类似于[1,2,3,4] 或者 1,2,3,4 这种格式
addAll(Collection<T>, Iterator<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
加入全部
addAll(Collection<T>, Iterable<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
加入全部
addAll(Collection<T>, Enumeration<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
加入全部
addAll(Collection<T>, T[]) - Static method in class org.dromara.hutool.core.collection.CollUtil
加入全部
addAll(Collection<? extends E>) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
addAll(int, Collection<? extends E>) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
addAll(E[]) - Method in class org.dromara.hutool.core.collection.queue.BoundedPriorityQueue
添加多个元素
参数为集合的情况请使用AbstractQueue.addAll(java.util.Collection<? extends E>)
addAll(Collection<? extends E>) - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
addAll(Iterable<? extends Resource>) - Method in class org.dromara.hutool.core.io.resource.MultiResource
增加多个资源
addAll(Map<? extends CharSequence, ?>) - Method in class org.dromara.hutool.core.net.url.UrlQuery
批量增加键值对
addAllIfAbsent(Collection<? extends V>) - Method in class org.dromara.hutool.core.collection.set.UniqueKeySet
加入集合中所有的值,如果值已经存在,则忽略之
addAllIfNotContains(List<T>, List<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
将另一个列表中的元素加入到列表中,如果列表中已经存在此元素则忽略之
addBefore(CharSequence) - Method in class org.dromara.hutool.core.net.url.UrlPath
添加到path最前面
addBody(String...) - Method in class org.dromara.hutool.core.lang.ConsoleTable
添加体信息
addChain(Iterator<T>) - Method in class org.dromara.hutool.core.collection.iter.IterChain
添加迭代器
addChain(Comparator<E>) - Method in class org.dromara.hutool.core.comparator.ComparatorChain
 
addChain(Watcher) - Method in class org.dromara.hutool.core.io.watch.watchers.WatcherChain
 
addChain(E) - Method in interface org.dromara.hutool.core.lang.Chain
加入责任链
addChain(StrReplacer) - Method in class org.dromara.hutool.core.text.replacer.ReplacerChain
 
addChildren(MapTree<T>...) - Method in class org.dromara.hutool.core.tree.MapTree
增加子节点,同时关联子节点的父节点为当前节点
addComparator(Comparator<E>) - Method in class org.dromara.hutool.core.comparator.ComparatorChain
在链的尾部添加比较器,使用正向排序
addComparator(Comparator<E>, boolean) - Method in class org.dromara.hutool.core.comparator.ComparatorChain
在链的尾部添加比较器,使用给定排序方式
addFeatures(StrTemplate.Feature...) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
向 策略值 中 添加策略 同组内的策略是互斥的,一但设置为组内的某个新策略,就会清除之前的同组策略,仅保留新策略
addFirst(E) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
addHeader(String...) - Method in class org.dromara.hutool.core.lang.ConsoleTable
添加头信息
addIfAbsent(Collection<T>, S) - Static method in class org.dromara.hutool.core.collection.CollUtil
一个对象不为空且不存在于该集合中时,加入到该集合中
null, null -> false [], null -> false null, "123" -> false ["123"], "123" -> false [], "123" -> true ["456"], "123" -> true [Animal{"name": "jack"}], Dog{"name": "jack"} -> true
addIfAbsent(V) - Method in class org.dromara.hutool.core.collection.set.UniqueKeySet
加入值,如果值已经存在,则忽略之
additiveHash(String, int) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
加法hash
addJar(File) - Method in class org.dromara.hutool.core.classloader.JarClassLoader
加载Jar文件,或者加载目录
addLast(E) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
addLiteralSegment(boolean, List<StrTemplateSegment>, String) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
添加 固定文本segment,过滤 空字符串 并 合并相邻的固定文本
addPath(CharSequence) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
增加路径,在现有路径基础上追加路径
addPathSegment(CharSequence) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
增加路径节点,路径节点中的"/"会被转义为"%2F"
addPattern(Pattern) - Method in class org.dromara.hutool.core.date.format.parser.RegexDateParser
新增自定义日期正则
addPrefixIfNot(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定字符串不是以prefix开头的,在开头补充 prefix
addQuery(String, Object) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
添加查询项,支持重复键,默认非严格模式
addRegex(String) - Method in class org.dromara.hutool.core.date.format.parser.RegexDateParser
新增自定义日期正则
addRepeatWorker(Runnable) - Method in class org.dromara.hutool.core.thread.SyncFinisher
增加定义的线程数同等数量的worker
addReplace(String, Resource) - Method in class org.dromara.hutool.core.compress.ZipReplacer
增加替换的内容,如果路径不匹配,则不做替换,也不加入
addResource(T) - Method in class org.dromara.hutool.core.classloader.ResourceClassLoader
增加需要加载的类资源
address(String, int) - Static method in class org.dromara.hutool.core.data.MaskingUtil
【地址】只显示到地区,不显示详细地址,比如:北京市海淀区****
addSafe(char) - Method in class org.dromara.hutool.core.codec.PercentCodec.Builder
增加安全字符
安全字符不被编码
addSafes(String) - Method in class org.dromara.hutool.core.codec.PercentCodec.Builder
增加安全字符
安全字符不被编码
addShutdownHook(Runnable) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
增加一个JVM关闭后的钩子,用于在JVM关闭时执行某些操作
addSuffixIfNot(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定字符串不是以suffix结尾的,在尾部补充 suffix
addTempSuffix(String, String) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
增加临时扩展名
addTo(Money) - Method in class org.dromara.hutool.core.math.Money
货币累加。
addURL(URL) - Method in class org.dromara.hutool.core.classloader.JarClassLoader
 
addURL(File) - Method in class org.dromara.hutool.core.classloader.JarClassLoader
增加class所在目录或文件
如果为目录,此目录用于搜索class文件,如果为文件,需为jar文件
addValue(char, int, Map<Character, Integer>) - Method in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
新增子节点
addWord(String) - Method in class org.dromara.hutool.core.text.dfa.WordTree
添加单词,使用默认类型
addWords(Collection<String>) - Method in class org.dromara.hutool.core.text.dfa.WordTree
增加一组单词
addWords(String...) - Method in class org.dromara.hutool.core.text.dfa.WordTree
增加一组单词
addWorker(Runnable) - Method in class org.dromara.hutool.core.thread.SyncFinisher
增加工作线程
addWorker(SyncFinisher.Worker) - Method in class org.dromara.hutool.core.thread.SyncFinisher
增加工作线程
afterInit() - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
一些公共的初始化代码 由于此时子类还没构造完成,所以只能由子类构造方法调用
age(Calendar, Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
计算相对于dateToCompare的年龄,常用于计算指定生日在某年的年龄
按照《最高人民法院关于审理未成年人刑事案件具体应用法律若干问题的解释》第二条规定刑法第十七条规定的“周岁”,按照公历的年、月、日计算,从周岁生日的第二天起算。
age(long, long) - Static method in class org.dromara.hutool.core.date.CalendarUtil
计算相对于dateToCompare的年龄(周岁),常用于计算指定生日在某年的年龄
按照《最高人民法院关于审理未成年人刑事案件具体应用法律若干问题的解释》第二条规定刑法第十七条规定的“周岁”,按照公历的年、月、日计算,从周岁生日的第二天起算。
age(Date, Date) - Static method in class org.dromara.hutool.core.date.DateUtil
计算相对于dateToCompare的年龄,常用于计算指定生日在某年的年龄
按照《最高人民法院关于审理未成年人刑事案件具体应用法律若干问题的解释》第二条规定刑法第十七条规定的“周岁”,按照公历的年、月、日计算,从周岁生日的第二天起算。
ageOfNow(String) - Static method in class org.dromara.hutool.core.date.DateUtil
生日转为年龄,计算法定年龄
ageOfNow(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
生日转为年龄,计算法定年龄(周岁)
按照《最高人民法院关于审理未成年人刑事案件具体应用法律若干问题的解释》第二条规定刑法第十七条规定的“周岁”,按照公历的年、月、日计算,从周岁生日的第二天起算。
AhoCorasickAutomaton(Map<String, String>) - Constructor for class org.dromara.hutool.core.text.replacer.HighMultiReplacerV2.AhoCorasickAutomaton
 
Alias - Annotation Type in org.dromara.hutool.core.annotation
别名注解,使用此注解的字段、方法、参数等会有一个别名,用于Bean拷贝、Bean转Map等。
ALL - Static variable in class org.dromara.hutool.core.io.ByteOrderMark
预定义的所有BOM信息
ALL - Static variable in enum org.dromara.hutool.core.io.watch.WatchKind
全部事件
all() - Static method in class org.dromara.hutool.core.lang.range.BoundedRange
构建一个上下界皆无限大的区间,即{x | -∞ < x < +∞}
ALL - Static variable in class org.dromara.hutool.core.net.url.FormUrlencoded
query中的value,默认除"-", "_", "
allCharSize - Variable in class org.dromara.hutool.core.text.finder.MultiStrFinder
 
allForEach(BiConsumer<K, V>) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
遍历所有键值对,效果等同于: for (Entry<K, Collection<V>> entry : entrySet()) { K key = entry.getKey(); Collection<V> coll = entry.getValues(); for (V val : coll) { consumer.accept(key, val); } }
allIterators - Variable in class org.dromara.hutool.core.collection.iter.IterChain
所有的Iterator
allMatch(Collection<T>, Predicate<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
是否全部匹配判断条件
allMatch(Predicate<Method>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于组合多个方法匹配器的方法匹配器,当所有方法匹配器均匹配成功时才认为方法匹配。
allMatch(BiPredicate<? super K, ? super V>) - Method in class org.dromara.hutool.core.stream.EntryStream
所有键值对是否都符合条件
allMatch(Predicate<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
判断是否所有元素满足给定断言
allocate(int) - Method in class org.dromara.hutool.core.math.Money
货币分配。
allocate(long[]) - Method in class org.dromara.hutool.core.math.Money
货币分配。
allOfGet(List<CompletableFuture<T>>) - Static method in class org.dromara.hutool.core.thread.AsyncUtil
获取所有任务的返回值
allOfGet(CompletableFuture<T>...) - Static method in class org.dromara.hutool.core.thread.AsyncUtil
获取所有任务的返回值,重载方法
allOfGet(CompletableFuture<T>[], Function<Exception, T>) - Static method in class org.dromara.hutool.core.thread.AsyncUtil
获取所有任务的返回值,可以为异常任务添加异常处理方法
allOfGet(List<CompletableFuture<T>>, Function<Exception, T>) - Static method in class org.dromara.hutool.core.thread.AsyncUtil
获取所有任务的返回值,可以为异常任务添加异常处理方法,重载方法
allValues() - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
获取所有的值,效果等同于: List<V> results = new ArrayList<>(); for (Collection<V> coll : values()) { results.addAll(coll); }
alwaysTrue() - Static method in class org.dromara.hutool.core.func.PredicateUtil
创建一个匹配任何方法的方法匹配器
AMP - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:与 '&'
AMP - Static variable in class org.dromara.hutool.core.xml.XmlConstants
字符串常量:XML And 符转义 "&amp;" -> "&"
and(Iterable<Predicate<T>>) - Static method in class org.dromara.hutool.core.func.PredicateUtil
多个条件转换为”与“复合条件,即所有条件都为true时,才返回true
and(Predicate<T>...) - Static method in class org.dromara.hutool.core.func.PredicateUtil
多个条件转换为”与“复合条件,即所有条件都为true时,才返回true
and(SerBiPredicate<? super T, ? super U>) - Method in interface org.dromara.hutool.core.func.SerBiPredicate
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.
and(SerPredicate<? super T>) - Method in interface org.dromara.hutool.core.func.SerPredicate
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.
and(boolean...) - Static method in class org.dromara.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...) - Static method in class org.dromara.hutool.core.util.BooleanUtil
Boolean数组所有元素相 与 的结果 注意:null 元素 被当作 true 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 BooleanUtil.and(Boolean.TRUE, null) = Boolean.TRUE
andThen(SerBiConsumer<? super T, ? super U>) - Method in interface org.dromara.hutool.core.func.SerBiConsumer
Returns a composed SerBiCons that performs, in sequence, this operation followed by the after operation.
andThen(SerFunction<? super R, ? extends V>) - Method in interface org.dromara.hutool.core.func.SerBiFunction
Returns a composed function that first applies this function to its input, and then applies the after function to the result.
andThen(SerConsumer<? super T>) - Method in interface org.dromara.hutool.core.func.SerConsumer
Returns a composed Consumer that performs, in sequence, this operation followed by the after operation.
andThen(SerConsumer3<P1, P2, P3>) - Method in interface org.dromara.hutool.core.func.SerConsumer3
Returns a composed SerConsumer3 that performs, in sequence, this operation followed by the after operation.
AnnotatedElementUtil - Class in org.dromara.hutool.core.annotation
AnnotatedElement工具类,提供对层级结构中AnnotatedElement上注解及元注解的访问支持, 并提供诸如基于Alias的属性别名、基于父子注解间的属性值覆盖等特殊的属性映射机制支持。
AnnotatedElementUtil() - Constructor for class org.dromara.hutool.core.annotation.AnnotatedElementUtil
 
AnnotationMapping<T extends Annotation> - Interface in org.dromara.hutool.core.annotation
用于增强注解的包装器
AnnotationMappingProxy<T extends Annotation> - Class in org.dromara.hutool.core.annotation
代理注解处理器,用于为AnnotationMapping生成代理对象,当从该代理对象上获取属性值时, 总是通过AnnotationMapping.getResolvedAttributeValue(String, Class)获取。
AnnotationProxy<T extends Annotation> - Class in org.dromara.hutool.core.annotation
注解代理
通过代理指定注解,可以自定义调用注解的方法逻辑,如支持Alias 注解
AnnotationProxy(T) - Constructor for class org.dromara.hutool.core.annotation.AnnotationProxy
构造
annotationType() - Method in interface org.dromara.hutool.core.annotation.AnnotationMapping
获取注解类型
annotationType() - Method in class org.dromara.hutool.core.annotation.AnnotationProxy
 
AnnotationUtil - Class in org.dromara.hutool.core.annotation
注解工具类
快速获取注解对象、注解值等工具封装
AnnotationUtil() - Constructor for class org.dromara.hutool.core.annotation.AnnotationUtil
 
Ansi4BitBackgroundColor - Enum in org.dromara.hutool.core.lang.ansi
ANSI背景颜色枚举 来自Spring Boot
Ansi4BitColor - Enum in org.dromara.hutool.core.lang.ansi
ANSI标准颜色 来自Spring Boot
Ansi8BitColor - Class in org.dromara.hutool.core.lang.ansi
ANSI 8-bit前景或背景色(即8位编码,共256种颜色(2^8) )
0-7: 标准颜色(同ESC [ 30–37 m) 8-15: 高强度颜色(同ESC [ 90–97 m) 16-231(6 × 6 × 6 共 216色): 16 + 36 × r + 6 × g + b (0 ≤ r, g, b ≤ 5) 232-255: 从黑到白的24阶灰度色 来自Spring Boot
AnsiElement - Interface in org.dromara.hutool.core.lang.ansi
ANSI可转义节点接口,实现为ANSI颜色等 来自Spring Boot
AnsiEncoder - Class in org.dromara.hutool.core.lang.ansi
生成ANSI格式的编码输出
AnsiEncoder() - Constructor for class org.dromara.hutool.core.lang.ansi.AnsiEncoder
 
AnsiStyle - Enum in org.dromara.hutool.core.lang.ansi
ANSI文本样式风格枚举 来自Spring Boot
AntPathMatcher - Class in org.dromara.hutool.core.text
Ant风格的路径匹配器。
AntPathMatcher() - Constructor for class org.dromara.hutool.core.text.AntPathMatcher
使用 AntPathMatcher.DEFAULT_PATH_SEPARATOR 作为分隔符构造
AntPathMatcher(String) - Constructor for class org.dromara.hutool.core.text.AntPathMatcher
使用自定义的分隔符构造
AntPathMatcher.AntPathStringMatcher - Class in org.dromara.hutool.core.text
Tests whether a string matches against a pattern via a Pattern.
AntPathMatcher.AntPatternComparator - Class in org.dromara.hutool.core.text
The default Comparator implementation returned by AntPathMatcher.getPatternComparator(String).
AntPathStringMatcher(String, boolean) - Constructor for class org.dromara.hutool.core.text.AntPathMatcher.AntPathStringMatcher
Create a new AntPathStringMatcher that will match the supplied pattern
AntPatternComparator(String) - Constructor for class org.dromara.hutool.core.text.AntPathMatcher.AntPatternComparator
构造
anyMatch(Collection<T>, Predicate<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
是否至少有一个符合判断条件
anyMatch(Predicate<Method>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于组合多个方法匹配器的方法匹配器,当任意方法匹配器匹配成功时即认为方法匹配。
anyMatch(BiPredicate<? super K, ? super V>) - Method in class org.dromara.hutool.core.stream.EntryStream
是否存在任意符合条件的键值对
anyMatch(Predicate<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
判断是否有任何一个元素满足给定断言
apHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
AP算法
APOS - Static variable in class org.dromara.hutool.core.xml.XmlConstants
字符串常量:XML 单引号转义 "&apos" -> "'"
append(T[], T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
append(A, T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
append(E) - Method in class org.dromara.hutool.core.array.ArrayWrapper
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
append(Path, Path, CopyOption...) - Static method in class org.dromara.hutool.core.compress.ZipUtil
在zip文件中添加新文件或目录
新文件添加在zip根目录,文件夹包括其本身和内容
如果待添加文件夹是系统根路径(如/或c:/),则只复制文件夹下的内容
append(char) - Method in class org.dromara.hutool.core.io.AppendableWriter
 
append(CharSequence, int, int) - Method in class org.dromara.hutool.core.io.AppendableWriter
 
append(CharSequence) - Method in class org.dromara.hutool.core.io.AppendableWriter
 
append(byte[], int, int) - Method in class org.dromara.hutool.core.io.buffer.FastByteBuffer
向快速缓冲加入数据
append(byte[]) - Method in class org.dromara.hutool.core.io.buffer.FastByteBuffer
向快速缓冲加入数据
append(byte) - Method in class org.dromara.hutool.core.io.buffer.FastByteBuffer
向快速缓冲加入一个字节
append(FastByteBuffer) - Method in class org.dromara.hutool.core.io.buffer.FastByteBuffer
将另一个快速缓冲加入到自身
append(char[], int, int) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
向快速缓冲加入数据
append(char[]) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
向快速缓冲加入数据
append(char) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
向快速缓冲加入一个字节
append(FastCharBuffer) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
将另一个快速缓冲加入到自身
append(CharSequence) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
 
append(CharSequence, int, int) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
Appends character sequence to buffer.
append(String) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
追加字符串
append(char) - Method in class org.dromara.hutool.core.io.FastStringWriter
 
append(CharSequence, int, int) - Method in class org.dromara.hutool.core.io.FastStringWriter
 
append(CharSequence) - Method in class org.dromara.hutool.core.io.FastStringWriter
 
append(String) - Method in class org.dromara.hutool.core.io.file.FileAppender
追加
append(String) - Method in class org.dromara.hutool.core.io.file.FileWriter
将String写入文件,追加模式
append(byte[], int, int) - Method in class org.dromara.hutool.core.io.file.FileWriter
追加数据到文件
append(Map<K, V>, Predicate<Map.Entry<K, V>>) - Method in class org.dromara.hutool.core.map.MapJoiner
追加Map
append(Iterator<? extends Map.Entry<K, V>>, Predicate<Map.Entry<K, V>>) - Method in class org.dromara.hutool.core.map.MapJoiner
追加Entry列表
append(String...) - Method in class org.dromara.hutool.core.map.MapJoiner
追加其他字符串,其他字符串简单拼接
append(Iterable<? extends Map.Entry<K, V>>) - Method in class org.dromara.hutool.core.stream.EntryStream
将输入元素转为流,返回一个前半段为当前流,后半段为新流的新EasyStream实例
append(Iterable<? extends T>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
将输入元素转为流,返回一个前半段为当前流,后半段为新流的新实例
append(Object) - Method in class org.dromara.hutool.core.text.StrJoiner
追加对象到拼接器中,支持:
null,按照 StrJoiner.nullMode 策略追加 array,逐个追加 Iterator,逐个追加 Iterable,逐个追加 Map.Entry,追加键,分隔符,再追加值
append(T[]) - Method in class org.dromara.hutool.core.text.StrJoiner
追加数组中的元素到拼接器中
append(Iterator<T>) - Method in class org.dromara.hutool.core.text.StrJoiner
追加Iterator中的元素到拼接器中
append(T[], Function<T, ? extends CharSequence>) - Method in class org.dromara.hutool.core.text.StrJoiner
追加数组中的元素到拼接器中
append(Iterable<E>, Function<? super E, ? extends CharSequence>) - Method in class org.dromara.hutool.core.text.StrJoiner
追加Iterator中的元素到拼接器中
append(Iterator<E>, Function<? super E, ? extends CharSequence>) - Method in class org.dromara.hutool.core.text.StrJoiner
追加Iterator中的元素到拼接器中
append(CharSequence) - Method in class org.dromara.hutool.core.text.StrJoiner
 
append(CharSequence, int, int) - Method in class org.dromara.hutool.core.text.StrJoiner
 
append(char) - Method in class org.dromara.hutool.core.text.StrJoiner
 
append(Map<E, MapTree<E>>) - Method in class org.dromara.hutool.core.tree.TreeBuilder
增加节点列表,增加的节点是不带子节点的
append(Iterable<T>, NodeParser<T, E>) - Method in class org.dromara.hutool.core.tree.TreeBuilder
增加节点列表,增加的节点是不带子节点的
append(Iterable<MapTree<E>>) - Method in class org.dromara.hutool.core.tree.TreeBuilder
增加节点列表,增加的节点是不带子节点的
append(Iterator<MapTree<E>>) - Method in class org.dromara.hutool.core.tree.TreeBuilder
增加节点列表,增加的节点是不带子节点的
append(Node, Object) - Static method in class org.dromara.hutool.core.xml.XmlUtil
追加数据子节点,可以是Map、集合、文本
AppendableWriter - Class in org.dromara.hutool.core.io
同时继承Writer和实现Appendable的聚合类,用于适配两种接口操作 实现来自:jodd
AppendableWriter(Appendable) - Constructor for class org.dromara.hutool.core.io.AppendableWriter
构造
appendArray(A) - Method in class org.dromara.hutool.core.array.ArrayWrapper
将新数组追加到已有数组中
追加新数组会生成一个新的数组,不影响原数组
appendChild(Node, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
在已有节点上创建子节点
appendChild(Node, String, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
在已有节点上创建子节点
appendCrockford(StringBuilder, long, int) - Static method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
追加Crockford`s Base32值 到buffer指定位置
appendHex(StringBuilder, byte) - Method in class org.dromara.hutool.core.codec.binary.Base16Codec
将byte值转为16进制并添加到StringBuilder
appendHex(StringBuilder, byte, boolean) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
将byte值转为16进制并添加到StringBuilder
appendIfMissing(CharSequence, CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
不忽略大小写
appendIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
appendIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
忽略大小写
appendLines(Collection<T>, String, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将列表写入文件,追加模式
appendLines(Collection<T>, File, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将列表写入文件,追加模式,策略为: 当文件为空,从开头追加,尾部不加空行 当有内容,换行追加,尾部不加空行 当有内容,并末尾有空行,依旧换行追加
appendLines(Iterable<T>) - Method in class org.dromara.hutool.core.io.file.FileWriter
将列表写入文件,追加模式
appendRange(int, int, Collection<Integer>) - Static method in class org.dromara.hutool.core.math.NumberUtil
将给定范围内的整数添加到已有集合中,步进为1
appendRange(int, int, int, Collection<Integer>) - Static method in class org.dromara.hutool.core.math.NumberUtil
将给定范围内的整数添加到已有集合中
appendString(String, String, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将String写入文件,追加模式
appendString(String, File, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将String写入文件,追加模式
appendText(Node, CharSequence) - Static method in class org.dromara.hutool.core.xml.XmlUtil
创建文本子节点
appendTo(Appendable, int) - Method in interface org.dromara.hutool.core.date.format.FastDatePrinter.NumberRule
Appends the specified value to the output buffer based on the rule implementation.
appendTo(Appendable, Calendar) - Method in interface org.dromara.hutool.core.date.format.FastDatePrinter.Rule
Appends the value of the specified calendar to the output buffer based on the rule implementation.
appendUtf8Lines(Collection<T>, File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将列表写入文件,追加模式
appendUtf8Lines(Collection<T>, String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将列表写入文件,追加模式
appendUtf8String(String, String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将String写入文件,UTF-8编码追加模式
appendUtf8String(String, File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将String写入文件,UTF-8编码追加模式
apply(ByteBuffer) - Method in class org.dromara.hutool.core.codec.hash.metro.AbstractMetroHash
 
apply(ByteBuffer) - Method in interface org.dromara.hutool.core.codec.hash.metro.MetroHash
将给定的ByteBuffer中的数据追加计算hash值
此方法会更新hash值状态
apply(Object) - Method in class org.dromara.hutool.core.convert.impl.stringer.BlobStringer
 
apply(Object) - Method in class org.dromara.hutool.core.convert.impl.stringer.ClobStringer
 
apply(A) - Method in class org.dromara.hutool.core.func.ComposeFunction
 
apply(T, U) - Method in interface org.dromara.hutool.core.func.SerBiFunction
Applies this function to the given arguments.
apply(T, T) - Method in interface org.dromara.hutool.core.func.SerBinaryOperator
Applies this function to the given arguments.
apply(T) - Method in interface org.dromara.hutool.core.func.SerFunction
Applies this function to the given argument.
apply(T) - Method in interface org.dromara.hutool.core.func.SerUnaryOperator
Applies this function to the given argument.
apply(String) - Method in class org.dromara.hutool.core.text.placeholder.PlaceholderParser
解析并替换字符串中的占位符
apply(CharSequence) - Method in class org.dromara.hutool.core.text.replacer.HighMultiReplacer
 
apply(CharSequence) - Method in class org.dromara.hutool.core.text.replacer.HighMultiReplacerV2
 
apply(CharSequence) - Method in class org.dromara.hutool.core.text.replacer.RangeReplacerByChar
 
apply(CharSequence) - Method in class org.dromara.hutool.core.text.replacer.RangeReplacerByStr
 
apply(CharSequence) - Method in class org.dromara.hutool.core.text.replacer.SearchReplacer
 
apply(CharSequence) - Method in class org.dromara.hutool.core.text.replacer.StrReplacer
执行替换,按照StrReplacer.replace(CharSequence, int, StringBuilder)逻辑替换对应部分,其它部分保持原样
apply(CharSequence) - Method in class org.dromara.hutool.core.text.StrStripper
 
apply(CharSequence) - Method in class org.dromara.hutool.core.text.StrTrimer
 
apply(T, Function<T, R>) - Static method in class org.dromara.hutool.core.util.ObjUtil
如果指定的对象不为 null,则应用提供的映射函数并返回结果,否则返回 null
applying(T, U) - Method in interface org.dromara.hutool.core.func.SerBiFunction
Applies this function to the given arguments.
applying(T, T) - Method in interface org.dromara.hutool.core.func.SerBinaryOperator
Applies this function to the given arguments.
applying(T) - Method in interface org.dromara.hutool.core.func.SerFunction
Applies this function to the given argument.
applying(T) - Method in interface org.dromara.hutool.core.func.SerUnaryOperator
Applies this function to the given argument.
Arrangement - Class in org.dromara.hutool.core.math
排列A(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
Arrangement(String[]) - Constructor for class org.dromara.hutool.core.math.Arrangement
构造
arrangementCount(int, int) - Static method in class org.dromara.hutool.core.math.MathUtil
计算排列数,即A(n, m) = n!
arrangementCount(int) - Static method in class org.dromara.hutool.core.math.MathUtil
计算排列数,即A(n, n) = n!
arrangementSelect(String[], int) - Static method in class org.dromara.hutool.core.math.MathUtil
排列选择(从列表中选择n个排列)
arrangementSelect(String[]) - Static method in class org.dromara.hutool.core.math.MathUtil
全排列选择(列表全部参与排列)
array(int) - Method in class org.dromara.hutool.core.io.buffer.FastByteBuffer
根据索引位返回缓冲集中的缓冲
array(int) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
根据索引位返回缓冲集中的缓冲
array() - Method in class org.dromara.hutool.core.text.CharArray
获取原始数组,不做拷贝
ArrayConverter - Class in org.dromara.hutool.core.convert.impl
数组转换器,包括原始类型数组
ArrayConverter() - Constructor for class org.dromara.hutool.core.convert.impl.ArrayConverter
构造
ArrayConverter(boolean) - Constructor for class org.dromara.hutool.core.convert.impl.ArrayConverter
构造
ArrayIndexedComparator<T> - Class in org.dromara.hutool.core.comparator
按照数组的顺序正序排列,数组的元素位置决定了对象的排序先后
默认的,如果参与排序的元素并不在数组中,则排序在前(可以通过atEndIfMiss设置)
ArrayIndexedComparator(T...) - Constructor for class org.dromara.hutool.core.comparator.ArrayIndexedComparator
构造
ArrayIndexedComparator(boolean, T...) - Constructor for class org.dromara.hutool.core.comparator.ArrayIndexedComparator
构造
ArrayIter<E> - Class in org.dromara.hutool.core.collection.iter
数组Iterator对象
ArrayIter(E[]) - Constructor for class org.dromara.hutool.core.collection.iter.ArrayIter
构造
ArrayIter(Object) - Constructor for class org.dromara.hutool.core.collection.iter.ArrayIter
构造
ArrayIter(Object, int) - Constructor for class org.dromara.hutool.core.collection.iter.ArrayIter
构造
ArrayIter(Object, int, int) - Constructor for class org.dromara.hutool.core.collection.iter.ArrayIter
构造
ArrayUtil - Class in org.dromara.hutool.core.array
数组工具类
ArrayUtil() - Constructor for class org.dromara.hutool.core.array.ArrayUtil
 
ArrayWrapper<A,E> - Class in org.dromara.hutool.core.array
数组包装,提供一系列数组方法
ArrayWrapper(A) - Constructor for class org.dromara.hutool.core.array.ArrayWrapper
构造
asBackground() - Method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitColor
获取前景色对应的背景色
asBackground() - Method in class org.dromara.hutool.core.lang.ansi.Ansi8BitColor
转换为背景色
ascendingKeySet() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Returns a unmodifiable snapshot Set view of the keys contained in this map.
ascendingKeySetWithLimit(int) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Returns an unmodifiable snapshot Set view of the keys contained in this map.
ascendingMap() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Returns an unmodifiable snapshot Map view of the mappings contained in this map.
ascendingMapWithLimit(int) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Returns an unmodifiable snapshot Map view of the mappings contained in this map.
ASCIIStrCache - Class in org.dromara.hutool.core.text
ASCII字符对应的字符串缓存
ASCIIStrCache() - Constructor for class org.dromara.hutool.core.text.ASCIIStrCache
 
asElement(Annotation...) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
将一组注解中的非null注解对象合并为一个AnnotatedElement
asEntryWeigher(Weigher<? super V>) - Static method in class org.dromara.hutool.core.map.concurrent.Weighers
A entry weigher backed by the specified weigher.
asEnumeration(Iterator<E>) - Static method in class org.dromara.hutool.core.collection.CollUtil
Iterator转换为Enumeration Adapt the specified Iterator to the Enumeration interface.
asForeground() - Method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitBackgroundColor
获取背景色对应的前景色
asForeground() - Method in class org.dromara.hutool.core.lang.ansi.Ansi8BitColor
转换为前景色
asIterable(Iterator<E>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
Iterator 转为 Iterable, 但是仅可使用一次
asIterator(Enumeration<E>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
Enumeration转换为Iterator Adapt the specified Enumeration to the Iterator interface
Assert - Class in org.dromara.hutool.core.lang
断言
断言某些对象或值是否符合规定,否则抛出异常。
Assert() - Constructor for class org.dromara.hutool.core.lang.Assert
 
assertSameCurrencyAs(Money) - Method in class org.dromara.hutool.core.math.Money
断言本货币对象与另一货币对象是否具有相同的币种。
asyncExecute() - Method in class org.dromara.hutool.core.thread.RetryableTask
异步执行重试方法
AsyncUtil - Class in org.dromara.hutool.core.thread
CompletableFuture异步工具类
CompletableFuture 是 Future 的改进,可以通过传入回调对象,在任务完成后调用之
AsyncUtil() - Constructor for class org.dromara.hutool.core.thread.AsyncUtil
 
at(Integer) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
获取流中指定下标的元素,如果是负数,则从最后一个开始数起
AT - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:艾特 '@'
AT - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:艾特 "@"
atLeast(T) - Static method in interface org.dromara.hutool.core.lang.range.Bound
{x | x >= min}
atLeast(T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRange
{x | lowerBound < x < +∞}
atMost(T) - Static method in interface org.dromara.hutool.core.lang.range.Bound
{x | x <= max}
atMost(T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRange
{x | -∞ < x <= max}
AtomicBooleanConverter - Class in org.dromara.hutool.core.convert.impl
AtomicBoolean转换器
AtomicBooleanConverter() - Constructor for class org.dromara.hutool.core.convert.impl.AtomicBooleanConverter
 
AtomicIntegerArrayConverter - Class in org.dromara.hutool.core.convert.impl
AtomicIntegerArrayConverter() - Constructor for class org.dromara.hutool.core.convert.impl.AtomicIntegerArrayConverter
 
AtomicLoader<T> - Class in org.dromara.hutool.core.lang.loader
原子引用加载器
使用AtomicReference 实懒加载,过程如下 1.
AtomicLoader() - Constructor for class org.dromara.hutool.core.lang.loader.AtomicLoader
 
AtomicLongArrayConverter - Class in org.dromara.hutool.core.convert.impl
AtomicLongArrayConverter() - Constructor for class org.dromara.hutool.core.convert.impl.AtomicLongArrayConverter
 
AtomicReferenceConverter - Class in org.dromara.hutool.core.convert.impl
AtomicReferenceConverter(Converter) - Constructor for class org.dromara.hutool.core.convert.impl.AtomicReferenceConverter
构造
autoTransCamelCase - Variable in class org.dromara.hutool.core.bean.copier.CopyOptions
是否自动转换为驼峰方式
此设置用于解决Bean和Map转换中的匹配问题而设置,并不是一个强制参数。
available() - Method in class org.dromara.hutool.core.compress.InflaterInputStream
 
available() - Method in class org.dromara.hutool.core.io.stream.EmptyInputStream
 
available() - Method in class org.dromara.hutool.core.io.stream.LimitedInputStream
 
avg(Function<? super T, BigDecimal>) - Method in class org.dromara.hutool.core.stream.EasyStream
计算 BigDecimal 类型的平均值 并以四舍五入的方式保留2位精度
avg(Function<? super T, BigDecimal>, int) - Method in class org.dromara.hutool.core.stream.EasyStream
BigDecimal 类型的平均值 并以四舍五入的方式保留小数点后scale位
avg(Function<? super T, BigDecimal>, int, RoundingMode) - Method in class org.dromara.hutool.core.stream.EasyStream
计算 BigDecimal 类型的平均值
avg(ToIntFunction<? super T>) - Method in class org.dromara.hutool.core.stream.EasyStream
计算int类型的平均值
avg(ToDoubleFunction<? super T>) - Method in class org.dromara.hutool.core.stream.EasyStream
计算double类型的平均值
avg(ToLongFunction<? super T>) - Method in class org.dromara.hutool.core.stream.EasyStream
计算double平均值
avgPartition(List<T>, int) - Static method in class org.dromara.hutool.core.collection.ListUtil
将集合平均分成多个list,返回这个集合的列表 例: ListUtil.avgPartition(null, 3); // [] ListUtil.avgPartition(Arrays.asList(1, 2, 3, 4), 2); // [[1, 2], [3, 4]] ListUtil.avgPartition(Arrays.asList(1, 2, 3), 5); // [[1], [2], [3], [], []] ListUtil.avgPartition(Arrays.asList(1, 2, 3), 2); // [[1, 2], [3]]
AvgPartition<T> - Class in org.dromara.hutool.core.collection.partition
列表分区或分段
通过传入分区个数,将指定列表分区为不同的块,每块区域的长度均匀分布(个数差不超过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) - Constructor for class org.dromara.hutool.core.collection.partition.AvgPartition
列表分区
awaitTermination(long, TimeUnit) - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 

B

background(int) - Static method in class org.dromara.hutool.core.lang.ansi.Ansi8BitColor
背景色ANSI颜色实例
BACKSLASH - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:反斜杠 '\\'
BACKSLASH - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:反斜杠 "\\"
bankCard(String) - Static method in class org.dromara.hutool.core.data.MaskingUtil
银行卡号脱敏 eg: 1101 **** **** **** 3256
Base16Codec - Class in org.dromara.hutool.core.codec.binary
Base16(Hex)编码解码器
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
Base16Codec(boolean) - Constructor for class org.dromara.hutool.core.codec.binary.Base16Codec
构造
Base32 - Class in org.dromara.hutool.core.codec.binary
Base32 - encodes and decodes RFC4648 Base32
(see https://datatracker.ietf.org/doc/html/rfc4648#section-6 )
base32就是用32(2的5次方)个特定ASCII码来表示256个ASCII码。
Base32() - Constructor for class org.dromara.hutool.core.codec.binary.Base32
 
Base32Codec - Class in org.dromara.hutool.core.codec.binary
Base32 - encodes and decodes RFC4648 Base32
(see https://datatracker.ietf.org/doc/html/rfc4648#section-6 )
base32就是用32(2的5次方)个特定ASCII码来表示256个ASCII码。
Base32Codec() - Constructor for class org.dromara.hutool.core.codec.binary.Base32Codec
 
Base32Codec.Base32Decoder - Class in org.dromara.hutool.core.codec.binary
Base32解码器
Base32Codec.Base32Encoder - Class in org.dromara.hutool.core.codec.binary
Bas32编码器
Base32Decoder(String) - Constructor for class org.dromara.hutool.core.codec.binary.Base32Codec.Base32Decoder
构造
Base32Encoder(String, Character) - Constructor for class org.dromara.hutool.core.codec.binary.Base32Codec.Base32Encoder
构造
Base58 - Class in org.dromara.hutool.core.codec.binary
Base58工具类,提供Base58的编码和解码方案
参考: https://github.com/Anujraval24/Base58Encoding
规范见:https://en.bitcoin.it/wiki/Base58Check_encoding
Base58() - Constructor for class org.dromara.hutool.core.codec.binary.Base58
 
Base58Codec - Class in org.dromara.hutool.core.codec.binary
Base58编码器
此编码器不包括校验码、版本等信息
Base58Codec() - Constructor for class org.dromara.hutool.core.codec.binary.Base58Codec
 
Base58Codec.Base58Decoder - Class in org.dromara.hutool.core.codec.binary
Base58解码器
Base58Codec.Base58Encoder - Class in org.dromara.hutool.core.codec.binary
Base58编码器
Base58Decoder(String) - Constructor for class org.dromara.hutool.core.codec.binary.Base58Codec.Base58Decoder
构造
Base58Encoder(char[]) - Constructor for class org.dromara.hutool.core.codec.binary.Base58Codec.Base58Encoder
构造
Base62 - Class in org.dromara.hutool.core.codec.binary
Base62工具类,提供Base62的编码和解码方案
Base62() - Constructor for class org.dromara.hutool.core.codec.binary.Base62
 
Base62Codec - Class in org.dromara.hutool.core.codec.binary
Base62编码解码实现,常用于短URL
From https://github.com/seruco/base62
Base62Codec() - Constructor for class org.dromara.hutool.core.codec.binary.Base62Codec
 
Base62Codec.Base62Decoder - Class in org.dromara.hutool.core.codec.binary
Base62解码器
Base62Codec.Base62Encoder - Class in org.dromara.hutool.core.codec.binary
Base62编码器
Base62Decoder(byte[]) - Constructor for class org.dromara.hutool.core.codec.binary.Base62Codec.Base62Decoder
构造
Base62Encoder(byte[]) - Constructor for class org.dromara.hutool.core.codec.binary.Base62Codec.Base62Encoder
构造
Base64 - Class in org.dromara.hutool.core.codec.binary
Base64工具类,提供Base64的编码和解码方案
base64编码是用64(2的6次方)个ASCII字符来表示256(2的8次方)个ASCII字符,
也就是三位二进制数组经过编码后变为四位的ASCII字符显示,长度比原来增加1/3。
Base64() - Constructor for class org.dromara.hutool.core.codec.binary.Base64
 
Base64Decoder - Class in org.dromara.hutool.core.codec.binary
Base64解码实现
此解码保留的原因是,JDK提供的解码需要指定是否为URL安全的或是否换行,此解码无需区分
Base64Decoder() - Constructor for class org.dromara.hutool.core.codec.binary.Base64Decoder
 
BASE_CHAR - Static variable in class org.dromara.hutool.core.util.RandomUtil
用于随机选的字符
BASE_CHAR_NUMBER - Static variable in class org.dromara.hutool.core.util.RandomUtil
用于随机选的字符和数字(包括大写和小写字母)
BASE_CHAR_NUMBER_LOWER - Static variable in class org.dromara.hutool.core.util.RandomUtil
用于随机选的字符和数字(小写)
BASE_DAY - Static variable in class org.dromara.hutool.core.date.chinese.LunarInfo
1900-01-31,农历正月初一
BASE_NUMBER - Static variable in class org.dromara.hutool.core.util.RandomUtil
用于随机选的数字
BASE_YEAR - Static variable in class org.dromara.hutool.core.date.chinese.LunarInfo
1900年
BASIC_ESCAPE - Static variable in class org.dromara.hutool.core.text.escape.XmlEscape
XML转义字符
BASIC_UNESCAPE - Static variable in class org.dromara.hutool.core.text.escape.XmlUnescape
基础反转义符
BasicType - Enum in org.dromara.hutool.core.convert
基本变量类型的枚举
基本类型枚举包括原始类型和包装类型
bd09ToGcj02(double, double) - Static method in class org.dromara.hutool.core.data.CoordinateUtil
百度坐标系 (BD-09) 与 火星坐标系 (GCJ-02)的转换 即 百度 转 谷歌、高德
bd09toWgs84(double, double) - Static method in class org.dromara.hutool.core.data.CoordinateUtil
百度坐标系 (BD-09) 与 WGS84 的转换
beanClass - Variable in class org.dromara.hutool.core.bean.path.AbstractBeanDesc
Bean类
BeanConverter - Class in org.dromara.hutool.core.convert.impl
Bean转换器,支持: Map =》 Bean Bean =》 Bean ValueProvider =》 Bean
BeanConverter() - Constructor for class org.dromara.hutool.core.convert.impl.BeanConverter
构造
BeanConverter(CopyOptions) - Constructor for class org.dromara.hutool.core.convert.impl.BeanConverter
构造
BeanCopier<T> - Class in org.dromara.hutool.core.bean.copier
Bean拷贝,提供: 1.
BeanCopier(Object, T, Type, CopyOptions) - Constructor for class org.dromara.hutool.core.bean.copier.BeanCopier
构造
BeanDesc - Interface in org.dromara.hutool.core.bean
Bean描述,通过反射等方式获取Bean的setter、getter、字段等信息
beanDescClass - Variable in class org.dromara.hutool.core.bean.copier.CopyOptions
自定义的Bean解析类
默认规则下普通Bean使用严格的Bean解析,需要同时解析Bean中的字段和方法,然后匹配,自定义后可以只解析getter和setter方法
BeanDescFactory - Class in org.dromara.hutool.core.bean
Bean描述信息工厂类
通过不同的类和策略,生成对应的BeanDesc,策略包括: 当类为Record时,生成RecordBeanDesc 当类为普通Bean时,生成StrictBeanDesc
BeanDescFactory() - Constructor for class org.dromara.hutool.core.bean.BeanDescFactory
 
BeanException - Exception in org.dromara.hutool.core.bean
Bean异常
BeanException(Throwable) - Constructor for exception org.dromara.hutool.core.bean.BeanException
构造
BeanException(String) - Constructor for exception org.dromara.hutool.core.bean.BeanException
构造
BeanException(String, Object...) - Constructor for exception org.dromara.hutool.core.bean.BeanException
构造
BeanException(String, Throwable) - Constructor for exception org.dromara.hutool.core.bean.BeanException
构造
BeanException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.bean.BeanException
构造
BeanException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.bean.BeanException
构造
BeanInfoCache - Enum in org.dromara.hutool.core.bean
Bean属性缓存
缓存用于防止多次反射造成的性能问题
BeanMap - Class in org.dromara.hutool.core.map
Bean的Map接口实现
通过反射方式,将一个Bean的操作转化为Map操作
BeanMap(Object) - Constructor for class org.dromara.hutool.core.map.BeanMap
构造
BeanPath<T> - Class in org.dromara.hutool.core.bean.path
Bean路径表达式,用于获取多层嵌套Bean中的字段值或Bean对象
根据给定的表达式,查找Bean中对应的属性值对象。
BeanPath(String, NodeBeanFactory<T>) - Constructor for class org.dromara.hutool.core.bean.path.BeanPath
构造
BeanToBeanCopier<S,T> - Class in org.dromara.hutool.core.bean.copier
Bean属性拷贝到Bean中的拷贝器
BeanToBeanCopier(S, T, Type, CopyOptions) - Constructor for class org.dromara.hutool.core.bean.copier.BeanToBeanCopier
构造
beanToMap(Object, String...) - Static method in class org.dromara.hutool.core.bean.BeanUtil
将bean的部分属性转换成map
可选拷贝哪些属性值,默认是不忽略值为null的值的。
beanToMap(Object, boolean, boolean) - Static method in class org.dromara.hutool.core.bean.BeanUtil
对象转Map
beanToMap(Object, Map<String, Object>, boolean, boolean) - Static method in class org.dromara.hutool.core.bean.BeanUtil
对象转Map
beanToMap(Object, Map<String, V>, boolean, UnaryOperator<MutableEntry<Object, Object>>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
对象转Map
通过实现UnaryOperator 可以自定义字段值,如果这个Editor返回null则忽略这个字段,以便实现: 1.
beanToMap(Object, Map<String, V>, CopyOptions) - Static method in class org.dromara.hutool.core.bean.BeanUtil
对象转Map
通过自定义CopyOptions 完成抓换选项,以便实现: 1.
BeanToMapCopier - Class in org.dromara.hutool.core.bean.copier
Bean属性拷贝到Map中的拷贝器
BeanToMapCopier(Object, Map, Type, CopyOptions) - Constructor for class org.dromara.hutool.core.bean.copier.BeanToMapCopier
构造
beanToXml(Object) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Bean转换为XML
beanToXml(Object, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Bean转换为XML
beanToXml(Object, String, boolean) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Bean转换为XML
BeanTree<T,R extends Comparable<R>> - Class in org.dromara.hutool.core.tree
本类是用于构建树的工具类,特点是采取lambda,以及满足指定类型的Bean进行树操作 Bean需要满足三个属性: 包含不为null的主键(例如id) 包含容许为null的关联外键(例如parentId) 包含自身的子集,例如类型为List的children 本类的构建方法是通过BeanTree.of 进行构建,例如: final BeanTree beanTree = BeanTree.of(JavaBean::getId, JavaBean::getParentId, null, JavaBean::getChildren, JavaBean::setChildren); 得到的BeanTree实例可以调用toTree方法,将集合转换为树,例如: final List<JavaBean> javaBeanTree = beanTree.toTree(originJavaBeanList); 也可以将已有的树转换为集合,例如: final List<JavaBean> javaBeanList = beanTree.flat(originJavaBeanTree); 最后,引用一句电影经典台词: 无处安放的双手,以及无处安放的灵魂。
BeanUtil - Class in org.dromara.hutool.core.bean
Bean工具类 把一个拥有对属性进行set和get方法的类,我们就可以称之为JavaBean。
BeanUtil() - Constructor for class org.dromara.hutool.core.bean.BeanUtil
 
BeanValueProvider - Class in org.dromara.hutool.core.bean.copier.provider
Bean值提供器
BeanValueProvider(Object) - Constructor for class org.dromara.hutool.core.bean.copier.provider.BeanValueProvider
构造
BeanValueProvider(Object, BeanDesc) - Constructor for class org.dromara.hutool.core.bean.copier.provider.BeanValueProvider
构造
beginIndex - Variable in class org.dromara.hutool.core.lang.range.DefaultSegment
起始位置
beginOfDay(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某天的开始时间
beginOfDay(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某天的开始时间
beginOfDay(LocalDateTime) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为一天的开始时间,例如:2020-02-02 00:00:00,000
beginOfDay(LocalDate) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为一天的开始时间,例如:2020-02-02 00:00:00,000
beginOfHour(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某小时的开始时间
beginOfHour(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某小时的开始时间
beginOfMinute(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某分钟的开始时间
beginOfMinute(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某分钟的开始时间
beginOfMonth(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某月的开始时间
beginOfMonth(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某月的开始时间
beginOfMonth(LocalDateTime) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为月初的开始时间,例如:2020-02-01 00:00:00,000
beginOfMonth(LocalDate) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为月初的开始时间,例如:2020-02-01 00:00:00,000
beginOfQuarter(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某季度的开始时间
beginOfQuarter(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某季度的开始时间
beginOfSecond(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改秒级别的开始时间,即忽略毫秒部分
beginOfSecond(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获取秒级别的开始时间,即毫秒部分设置为0
beginOfWeek(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改给定日期当前周的开始时间,周一定为一周的开始时间
beginOfWeek(Calendar, boolean) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改给定日期当前周的开始时间
beginOfWeek(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某周的开始时间,周一定为一周的开始时间
beginOfWeek(Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某周的开始时间
beginOfYear(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某年的开始时间
beginOfYear(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某年的开始时间
beginOfYear(LocalDateTime) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为一年的开始时间,例如:2020-01-01 00:00:00,000
beginOfYear(LocalDate) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为一年的开始时间,例如:2020-01-01 00:00:00,000
bernstein(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
Bernstein's hash
bestPathMap(T) - Method in class org.dromara.hutool.core.map.multi.DirectedWeightGraph
计算 从 startPoint 到 所有点 最短路径 基于 SPFA 算法实现
between(DateUnit) - Method in class org.dromara.hutool.core.date.DateBetween
判断两个日期相差的时长
返回 给定单位的时长差
between(Date) - Method in class org.dromara.hutool.core.date.DateTime
计算相差时长
between(Date, DateUnit) - Method in class org.dromara.hutool.core.date.DateTime
计算相差时长
between(Date, DateUnit, BetweenFormatter.Level) - Method in class org.dromara.hutool.core.date.DateTime
计算相差时长
between(Date, Date, DateUnit) - Static method in class org.dromara.hutool.core.date.DateUtil
判断两个日期相差的时长,只保留绝对值
between(Date, Date, DateUnit, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
判断两个日期相差的时长
between(Temporal, Temporal) - Static method in class org.dromara.hutool.core.date.TemporalUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
between(Temporal, Temporal, ChronoUnit) - Static method in class org.dromara.hutool.core.date.TemporalUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
between(LocalDateTime, LocalDateTime) - Static method in class org.dromara.hutool.core.date.TimeUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
between(LocalDateTime, LocalDateTime, ChronoUnit) - Static method in class org.dromara.hutool.core.date.TimeUtil
获取两个日期的差,如果结束时间早于开始时间,获取结果为负。
betweenDay(Date, Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
判断两个日期相差的天数
有时候我们计算相差天数的时候需要忽略时分秒。
BetweenFormatter - Class in org.dromara.hutool.core.date
时长格式化器,用于格式化输出两个日期相差的时长
根据BetweenFormatter.Level不同,调用BetweenFormatter.format()方法后返回类似于: XX小时XX分XX秒 XX天XX小时 XX月XX天XX小时
BetweenFormatter(long, BetweenFormatter.Level, int) - Constructor for class org.dromara.hutool.core.date.BetweenFormatter
构造
BetweenFormatter.Level - Enum in org.dromara.hutool.core.date
格式化等级枚举
betweenMonth(boolean) - Method in class org.dromara.hutool.core.date.DateBetween
计算两个日期相差月数
在非重置情况下,如果起始日期的天大于结束日期的天,月数要少算1(不足1个月)
betweenMonth(Date, Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
计算两个日期相差月数
在非重置情况下,如果起始日期的天大于结束日期的天,月数要少算1(不足1个月)
betweenMs(Date, Date) - Static method in class org.dromara.hutool.core.date.DateUtil
判断两个日期相差的毫秒数
betweenPeriod(LocalDate, LocalDate) - Static method in class org.dromara.hutool.core.date.TimeUtil
获取两个日期的表象时间差,如果结束时间早于开始时间,获取结果为负。
betweenWeek(Date, Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
计算指定时间区间内的周数
betweenYear(boolean) - Method in class org.dromara.hutool.core.date.DateBetween
计算两个日期相差年数
在非重置情况下,如果起始日期的月大于结束日期的月,年数要少算1(不足1年)
betweenYear(Date, Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
计算两个日期相差年数
在非重置情况下,如果起始日期的月大于结束日期的月,年数要少算1(不足1年)
bigIntegerToIPv6(BigInteger) - Static method in class org.dromara.hutool.core.net.Ipv6Util
将大整数转换成ipv6字符串
BiMap<K,V> - Class in org.dromara.hutool.core.map
双向Map
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
它与TableMap的区别是,BiMap维护两个Map实现高效的正向和反向查找
BiMap(Map<K, V>) - Constructor for class org.dromara.hutool.core.map.BiMap
构造
binaryToInt(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
二进制转int
binaryToLong(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
二进制转long
BIRTHDAY - Static variable in class org.dromara.hutool.core.regex.PatternPool
生日
BIRTHDAY - Static variable in interface org.dromara.hutool.core.regex.RegexPool
生日
bitCount(byte[]) - Static method in class org.dromara.hutool.core.util.ByteUtil
统计byte中位数为1的个数
BitStatusUtil - Class in org.dromara.hutool.core.math
通过位运算表示状态的工具类
参数必须是 `偶数` 且 `大于等于0`!
BitStatusUtil() - Constructor for class org.dromara.hutool.core.math.BitStatusUtil
 
bkdrHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
BKDR算法
BlobStringer - Class in org.dromara.hutool.core.convert.impl.stringer
Blob转String
BlobStringer() - Constructor for class org.dromara.hutool.core.convert.impl.stringer.BlobStringer
 
BlockPolicy - Class in org.dromara.hutool.core.thread
当任务队列过长时处于阻塞状态,直到添加到队列中 如果阻塞过程中被中断,就会抛出InterruptedException异常
有时候在线程池内访问第三方接口,只希望固定并发数去访问,并且不希望丢弃任务时使用此策略,队列满的时候会处于阻塞状态(例如刷库的场景) 其他系统内置的拒绝策略,见hutool定义的枚举 RejectPolicy 线程拒绝策略枚举.
BlockPolicy() - Constructor for class org.dromara.hutool.core.thread.BlockPolicy
构造
BlockPolicy(Consumer<Runnable>) - Constructor for class org.dromara.hutool.core.thread.BlockPolicy
构造
BloomFilter - Interface in org.dromara.hutool.core.text.bloom
Bloom filter 是由 Howard Bloom 在 1970 年提出的二进制向量数据结构,它具有很好的空间和时间效率,被用来检测一个元素是不是集合中的一个成员。
BOMInputStream - Class in org.dromara.hutool.core.io.stream
读取带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://www.unicode.org/unicode/faq/utf_bom.html
BOMInputStream(InputStream) - Constructor for class org.dromara.hutool.core.io.stream.BOMInputStream
构造
BOMInputStream(InputStream, String) - Constructor for class org.dromara.hutool.core.io.stream.BOMInputStream
构造
BomReader - Class in org.dromara.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) - Constructor for class org.dromara.hutool.core.io.BomReader
构造
BooleanConverter - Class in org.dromara.hutool.core.convert.impl
布尔转换器 对象转为boolean,规则如下: 1、数字0为false,其它数字为true 2、转换为字符串,形如"true", "yes", "y", "t", "ok", "1", "on", "是", "对", "真", "對", "√"为true,其它字符串为false.
BooleanConverter() - Constructor for class org.dromara.hutool.core.convert.impl.BooleanConverter
 
BooleanUtil - Class in org.dromara.hutool.core.util
Boolean类型相关工具类
BooleanUtil() - Constructor for class org.dromara.hutool.core.util.BooleanUtil
 
borrowObject() - Method in interface org.dromara.hutool.core.pool.ObjectPool
借出对象,流程如下: 从池中取出对象 检查对象可用性 如果无可用对象,扩容池并创建新对象 继续取对象
borrowObject() - Method in class org.dromara.hutool.core.pool.partition.PartitionObjectPool
 
borrowObject() - Method in class org.dromara.hutool.core.pool.partition.PoolPartition
 
Bound<T extends Comparable<? super T>> - Interface in org.dromara.hutool.core.lang.range
边界对象,描述具有特定上界或下界的单侧无界的区间。
BoundedCollection<E> - Interface in org.dromara.hutool.core.collection
有边界限制的集合,边界集合有最大容量限制
BoundedList<E> - Class in org.dromara.hutool.core.collection
指定边界大小的List
通过指定边界,可以限制List的最大容量
BoundedList(int) - Constructor for class org.dromara.hutool.core.collection.BoundedList
构造
BoundedList(List<E>, int) - Constructor for class org.dromara.hutool.core.collection.BoundedList
构造,限制集合的最大容量为提供的List
BoundedPriorityQueue<E> - Class in org.dromara.hutool.core.collection.queue
有界优先队列
按照给定的排序规则,排序元素,当队列满时,按照给定的排序规则淘汰末尾元素(去除末尾元素)
BoundedPriorityQueue(int) - Constructor for class org.dromara.hutool.core.collection.queue.BoundedPriorityQueue
构造
BoundedPriorityQueue(int, Comparator<? super E>) - Constructor for class org.dromara.hutool.core.collection.queue.BoundedPriorityQueue
构造
BoundedRange<T extends Comparable<? super T>> - Class in org.dromara.hutool.core.lang.range
参考GuavaRange实现,用于描述作为上下界的两个Bound实例围成的一段区间。
BoundedRangeOperation - Class in org.dromara.hutool.core.lang.range
边界区间的操作工具,如子区间、合并区间等
BoundedRangeOperation() - Constructor for class org.dromara.hutool.core.lang.range.BoundedRangeOperation
 
BoundType - Enum in org.dromara.hutool.core.lang.range
边界类型枚举
BRACKET_END - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:中括号(右) ']'
BRACKET_END - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:中括号(右) "]"
BRACKET_START - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:中括号(左) '['
BRACKET_START - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:中括号(左) "["
breadthFirst(T, Function<T, Collection<T>>, Predicate<T>) - Static method in class org.dromara.hutool.core.tree.HierarchyIterator
获取一个迭代器,用于按广度优先迭代层级结构中的每一个结点
breadthFirst(T, Function<T, Collection<T>>) - Static method in class org.dromara.hutool.core.tree.HierarchyIterator
获取一个迭代器,用于按广度优先迭代层级结构中的每一个结点
brief(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
将给定字符串,变成 "xxx...xxx" 形式的字符串 abcdefgh 9 -》 abcdefgh abcdefgh 8 -》 abcdefgh abcdefgh 7 -》 ab...gh abcdefgh 6 -》 ab...h abcdefgh 5 -》 a...h abcdefgh 4 -》 a..h abcdefgh 3 -》 a.h abcdefgh 2 -》 a.
buffer - Variable in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Buffer for streaming.
buffersCount - Variable in class org.dromara.hutool.core.io.buffer.FastBuffer
缓冲数
bufferSize - Variable in class org.dromara.hutool.core.io.copy.IoCopier
缓存大小
bufferSize(long) - Method in class org.dromara.hutool.core.io.copy.IoCopier
缓存大小,取默认缓存和目标长度最小值
BufferUtil - Class in org.dromara.hutool.core.io.buffer
ByteBufferCharBuffer工具类
此工具来自于 t-io 项目以及其它项目的相关部分收集
ByteBuffer的相关介绍见:https://www.cnblogs.com/ruber/p/6857159.html
BufferUtil() - Constructor for class org.dromara.hutool.core.io.buffer.BufferUtil
 
build() - Method in class org.dromara.hutool.core.codec.PercentCodec.Builder
 
build(Class<F>, Class<?>, String, Class<?>...) - Static method in class org.dromara.hutool.core.func.LambdaFactory
构建Lambda {@code class Something { private Long id; private String name; // ...
build(Class<F>, Executable) - Static method in class org.dromara.hutool.core.func.LambdaFactory
根据提供的方法或构造对象,构建对应的Lambda函数
调用函数相当于执行对应的方法或构造
build(Class<F>, Class<?>, String, Class<?>...) - Static method in class org.dromara.hutool.core.func.LambdaUtil
等效于 Obj::method
build() - Method in interface org.dromara.hutool.core.lang.builder.Builder
构建
build() - Method in class org.dromara.hutool.core.lang.builder.GenericBuilder
构建
build() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap.Builder
Creates a new ConcurrentLinkedHashMap instance.
build() - Method in class org.dromara.hutool.core.map.MapBuilder
创建后的map
build() - Method in class org.dromara.hutool.core.net.ssl.SSLContextBuilder
build() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
创建URL字符串
build(Charset) - Method in class org.dromara.hutool.core.net.url.UrlPath
构建path,前面带'/'
path = path-abempty / path-absolute / path-noscheme / path-rootless / path-empty
build(Charset) - Method in class org.dromara.hutool.core.net.url.UrlQuery
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=v2&key3=v3形式。
build(PercentCodec, PercentCodec, Charset) - Method in class org.dromara.hutool.core.net.url.UrlQuery
构建URL查询字符串,即将key-value键值对转换为key1=v1&key2=v2&key3=v3形式。
build() - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
创建 模板对象
build() - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
构建ThreadPoolExecutor
build() - Method in class org.dromara.hutool.core.thread.ThreadFactoryBuilder
build() - Method in class org.dromara.hutool.core.tree.TreeBuilder
 
build(Iterable<TreeNode<Integer>>) - Static method in class org.dromara.hutool.core.tree.TreeUtil
树构建
build(Iterable<TreeNode<E>>, E) - Static method in class org.dromara.hutool.core.tree.TreeUtil
树构建
build(Iterable<T>, E, NodeParser<T, E>) - Static method in class org.dromara.hutool.core.tree.TreeUtil
树构建
你所有节点的ID都不应该重复,那你要构建一个列表形式的树结构,指定的这个rootId应该是首层节点的parentId,而非某个节点的id
build(Iterable<T>, E, TreeNodeConfig, NodeParser<T, E>) - Static method in class org.dromara.hutool.core.tree.TreeUtil
树构建
你所有节点的ID都不应该重复,那你要构建一个列表形式的树结构,指定的这个rootId应该是首层节点的parentId,而非某个节点的id
build(Map<E, MapTree<E>>, E) - Static method in class org.dromara.hutool.core.tree.TreeUtil
树构建,按照权重排序
buildChecked() - Method in class org.dromara.hutool.core.net.ssl.SSLContextBuilder
构建SSLContext需要处理异常
Builder<T> - Interface in org.dromara.hutool.core.lang.builder
建造者模式接口定义
Builder() - Constructor for class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap.Builder
构造
builder() - Static method in class org.dromara.hutool.core.map.MapUtil
创建链接调用map
builder(Map<K, V>) - Static method in class org.dromara.hutool.core.map.MapUtil
创建链接调用map
builder(K, V) - Static method in class org.dromara.hutool.core.map.MapUtil
创建链接调用map
builder() - Static method in class org.dromara.hutool.core.stream.EasyStream
返回FastStream的建造器
builder(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
创建StringBuilder对象
如果对象本身为StringBuilder,直接返回,否则新建
builder(CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
创建StringBuilder对象
builder(String) - Static method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
创建 builder
Builder(String) - Constructor for class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate.Builder
构造
builder(String) - Static method in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate
创建 builder
Builder(String) - Constructor for class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate.Builder
构造
builder() - Static method in class org.dromara.hutool.core.text.StrUtil
创建StringBuilder对象
builder(int) - Static method in class org.dromara.hutool.core.text.StrUtil
创建StringBuilder对象
buildFail() - Method in class org.dromara.hutool.core.text.finder.MultiStrFinder
构建 fail指针过程 构建 directRouter 直接访问路由表 减少跳fail次数 直接跳 router 边
buildFinalizable() - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
创建有回收关闭功能的ExecutorService
buildGetter(Method) - Static method in class org.dromara.hutool.core.func.LambdaUtil
等效于 Obj::getXxx
buildGetter(Class<T>, String) - Static method in class org.dromara.hutool.core.func.LambdaUtil
等效于 Obj::getXxx
buildInetSocketAddress(String, int) - Static method in class org.dromara.hutool.core.net.Ipv4Util
构建InetSocketAddress
当host中包含端口时(用“:”隔开),使用host中的端口,否则使用默认端口
给定host为空时使用本地host(127.0.0.1)
buildInstance() - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
子类Builder 返回 创建的 模板对象
buildInstance() - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate.Builder
 
buildInstance() - Method in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate.Builder
 
buildList() - Method in class org.dromara.hutool.core.tree.TreeBuilder
构建树列表,没有顶层节点,例如: -用户管理 -用户管理 +用户添加 - 部门管理 -部门管理 +部门添加
buildPrefixTree(Collection<String>) - Method in class org.dromara.hutool.core.text.finder.MultiStrFinder
构建前缀树
buildQuery(Map<String, ?>, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值 key1=v1&key2=&key3=v3
buildQuietly() - Method in class org.dromara.hutool.core.net.ssl.SSLContextBuilder
buildSetter(Method) - Static method in class org.dromara.hutool.core.func.LambdaUtil
等效于 Obj::setXxx
buildSetter(Class<T>, String) - Static method in class org.dromara.hutool.core.func.LambdaUtil
Obj::setXxx
buildSingle(Iterable<TreeNode<Integer>>) - Static method in class org.dromara.hutool.core.tree.TreeUtil
构建单root节点树
buildSingle(Iterable<TreeNode<E>>, E) - Static method in class org.dromara.hutool.core.tree.TreeUtil
构建单root节点树
它会生成一个以指定ID为ID的空的节点,然后逐级增加子节点。
buildSingle(Iterable<T>, E, NodeParser<T, E>) - Static method in class org.dromara.hutool.core.tree.TreeUtil
构建单root节点树
它会将指定Id的节点作为根节点,如果这个节点不存在,则创建一个空节点,然后逐级增加子节点。
buildSingle(Iterable<T>, E, TreeNodeConfig, NodeParser<T, E>) - Static method in class org.dromara.hutool.core.tree.TreeUtil
构建单root节点树
它会生成一个以指定ID为ID的空的节点,然后逐级增加子节点。
buildSingle(Map<E, MapTree<E>>, E) - Static method in class org.dromara.hutool.core.tree.TreeUtil
单点树构建,按照权重排序
它会生成一个以指定ID为ID的空的节点,然后逐级增加子节点。
byteArray() - Static method in class org.dromara.hutool.core.map.concurrent.Weighers
A weigher where the value is a byte array and its selector is the number of bytes.
byteLength(CharSequence, Charset) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串转为bytes后的byte数(byte长度)
ByteOrderMark - Class in org.dromara.hutool.core.io
Byte Order Mark (BOM) 头描述
BOM定义:http://www.unicode.org/unicode/faq/utf_bom.html EF BB BF = UTF-8 FE FF = UTF-16BE, big-endian FF FE = UTF-16LE, little-endian 00 00 FE FF = UTF-32BE, big-endian FF FE 00 00 = UTF-32LE, little-endian 来自:Apache-commons-io
ByteOrderMark(String, byte...) - Constructor for class org.dromara.hutool.core.io.ByteOrderMark
构造
BytesResource - Class in org.dromara.hutool.core.io.resource
基于byte[]的资源获取器
注意:此对象中getUrl方法始终返回null
BytesResource(byte[]) - Constructor for class org.dromara.hutool.core.io.resource.BytesResource
构造
BytesResource(byte[], String) - Constructor for class org.dromara.hutool.core.io.resource.BytesResource
构造
bytesToInt(byte[]) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
byte[]转int值
默认以小端序转换
bytesToLong(byte[]) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
bytesToShort(byte[]) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
byte数组转short
默认以小端序转换
byteToUnsignedInt(byte) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
byte转无符号int
ByteUtil - Class in org.dromara.hutool.core.util
对数字和字节进行转换。
ByteUtil() - Constructor for class org.dromara.hutool.core.util.ByteUtil
 
byteValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
 

C

C_AMP - Static variable in class org.dromara.hutool.core.xml.XmlConstants
The Character '&'.
C_APOS - Static variable in class org.dromara.hutool.core.xml.XmlConstants
The Character '''.
C_BANG - Static variable in class org.dromara.hutool.core.xml.XmlConstants
The Character '!'.
C_GT - Static variable in class org.dromara.hutool.core.xml.XmlConstants
The Character '>'.
C_LT - Static variable in class org.dromara.hutool.core.xml.XmlConstants
The Character '<'.
C_QUEST - Static variable in class org.dromara.hutool.core.xml.XmlConstants
The Character '?'.
Cache<K,V> - Interface in org.dromara.hutool.core.cache
缓存接口
cache - Variable in class org.dromara.hutool.core.cache.file.AbstractFileCache
缓存实现
CacheListener<K,V> - Interface in org.dromara.hutool.core.cache
缓存监听,用于实现缓存操作时的回调监听,例如缓存对象的移除事件等
cacheMap - Variable in class org.dromara.hutool.core.cache.impl.AbstractCache
缓存Map。
CacheObj<K,V> - Class in org.dromara.hutool.core.cache.impl
缓存对象
CacheObj(K, V, long) - Constructor for class org.dromara.hutool.core.cache.impl.CacheObj
构造
cacheObjIter() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
获取所有CacheObj值的Iterator形式
cacheObjIterator() - Method in interface org.dromara.hutool.core.cache.Cache
返回包含键和值得迭代器
CacheObjIterator<K,V> - Class in org.dromara.hutool.core.cache.impl
AbstractCache 的CacheObj迭代器.
cacheObjIterator() - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
cacheObjIterator() - Method in class org.dromara.hutool.core.cache.impl.ReentrantCache
 
cacheObjIterator() - Method in class org.dromara.hutool.core.cache.impl.StampedCache
 
CacheUtil - Class in org.dromara.hutool.core.cache
缓存工具类
CacheUtil() - Constructor for class org.dromara.hutool.core.cache.CacheUtil
 
CacheValuesIterator<V> - Class in org.dromara.hutool.core.cache.impl
AbstractCache 的值迭代器.
Caesar - Class in org.dromara.hutool.core.codec
Caesar() - Constructor for class org.dromara.hutool.core.codec.Caesar
 
calculate(String) - Method in class org.dromara.hutool.core.math.Calculator
按照给定的表达式计算
calculate(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
计算数学表达式的值,只支持加减乘除和取余
如:
   calculate("(0*1--3)-5/-4-(3*(-2.13))") -》 10.64
 
Calculator - Class in org.dromara.hutool.core.math
数学表达式计算工具类
见:https://github.com/dromara/hutool/issues/1090#issuecomment-693750140
Calculator() - Constructor for class org.dromara.hutool.core.math.Calculator
 
calendar() - Static method in class org.dromara.hutool.core.date.CalendarUtil
创建Calendar对象,时间为默认时区的当前时间
calendar(Date) - Static method in class org.dromara.hutool.core.date.CalendarUtil
转换为Calendar对象
calendar(XMLGregorianCalendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
转换为Calendar对象
calendar(long) - Static method in class org.dromara.hutool.core.date.CalendarUtil
转换为Calendar对象,使用当前默认时区
calendar(long, TimeZone) - Static method in class org.dromara.hutool.core.date.CalendarUtil
转换为Calendar对象
calendar(Calendar, TimeZone) - Static method in class org.dromara.hutool.core.date.CalendarUtil
转换为指定时区的Calendar,返回新的Calendar
CalendarConverter - Class in org.dromara.hutool.core.convert.impl
日期转换器
CalendarConverter() - Constructor for class org.dromara.hutool.core.convert.impl.CalendarConverter
构造
CalendarConverter(String) - Constructor for class org.dromara.hutool.core.convert.impl.CalendarConverter
构造
CalendarUtil - Class in org.dromara.hutool.core.date
针对Calendar 对象封装工具类
CalendarUtil() - Constructor for class org.dromara.hutool.core.date.CalendarUtil
 
call(Object, Object...) - Static method in class org.dromara.hutool.core.reflect.kotlin.KCallable
实例化对象,本质上调用KCallable.call方法
Caller - Interface in org.dromara.hutool.core.lang.caller
调用者接口
可以通过此接口的实现类方法获取调用者、多级调用者以及判断是否被调用
CallerUtil - Class in org.dromara.hutool.core.lang.caller
调用者。
CallerUtil() - Constructor for class org.dromara.hutool.core.lang.caller.CallerUtil
 
CamelCaseLinkedMap<K,V> - Class in org.dromara.hutool.core.map
驼峰Key风格的LinkedHashMap
对KEY转换为驼峰,get("int_value")和get("intValue")获得的值相同,put进入的值也会被覆盖
CamelCaseLinkedMap() - Constructor for class org.dromara.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(int) - Constructor for class org.dromara.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(Map<? extends K, ? extends V>) - Constructor for class org.dromara.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(float, Map<? extends K, ? extends V>) - Constructor for class org.dromara.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseLinkedMap(int, float) - Constructor for class org.dromara.hutool.core.map.CamelCaseLinkedMap
构造
CamelCaseMap<K,V> - Class in org.dromara.hutool.core.map
驼峰Key风格的Map
对KEY转换为驼峰,get("int_value")和get("intValue")获得的值相同,put进入的值也会被覆盖
CamelCaseMap() - Constructor for class org.dromara.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(int) - Constructor for class org.dromara.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(Map<? extends K, ? extends V>) - Constructor for class org.dromara.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(float, Map<? extends K, ? extends V>) - Constructor for class org.dromara.hutool.core.map.CamelCaseMap
构造
CamelCaseMap(int, float) - Constructor for class org.dromara.hutool.core.map.CamelCaseMap
构造
cancelPruneSchedule() - Method in class org.dromara.hutool.core.cache.impl.TimedCache
取消定时清理
capacity() - Method in interface org.dromara.hutool.core.cache.Cache
返回缓存容量,0表示无大小限制
capacity - Variable in class org.dromara.hutool.core.cache.file.AbstractFileCache
容量
capacity() - Method in class org.dromara.hutool.core.cache.file.AbstractFileCache
 
capacity - Variable in class org.dromara.hutool.core.cache.impl.AbstractCache
返回缓存容量,0表示无大小限制
capacity() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
capacity() - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
capacity() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Retrieves the maximum weighted capacity of the map.
CAR_DRIVING_LICENCE - Static variable in class org.dromara.hutool.core.regex.PatternPool
驾驶证 别名:驾驶证档案编号、行驶证编号 eg:430101758218 12位数字字符串 仅限:中国驾驶证档案编号
CAR_DRIVING_LICENCE - Static variable in interface org.dromara.hutool.core.regex.RegexPool
驾驶证 别名:驾驶证档案编号、行驶证编号 eg:430101758218 12位数字字符串 仅限:中国驾驶证档案编号
CAR_VIN - Static variable in class org.dromara.hutool.core.regex.PatternPool
车架号(车辆识别代号由世界制造厂识别代号(WMI、车辆说明部分(VDS)车辆指示部分(VIS)三部分组成,共 17 位字码。)
CAR_VIN - Static variable in interface org.dromara.hutool.core.regex.RegexPool
车架号(车辆识别代号由世界制造厂识别代号(WMI、车辆说明部分(VDS)车辆指示部分(VIS)三部分组成,共 17 位字码。)
carLicense(String) - Static method in class org.dromara.hutool.core.data.MaskingUtil
【中国车牌】车牌中间用*代替 eg1:null -》 "" eg1:"" -》 "" eg3:苏D40000 -》 苏D4***0 eg4:陕A12345D -》 陕A1****D eg5:京A123 -》 京A123 如果是错误的车牌,不处理
cartesianProduct(List<List<Object>>, int) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
笛卡尔积
参考:https://www.baeldung-cn.com/java-cartesian-product-sets
CaseInsensitiveLinkedMap<K,V> - Class in org.dromara.hutool.core.map
忽略大小写的LinkedHashMap
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
CaseInsensitiveLinkedMap() - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(int) - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(Map<? extends K, ? extends V>) - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(float, Map<? extends K, ? extends V>) - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveLinkedMap(int, float) - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveLinkedMap
构造
CaseInsensitiveMap<K,V> - Class in org.dromara.hutool.core.map
忽略大小写的Map
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
CaseInsensitiveMap() - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveMap(int) - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveMap(Map<? extends K, ? extends V>) - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveMap
构造
注意此构造将传入的Map所有值复制到当前map中,不修改传入map。
CaseInsensitiveMap(float, Map<? extends K, ? extends V>) - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveMap(int, float) - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveMap
构造
CaseInsensitiveTreeMap<K,V> - Class in org.dromara.hutool.core.map
忽略大小写的TreeMap
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
CaseInsensitiveTreeMap() - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveTreeMap
构造
CaseInsensitiveTreeMap(Map<? extends K, ? extends V>) - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveTreeMap
构造
CaseInsensitiveTreeMap(Comparator<? super K>) - Constructor for class org.dromara.hutool.core.map.CaseInsensitiveTreeMap
构造
cast(Class<?>, Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
强转数组类型
强制转换的前提是数组元素类型可被强制转换
强制转换后会生成一个新数组
cast(Object) - Static method in class org.dromara.hutool.core.convert.CastUtil
将指定对象强制转换为指定类型
CastConverter - Class in org.dromara.hutool.core.convert.impl
强转转换器
CastConverter() - Constructor for class org.dromara.hutool.core.convert.impl.CastConverter
 
castDown(Collection<? super T>) - Static method in class org.dromara.hutool.core.convert.CastUtil
泛型集合向下转型。
castDown(Set<? super T>) - Static method in class org.dromara.hutool.core.convert.CastUtil
泛型集合向下转型。
castDown(List<? super T>) - Static method in class org.dromara.hutool.core.convert.CastUtil
泛型集合向下转型。
castDown(Map<? super K, ? super V>) - Static method in class org.dromara.hutool.core.convert.CastUtil
泛型集合向下转型。
casting(F) - Static method in interface org.dromara.hutool.core.func.SerUnaryOperator
casting identity
castingIdentity() - Static method in interface org.dromara.hutool.core.func.SerFunction
casting identity
castOrWrapSingle(Object, Class<?>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
转为数组,如果values为数组,返回,否则返回一个只有values一个元素的数组
注意:values的元素类型或其本身类型必须和提供的elementType完全一致
castTo(Class<T>, Object) - Static method in class org.dromara.hutool.core.convert.CastUtil
将指定对象强制转换为指定类型
castUp(Collection<? extends T>) - Static method in class org.dromara.hutool.core.convert.CastUtil
泛型集合向上转型。
castUp(Set<? extends T>) - Static method in class org.dromara.hutool.core.convert.CastUtil
泛型集合向上转型。
castUp(List<? extends T>) - Static method in class org.dromara.hutool.core.convert.CastUtil
泛型接口向上转型。
castUp(Map<? extends K, ? extends V>) - Static method in class org.dromara.hutool.core.convert.CastUtil
泛型集合向下转型。
CastUtil - Class in org.dromara.hutool.core.convert
转换工具类,提供集合、Map等向上向下转换工具
CastUtil() - Constructor for class org.dromara.hutool.core.convert.CastUtil
 
causeInstanceOf(Class<? extends Throwable>) - Method in exception org.dromara.hutool.core.io.IORuntimeException
导致这个异常的异常是否是指定类型的异常
causeInstanceOf(Class<? extends Throwable>) - Method in exception org.dromara.hutool.core.io.resource.NoResourceException
导致这个异常的异常是否是指定类型的异常
ceilDiv(int, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
补充Math.ceilDiv() JDK8中添加了和 Math.floorDiv(int, int) 但却没有ceilDiv()
ceiling(Calendar, DateField, boolean) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改日期为某个时间字段结束时间
可选是否归零毫秒。
ceiling(Date, DateField, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
修改日期为某个时间字段结束时间
可选是否归零毫秒。
cellSet() - Method in class org.dromara.hutool.core.map.multi.AbsTable
 
cellSet() - Method in interface org.dromara.hutool.core.map.multi.Table
所有单元格集合
center(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串 center(null, *) = null center("", 4) = " " center("ab", -1) = "ab" center("ab", 4) = " ab " center("abcd", 2) = "abcd" center("a", 4) = " a "
center(CharSequence, int, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串 center(null, *, *) = null center("", 4, ' ') = " " center("ab", -1, ' ') = "ab" center("ab", 4, ' ') = " ab " center("abcd", 2, ' ') = "abcd" center("a", 4, ' ') = " a " center("a", 4, 'y') = "yayy" center("abc", 7, ' ') = " abc "
center(CharSequence, int, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串 center(null, *, *) = null center("", 4, " ") = " " center("ab", -1, " ") = "ab" center("ab", 4, " ") = " ab " center("abcd", 2, " ") = "abcd" center("a", 4, " ") = " a " center("a", 4, "yz") = "yayz" center("abc", 7, null) = " abc " center("abc", 7, "") = " abc "
centToYuan(long) - Static method in class org.dromara.hutool.core.math.MathUtil
金额分转换为元
CH_ID - Static variable in class org.dromara.hutool.core.stream.CollectorUtil
说明已包含IDENTITY_FINISH特征 为 Characteristics.IDENTITY_FINISH 的缩写
CH_NOID - Static variable in class org.dromara.hutool.core.stream.CollectorUtil
说明不包含IDENTITY_FINISH特征
Chain<E,T> - Interface in org.dromara.hutool.core.lang
责任链接口
ChannelCopier - Class in org.dromara.hutool.core.io.copy
ChannelCopier() - Constructor for class org.dromara.hutool.core.io.copy.ChannelCopier
构造
ChannelCopier(int) - Constructor for class org.dromara.hutool.core.io.copy.ChannelCopier
构造
ChannelCopier(int, long) - Constructor for class org.dromara.hutool.core.io.copy.ChannelCopier
构造
ChannelCopier(int, long, StreamProgress) - Constructor for class org.dromara.hutool.core.io.copy.ChannelCopier
构造
CharacterConverter - Class in org.dromara.hutool.core.convert.impl
字符转换器
CharacterConverter() - Constructor for class org.dromara.hutool.core.convert.impl.CharacterConverter
 
characteristics() - Method in class org.dromara.hutool.core.collection.TransSpliterator
 
characteristics() - Method in class org.dromara.hutool.core.stream.SimpleCollector
 
characteristics() - Method in class org.dromara.hutool.core.stream.spliterators.DropWhileSpliterator
 
characteristics() - Method in class org.dromara.hutool.core.stream.spliterators.TakeWhileSpliterator
 
CharArray - Class in org.dromara.hutool.core.text
char[]包装,提供zero-copy的数组操作
CharArray(String) - Constructor for class org.dromara.hutool.core.text.CharArray
构造
CharArray(char[], boolean) - Constructor for class org.dromara.hutool.core.text.CharArray
构造,注意此方法共享数组
charAt(int) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
 
charAt(int) - Method in class org.dromara.hutool.core.text.CharArray
 
CharFinder - Class in org.dromara.hutool.core.text.finder
字符查找器
查找指定字符在字符串中的位置信息
CharFinder(char) - Constructor for class org.dromara.hutool.core.text.finder.CharFinder
构造,不忽略字符大小写
CharFinder(char, boolean) - Constructor for class org.dromara.hutool.core.text.finder.CharFinder
构造
charIndexMap - Variable in class org.dromara.hutool.core.text.finder.MultiStrFinder
 
CharMatcherFinder - Class in org.dromara.hutool.core.text.finder
字符匹配查找器
查找满足指定Predicate 匹配的字符所在位置,此类长用于查找某一类字符,如数字等
CharMatcherFinder(Predicate<Character>) - Constructor for class org.dromara.hutool.core.text.finder.CharMatcherFinder
构造
CharPool - Interface in org.dromara.hutool.core.text
常用字符常量
CharSequenceResource - Class in org.dromara.hutool.core.io.resource
CharSequence资源,字符串做为资源
CharSequenceResource(CharSequence) - Constructor for class org.dromara.hutool.core.io.resource.CharSequenceResource
构造,使用UTF8编码
CharSequenceResource(CharSequence, String) - Constructor for class org.dromara.hutool.core.io.resource.CharSequenceResource
构造,使用UTF8编码
CharSequenceResource(CharSequence, String, Charset) - Constructor for class org.dromara.hutool.core.io.resource.CharSequenceResource
构造
CharSequenceUtil - Class in org.dromara.hutool.core.text
CharSequence 相关工具类封装,包括但不限于: 字符串补充前缀或后缀:addXXX 字符串补充长度:padXXX 字符串包含关系:containsXXX 字符串默认值:defaultIfXXX 字符串查找:indexOf 字符串判断以什么结尾:endWith 字符串判断以什么开始:startWith 字符串匹配:equals 字符串格式化:format 字符串去除:removeXXX 字符串重复:repeat 获取子串:sub 去除两边的指定字符串(只去除一次):strip 去除两边的指定所有字符:trim 去除两边的指定所有字符包装和去除包装:wrap 需要注意的是,strip、trim、wrap(unWrap)的策略不同: strip: 强调去除两边或某一边的指定字符串,这个字符串不会重复去除,如果一边不存在,另一边不影响去除 trim: 强调去除两边指定字符,如果这个字符有多个,全部去除,例如去除两边所有的空白符。
CharSequenceUtil() - Constructor for class org.dromara.hutool.core.text.CharSequenceUtil
 
charset - Variable in class org.dromara.hutool.core.io.file.FileWrapper
编码
charset - Variable in class org.dromara.hutool.core.spi.AbsServiceLoader
编码
charset(String) - Static method in class org.dromara.hutool.core.util.CharsetUtil
转换为Charset对象
CharsetConverter - Class in org.dromara.hutool.core.convert.impl
编码对象转换器
CharsetConverter() - Constructor for class org.dromara.hutool.core.convert.impl.CharsetConverter
 
CharsetDetector - Class in org.dromara.hutool.core.io
编码探测器
CharsetDetector() - Constructor for class org.dromara.hutool.core.io.CharsetDetector
 
CharsetUtil - Class in org.dromara.hutool.core.util
字符集工具类
CharsetUtil() - Constructor for class org.dromara.hutool.core.util.CharsetUtil
 
CharUtil - Class in org.dromara.hutool.core.text
字符工具类
部分工具来自于Apache Commons系列
CharUtil() - Constructor for class org.dromara.hutool.core.text.CharUtil
 
check(String) - Static method in class org.dromara.hutool.core.codec.Luhn
校验字符串
check(String) - Static method in class org.dromara.hutool.core.data.PasswdStrength
检查密码的健壮性
checkBean(Object, Predicate<Field>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
检查Bean
遍历Bean的字段并断言检查字段,当某个字段: 断言为true 时,返回true并不再检查后续字段;
断言为false时,继续检查后续字段
checkBetween(int, int, int, Supplier<? extends X>) - Static method in class org.dromara.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(int, int, int, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(int, int, int) - Static method in class org.dromara.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(long, long, long, Supplier<? extends X>) - Static method in class org.dromara.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(long, long, long, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(long, long, long) - Static method in class org.dromara.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(double, double, double, Supplier<? extends X>) - Static method in class org.dromara.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(double, double, double, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(double, double, double) - Static method in class org.dromara.hutool.core.lang.Assert
检查值是否在指定范围内
checkBetween(Number, Number, Number) - Static method in class org.dromara.hutool.core.lang.Assert
检查值是否在指定范围内
checkClientTrusted(X509Certificate[], String) - Method in class org.dromara.hutool.core.net.ssl.TrustAnyTrustManager
 
checkClientTrusted(X509Certificate[], String, Socket) - Method in class org.dromara.hutool.core.net.ssl.TrustAnyTrustManager
 
checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class org.dromara.hutool.core.net.ssl.TrustAnyTrustManager
 
CheckedLinkedBlockingQueue<E> - Class in org.dromara.hutool.core.collection.queue
自定义加入前检查的LinkedBlockingQueue,给定一个检查函数,在加入元素前检查此函数
原理是通过Runtime#freeMemory()获取剩余内存,当剩余内存低于指定的阈值时,不再加入。
CheckedLinkedBlockingQueue(Predicate<E>) - Constructor for class org.dromara.hutool.core.collection.queue.CheckedLinkedBlockingQueue
构造
CheckedLinkedBlockingQueue(Collection<? extends E>, Predicate<E>) - Constructor for class org.dromara.hutool.core.collection.queue.CheckedLinkedBlockingQueue
构造
checker - Variable in class org.dromara.hutool.core.collection.queue.CheckedLinkedBlockingQueue
检查函数
checkIndex(int, int) - Static method in class org.dromara.hutool.core.lang.Assert
检查下标(数组、集合、字符串)是否符合要求,下标必须满足: 0 ≤ index < size
checkIndex(int, int, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
检查下标(数组、集合、字符串)是否符合要求,下标必须满足: 0 ≤ index < size
checkIndexLimit(int, int) - Static method in class org.dromara.hutool.core.lang.Validator
检查给定的index是否超出长度限制: 数组调用setOrPadding时,最多允许padding的长度 List调用setOrPadding时,最多允许padding的长度 JSONArray调用setOrPadding时,最多允许padding的长度
checkServerTrusted(X509Certificate[], String) - Method in class org.dromara.hutool.core.net.ssl.TrustAnyTrustManager
 
checkServerTrusted(X509Certificate[], String, Socket) - Method in class org.dromara.hutool.core.net.ssl.TrustAnyTrustManager
 
checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class org.dromara.hutool.core.net.ssl.TrustAnyTrustManager
 
checkSlip(File, File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
检查父完整路径是否为自路径的前半部分,如果不是说明不是子路径,可能存在slip注入。
checksum(File, Checksum) - Static method in class org.dromara.hutool.core.io.checksum.ChecksumUtil
计算文件校验码
checksum(InputStream, Checksum) - Static method in class org.dromara.hutool.core.io.checksum.ChecksumUtil
计算流的校验码,计算后关闭流
checksumCRC32(File) - Static method in class org.dromara.hutool.core.io.checksum.ChecksumUtil
计算文件CRC32校验码
checksumCRC32(InputStream) - Static method in class org.dromara.hutool.core.io.checksum.ChecksumUtil
计算流CRC32校验码,计算后关闭流
ChecksumUtil - Class in org.dromara.hutool.core.io.checksum
校验码工具
ChecksumUtil() - Constructor for class org.dromara.hutool.core.io.checksum.ChecksumUtil
 
checksumValue(InputStream, Checksum) - Static method in class org.dromara.hutool.core.io.checksum.ChecksumUtil
计算流的校验码,计算后关闭流
checkZipBomb(ZipEntry, int) - Static method in class org.dromara.hutool.core.compress.ZipSecurityUtil
检查Zip bomb漏洞
CHINA_ID_MAX_LENGTH - Static variable in class org.dromara.hutool.core.data.CIN
中国公民身份证号码最大长度。
CHINA_ID_MIN_LENGTH - Static variable in class org.dromara.hutool.core.data.CIN
中国公民身份证号码最小长度。
CHINESE - Static variable in class org.dromara.hutool.core.regex.PatternPool
单个中文汉字
CHINESE - Static variable in interface org.dromara.hutool.core.regex.RegexPool
单个中文汉字
参照维基百科汉字Unicode范围(https://zh.wikipedia.org/wiki/%E6%B1%89%E5%AD%97 页面右侧)
CHINESE_DATE_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy年MM月dd日
CHINESE_DATE_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 DateTimeFormatter:yyyy年MM月dd日
CHINESE_DATE_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式:yyyy年MM月dd日
CHINESE_DATE_TIME_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy年MM月dd日HH时mm分ss秒
CHINESE_DATE_TIME_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 DateTimeFormatter:yyyy年MM月dd日HH时mm分ss秒
CHINESE_DATE_TIME_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式:yyyy年MM月dd日HH时mm分ss秒
CHINESE_NAME - Static variable in class org.dromara.hutool.core.regex.PatternPool
中文姓名 总结中国人姓名:2-60位,只能是中文和 ·
CHINESE_NAME - Static variable in interface org.dromara.hutool.core.regex.RegexPool
中文姓名 维吾尔族姓名里面的点是 · 输入法中文状态下,键盘左上角数字1前面的那个符号;
错误字符:..。..
ChineseDate - Class in org.dromara.hutool.core.date.chinese
农历日期工具,最大支持到2099年,支持: 通过公历日期构造获取对应农历 通过农历日期直接构造
规范参考:ChineseDate(Date) - Constructor for class org.dromara.hutool.core.date.chinese.ChineseDate
通过公历日期构造
ChineseDate(LocalDate) - Constructor for class org.dromara.hutool.core.date.chinese.ChineseDate
通过公历日期构造
ChineseDate(int, int, int) - Constructor for class org.dromara.hutool.core.date.chinese.ChineseDate
构造方法传入日期
此方法自动判断闰月,如果chineseMonth为本年的闰月,则按照闰月计算
ChineseDate(int, int, int, boolean) - Constructor for class org.dromara.hutool.core.date.chinese.ChineseDate
构造方法传入日期
通过isLeapMonth参数区分是否闰月,如五月是闰月,当isLeapMonth为true时,表示润五月,false表示五月
ChineseDateFormat - Enum in org.dromara.hutool.core.date.chinese
农历标准化输出格式枚举
chineseMoneyToNumber(String) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
中文大写数字金额转换为数字,返回结果以元为单位的BigDecimal类型数字 如: “陆万柒仟伍佰伍拾陆元叁角贰分”返回“67556.32” “叁角贰分”返回“0.32”
ChineseMonth - Class in org.dromara.hutool.core.date.chinese
农历月份表示
规范参考:ChineseMonth() - Constructor for class org.dromara.hutool.core.date.chinese.ChineseMonth
 
chineseName(String) - Static method in class org.dromara.hutool.core.data.MaskingUtil
【中文姓名】只显示第一个汉字,其他隐藏为2个星号,比如:李**
ChineseNumberFormatter - Class in org.dromara.hutool.core.math
数字转中文类
包括: 1.
ChineseNumberFormatter() - Constructor for class org.dromara.hutool.core.math.ChineseNumberFormatter
 
ChineseNumberParser - Class in org.dromara.hutool.core.math
中文数字或金额解析类
ChineseNumberParser() - Constructor for class org.dromara.hutool.core.math.ChineseNumberParser
 
CHINESES - Static variable in class org.dromara.hutool.core.regex.PatternPool
中文汉字
CHINESES - Static variable in interface org.dromara.hutool.core.regex.RegexPool
中文汉字
chineseToNumber(String) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
数字中文表示形式转数字 一百一十二 -》 112 一千零一十二 -》 1012
CIN - Class in org.dromara.hutool.core.data
公民身份号码(Citizen Identification Number),参考GB11643-1999标准。
CIN(String) - Constructor for class org.dromara.hutool.core.data.CIN
构造
CIN10 - Class in org.dromara.hutool.core.data
10位公民身份号码(Citizen Identification Number),一般用于台湾、澳门、香港
CIN10(String) - Constructor for class org.dromara.hutool.core.data.CIN10
构造
CIN10.Gender - Enum in org.dromara.hutool.core.data
性别枚举
CircularByteBuffer - Class in org.dromara.hutool.core.io
循环缓冲区
CircularByteBuffer() - Constructor for class org.dromara.hutool.core.io.CircularByteBuffer
默认缓冲大小的构造(NioUtil.DEFAULT_BUFFER_SIZE)
CircularByteBuffer(int) - Constructor for class org.dromara.hutool.core.io.CircularByteBuffer
构造
CITIZEN_ID - Static variable in class org.dromara.hutool.core.regex.PatternPool
18位身份证号码
CITIZEN_ID - Static variable in interface org.dromara.hutool.core.regex.RegexPool
18位身份证号码
CityHash - Class in org.dromara.hutool.core.codec.hash
Google发布的Hash计算算法:CityHash64 与 CityHash128。
CityHash() - Constructor for class org.dromara.hutool.core.codec.hash.CityHash
 
cityHash128(byte[]) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
CityHash算法128-bit实现
cityHash128(byte[], Number128) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
CityHash算法128-bit实现
cityHash32(byte[]) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
CityHash算法32-bit实现
cityHash64(byte[], long) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
CityHash算法64-bit实现,种子1使用默认的CityHash#k2
cityHash64(byte[], long, long) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
CityHash算法64-bit实现,种子1使用默认的CityHash#k2
cityHash64(byte[]) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
CityHash算法64-bit实现
ClassConverter - Class in org.dromara.hutool.core.convert.impl
类转换器
将类名转换为类,默认初始化这个类(执行static块)
ClassConverter() - Constructor for class org.dromara.hutool.core.convert.impl.ClassConverter
构造
ClassConverter(boolean) - Constructor for class org.dromara.hutool.core.convert.impl.ClassConverter
构造
ClassDescUtil - Class in org.dromara.hutool.core.reflect
类描述工具类
来自:org.apache.dubbo.common.utils.ReflectUtils
在字节码中,类型表示如下: byte =》 B char =》 C double =》 D long =》 J short =》 S boolean =》 Z void =》 V 对象类型以“L”开头,“;”结尾,如Ljava/lang/Object; 数组类型,每一位使用一个前置的[字符来描述,如:java.lang.String[][] =》 [[Ljava/lang/String; 此类旨在通过类描述信息和类名查找对应的类,如动态加载类等。
ClassDescUtil() - Constructor for class org.dromara.hutool.core.reflect.ClassDescUtil
 
classLoader - Variable in class org.dromara.hutool.core.spi.AbsServiceLoader
自定义类加载器
ClassLoaderUtil - Class in org.dromara.hutool.core.classloader
ClassLoader工具类
此工具类加载的类,不提供缓存,缓存应由实现的ClassLoader完成。
ClassLoaderUtil() - Constructor for class org.dromara.hutool.core.classloader.ClassLoaderUtil
 
ClassMember - Class in org.dromara.hutool.core.reflect
类成员,用于获取类的修饰符等,如: ClassMember member = new ClassMember(String.class); Console.log(member.getModifiers());
ClassMember(Class<?>) - Constructor for class org.dromara.hutool.core.reflect.ClassMember
构造
CLASSPATH_URL_PREFIX - Static variable in class org.dromara.hutool.core.net.url.UrlUtil
针对ClassPath路径的伪协议前缀(兼容Spring): "classpath:"
ClassPathResource - Class in org.dromara.hutool.core.io.resource
ClassPath单一资源访问类
传入路径path必须为相对路径,如果传入绝对路径,Linux路径会去掉开头的“/”,而Windows路径会直接报错。
ClassPathResource(String) - Constructor for class org.dromara.hutool.core.io.resource.ClassPathResource
构造
ClassPathResource(String, ClassLoader) - Constructor for class org.dromara.hutool.core.io.resource.ClassPathResource
构造
ClassPathResource(String, Class<?>) - Constructor for class org.dromara.hutool.core.io.resource.ClassPathResource
构造
ClassPathResource(String, ClassLoader, Class<?>) - Constructor for class org.dromara.hutool.core.io.resource.ClassPathResource
构造
ClassScanner - Class in org.dromara.hutool.core.reflect
类扫描器
ClassScanner() - Constructor for class org.dromara.hutool.core.reflect.ClassScanner
构造,默认UTF-8编码
ClassScanner(String) - Constructor for class org.dromara.hutool.core.reflect.ClassScanner
构造,默认UTF-8编码
ClassScanner(String, Predicate<Class<?>>) - Constructor for class org.dromara.hutool.core.reflect.ClassScanner
构造,默认UTF-8编码
ClassScanner(String, Predicate<Class<?>>, Charset) - Constructor for class org.dromara.hutool.core.reflect.ClassScanner
构造
ClassUtil - Class in org.dromara.hutool.core.reflect
类工具类
ClassUtil() - Constructor for class org.dromara.hutool.core.reflect.ClassUtil
 
clean(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
clean(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
clean() - Method in class org.dromara.hutool.core.io.file.PathDeleter
清空目录
clean(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
清空目录
cleanBlank(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
清理空白字符
cleanComment(String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
去除XML文本中的注释内容
cleanEmpty(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
清理空文件夹
此方法用于递归删除空的文件夹,不删除文件
如果传入的文件夹本身就是空的,删除这个文件夹
cleanInvalid(String) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
清除文件名中的在Windows下不支持的非法字符,包括: \ / : * ?
cleanInvalid(String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
去除XML文本中的无效字符
clear() - Method in enum org.dromara.hutool.core.bean.BeanInfoCache
清空缓存
clear() - Method in interface org.dromara.hutool.core.cache.Cache
清空缓存
clear() - Method in class org.dromara.hutool.core.cache.file.AbstractFileCache
清空缓存
clear() - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
clear() - Method in class org.dromara.hutool.core.cache.impl.ReentrantCache
 
clear() - Method in class org.dromara.hutool.core.cache.impl.StampedCache
 
clear() - Method in class org.dromara.hutool.core.cache.SimpleCache
清空缓存池
clear(Collection<?>...) - Static method in class org.dromara.hutool.core.collection.CollUtil
清除一个或多个集合内的元素,每个集合调用clear()方法
clear(Iterator<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
清空指定Iterator,此方法遍历后调用Iterator.remove()移除每个元素
clear() - Method in class org.dromara.hutool.core.collection.ListWrapper
 
clear() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
clear() - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
clear() - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
clear() - Method in class org.dromara.hutool.core.collection.set.UniqueKeySet
 
clear() - Method in class org.dromara.hutool.core.collection.TransCollection
 
clear() - Static method in class org.dromara.hutool.core.data.MaskingUtil
清空为空字符串
clear() - Method in class org.dromara.hutool.core.io.CircularByteBuffer
Removes all bytes from the buffer.
clear() - Method in class org.dromara.hutool.core.lang.selector.WeightRandomSelector
清空权重表
clear() - Method in class org.dromara.hutool.core.map.BeanMap
 
clear() - Method in class org.dromara.hutool.core.map.BiMap
 
clear() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
clear() - Method in class org.dromara.hutool.core.map.LinkedForestMap
将当前集合清空,并清除全部节点间的引用关系
clear() - Method in class org.dromara.hutool.core.map.MapBuilder
清空Map
clear() - Method in class org.dromara.hutool.core.map.MapProxy
 
clear(Map<?, ?>...) - Static method in class org.dromara.hutool.core.map.MapUtil
清除一个或多个Map集合内的元素,每个Map调用clear()方法
clear() - Method in class org.dromara.hutool.core.map.MapWrapper
 
clear() - Method in class org.dromara.hutool.core.map.multi.RowKeyTable
 
clear() - Method in interface org.dromara.hutool.core.map.multi.Table
清空表格
clear() - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
clear() - Method in class org.dromara.hutool.core.map.TableMap
 
clear() - Method in class org.dromara.hutool.core.map.TripleTable
清空
clear() - Static method in class org.dromara.hutool.core.math.BitStatusUtil
清空状态就是0
clear() - Static method in class org.dromara.hutool.core.regex.PatternPool
清空缓存池
clear() - Method in class org.dromara.hutool.core.text.dfa.WordTree
清除所有的词, 此方法调用后, wordTree 将被清空 endCharacterSet 也将清空
clear() - Static method in class org.dromara.hutool.core.text.placeholder.StrFormatter
清空缓存
clear(int) - Method in enum org.dromara.hutool.core.text.placeholder.StrTemplate.Feature
在 策略值 中移除 当前策略
clearCache() - Static method in class org.dromara.hutool.core.bean.BeanDescFactory
清空全局的Bean属性缓存
clearCaches() - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
清空相关缓存,包括: AnnotatedElementUtil中的AnnotatedElementAnnotationMapping缓存; AnnotationUtil中的AnnotatedElement上直接声明的注解缓存; RepeatableAnnotationCollector中单例的注解属性缓存;
clearCaches() - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
清空相关缓存
clearCaches() - Method in class org.dromara.hutool.core.reflect.FieldReflect
清空缓存
clearCaches() - Method in class org.dromara.hutool.core.reflect.method.MethodReflect
清空缓存
clearSingletonCaches() - Static method in interface org.dromara.hutool.core.annotation.RepeatableAnnotationCollector
清空单例缓存
clearToNull() - Static method in class org.dromara.hutool.core.data.MaskingUtil
清空为null
clearWorker() - Method in class org.dromara.hutool.core.thread.SyncFinisher
清空工作线程对象
ClobStringer - Class in org.dromara.hutool.core.convert.impl.stringer
Clob转String
ClobStringer() - Constructor for class org.dromara.hutool.core.convert.impl.stringer.ClobStringer
 
clockSequence() - Method in class org.dromara.hutool.core.data.id.UUID
与此 UUID 相关联的时钟序列值。
clone(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
克隆数组
clone(T) - Static method in class org.dromara.hutool.core.array.ArrayUtil
克隆数组,如果非数组返回null
clone() - Method in class org.dromara.hutool.core.bean.DynaBean
 
clone() - Method in class org.dromara.hutool.core.collection.set.UniqueKeySet
 
clone(T) - Static method in class org.dromara.hutool.core.io.SerializeUtil
序列化后拷贝流的方式克隆
对象必须实现Serializable接口
clone() - Method in class org.dromara.hutool.core.lang.tuple.Pair
 
clone() - Method in class org.dromara.hutool.core.lang.tuple.Triple
 
clone() - Method in class org.dromara.hutool.core.lang.tuple.Tuple
 
clone() - Method in class org.dromara.hutool.core.map.Dict
 
clone() - Method in class org.dromara.hutool.core.map.MapWrapper
 
clone(T) - Static method in class org.dromara.hutool.core.util.ObjUtil
克隆对象 如果对象是数组,则等同于ArrayUtil.clone(Object); 如果对象实现了Cloneable接口,调用 Object.clone()方法; 如果对象实现了Serializable接口,执行深度克隆; 不符合上述任意情况则返回null
cloneByStream(T) - Static method in class org.dromara.hutool.core.util.ObjUtil
序列化后拷贝流的方式克隆
若对象未实现Serializable接口,则返回null
CloneException - Exception in org.dromara.hutool.core.exception
克隆异常
CloneException(Throwable) - Constructor for exception org.dromara.hutool.core.exception.CloneException
构造
CloneException(String) - Constructor for exception org.dromara.hutool.core.exception.CloneException
构造
CloneException(String, Object...) - Constructor for exception org.dromara.hutool.core.exception.CloneException
构造
CloneException(String, Throwable) - Constructor for exception org.dromara.hutool.core.exception.CloneException
构造
CloneException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.exception.CloneException
构造
CloneException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.exception.CloneException
构造
cloneIfPossible(T) - Static method in class org.dromara.hutool.core.util.ObjUtil
返回克隆后的对象,如果克隆失败,返回原对象
cloneTree() - Method in class org.dromara.hutool.core.tree.MapTree
递归克隆当前节点(即克隆整个树,保留字段值)
注意,此方法只会克隆节点,节点属性如果是引用类型,不会克隆
close() - Method in class org.dromara.hutool.core.collection.iter.LineIter
关闭Reader
close() - Method in class org.dromara.hutool.core.compress.Deflate
 
close() - Method in class org.dromara.hutool.core.compress.Gzip
 
close() - Method in class org.dromara.hutool.core.compress.InflaterInputStream
 
close() - Method in class org.dromara.hutool.core.compress.OpcZipOutputStream
 
close() - Method in class org.dromara.hutool.core.compress.ZipFileResource
 
close() - Method in class org.dromara.hutool.core.compress.ZipReader
 
close() - Method in class org.dromara.hutool.core.compress.ZipReplacer
 
close() - Method in class org.dromara.hutool.core.compress.ZipStreamResource
 
close() - Method in class org.dromara.hutool.core.compress.ZipWriter
 
close() - Method in class org.dromara.hutool.core.io.AppendableWriter
 
close() - Method in class org.dromara.hutool.core.io.FastStringReader
 
close() - Method in class org.dromara.hutool.core.io.FastStringWriter
 
close() - Method in class org.dromara.hutool.core.io.ReaderWrapper
 
close() - Method in class org.dromara.hutool.core.io.stream.BOMInputStream
 
close() - Method in class org.dromara.hutool.core.io.stream.EmptyInputStream
 
close() - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
此方法无任何效果,当流被关闭后不会抛出IOException
close() - Method in class org.dromara.hutool.core.io.stream.LineCounter
 
close() - Method in class org.dromara.hutool.core.io.stream.ReaderInputStream
 
close() - Method in class org.dromara.hutool.core.io.stream.UTF8OutputStreamWriter
 
close() - Method in class org.dromara.hutool.core.io.stream.WriterOutputStream
 
close() - Method in class org.dromara.hutool.core.io.watch.WatchMonitor
 
close() - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
 
close(T, T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRange
构建一个闭区间,即{x | lowerBound <= x <= upperBound}
close() - Method in class org.dromara.hutool.core.pool.partition.PartitionObjectPool
 
close() - Method in class org.dromara.hutool.core.pool.partition.PoolPartition
 
close() - Method in interface org.dromara.hutool.core.stream.WrappedStream
关闭流
close() - Method in class org.dromara.hutool.core.thread.ConcurrencyTester
 
close() - Method in class org.dromara.hutool.core.thread.ratelimiter.TokenBucketRateLimiter
 
close() - Method in class org.dromara.hutool.core.thread.SyncFinisher
 
closeEntry() - Method in class org.dromara.hutool.core.compress.OpcZipOutputStream
 
closeIfPossible(Object) - Static method in class org.dromara.hutool.core.io.IoUtil
尝试关闭指定对象
判断对象如果实现了AutoCloseable,则调用之
closeOpen(T, T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRange
构建一个左闭右开区间,即{x | lowerBound <= x < upperBound}
closeQuietly(AutoCloseable...) - Static method in class org.dromara.hutool.core.io.IoUtil
按照给定顺序连续关闭一系列对象
这些对象必须按照顺序关闭,否则会出错。
CODEC_LOWER - Static variable in class org.dromara.hutool.core.codec.binary.Base16Codec
编码解码器:小写
CODEC_UPPER - Static variable in class org.dromara.hutool.core.codec.binary.Base16Codec
编码解码器:大写
codeLength(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
获取字符串的Unicode字符长度,如果为null返回0
Unicode字符长度指实际Unicode字符个数,如emoji算一个字符
CodePointIter - Class in org.dromara.hutool.core.text
Unicode字符遍历器
参考:http://stackoverflow.com/a/21791059/6030888
CodePointIter(String) - Constructor for class org.dromara.hutool.core.text.CodePointIter
构造
collect(Supplier<R>, BiConsumer<R, ? super T>, BiConsumer<R, R>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
对元素进行收集,并返回收集后的容器 这是一个终端操作
collect(Collector<? super T, A, R>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
对元素进行收集,并返回收集后的元素 这是一个终端操作
collection() - Static method in class org.dromara.hutool.core.map.concurrent.Weighers
A weigher where the value is a Collection and its selector is the number of elements.
CollectionConverter - Class in org.dromara.hutool.core.convert.impl
各种集合类转换器
CollectionConverter() - Constructor for class org.dromara.hutool.core.convert.impl.CollectionConverter
 
CollectionOperation<E> - Class in org.dromara.hutool.core.collection
集合运算,包括: 求集合的并集 求集合的唯一并集 求集合的完全并集 求集合的交集 求集合的差集
CollectionOperation(Collection<? extends E>[]) - Constructor for class org.dromara.hutool.core.collection.CollectionOperation
构造
CollectionValueMap<K,V> - Class in org.dromara.hutool.core.map.multi
MultiValueMap的通用实现,可视为值为Collection集合的Map集合。
CollectionValueMap(Supplier<Map<K, Collection<V>>>, SerSupplier<Collection<V>>) - Constructor for class org.dromara.hutool.core.map.multi.CollectionValueMap
创建一个多值映射集合,基于mapFactorycollFactory实现
CollectionValueMap(SerSupplier<Collection<V>>) - Constructor for class org.dromara.hutool.core.map.multi.CollectionValueMap
创建一个多值映射集合,默认基于HashMapcollFactory生成的集合实现
CollectionValueMap() - Constructor for class org.dromara.hutool.core.map.multi.CollectionValueMap
创建一个多值映射集合,默认基于HashMapArrayList实现
CollectionValueMap(Map<K, Collection<V>>) - Constructor for class org.dromara.hutool.core.map.multi.CollectionValueMap
创建一个多值映射集合,默认基于指定Map与指定List类型实现
collectKeys(Collector<K, ?, R>) - Method in class org.dromara.hutool.core.stream.EntryStream
收集键
collectNextElementsToQueue(Collection<T>) - Method in class org.dromara.hutool.core.tree.HierarchyIterator
将下一层级的节点搜集到队列
CollectorUtil - Class in org.dromara.hutool.core.stream
可变的汇聚操作Collector 相关工具封装
CollectorUtil() - Constructor for class org.dromara.hutool.core.stream.CollectorUtil
 
collectValues(Collector<V, ?, R>) - Method in class org.dromara.hutool.core.stream.EntryStream
收集值
CollStreamUtil - Class in org.dromara.hutool.core.collection
集合的stream操作封装
CollStreamUtil() - Constructor for class org.dromara.hutool.core.collection.CollStreamUtil
 
CollUtil - Class in org.dromara.hutool.core.collection
集合相关工具类 此工具方法针对CollectionIterable及其实现类封装的工具。
CollUtil() - Constructor for class org.dromara.hutool.core.collection.CollUtil
 
COLON - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:冒号 ':'
COLON - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:冒号 ":"
columnKeys() - Method in class org.dromara.hutool.core.map.multi.RowKeyTable
 
columnKeys() - Method in interface org.dromara.hutool.core.map.multi.Table
返回所有列的key,列的key如果实现Map是可重复key,则返回对应不去重的List。
columnKeySet() - Method in class org.dromara.hutool.core.map.multi.RowKeyTable
 
columnKeySet() - Method in interface org.dromara.hutool.core.map.multi.Table
返回所有列的key,列的key不可重复
columnMap() - Method in class org.dromara.hutool.core.map.multi.RowKeyTable
 
columnMap() - Method in interface org.dromara.hutool.core.map.multi.Table
返回列-行对应的map
Combination - Class in org.dromara.hutool.core.math
组合,即C(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
Combination(String[]) - Constructor for class org.dromara.hutool.core.math.Combination
组合,即C(n, m)
排列组合相关类 参考:http://cgs1999.iteye.com/blog/2327664
CombinationAnnotatedElement - Class in org.dromara.hutool.core.annotation.elements
组合注解 对JDK的原生注解机制做一个增强,支持类似Spring的组合注解。
CombinationAnnotatedElement(AnnotatedElement) - Constructor for class org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement
构造
CombinationAnnotatedElement(AnnotatedElement, Predicate<Annotation>) - Constructor for class org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement
构造
combinationCount(int, int) - Static method in class org.dromara.hutool.core.math.MathUtil
计算组合数,即C(n, m) = n!
combinationSelect(String[], int) - Static method in class org.dromara.hutool.core.math.MathUtil
组合选择(从列表中选择n个组合)
combine(String, String) - Method in class org.dromara.hutool.core.text.AntPathMatcher
Combine two patterns into a new pattern.
CombinedBloomFilter - Class in org.dromara.hutool.core.text.bloom
组合BloomFilter 实现
1.构建hash算法
2.散列hash映射到数组的bit位置
3.验证
此实现方式可以指定Hash算法
CombinedBloomFilter(BloomFilter...) - Constructor for class org.dromara.hutool.core.text.bloom.CombinedBloomFilter
使用自定的多个过滤器建立BloomFilter
combiner() - Method in class org.dromara.hutool.core.stream.SimpleCollector
 
COMMA - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:逗号 ','
COMMA - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:逗号 ","
COMMENT_PATTERN - Static variable in class org.dromara.hutool.core.xml.XmlConstants
在XML中注释的内容 正则
commonPrefix(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
获取两个字符串的公共前缀
commonPrefix("abb", "acc") // "a"
commonSuffix(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
获取两个字符串的公共后缀
commonSuffix("aba", "cba") // "ba"
comparator - Variable in class org.dromara.hutool.core.comparator.NullComparator
实际比较器
ComparatorChain<E> - Class in org.dromara.hutool.core.comparator
比较器链。
ComparatorChain() - Constructor for class org.dromara.hutool.core.comparator.ComparatorChain
构造空的比较器链,必须至少有一个比较器,否则会在compare时抛出UnsupportedOperationException
ComparatorChain(Comparator<E>) - Constructor for class org.dromara.hutool.core.comparator.ComparatorChain
构造,初始化单一比较器。
ComparatorChain(Comparator<E>, boolean) - Constructor for class org.dromara.hutool.core.comparator.ComparatorChain
构造,初始化单一比较器。
ComparatorChain(List<Comparator<E>>) - Constructor for class org.dromara.hutool.core.comparator.ComparatorChain
构造,使用已有的比较器列表
ComparatorChain(List<Comparator<E>>, BitSet) - Constructor for class org.dromara.hutool.core.comparator.ComparatorChain
构造,使用已有的比较器列表和对应的BitSet
BitSet中的boolean值需与list中的Comparator一一对应,true表示正序,false反序
ComparatorException - Exception in org.dromara.hutool.core.comparator
比较异常
ComparatorException(Throwable) - Constructor for exception org.dromara.hutool.core.comparator.ComparatorException
构造
ComparatorException(String) - Constructor for exception org.dromara.hutool.core.comparator.ComparatorException
构造
ComparatorException(String, Object...) - Constructor for exception org.dromara.hutool.core.comparator.ComparatorException
构造
ComparatorException(String, Throwable) - Constructor for exception org.dromara.hutool.core.comparator.ComparatorException
构造
ComparatorException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.comparator.ComparatorException
构造
ComparatorException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.comparator.ComparatorException
构造
compare(T, T) - Method in class org.dromara.hutool.core.comparator.ArrayIndexedComparator
 
compare(E, E) - Method in class org.dromara.hutool.core.comparator.ComparatorChain
执行比较
按照比较器链的顺序分别比较,如果比较出相等则转向下一个比较器,否则直接返回
compare(char, char) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
比较两个值的大小
compare(double, double) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
比较两个值的大小
compare(int, int) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
比较两个值的大小
compare(long, long) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
比较两个值的大小
compare(short, short) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
比较两个值的大小
compare(byte, byte) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
比较两个值的大小
compare(T, T, Comparator<T>) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
对象比较,比较结果取决于comparator,如果被比较对象为null,传入的comparator对象应处理此情况
如果传入comparator为null,则使用默认规则比较(此时被比较对象必须实现Comparable接口) 一般而言,如果c1 < c2,返回数小于0,c1==c2返回0,c1 > c2 大于0
compare(T, T) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
null安全的对象比较,null对象小于任何对象
compare(T, T, boolean) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
null安全的对象比较
compare(T, T, boolean) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
自然比较两个对象的大小,比较规则如下: 1、如果实现Comparable调用compareTo比较 2、o1.equals(o2)返回0 3、比较hashCode值 4、比较toString值
compare(T, T) - Method in class org.dromara.hutool.core.comparator.IndexedComparator
 
compare(T, T) - Method in class org.dromara.hutool.core.comparator.InstanceComparator
 
compare(T, T) - Method in class org.dromara.hutool.core.comparator.NullComparator
 
compare(CharSequence, CharSequence) - Method in class org.dromara.hutool.core.comparator.StrLengthComparator
 
compare(CharSequence, CharSequence) - Method in class org.dromara.hutool.core.comparator.WindowsExplorerStringComparator
 
compare(Calendar, Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
null安全的Calendar比较,null小于任何日期
compare(Date, Date) - Static method in class org.dromara.hutool.core.date.DateUtil
null安全的日期比较,null对象排在末尾
compare(Date, Date, String) - Static method in class org.dromara.hutool.core.date.DateUtil
null安全的日期比较,并只比较指定格式; null对象排在末尾, 并指定日期格式;
compare(String, String) - Method in class org.dromara.hutool.core.text.AntPathMatcher.AntPatternComparator
Compare two patterns to determine which should match first, i.e. which is the most specific regarding the current path.
compare(CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
比较两个字符串,用于排序 compare(null, null, *) = 0 compare(null , "a", true) < 0 compare(null , "a", false) > 0 compare("a", null, true) > 0 compare("a", null, false) < 0 compare("abc", "abc", *) = 0 compare("a", "b", *) < 0 compare("b", "a", *) > 0 compare("a", "B", *) > 0 compare("ab", "abc", *) < 0
compareIgnoreCase(CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
比较两个字符串,用于排序,大小写不敏感 compareIgnoreCase(null, null, *) = 0 compareIgnoreCase(null , "a", true) < 0 compareIgnoreCase(null , "a", false) > 0 compareIgnoreCase("a", null, true) > 0 compareIgnoreCase("a", null, false) < 0 compareIgnoreCase("abc", "abc", *) = 0 compareIgnoreCase("abc", "ABC", *) = 0 compareIgnoreCase("a", "b", *) < 0 compareIgnoreCase("b", "a", *) > 0 compareIgnoreCase("a", "B", *) < 0 compareIgnoreCase("A", "b", *) < 0 compareIgnoreCase("ab", "abc", *) < 0
compareTo(Number128) - Method in class org.dromara.hutool.core.codec.Number128
 
compareTo(ULID) - Method in class org.dromara.hutool.core.data.id.ULID
 
compareTo(UUID) - Method in class org.dromara.hutool.core.data.id.UUID
将此 UUID 与指定的 UUID 比较。
compareTo(ByteOrderMark) - Method in class org.dromara.hutool.core.io.ByteOrderMark
 
compareTo(DataSize) - Method in class org.dromara.hutool.core.io.unit.DataSize
 
compareTo(MutableBool) - Method in class org.dromara.hutool.core.lang.mutable.MutableBool
比较
compareTo(MutableByte) - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
比较
compareTo(MutableDouble) - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
比较
compareTo(MutableFloat) - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
比较
compareTo(MutableInt) - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
比较
compareTo(MutableLong) - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
比较
compareTo(MutableShort) - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
比较
compareTo(Bound<T>) - Method in interface org.dromara.hutool.core.lang.range.Bound
比较另一边界与当前边界在坐标轴上位置的先后顺序。
compareTo(Version) - Method in class org.dromara.hutool.core.lang.Version
 
compareTo(Money) - Method in class org.dromara.hutool.core.math.Money
货币比较。
compareTo(Node) - Method in interface org.dromara.hutool.core.tree.Node
 
CompareUtil - Class in org.dromara.hutool.core.comparator
比较工具类
CompareUtil() - Constructor for class org.dromara.hutool.core.comparator.CompareUtil
 
compareVersion(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
比较两个版本
null版本排在最小:即: compareVersion(null, "v1") < 0 compareVersion("v1", "v1") = 0 compareVersion(null, null) = 0 compareVersion("v1", null) > 0 compareVersion("1.0.0", "1.0.2") < 0 compareVersion("1.0.2", "1.0.2a") < 0 compareVersion("1.13.0", "1.12.1c") > 0 compareVersion("V0.0.20170102", "V0.0.20170101") > 0
comparingIndexed(Function<? super T, ? extends U>, U[]) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
索引比较器
通过keyExtractor函数,提取对象的某个属性或规则,根据提供的排序数组,完成比较
objs中缺失的,默认排序在前面(atEndIfMiss=false)
comparingIndexed(Function<? super T, ? extends U>, Iterable<U>) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
索引比较器
通过keyExtractor函数,提取对象的某个属性或规则,根据提供的排序数组,完成比较
objs中缺失的,默认排序在前面(atEndIfMiss=false)
comparingIndexed(Function<? super T, ? extends U>, boolean, U...) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
索引比较器
通过keyExtractor函数,提取对象的某个属性或规则,根据提供的排序数组,完成比较
comparingPinyin(Function<T, String>) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
中文比较器
comparingPinyin(Function<T, String>, boolean) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
中文(拼音)比较器
completeUrl(String, String) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
补全相对路径
ComposeFunction<A,B,C> - Class in org.dromara.hutool.core.func
两个函数的叠加函数.
ComposeFunction(Function<B, C>, Function<A, ? extends B>) - Constructor for class org.dromara.hutool.core.func.ComposeFunction
构造
CompositeConverter - Class in org.dromara.hutool.core.convert
复合转换器,融合了所有支持类型和自定义类型的转换规则
在此类中,存放着默认转换器和自定义转换器,默认转换器是Hutool中预定义的一些转换器,自定义转换器存放用户自定的转换器。
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.BiMap
 
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.MapWrapper
 
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.TransMap
 
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class org.dromara.hutool.core.map.BiMap
 
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class org.dromara.hutool.core.map.concurrent.SafeConcurrentHashMap
 
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class org.dromara.hutool.core.map.MapWrapper
 
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class org.dromara.hutool.core.map.TransMap
 
computeIfAbsentForJdk8(Map<K, V>, K, Function<? super K, ? extends V>) - Static method in class org.dromara.hutool.core.map.MapUtil
如果 key 对应的 value 不存在,则使用获取 mappingFunction 重新计算后的值,并保存为该 key 的 value,否则返回 value。
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.BiMap
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.MapWrapper
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.TableMap
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.TransMap
 
ComputeIter<T> - Class in org.dromara.hutool.core.collection.iter
带有计算属性的遍历器
通过继承此抽象遍历器,实现ComputeIter.computeNext()计算下一个节点,即可完成节点遍历
当调用ComputeIter.hasNext()时将此方法产生的节点缓存,直到调用ComputeIter.next()取出
当无下一个节点时,须返回null表示遍历结束
ComputeIter() - Constructor for class org.dromara.hutool.core.collection.iter.ComputeIter
 
computeNext() - Method in class org.dromara.hutool.core.collection.iter.ComputeIter
计算新的节点,通过实现此方法,当调用ComputeIter.hasNext()时将此方法产生的节点缓存,直到调用ComputeIter.next()取出
当无下一个节点时,须返回null表示遍历结束
computeNext() - Method in class org.dromara.hutool.core.collection.iter.LineIter
 
computeNext() - Method in class org.dromara.hutool.core.text.split.SplitIter
 
concat(Stream<? extends T>, Stream<? extends T>) - Static method in class org.dromara.hutool.core.stream.EasyStream
创建一个惰性拼接流,其元素是第一个流的所有元素,然后是第二个流的所有元素。
concat(boolean, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
连接多个字符串为一个
concat(byte[]...) - Static method in class org.dromara.hutool.core.util.ByteUtil
连接多个byte[]
concurrencyLevel(int) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap.Builder
Specifies the estimated number of concurrently updating threads.
concurrencyTest(int, Runnable) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
并发测试
此方法用于测试多线程下执行某些逻辑的并发性能
调用此方法会导致当前线程阻塞。
ConcurrencyTester - Class in org.dromara.hutool.core.thread
高并发测试工具类 ps: //模拟1000个线程并发 ConcurrencyTester ct = new ConcurrencyTester(1000); ct.test(() -> { // 需要并发测试的业务代码 }); Console.log(ct.getInterval()); ct.close();
ConcurrencyTester(int) - Constructor for class org.dromara.hutool.core.thread.ConcurrencyTester
构造
ConcurrentHashSet<E> - Class in org.dromara.hutool.core.collection.set
通过SafeConcurrentHashMap实现的线程安全HashSet
ConcurrentHashSet() - Constructor for class org.dromara.hutool.core.collection.set.ConcurrentHashSet
构造
触发因子为默认的0.75
ConcurrentHashSet(int) - Constructor for class org.dromara.hutool.core.collection.set.ConcurrentHashSet
构造
触发因子为默认的0.75
ConcurrentHashSet(int, float) - Constructor for class org.dromara.hutool.core.collection.set.ConcurrentHashSet
构造
ConcurrentHashSet(int, float, int) - Constructor for class org.dromara.hutool.core.collection.set.ConcurrentHashSet
构造
ConcurrentHashSet(Iterable<E>) - Constructor for class org.dromara.hutool.core.collection.set.ConcurrentHashSet
从已有集合中构造
ConcurrentLinkedHashMap<K,V> - Class in org.dromara.hutool.core.map.concurrent
A hash table supporting full concurrency of retrievals, adjustable expected concurrency for updates, and a maximum capacity to bound the map by.
ConcurrentLinkedHashMap.Builder<K,V> - Class in org.dromara.hutool.core.map.concurrent
A builder that creates ConcurrentLinkedHashMap instances.
ConcurrentLinkedHashSet<E> - Class in org.dromara.hutool.core.collection.set
通过ConcurrentLinkedHashMap实现的线程安全HashSet
ConcurrentLinkedHashSet() - Constructor for class org.dromara.hutool.core.collection.set.ConcurrentLinkedHashSet
构造
ConcurrentLinkedHashSet(int) - Constructor for class org.dromara.hutool.core.collection.set.ConcurrentLinkedHashSet
构造
触发因子为默认的0.75
ConcurrentLinkedHashSet(int, int) - Constructor for class org.dromara.hutool.core.collection.set.ConcurrentLinkedHashSet
构造
ConcurrentLinkedHashSet(Iterable<E>) - Constructor for class org.dromara.hutool.core.collection.set.ConcurrentLinkedHashSet
从已有集合中构造
condition(BiPredicate<Annotation, Method>) - Static method in interface org.dromara.hutool.core.annotation.RepeatableAnnotationCollector
当解析注解属性时,将根据给定的判断条件,确定该属性中是否含有可重复注解。
config - Variable in class org.dromara.hutool.core.thread.ratelimiter.SemaphoreRateLimiter
 
ConsistentHash<T> - Class in org.dromara.hutool.core.codec.hash
ConsistentHash(int, Collection<T>) - Constructor for class org.dromara.hutool.core.codec.hash.ConsistentHash
构造,使用Java默认的Hash算法
ConsistentHash(Hash32<Object>, int, Collection<T>) - Constructor for class org.dromara.hutool.core.codec.hash.ConsistentHash
构造
Console - Class in org.dromara.hutool.core.lang
命令行(控制台)工具方法类
此类主要针对System.outSystem.err 做封装。
Console() - Constructor for class org.dromara.hutool.core.lang.Console
 
CONSOLE_HANDLER - Static variable in class org.dromara.hutool.core.io.file.Tailer
控制台打印的处理类
ConsoleLineHandler() - Constructor for class org.dromara.hutool.core.io.file.Tailer.ConsoleLineHandler
 
ConsoleTable - Class in org.dromara.hutool.core.lang
控制台打印表格工具
ConsoleTable() - Constructor for class org.dromara.hutool.core.lang.ConsoleTable
 
ConstructorLookupFactory - Class in org.dromara.hutool.core.reflect.lookup
jdk8中如果直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup
在调用findSpecial和unreflectSpecial时会出现权限不够问题,抛出"no private access for invokespecial"异常
所以通过反射创建MethodHandles.Lookup解决该问题。
ConstructorLookupFactory() - Constructor for class org.dromara.hutool.core.reflect.lookup.ConstructorLookupFactory
构造
ConstructorUtil - Class in org.dromara.hutool.core.reflect
反射中Constructor构造工具类,包括获取构造类和通过构造实例化对象相关工具
ConstructorUtil() - Constructor for class org.dromara.hutool.core.reflect.ConstructorUtil
 
containLeft(L) - Method in class org.dromara.hutool.core.map.TripleTable
是否含有指定左元素
containMiddle(M) - Method in class org.dromara.hutool.core.map.TripleTable
是否含有指定中元素
containRight(R) - Method in class org.dromara.hutool.core.map.TripleTable
是否含有指定右元素
contains(T[], T) - Static method in class org.dromara.hutool.core.array.ArrayUtil
数组中是否包含指定元素
contains(long[], long) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组中是否包含元素
contains(int[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组中是否包含元素
contains(short[], short) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组中是否包含元素
contains(char[], char) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组中是否包含元素
contains(byte[], byte) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组中是否包含元素
contains(double[], double) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组中是否包含元素
contains(float[], float) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组中是否包含元素
contains(boolean[], boolean) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组中是否包含元素
contains(Collection<?>, Object) - Static method in class org.dromara.hutool.core.collection.CollUtil
判断指定集合是否包含指定值,如果集合为空(null或者空),返回false,否则找到元素返回true
contains(Collection<T>, Predicate<? super T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
自定义函数判断集合是否包含某类值
contains(Object) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
contains(Object) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
contains(Object) - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
contains(Object) - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
contains(Object) - Method in class org.dromara.hutool.core.collection.set.UniqueKeySet
 
contains(Object) - Method in class org.dromara.hutool.core.lang.tuple.Tuple
判断元组中是否包含某元素
contains(R, C) - Method in interface org.dromara.hutool.core.map.multi.Table
是否包含指定行列的映射
行和列任意一个不存在都会返回false,如果行和列都存在,值为null,也会返回true
contains(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
指定内容中是否有表达式匹配的内容
contains(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
指定内容中是否有表达式匹配的内容
contains(String) - Method in class org.dromara.hutool.core.text.bloom.AbstractFilter
 
contains(String) - Method in interface org.dromara.hutool.core.text.bloom.BloomFilter
 
contains(String) - Method in class org.dromara.hutool.core.text.bloom.CombinedBloomFilter
是否可能包含此字符串,此处存在误判
contains(CharSequence, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定字符是否在字符串中出现过
contains(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定字符串是否在字符串中出现过
contains(int) - Method in enum org.dromara.hutool.core.text.placeholder.StrTemplate.Feature
是否为当前策略
contains(Class<E>, String) - Static method in class org.dromara.hutool.core.util.EnumUtil
判断指定名称的枚举是否存在
contains(Object, Object) - Static method in class org.dromara.hutool.core.util.ObjUtil
检查obj中是否包含element,若objnull,则直接返回false
containsAll(T[], T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
数组中是否包含所有指定元素
containsAll(Collection<?>, Collection<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
集合1中是否包含集合2中所有的元素。
containsAll(Collection<?>) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
containsAll(Collection<?>) - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
containsAll(Collection<?>) - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
containsAll(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
检查指定字符串中是否含给定的所有字符串
containsAny(T[], T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
数组中是否包含指定元素中的任意一个
containsAny(Collection<?>, Collection<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
其中一个集合在另一个集合中是否至少包含一个元素,即是两个集合是否至少有一个共同的元素
containsAny(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串
containsAny(CharSequence, char...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符列表中的任意一个字符
containsAnyIgnoreCase(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串
忽略大小写
containsAssociation(T, T) - Method in class org.dromara.hutool.core.map.multi.Graph
两节点是否存在直接或间接的关联
containsBlank(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串是否包含空白符(空白符包括空格、制表符、全角空格和不间断空格)
如果给定字符串为null或者"",则返回false
containsChild(K) - Method in interface org.dromara.hutool.core.map.TreeEntry
获取以当前节点作为根节点的树结构,然后确认该树结构中当前节点是否存在指定子节点
containsChildNode(K, K) - Method in interface org.dromara.hutool.core.map.ForestMap
判断以该父节点作为根节点的树结构中是否具有指定子节点
containsColumn(C) - Method in class org.dromara.hutool.core.map.multi.RowKeyTable
 
containsColumn(C) - Method in interface org.dromara.hutool.core.map.multi.Table
列是否存在
containsEdge(T, T) - Method in class org.dromara.hutool.core.map.multi.Graph
是否存在边
containsIgnoreCase(CharSequence[], CharSequence) - Static method in class org.dromara.hutool.core.array.ArrayUtil
数组中是否包含元素,忽略大小写
containsIgnoreCase(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
是否包含特定字符,忽略大小写,如果给定两个参数都为null,返回true
containsInvalid(String) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
文件名中是否包含在Windows下不支持的非法字符,包括: \ / : * ?
containsKey(String) - Method in class org.dromara.hutool.core.bean.copier.provider.BeanValueProvider
 
containsKey(String) - Method in class org.dromara.hutool.core.bean.copier.provider.DynaBeanValueProvider
 
containsKey(String) - Method in class org.dromara.hutool.core.bean.copier.provider.MapValueProvider
 
containsKey(K) - Method in interface org.dromara.hutool.core.bean.copier.ValueProvider
是否包含指定KEY,如果不包含则忽略注入
此接口方法单独需要实现的意义在于:有些值提供者(比如Map)key是存在的,但是value为null,此时如果需要注入这个null,需要根据此方法判断
containsKey(K) - Method in interface org.dromara.hutool.core.cache.Cache
是否包含key
containsKey(K) - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
containsKey(K) - Method in class org.dromara.hutool.core.cache.impl.ReentrantCache
 
containsKey(K) - Method in class org.dromara.hutool.core.cache.impl.StampedCache
 
containsKey(K) - Method in class org.dromara.hutool.core.cache.SimpleCache
是否包含键
containsKey(Object) - Method in class org.dromara.hutool.core.map.BeanMap
 
containsKey(Object) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
containsKey(Object) - Method in class org.dromara.hutool.core.map.LinkedForestMap
当前实例中是否存在key对应的节点
containsKey(Object) - Method in class org.dromara.hutool.core.map.MapProxy
 
containsKey(Object) - Method in class org.dromara.hutool.core.map.MapWrapper
 
containsKey(Object) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
containsKey(Object) - Method in class org.dromara.hutool.core.map.TableMap
 
containsKey(Object) - Method in class org.dromara.hutool.core.map.TransMap
 
containsOnly(CharSequence, char...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
检查指定字符串中是否只包含给定的字符
这里的containsOnly并不是必须全部给定的testChars都需要有,而是一个子集。
containsParent(K) - Method in interface org.dromara.hutool.core.map.TreeEntry
获取以当前节点作为叶子节点的树结构,然后确认该树结构中当前节点是否存在指定父节点
containsParentNode(K, K) - Method in interface org.dromara.hutool.core.map.ForestMap
获取以指定节点作为叶子节点的树结构,然后确认该树结构中当前节点是否存在指定父节点
containsProp(String) - Method in class org.dromara.hutool.core.bean.DynaBean
检查是否有指定名称的bean属性
containsRow(R) - Method in interface org.dromara.hutool.core.map.multi.Table
行是否存在
containsSensitive(String) - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
是否包含敏感词
containsValue(Object) - Method in class org.dromara.hutool.core.map.BeanMap
 
containsValue(Object) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
containsValue(Object) - Method in class org.dromara.hutool.core.map.LinkedForestMap
当前实例中是否存在对应的TreeEntry实例
containsValue(Object) - Method in class org.dromara.hutool.core.map.MapProxy
 
containsValue(Object) - Method in class org.dromara.hutool.core.map.MapWrapper
 
containsValue(V) - Method in interface org.dromara.hutool.core.map.multi.Table
指定值是否存在
containsValue(Object) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
containsValue(Object) - Method in class org.dromara.hutool.core.map.TableMap
 
contentEquals(File, File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
比较两个文件内容是否相同
首先比较长度,长度一致再比较内容
此方法来自Apache Commons io
contentEquals(InputStream, InputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
对比两个流内容是否相同
内部会转换流为 BufferedInputStream
contentEquals(Reader, Reader) - Static method in class org.dromara.hutool.core.io.IoUtil
对比两个Reader的内容是否一致
内部会转换流为 BufferedInputStream
contentEqualsIgnoreEOL(File, File, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
比较两个文件内容是否相同
首先比较长度,长度一致再比较内容,比较内容采用按行读取,每行比较
此方法来自Apache Commons io
contentEqualsIgnoreEOL(Reader, Reader) - Static method in class org.dromara.hutool.core.io.IoUtil
对比两个流内容是否相同,忽略EOL字符
内部会转换流为 BufferedInputStream
conversion(String) - Static method in class org.dromara.hutool.core.math.Calculator
计算表达式的值
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.AbstractConverter
 
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.CompositeConverter
转换值为指定类型
convert(Type, Object, T) - Method in class org.dromara.hutool.core.convert.CompositeConverter
转换值为指定类型
自定义转换器优先
convert(Type, Object, T, boolean) - Method in class org.dromara.hutool.core.convert.CompositeConverter
转换值为指定类型
convert(Type, Object) - Method in interface org.dromara.hutool.core.convert.Converter
转换为指定类型
如果类型无法确定,将读取默认值的类型做为目标类型
convert(Class<T>, Object) - Method in interface org.dromara.hutool.core.convert.Converter
转换为指定类型
如果类型无法确定,将读取默认值的类型做为目标类型
convert(Type, Object, T) - Method in interface org.dromara.hutool.core.convert.Converter
转换值为指定类型,可选是否不抛异常转换
当转换失败时返回默认值
convert(Class<T>, Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换值为指定类型
convert(TypeReference<T>, Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换值为指定类型
convert(Type, Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换值为指定类型
convert(Class<T>, Object, T) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换值为指定类型
convert(Type, Object, T) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换值为指定类型
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.impl.BeanConverter
 
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.impl.CastConverter
 
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.impl.CollectionConverter
 
convert(Type, Type, Object) - Method in class org.dromara.hutool.core.convert.impl.CollectionConverter
转换
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.impl.EntryConverter
 
convert(Type, Type, Type, Object) - Method in class org.dromara.hutool.core.convert.impl.EntryConverter
转换对象为指定键值类型的指定类型Map
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.impl.KBeanConverter
 
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.impl.MapConverter
 
convert(Type, Type, Type, Object) - Method in class org.dromara.hutool.core.convert.impl.MapConverter
转换对象为指定键值类型的指定类型Map
convert(Object, Class<? extends Number>, Function<Object, String>) - Static method in class org.dromara.hutool.core.convert.impl.NumberConverter
转换对象为数字,支持的对象包括: Number对象 Boolean byte[] String
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.impl.PairConverter
 
convert(Type, Type, Object) - Method in class org.dromara.hutool.core.convert.impl.PairConverter
转换对象为指定键值类型的指定类型Map
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.impl.TripleConverter
 
convert(Type, Type, Type, Object) - Method in class org.dromara.hutool.core.convert.impl.TripleConverter
转换对象为指定键值类型的指定类型Map
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.impl.TupleConverter
 
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.RegisterConverter
 
convert(Type, Object) - Method in class org.dromara.hutool.core.convert.SpecialConverter
 
convert(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.SpecialConverter
转换值
convert(String, String, String) - Static method in class org.dromara.hutool.core.util.CharsetUtil
转换字符串的字符集编码
convert(String, Charset, Charset) - Static method in class org.dromara.hutool.core.util.CharsetUtil
转换字符串的字符集编码
当以错误的编码读取为字符串时,打印字符串将出现乱码。
convert(File, Charset, Charset) - Static method in class org.dromara.hutool.core.util.CharsetUtil
转换文件编码
此方法用于转换文件编码,读取的文件实际编码必须与指定的srcCharset编码一致,否则导致乱码
convert15To18(String) - Static method in class org.dromara.hutool.core.data.CIN
将15位身份证号码转换为18位
15位身份证号码遵循GB 11643-1989标准。
convert15To18(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
将15位身份证号码转换为18位
15位身份证号码遵循GB 11643-1989标准。
convert18To15(String) - Static method in class org.dromara.hutool.core.data.CIN
将18位身份证号码转换为15位
convert18To15(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
将18位身份证号码转换为15位
convertByClassName(String, Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换值为指定类型,类型采用字符串表示
convertCharset(String, String, String) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
给定字符串转换字符编码
如果参数为空,则返回原字符串,不报错。
convertCharset(File, Charset, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
转换文件编码
此方法用于转换文件编码,读取的文件实际编码必须与指定的srcCharset编码一致,否则导致乱码
converter - Variable in class org.dromara.hutool.core.bean.copier.CopyOptions
自定义类型转换器,默认使用全局万能转换器转换
Converter - Interface in org.dromara.hutool.core.convert
类型转换接口函数,根据给定的值和目标类型,由用户自定义转换规则。
ConverterWithRoot - Class in org.dromara.hutool.core.convert
带根的转换器
在嵌套对象转换中,如果涉及子对象的转换,使用根转换器转换
ConverterWithRoot(Converter) - Constructor for class org.dromara.hutool.core.convert.ConverterWithRoot
构造
ConvertException - Exception in org.dromara.hutool.core.convert
转换异常
ConvertException(Throwable) - Constructor for exception org.dromara.hutool.core.convert.ConvertException
构造
ConvertException(String) - Constructor for exception org.dromara.hutool.core.convert.ConvertException
构造
ConvertException(String, Object...) - Constructor for exception org.dromara.hutool.core.convert.ConvertException
构造
ConvertException(String, Throwable) - Constructor for exception org.dromara.hutool.core.convert.ConvertException
构造
ConvertException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.convert.ConvertException
构造
ConvertException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.convert.ConvertException
构造
convertField(Type, Object) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
使用自定义转换器转换字段值
如果自定义转换器为null,则返回原值。
convertFromOrSuppressedThrowable(Throwable, Class<T>) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
转化指定异常为来自或者包含指定异常
convertFromOrSuppressedThrowable(Throwable, Class<T>, boolean) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
转化指定异常为来自或者包含指定异常
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.AbstractConverter
内部转换器,被 AbstractConverter.convert(Type, Object) 调用,实现基本转换逻辑
内部转换器转换后如果转换失败可以做如下操作,处理结果都为返回默认值: 1、返回 null 2、抛出一个RuntimeException异常
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.ArrayConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.AtomicBooleanConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.AtomicIntegerArrayConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.AtomicLongArrayConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.AtomicReferenceConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.BooleanConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.CalendarConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.CharacterConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.CharsetConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.ClassConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.CurrencyConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.DateConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.DurationConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.EmptyBeanConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.EnumConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.LocaleConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.NumberConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.OptConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.OptionalConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.PathConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.PeriodConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.PrimitiveConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.RecordConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.ReferenceConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.StackTraceElementConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.StringConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.TemporalAccessorConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.TimeZoneConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.URIConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.URLConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.UUIDConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.XMLGregorianCalendarConverter
 
convertInternal(Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.ZoneIdConverter
 
convertLineSeparator(File, Charset, LineSeparator) - Static method in class org.dromara.hutool.core.io.file.FileUtil
转换换行符
将给定文件的换行符转换为指定换行符
convertQuietly(Type, Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换值为指定类型,不抛异常转换
当转换失败时返回null
convertQuietly(Type, Object, T) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换值为指定类型,不抛异常转换
当转换失败时返回默认值
convertTime(long, TimeUnit, TimeUnit) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换时间单位
convertToStr(Object) - Method in class org.dromara.hutool.core.convert.AbstractConverter
值转为String,用于内部转换中需要使用String中转的情况
转换规则为: 1、字符串类型将被强转 2、数组将被转换为逗号分隔的字符串 3、其它类型将调用默认的toString()方法
convertToStr(Object) - Method in class org.dromara.hutool.core.convert.impl.NumberConverter
 
ConvertUtil - Class in org.dromara.hutool.core.convert
类型转换器
ConvertUtil() - Constructor for class org.dromara.hutool.core.convert.ConvertUtil
 
convertWithCheck(Type, Object, T, boolean) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换值为指定类型,可选是否不抛异常转换
当转换失败时返回默认值
Coordinate(double, double) - Constructor for class org.dromara.hutool.core.data.CoordinateUtil.Coordinate
构造
CoordinateUtil - Class in org.dromara.hutool.core.data
坐标系转换相关工具类,主流坐标系包括:
WGS84坐标系:即地球坐标系,中国外谷歌地图 GCJ02坐标系:即火星坐标系,高德、腾讯、阿里等使用 BD09坐标系:即百度坐标系,GCJ02坐标系经加密后的坐标系。
CoordinateUtil() - Constructor for class org.dromara.hutool.core.data.CoordinateUtil
 
CoordinateUtil.Coordinate - Class in org.dromara.hutool.core.data
坐标经纬度
CopiedIter<E> - Class in org.dromara.hutool.core.collection.iter
复制 Iterator
为了解决并发情况下Iterator遍历导致的问题(当Iterator被修改会抛出ConcurrentModificationException) ,故使用复制原Iterator的方式解决此问题。
CopiedIter(Iterator<E>) - Constructor for class org.dromara.hutool.core.collection.iter.CopiedIter
构造,当iterator为空时,默认复制一个空迭代器
Copier<T> - Interface in org.dromara.hutool.core.lang.copier
拷贝接口
copy(Object, T) - Static method in class org.dromara.hutool.core.array.ArrayUtil
包装 System.arraycopy(Object, int, Object, int, int)
数组复制,源数组和目标数组都是从位置0开始复制,复制长度为源数组的长度
copy(Object, T, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
包装 System.arraycopy(Object, int, Object, int, int)
数组复制,源数组和目标数组都是从位置0开始复制
copy(Object, int, T, int, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
copy() - Method in class org.dromara.hutool.core.bean.copier.BeanCopier
 
copy() - Method in class org.dromara.hutool.core.bean.copier.BeanToBeanCopier
 
copy() - Method in class org.dromara.hutool.core.bean.copier.BeanToMapCopier
 
copy() - Method in class org.dromara.hutool.core.bean.copier.MapToBeanCopier
 
copy() - Method in class org.dromara.hutool.core.bean.copier.MapToMapCopier
 
copy() - Method in class org.dromara.hutool.core.bean.copier.ValueProviderToBeanCopier
 
copy(ByteBuffer, int, int) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
拷贝到一个新的ByteBuffer
copy(ByteBuffer, ByteBuffer) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
拷贝ByteBuffer
copy(ByteBuffer, ByteBuffer, int) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
拷贝ByteBuffer
copy(ByteBuffer, int, ByteBuffer, int, int) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
拷贝ByteBuffer
copy(ReadableByteChannel, WritableByteChannel) - Method in class org.dromara.hutool.core.io.copy.ChannelCopier
 
copy(FileInputStream, FileOutputStream) - Method in class org.dromara.hutool.core.io.copy.FileChannelCopier
拷贝文件流,使用NIO
copy(FileChannel, FileChannel) - Method in class org.dromara.hutool.core.io.copy.FileChannelCopier
 
copy(S, T) - Method in class org.dromara.hutool.core.io.copy.IoCopier
执行拷贝
copy(Reader, Writer) - Method in class org.dromara.hutool.core.io.copy.ReaderWriterCopier
 
copy(InputStream, OutputStream) - Method in class org.dromara.hutool.core.io.copy.StreamCopier
 
copy(Resource, File, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
拷贝资源到目标文件 如果src为FileResource,调用文件拷贝。
copy(InputStream, File, StandardCopyOption...) - Static method in class org.dromara.hutool.core.io.file.FileUtil
通过JDK7+的 Files#copy(InputStream, Path, CopyOption...)
copy(File, OutputStream) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将文件写入流中,此方法不会关闭输出流
copy(String, String, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
复制文件或目录
如果目标文件为目录,则将源文件以相同文件名拷贝到目标目录
copy(File, File, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
复制文件或目录
情况如下: 1、src和dest都为目录,则将src目录及其目录下所有文件目录拷贝到dest下 2、src和dest都为文件,直接复制,名字为dest 3、src为文件,dest为目录,将src拷贝到dest目录下
copy() - Method in class org.dromara.hutool.core.io.file.PathCopier
复制src到target中 src路径和target路径相同时,不执行操作 src为文件,target为已存在目录,则拷贝到目录下,文件名不变。
copy(Resource, Path, CopyOption...) - Static method in class org.dromara.hutool.core.io.file.PathUtil
拷贝资源到目标文件 如果src为FileResource,调用文件拷贝。
copy(InputStream, Path, CopyOption...) - Static method in class org.dromara.hutool.core.io.file.PathUtil
copy(Path, OutputStream) - Static method in class org.dromara.hutool.core.io.file.PathUtil
copy(Path, Path, CopyOption...) - Static method in class org.dromara.hutool.core.io.file.PathUtil
复制src到target中 src路径和target路径相同时,不执行操作 src为文件,target为已存在目录,则拷贝到目录下,文件名不变。
copy(Reader, Writer) - Static method in class org.dromara.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中 使用默认缓存大小,拷贝后不关闭Reader
copy(Reader, Writer, int) - Static method in class org.dromara.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
copy(Reader, Writer, int, StreamProgress) - Static method in class org.dromara.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
copy(Reader, Writer, int, long, StreamProgress) - Static method in class org.dromara.hutool.core.io.IoUtil
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
copy(InputStream, OutputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
拷贝流,使用默认Buffer大小,拷贝后不关闭流
copy(InputStream, OutputStream, int) - Static method in class org.dromara.hutool.core.io.IoUtil
拷贝流,拷贝后不关闭流
copy(InputStream, OutputStream, int, StreamProgress) - Static method in class org.dromara.hutool.core.io.IoUtil
拷贝流,拷贝后不关闭流
copy(InputStream, OutputStream, int, long, StreamProgress) - Static method in class org.dromara.hutool.core.io.IoUtil
拷贝流,拷贝后不关闭流
copy(FileInputStream, FileOutputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
拷贝文件流,使用NIO
copy(FileChannel, FileChannel) - Static method in class org.dromara.hutool.core.io.NioUtil
拷贝文件Channel,使用NIO,拷贝后不会关闭channel
copy(ReadableByteChannel, WritableByteChannel) - Static method in class org.dromara.hutool.core.io.NioUtil
拷贝流,使用NIO,不会关闭channel
copy(ReadableByteChannel, WritableByteChannel, int) - Static method in class org.dromara.hutool.core.io.NioUtil
拷贝流,使用NIO,不会关闭channel
copy(ReadableByteChannel, WritableByteChannel, int, long, StreamProgress) - Static method in class org.dromara.hutool.core.io.NioUtil
拷贝流,使用NIO,不会关闭channel
copy() - Method in interface org.dromara.hutool.core.lang.copier.Copier
执行拷贝
copyByNIO(InputStream, OutputStream, int, StreamProgress) - Static method in class org.dromara.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) - Static method in class org.dromara.hutool.core.io.NioUtil
拷贝流
本方法不会关闭流
copyContent(File, File, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
复制文件或目录
情况如下: 1、src和dest都为目录,则将src下所有文件目录拷贝到dest下 2、src和dest都为文件,直接复制,名字为dest 3、src为文件,dest为目录,将src拷贝到dest目录下
copyContent() - Method in class org.dromara.hutool.core.io.file.PathCopier
复制src的内容到target中 src路径和target路径相同时,不执行操作 src为文件,target为已存在目录,则拷贝到目录下,文件名不变。
copyContent(Path, Path, CopyOption...) - Static method in class org.dromara.hutool.core.io.file.PathUtil
复制src的内容到target中 src路径和target路径相同时,不执行操作 src为文件,target为已存在目录,则拷贝到目录下,文件名不变。
copyOf(Iterator<E>) - Static method in class org.dromara.hutool.core.collection.iter.CopiedIter
根据已有Iterator,返回新的CopiedIter
copyOptions - Variable in class org.dromara.hutool.core.bean.copier.AbsCopier
拷贝选项
CopyOptions - Class in org.dromara.hutool.core.bean.copier
属性拷贝选项
包括:
1、限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
2、是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
3、忽略的属性列表,设置一个属性列表,不拷贝这些属性值
CopyOptions() - Constructor for class org.dromara.hutool.core.bean.copier.CopyOptions
构造拷贝选项
CopyOptions(Class<?>, boolean, String...) - Constructor for class org.dromara.hutool.core.bean.copier.CopyOptions
构造拷贝选项
copyPredicate - Variable in class org.dromara.hutool.core.lang.copier.SrcToTargetCopier
拷贝过滤器,可以过滤掉不需要拷贝的源
copyProperties(Object, Class<T>, String...) - Static method in class org.dromara.hutool.core.bean.BeanUtil
按照Bean对象属性创建对应的Class对象,并忽略某些属性
copyProperties(Object, T, String...) - Static method in class org.dromara.hutool.core.bean.BeanUtil
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
copyProperties(Object, T, boolean) - Static method in class org.dromara.hutool.core.bean.BeanUtil
复制Bean对象属性
copyProperties(Object, T, CopyOptions) - Static method in class org.dromara.hutool.core.bean.BeanUtil
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
copyTo(OutputStream, StreamProgress) - Method in class org.dromara.hutool.core.io.stream.SyncInputStream
将流的内容拷贝到输出流
copyToList(Collection<?>, Class<T>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
复制集合中的Bean属性
此方法遍历集合中每个Bean,复制其属性后加入一个新的List中。
copyToList(Collection<?>, Class<T>, CopyOptions) - Static method in class org.dromara.hutool.core.bean.BeanUtil
复制集合中的Bean属性
此方法遍历集合中每个Bean,复制其属性后加入一个新的List中。
CopyVisitor - Class in org.dromara.hutool.core.io.file.visitor
文件拷贝的FileVisitor实现,用于递归遍历拷贝目录,此类非线程安全
此类在遍历源目录并复制过程中会自动创建目标目录中不存在的上级目录。
CopyVisitor(Path, Path, CopyOption...) - Constructor for class org.dromara.hutool.core.io.file.visitor.CopyVisitor
构造
CORRECTION_PARAM - Static variable in class org.dromara.hutool.core.data.CoordinateUtil
修正参数(偏率ee)
count(Iterable<T>, Predicate<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
集合中匹配规则的数量
count - Variable in class org.dromara.hutool.core.io.copy.IoCopier
拷贝总数
count(int) - Static method in class org.dromara.hutool.core.math.Arrangement
计算排列数,即A(n, n) = n!
count(int, int) - Static method in class org.dromara.hutool.core.math.Arrangement
计算排列数,即A(n, m) = n!
count(int, int) - Static method in class org.dromara.hutool.core.math.Combination
计算组合数,即C(n, m) = n!
count(int, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
计算等份个数 (每份2)12 34 57 (每份3)123 456 7 (每份4)1234 567
count(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
计算指定字符串中,匹配pattern的个数
count(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
计算指定字符串中,匹配pattern的个数
count() - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回流元素个数
count(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
统计指定内容中包含指定字符串的数量
参数为 null 或者 "" 返回 0.
count(CharSequence, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
统计指定内容中包含指定字符的数量
count() - Method in class org.dromara.hutool.core.thread.SyncFinisher
剩余任务数
countAll(int) - Static method in class org.dromara.hutool.core.math.Arrangement
计算排列总数,即A(n, 1) + A(n, 2) + A(n, 3)...
countAll(int) - Static method in class org.dromara.hutool.core.math.Combination
计算组合总数,即C(n, 1) + C(n, 2) + C(n, 3)...
countByIpRange(String, String) - Static method in class org.dromara.hutool.core.net.Ipv4Util
获得 指定区间内的 ip数量
countByIpRange(long, long) - Static method in class org.dromara.hutool.core.net.Ipv4Util
获得 指定区间内的 ip数量
countByMaskBit(int, boolean) - Static method in class org.dromara.hutool.core.net.Ipv4Util
获取 子网内的 地址总数
countMap(Iterable<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
根据集合返回一个元素计数的 Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
countMap(Iterator<T>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
根据集合返回一个元素计数的 Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
CPU_ENDIAN - Static variable in class org.dromara.hutool.core.util.ByteUtil
CPU的字节序
CR - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:回车符 '\r'
CR - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:回车符 "\r"
解释:该字符常用于表示 Linux 系统和 MacOS 系统下的文本换行
CRC16 - Class in org.dromara.hutool.core.io.checksum
CRC16 循环冗余校验码(Cyclic Redundancy Check)实现,默认IBM算法
CRC16() - Constructor for class org.dromara.hutool.core.io.checksum.CRC16
构造
CRC16(CRC16Checksum) - Constructor for class org.dromara.hutool.core.io.checksum.CRC16
构造
CRC16Ansi - Class in org.dromara.hutool.core.io.checksum.crc16
CRC16_ANSI
CRC16Ansi() - Constructor for class org.dromara.hutool.core.io.checksum.crc16.CRC16Ansi
 
CRC16CCITT - Class in org.dromara.hutool.core.io.checksum.crc16
CRC16_CCITT:多项式x16+x12+x5+1(0x1021),初始值0x0000,低位在前,高位在后,结果与0x0000异或 0x8408是0x1021按位颠倒后的结果。
CRC16CCITT() - Constructor for class org.dromara.hutool.core.io.checksum.crc16.CRC16CCITT
 
CRC16CCITTFalse - Class in org.dromara.hutool.core.io.checksum.crc16
CRC16_CCITT_FALSE:多项式x16+x12+x5+1(0x1021),初始值0xFFFF,低位在后,高位在前,结果与0x0000异或
CRC16CCITTFalse() - Constructor for class org.dromara.hutool.core.io.checksum.crc16.CRC16CCITTFalse
 
CRC16Checksum - Class in org.dromara.hutool.core.io.checksum.crc16
CRC16 Checksum,用于提供多种CRC16算法的通用实现
通过继承此类,重写update和reset完成相应算法。
CRC16Checksum() - Constructor for class org.dromara.hutool.core.io.checksum.crc16.CRC16Checksum
构造
CRC16DNP - Class in org.dromara.hutool.core.io.checksum.crc16
CRC16_DNP:多项式x16+x13+x12+x11+x10+x8+x6+x5+x2+1(0x3D65),初始值0x0000,低位在前,高位在后,结果与0xFFFF异或 0xA6BC是0x3D65按位颠倒后的结果
CRC16DNP() - Constructor for class org.dromara.hutool.core.io.checksum.crc16.CRC16DNP
 
CRC16IBM - Class in org.dromara.hutool.core.io.checksum.crc16
CRC16_IBM:多项式x16+x15+x2+1(0x8005),初始值0x0000,低位在前,高位在后,结果与0x0000异或 0xA001是0x8005按位颠倒后的结果
CRC16IBM() - Constructor for class org.dromara.hutool.core.io.checksum.crc16.CRC16IBM
 
CRC16Maxim - Class in org.dromara.hutool.core.io.checksum.crc16
CRC16_MAXIM:多项式x16+x15+x2+1(0x8005),初始值0x0000,低位在前,高位在后,结果与0xFFFF异或 0xA001是0x8005按位颠倒后的结果
CRC16Maxim() - Constructor for class org.dromara.hutool.core.io.checksum.crc16.CRC16Maxim
 
CRC16Modbus - Class in org.dromara.hutool.core.io.checksum.crc16
CRC-16 (Modbus) CRC16_MODBUS:多项式x16+x15+x2+1(0x8005),初始值0xFFFF,低位在前,高位在后,结果与0x0000异或 0xA001是0x8005按位颠倒后的结果
CRC16Modbus() - Constructor for class org.dromara.hutool.core.io.checksum.crc16.CRC16Modbus
 
CRC16USB - Class in org.dromara.hutool.core.io.checksum.crc16
CRC16_USB:多项式x16+x15+x2+1(0x8005),初始值0xFFFF,低位在前,高位在后,结果与0xFFFF异或 0xA001是0x8005按位颠倒后的结果
CRC16USB() - Constructor for class org.dromara.hutool.core.io.checksum.crc16.CRC16USB
 
CRC16X25 - Class in org.dromara.hutool.core.io.checksum.crc16
CRC16_X25:多项式x16+x12+x5+1(0x1021),初始值0xffff,低位在前,高位在后,结果与0xFFFF异或 0x8408是0x1021按位颠倒后的结果。
CRC16X25() - Constructor for class org.dromara.hutool.core.io.checksum.crc16.CRC16X25
 
CRC16XModem - Class in org.dromara.hutool.core.io.checksum.crc16
CRC-CCITT (XModem) CRC16_XMODEM:多项式x16+x12+x5+1(0x1021),初始值0x0000,低位在后,高位在前,结果与0x0000异或
CRC16XModem() - Constructor for class org.dromara.hutool.core.io.checksum.crc16.CRC16XModem
 
CRC8 - Class in org.dromara.hutool.core.io.checksum
CRC8 循环冗余校验码(Cyclic Redundancy Check)实现
代码来自:https://github.com/BBSc0der
CRC8(int, short) - Constructor for class org.dromara.hutool.core.io.checksum.CRC8
构造
create(Class<? extends A>, AnnotationMapping<A>) - Static method in class org.dromara.hutool.core.annotation.AnnotationMappingProxy
创建一个代理对象
create(AnnotatedElement, BiFunction<A, Annotation, A>) - Static method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
获取AnnotatedElement上的注解结构,该方法会针对相同的AnnotatedElement缓存映射对象
create(AnnotatedElement, BiFunction<A, Annotation, A>) - Static method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
获取AnnotatedElement上的注解结构,该方法会针对相同的AnnotatedElement缓存映射对象
create(RepeatableAnnotationCollector, AnnotatedElement, BiFunction<A, Annotation, A>) - Static method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
获取AnnotatedElement上的注解结构,该方法会针对相同的AnnotatedElement缓存映射对象
create(Annotation, boolean) - Static method in class org.dromara.hutool.core.annotation.GenericAnnotationMapping
创建一个通用注解包装类
create(Annotation, boolean) - Static method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
构建一个注解映射对象
create(ResolvedAnnotationMapping, Annotation, boolean) - Static method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
构建一个注解映射对象,子注解及子注解的子注解们的属性会覆写注解对象的中的同名同名同类型属性, 当一个属性被多个子注解覆写时,优先选择离根注解最接近的注解中的属性用于覆写,
create(Object, BeanPath<Object>) - Method in class org.dromara.hutool.core.bean.path.DefaultNodeBeanFactory
 
create(T, BeanPath<T>) - Method in interface org.dromara.hutool.core.bean.path.NodeBeanFactory
创建Bean
beanPath对应当前的路径,即如果父对象为:a,则beanPath为:a.b,则创建的Bean为:a.b.c对应的Bean对象
给定的a一定存在,但是本路径中b对应的Bean不存在,则创建的对象是b的值,这个值用c表示
create(Class<?>, Class<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
创建新的集合对象,返回具体的泛型集合
create(Class<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
创建新的集合对象,返回具体的泛型集合
create() - Method in interface org.dromara.hutool.core.pool.ObjectFactory
创建对象
create() - Method in class org.dromara.hutool.core.reflect.creator.DefaultObjectCreator
 
create() - Method in interface org.dromara.hutool.core.reflect.creator.ObjectCreator
创建对象
create() - Method in class org.dromara.hutool.core.reflect.creator.PossibleObjectCreator
 
create(Spliterator<T>, Predicate<? super T>) - Static method in class org.dromara.hutool.core.stream.spliterators.TakeWhileSpliterator
 
createAddress(String, int) - Static method in class org.dromara.hutool.core.net.NetUtil
createBlockingQueue(PartitionPoolConfig) - Method in class org.dromara.hutool.core.pool.partition.PartitionObjectPool
创建阻塞队列,默认为ArrayBlockingQueue
如果需要自定义队列类型,子类重写此方法
createCollection() - Method in class org.dromara.hutool.core.map.multi.AbsCollValueMap
创建集合
此方法用于创建在putValue后追加值所在的集合,子类实现此方法创建不同类型的集合
createCollection() - Method in class org.dromara.hutool.core.map.multi.CollectionValueMap
 
createCollection() - Method in class org.dromara.hutool.core.map.multi.ListValueMap
 
createCollection() - Method in class org.dromara.hutool.core.map.multi.SetValueMap
 
createDocumentBuilder(boolean) - Static method in class org.dromara.hutool.core.xml.DocumentBuilderUtil
创建 DocumentBuilder
createDocumentBuilderFactory(boolean) - Static method in class org.dromara.hutool.core.xml.DocumentBuilderUtil
创建DocumentBuilderFactory 默认使用"com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"
createDynaBean(Object) - Static method in class org.dromara.hutool.core.bean.BeanUtil
创建动态Bean
createEmptyNode(E) - Static method in class org.dromara.hutool.core.tree.TreeUtil
获取所有父节点ID列表 比如有个人在研发1部,他上面有研发部,接着上面有技术中心
parent = parent.getParent();) { if(null !
createFactory(boolean, boolean) - Static method in class org.dromara.hutool.core.xml.SAXParserFactoryUtil
createFormatter(String) - Static method in class org.dromara.hutool.core.date.DatePattern
创建并为 DateTimeFormatter 赋予默认时区和位置信息,默认值为系统默认值。
createInitialContext(Map<String, String>) - Static method in class org.dromara.hutool.core.util.JNDIUtil
createInitialDirContext(Map<String, String>) - Static method in class org.dromara.hutool.core.util.JNDIUtil
createMap(Class<?>) - Static method in class org.dromara.hutool.core.map.MapUtil
创建Map
传入抽象MapAbstractMapMap类将默认创建HashMap
createMap(Class<?>, Supplier<Map<K, V>>) - Static method in class org.dromara.hutool.core.map.MapUtil
创建Map
传入抽象MapAbstractMapMap类将默认创建HashMap
createNode(String) - Static method in class org.dromara.hutool.core.bean.path.node.NodeFactory
根据表达式创建对应的节点
createParameterizedType(Type, Type...) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
创建泛型对象,例如: List<String> list = TypeUtil.createParameterizedType(List.class, String.class);
createPoolable() - Method in class org.dromara.hutool.core.pool.partition.PoolPartition
createProxy(Map<?, ?>) - Static method in class org.dromara.hutool.core.map.MapUtil
创建代理Map
MapProxy对Map做一次包装,提供各种getXXX方法
createRandomAccessFile(Path, FileMode) - Static method in class org.dromara.hutool.core.io.file.FileUtil
createRandomAccessFile(File, FileMode) - Static method in class org.dromara.hutool.core.io.file.FileUtil
createReadWriteLock(boolean) - Static method in class org.dromara.hutool.core.thread.lock.LockUtil
createRelative(String) - Method in class org.dromara.hutool.core.io.resource.UrlResource
获取相对于本资源的资源
createRoot(int) - Static method in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
构建根节点
createScheduledExecutor(int) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
createSecureRandom(byte[]) - Static method in class org.dromara.hutool.core.util.RandomUtil
创建SecureRandom,类提供加密的强随机数生成器 (RNG)
createSocket() - Method in class org.dromara.hutool.core.net.ProxySocketFactory
 
createSocket(InetAddress, int) - Method in class org.dromara.hutool.core.net.ProxySocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class org.dromara.hutool.core.net.ProxySocketFactory
 
createSocket(String, int) - Method in class org.dromara.hutool.core.net.ProxySocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class org.dromara.hutool.core.net.ProxySocketFactory
 
createSSLContext(String, KeyManager, TrustManager) - Static method in class org.dromara.hutool.core.net.ssl.SSLContextUtil
createSSLContext(String, KeyManager[], TrustManager[]) - Static method in class org.dromara.hutool.core.net.ssl.SSLContextUtil
创建和初始化SSLContext
createStampLock() - Static method in class org.dromara.hutool.core.thread.lock.LockUtil
创建StampedLock
createStopWatch() - Static method in class org.dromara.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) - Static method in class org.dromara.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());
createString(char[]) - Static method in class org.dromara.hutool.core.func.FunctionPool
通过String(char[] value, boolean share)这个内部构造创建String对象。
createTempFile(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建临时文件
创建后的文件名为 prefix[Random].tmp
createTempFile() - Static method in class org.dromara.hutool.core.io.file.FileUtil
在默认临时文件目录下创建临时文件,创建后的文件名为 prefix[Random].tmp。
createTempFile(String, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
在默认临时文件目录下创建临时文件,创建后的文件名为 prefix[Random].suffix。
createTempFile(String, String, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
在默认临时文件目录下创建临时文件,创建后的文件名为 prefix[Random].suffix。
createTempFile(File, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建临时文件
创建后的文件名为 prefix[Random].tmp
createTempFile(String, String, File, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建临时文件
创建后的文件名为 prefix[Random].suffix From com.jodd.io.FileUtil
createTempFile(String, String, Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
创建临时文件
创建后的文件名为 prefix[Random].suffix From com.jodd.io.FileUtil
createThreadFactory(String) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
创建自定义线程名称前缀的ThreadFactory
createThreadFactoryBuilder() - Static method in class org.dromara.hutool.core.thread.ThreadUtil
创建ThreadFactoryBuilder
createThreadLocal(boolean) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
创建本地线程对象
createThreadLocal(Supplier<? extends T>) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
创建本地线程对象
createTrustAnySSLContext() - Static method in class org.dromara.hutool.core.net.ssl.SSLContextUtil
创建SSLContext,信任全部,协议为TLS
createTrustAnySSLContext(String) - Static method in class org.dromara.hutool.core.net.ssl.SSLContextUtil
创建SSLContext,信任全部
createXml() - Static method in class org.dromara.hutool.core.xml.XmlUtil
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
createXml(String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
createXml(String, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
创建XML文档
创建的XML默认是utf8编码,修改编码的过程是在toStr和toFile方法里,即XML在转为文本的时候才定义编码
createXPath() - Static method in class org.dromara.hutool.core.xml.XPathUtil
createZip(String) - Static method in class org.dromara.hutool.core.io.file.FileSystemUtil
创建 Zip的FileSystem,默认UTF-8编码
createZip(String, Charset) - Static method in class org.dromara.hutool.core.io.file.FileSystemUtil
创建 Zip的FileSystem
CREDIT_CODE - Static variable in class org.dromara.hutool.core.regex.PatternPool
统一社会信用代码 第一部分:登记管理部门代码1位 (数字或大写英文字母) 第二部分:机构类别代码1位 (数字或大写英文字母) 第三部分:登记管理机关行政区划码6位 (数字) 第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母) 第五部分:校验码1位 (数字或大写英文字母)
CREDIT_CODE - Static variable in interface org.dromara.hutool.core.regex.RegexPool
统一社会信用代码 第一部分:登记管理部门代码1位 (数字或大写英文字母) 第二部分:机构类别代码1位 (数字或大写英文字母) 第三部分:登记管理机关行政区划码6位 (数字) 第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母) 第五部分:校验码1位 (数字或大写英文字母)
CREDIT_CODE_PATTERN - Static variable in class org.dromara.hutool.core.data.CreditCodeUtil
统一社会信用代码正则
CreditCodeUtil - Class in org.dromara.hutool.core.data
统一社会信用代码(GB32100-2015)工具类
标准见:https://www.cods.org.cn/c/2020-10-29/12575.html

三证合一、一照一码政策之后,纳税人识别号 == 统一社会信用代码
政策见国家税务总局:CreditCodeUtil() - Constructor for class org.dromara.hutool.core.data.CreditCodeUtil
 
CRLF - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:Windows 换行 "\r\n"
解释:该字符串常用于表示 Windows 系统下的文本换行
CrockfordBase32Codec - Class in org.dromara.hutool.core.codec.binary
Crockford`s Base32实现
来自:https://gist.github.com/markov/5206312 Provides Base32 encoding and decoding as defined by RFC 4648.
CrockfordBase32Codec() - Constructor for class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
构造
CrockfordBase32Codec(boolean) - Constructor for class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Creates a Base32 codec used for decoding and encoding.
CurrencyConverter - Class in org.dromara.hutool.core.convert.impl
货币Currency 转换器
CurrencyConverter() - Constructor for class org.dromara.hutool.core.convert.impl.CurrencyConverter
 
current() - Static method in class org.dromara.hutool.core.date.DateUtil
当前时间的时间戳
currentBufferIndex - Variable in class org.dromara.hutool.core.io.buffer.FastBuffer
当前缓冲索引
currentIter - Variable in class org.dromara.hutool.core.collection.iter.IterChain
当前位置
currentSeconds() - Static method in class org.dromara.hutool.core.date.DateUtil
当前时间的时间戳(秒)
currentTaskName() - Method in class org.dromara.hutool.core.date.StopWatch
获取当前任务名,null 表示无任务
currentThreadGroup() - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获取当前线程的线程组
currentThreadId() - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获取当前线程ID,即TID
customKey(Object) - Method in class org.dromara.hutool.core.map.Dict
 
customKey(Object) - Method in class org.dromara.hutool.core.map.FuncKeyMap
根据函数自定义键
customKey(Object) - Method in class org.dromara.hutool.core.map.FuncMap
根据函数自定义键
customKey(Object) - Method in class org.dromara.hutool.core.map.TransMap
自定义键
CustomKeyMap<K,V> - Class in org.dromara.hutool.core.map
自定义键的Map,默认HashMap实现
CustomKeyMap(Map<K, V>) - Constructor for class org.dromara.hutool.core.map.CustomKeyMap
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
customValue(Object) - Method in class org.dromara.hutool.core.map.CustomKeyMap
 
customValue(Object) - Method in class org.dromara.hutool.core.map.FuncMap
 
customValue(Object) - Method in class org.dromara.hutool.core.map.TransMap
自定义值
cut(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
将字符串切分为N等份
cyclicalm(int) - Static method in class org.dromara.hutool.core.date.chinese.GanZhi
传入 月日的offset 传回干支, 0=甲子

D

DASHED - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:减号(连接符) '-'
DASHED - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:减号(连接符) "-"
DataSize - Class in org.dromara.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 - Class in org.dromara.hutool.core.io.unit
数据大小工具类
DataSizeUtil() - Constructor for class org.dromara.hutool.core.io.unit.DataSizeUtil
 
DataUnit - Enum in org.dromara.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(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
Date类型时间转为DateTime
如果date本身为DateTime对象,则返回强转后的对象,否则新建一个DateTime对象
date(XMLGregorianCalendar) - Static method in class org.dromara.hutool.core.date.DateUtil
date(Date, TimeZone) - Static method in class org.dromara.hutool.core.date.DateUtil
根据已有Date 产生新的DateTime对象,并根据指定时区转换
date(long) - Static method in class org.dromara.hutool.core.date.DateUtil
Long类型时间转为DateTime
只支持毫秒级别时间戳,如果需要秒级别时间戳,请自行×1000L
date(Calendar) - Static method in class org.dromara.hutool.core.date.DateUtil
Calendar类型时间转为DateTime
始终根据已有Calendar 产生新的DateTime对象
date(TemporalAccessor) - Static method in class org.dromara.hutool.core.date.DateUtil
TemporalAccessor类型时间转为DateTime
始终根据已有TemporalAccessor 产生新的DateTime对象
date(Date) - Static method in class org.dromara.hutool.core.date.SqlDateUtil
/** 转为Date
DateBasic - Interface in org.dromara.hutool.core.date.format
日期基本信息获取接口
DateBetween - Class in org.dromara.hutool.core.date
日期间隔
DateBetween(Date, Date) - Constructor for class org.dromara.hutool.core.date.DateBetween
构造
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
DateBetween(Date, Date, boolean) - Constructor for class org.dromara.hutool.core.date.DateBetween
构造
在前的日期做为起始时间,在后的做为结束时间
DateBuilder - Class in org.dromara.hutool.core.date
DateBuilder类用于构建和操作日期。
DateBuilder() - Constructor for class org.dromara.hutool.core.date.DateBuilder
构造
DateConverter - Class in org.dromara.hutool.core.convert.impl
日期转换器
DateConverter() - Constructor for class org.dromara.hutool.core.convert.impl.DateConverter
构造
DateConverter(String) - Constructor for class org.dromara.hutool.core.convert.impl.DateConverter
构造
DateException - Exception in org.dromara.hutool.core.date
工具类异常
DateException(Throwable) - Constructor for exception org.dromara.hutool.core.date.DateException
构造
DateException(String) - Constructor for exception org.dromara.hutool.core.date.DateException
构造
DateException(String, Object...) - Constructor for exception org.dromara.hutool.core.date.DateException
构造
DateException(String, Throwable) - Constructor for exception org.dromara.hutool.core.date.DateException
构造
DateException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.date.DateException
构造
DateException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.date.DateException
构造
DateField - Enum in org.dromara.hutool.core.date
日期各个部分的枚举
与Calendar相应值对应
DateModifier - Class in org.dromara.hutool.core.date
日期修改器
用于实现自定义某个日期字段的调整,包括: 1.
DateModifier() - Constructor for class org.dromara.hutool.core.date.DateModifier
 
DateModifier.ModifyType - Enum in org.dromara.hutool.core.date
修改类型
dateNew(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
根据已有Date 产生新的DateTime对象
DateParser - Interface in org.dromara.hutool.core.date.format.parser
日期解析接口,用于解析日期字符串为 Date 对象
DatePattern - Class in org.dromara.hutool.core.date
日期格式化类,提供常用的日期格式化对象
参考:rfc3339 所有的jdk日期格式模式字符串 jdk date format pattern (Pattern Letters and Symbols) 日期格式模式字符串 工具类,提供格式化字符串很多,但是对于具体什么含义,不够清晰,这里进行说明: 常见日期格式模式字符串: yyyy-MM-dd 示例:2022-08-05 yyyy年MM月dd日 示例:2022年08月05日 yyyy-MM-dd HH:mm:ss 示例:2022-08-05 12:59:59 yyyy-MM-dd HH:mm:ss.SSS 示例:2022-08-05 12:59:59.559 yyyy-MM-dd HH:mm:ss.SSSZ 示例:2022-08-05 12:59:59.559+0800【东八区中国时区】、2022-08-05 04:59:59.559+0000【冰岛0时区】, 年月日 时分秒 毫秒 时区 yyyy-MM-dd HH:mm:ss.SSSz 示例:2022-08-05 12:59:59.559UTC【世界标准时间=0时区】、2022-08-05T12:59:59.599GMT【冰岛0时区】、2022-08-05T12:59:59.599CST【东八区中国时区】、2022-08-23T03:45:00.599EDT【美国东北纽约时间,-0400】 ,年月日 时分秒 毫秒 时区 yyyy-MM-dd'T'HH:mm:ss.SSS'Z' 示例:2022-08-05T12:59:59.559Z, 其中:''单引号表示转义字符,T:分隔符,Z:一般指UTC,0时区的时间含义 yyyy-MM-dd'T'HH:mm:ss.SSSZ 示例:2022-08-05T11:59:59.559+0800, 其中:Z,表示时区 yyyy-MM-dd'T'HH:mm:ss.SSSX 示例:2022-08-05T12:59:59.559+08, 其中:X:两位时区,+08表示:东8区,中国时区 yyyy-MM-dd'T'HH:mm:ss.SSSXX 示例:2022-08-05T12:59:59.559+0800, 其中:XX:四位时区 yyyy-MM-dd'T'HH:mm:ss.SSSXXX 示例:2022-08-05T12:59:59.559+08:00, 其中:XX:五位时区 yyyy-MM-dd'T'HH:mm:ss 示例:2022-08-05T12:59:59+08 yyyy-MM-dd'T'HH:mm:ssXXX 示例:2022-08-05T12:59:59+08:00 yyyy-MM-dd'T'HH:mm:ssZ 示例:2022-08-05T12:59:59+0800 yyyy-MM-dd'T'HH:mm:ss'Z' 示例:2022-08-05T12:59:59Z EEE MMM dd HH:mm:ss z yyyy 示例:周五 8月 05 12:59:00 UTC+08:00 2022 EEE MMM dd HH:mm:ss zzz yyyy 示例:周五 8月 05 12:59:00 UTC+08:00 2022,其中z表示UTC时区,但:1~3个z没有任何区别 EEE, dd MMM yyyy HH:mm:ss z 示例:周五, 05 8月 2022 12:59:59 UTC+08:00 系统提供的,请查看,有大量定义好的格式化对象,可以直接使用,如: DateTimeFormatter.ISO_DATE DateTimeFormatter.ISO_DATE_TIME 查看更多,请参阅上述官方文档 特殊说明:UTC时间,世界标准时间,0时区的时间,伦敦时间,可以直接加Z表示不加空格, 如:“09:30 UTC”表示为“09:30Z”或“T0930Z”,其中:Z 是 +00:00 的缩写,意思是 UTC(零时分秒的偏移量).
DatePattern() - Constructor for class org.dromara.hutool.core.date.DatePattern
 
DatePrinter - Interface in org.dromara.hutool.core.date.format
日期格式化输出接口
Thanks to Apache Commons Lang 3.5
DateRange - Class in org.dromara.hutool.core.date
日期范围
DateRange(Date, Date, DateField) - Constructor for class org.dromara.hutool.core.date.DateRange
构造,包含开始和结束日期时间
DateRange(Date, Date, DateField, int) - Constructor for class org.dromara.hutool.core.date.DateRange
构造,包含开始和结束日期时间
DateRange(Date, Date, DateField, int, boolean, boolean) - Constructor for class org.dromara.hutool.core.date.DateRange
构造
dateSecond() - Static method in class org.dromara.hutool.core.date.DateUtil
当前时间,转换为DateTime对象,忽略毫秒部分
DateTime - Class in org.dromara.hutool.core.date
包装Date
此类继承了Date,并提供扩展方法,如时区等。
DateTime() - Constructor for class org.dromara.hutool.core.date.DateTime
当前时间
DateTime(TimeZone) - Constructor for class org.dromara.hutool.core.date.DateTime
当前时间
DateTime(Date) - Constructor for class org.dromara.hutool.core.date.DateTime
给定日期的构造
DateTime(Date, TimeZone) - Constructor for class org.dromara.hutool.core.date.DateTime
给定日期的构造
DateTime(Calendar) - Constructor for class org.dromara.hutool.core.date.DateTime
给定日期的构造
DateTime(Instant) - Constructor for class org.dromara.hutool.core.date.DateTime
给定日期Instant的构造
DateTime(Instant, ZoneId) - Constructor for class org.dromara.hutool.core.date.DateTime
给定日期Instant的构造
DateTime(TemporalAccessor) - Constructor for class org.dromara.hutool.core.date.DateTime
给定日期TemporalAccessor的构造
DateTime(ZonedDateTime) - Constructor for class org.dromara.hutool.core.date.DateTime
给定日期ZonedDateTime的构造
DateTime(long) - Constructor for class org.dromara.hutool.core.date.DateTime
给定日期毫秒数的构造
DateTime(long, TimeZone) - Constructor for class org.dromara.hutool.core.date.DateTime
给定日期毫秒数的构造
DateTime(CharSequence) - Constructor for class org.dromara.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) - Constructor for class org.dromara.hutool.core.date.DateTime
构造
DateTime(CharSequence, DateFormat) - Constructor for class org.dromara.hutool.core.date.DateTime
构造
DateTime(CharSequence, DateTimeFormatter) - Constructor for class org.dromara.hutool.core.date.DateTime
构建DateTime对象
DateTime(CharSequence, PositionDateParser) - Constructor for class org.dromara.hutool.core.date.DateTime
构造
DateTime(CharSequence, PositionDateParser, boolean) - Constructor for class org.dromara.hutool.core.date.DateTime
构造
DateUnit - Enum in org.dromara.hutool.core.date
日期时间单位,每个单位都是以毫秒为基数
DateUtil - Class in org.dromara.hutool.core.date
日期时间工具类
DateUtil() - Constructor for class org.dromara.hutool.core.date.DateUtil
 
dayOfMonth() - Method in class org.dromara.hutool.core.date.DateTime
获得指定日期是这个日期所在月份的第几天,从1开始
dayOfMonth(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期是这个日期所在月份的第几天
dayOfWeek() - Method in class org.dromara.hutool.core.date.DateTime
获得指定日期是星期几,1表示周日,2表示周一
dayOfWeek(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期是星期几,1表示周日,2表示周一
dayOfWeek(LocalDate) - Static method in class org.dromara.hutool.core.date.TimeUtil
获取LocalDate对应的星期值
dayOfWeekEnum() - Method in class org.dromara.hutool.core.date.DateTime
获得指定日期是星期几
dayOfWeekEnum(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期是星期几
dayOfWeekInMonth() - Method in class org.dromara.hutool.core.date.DateTime
获得天所在的周是这个月的第几周
dayOfYear() - Method in class org.dromara.hutool.core.date.DateTime
获得指定日期是这个日期所在年份的第几天,从1开始
dayOfYear(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期是这个日期所在年的第几天
decapitalize(CharSequence) - Static method in class org.dromara.hutool.core.reflect.method.MethodNameUtil
转换名称为标准的字段名称,规则为: 首字母小写 转悠名字保持大写(第一个和第二个字母均为大写) Name =》name name =》name CPU =》CPU
decode(CharSequence) - Method in class org.dromara.hutool.core.codec.binary.Base16Codec
 
decode(String) - Static method in class org.dromara.hutool.core.codec.binary.Base32
解码
decode(CharSequence) - Method in class org.dromara.hutool.core.codec.binary.Base32Codec.Base32Decoder
 
decode(CharSequence) - Method in class org.dromara.hutool.core.codec.binary.Base32Codec
 
decode(CharSequence, boolean) - Method in class org.dromara.hutool.core.codec.binary.Base32Codec
解码数据
decode(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base58
Base58解码
decode(CharSequence) - Method in class org.dromara.hutool.core.codec.binary.Base58Codec.Base58Decoder
 
decode(CharSequence) - Method in class org.dromara.hutool.core.codec.binary.Base58Codec
解码给定的Base58字符串
decode(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62解码
decode(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base62
解码Base62
decode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.Base62Codec.Base62Decoder
 
decode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.Base62Codec
解码Base62消息
decode(byte[], boolean) - Method in class org.dromara.hutool.core.codec.binary.Base62Codec
解码Base62消息
decode(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64解码
decode(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base64
解码Base64
decode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.Base64Decoder
解码Base64
decode(byte[], int, int) - Method in class org.dromara.hutool.core.codec.binary.Base64Decoder
解码Base64
decode(String) - Method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Decodes a String containing characters in the Base-N alphabet.
decode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Decodes a byte[] containing characters in the Base-N alphabet.
decode(String) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将十六进制字符串解码为byte[]
decode(char[]) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将十六进制字符数组转换为字节数组
decode(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将十六进制字符数组转换为字节数组
decode(String) - Method in class org.dromara.hutool.core.codec.binary.Z85Codec
 
decode(String, int) - Static method in class org.dromara.hutool.core.codec.Caesar
传入明文解密到密文
decode(T) - Method in interface org.dromara.hutool.core.codec.Decoder
执行解码
decode(String) - Method in class org.dromara.hutool.core.codec.Hashids
解码Hash值为数字数组
decode(String) - Method in class org.dromara.hutool.core.codec.Morse
解码
decode(String) - Static method in class org.dromara.hutool.core.codec.PunyCode
解码 PunyCode为字符串
decode(String, String) - Static method in class org.dromara.hutool.core.codec.RadixUtil
把转换后进制的字符还原成long 值
decode(String, int, boolean) - Static method in class org.dromara.hutool.core.codec.Rot
RotN解码
decode(String) - Static method in class org.dromara.hutool.core.net.url.UrlDecoder
decode(String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlDecoder
decode(String, boolean) - Static method in class org.dromara.hutool.core.net.url.UrlDecoder
解码 1.
decode(String, Charset, boolean) - Static method in class org.dromara.hutool.core.net.url.UrlDecoder
解码 1.
decode(byte[]) - Static method in class org.dromara.hutool.core.net.url.UrlDecoder
解码 1.
decode(byte[], boolean) - Static method in class org.dromara.hutool.core.net.url.UrlDecoder
解码 1.
decode13(String) - Static method in class org.dromara.hutool.core.codec.Rot
Rot-13解码,同时解码数字
decode13(String, boolean) - Static method in class org.dromara.hutool.core.codec.Rot
Rot-13解码
decodeChecked(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base58
Base58解码
解码包含标志位验证和版本呢位去除
decodeChecked(CharSequence, boolean) - Static method in class org.dromara.hutool.core.codec.binary.Base58
Base58解码
解码包含标志位验证和版本呢位去除
decodeColor(String) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
将Hex颜色值转为
decodeDomain(String) - Static method in class org.dromara.hutool.core.codec.PunyCode
解码 PunyCode为域名
decodeForPath(String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlDecoder
解码,不对+解码 将%20转换为空格 将 "%xy"转换为文本形式,xy是两位16进制的数值 跳过不符合规范的%形式,直接输出
decodeHex(String) - Static method in class org.dromara.hutool.core.codec.binary.Base32
解码
decodeInverted(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62解码(反转字母表模式)
decodeInverted(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base62
解码Base62(反转字母表模式)
decodeQuery(String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlQueryUtil
将URL参数解析为Map(也可以解析Post中的键值对参数)
decodeQueryList(String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlQueryUtil
将URL参数解析为Map(也可以解析Post中的键值对参数)
DECODER - Static variable in class org.dromara.hutool.core.codec.binary.Base32Codec.Base32Decoder
解码器
DECODER - Static variable in class org.dromara.hutool.core.codec.binary.Base58Codec.Base58Decoder
解码器
Decoder<T,R> - Interface in org.dromara.hutool.core.codec
解码接口
decodeStr(String) - Static method in class org.dromara.hutool.core.codec.binary.Base32
base32解码
decodeStr(String, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Base32
base32解码
decodeStr(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62解码
decodeStr(CharSequence, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62解码
decodeStr(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64解码
decodeStr(CharSequence, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64解码
decodeStr(String) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将十六进制字符数组转换为字符串,默认编码UTF-8
decodeStr(String, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将十六进制字符数组转换为字符串
decodeStr(char[], Charset) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将十六进制字符数组转换为字符串
decodeStrGbk(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62解码
decodeStrGbk(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64解码
decodeStrHex(String) - Static method in class org.dromara.hutool.core.codec.binary.Base32
base32解码
decodeStrHex(String, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Base32
base32解码
decodeStrInverted(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62解码(反转字母表模式)
decodeStrInverted(CharSequence, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62解码(反转字母表模式)
decodeToFile(CharSequence, File) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62解码
decodeToFile(CharSequence, File) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64解码
decodeToFileInverted(CharSequence, File) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62解码(反转字母表模式)
decodeToHex(String) - Method in class org.dromara.hutool.core.codec.Hashids
解码Hash值为16进制数字
decodeToInt(String, String) - Static method in class org.dromara.hutool.core.codec.RadixUtil
把转换后的进制字符还原成int 值
decodeToStream(CharSequence, OutputStream, boolean) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62解码
decodeToStream(CharSequence, OutputStream, boolean) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64解码
decodeToStreamInverted(CharSequence, OutputStream, boolean) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62解码(反转字母表模式)
decodeToString(String) - Method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Encodes a String containing characters in the Base32 alphabet.
decodeToString(byte[]) - Method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Decodes a byte[] containing binary data, into a String containing UTF-8 decoded String.
decrement() - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
值减一
decrement() - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
值减一
decrement() - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
值减一
decrement() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
值减一
decrement() - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
值减一
decrement() - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
值减一
decrementAndGet() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
先减1, 再获取值
DEFAULT_ALPHABET - Static variable in class org.dromara.hutool.core.codec.Hashids
默认编解码字符串
DEFAULT_BUFFER_SIZE - Static variable in class org.dromara.hutool.core.io.NioUtil
默认缓存大小 8192
DEFAULT_CHARSET - Static variable in class org.dromara.hutool.core.io.file.FileWrapper
默认编码:UTF-8
DEFAULT_COLLECTION_INITIAL_CAPACITY - Static variable in class org.dromara.hutool.core.map.multi.AbsCollValueMap
默认集合初始大小
DEFAULT_CONFIG - Static variable in class org.dromara.hutool.core.tree.TreeNodeConfig
默认属性配置对象
DEFAULT_CURRENCY_CODE - Static variable in class org.dromara.hutool.core.math.Money
缺省的币种代码,为CNY(人民币)。
DEFAULT_DATACENTER_ID - Static variable in class org.dromara.hutool.core.data.id.IdConstants
默认的数据中心ID。
DEFAULT_ESCAPE - Static variable in class org.dromara.hutool.core.text.placeholder.StrTemplate
转义符 默认值
DEFAULT_INITIAL_CAPACITY - Static variable in class org.dromara.hutool.core.map.MapUtil
默认初始大小
DEFAULT_INITIAL_CAPACITY - Static variable in class org.dromara.hutool.core.map.MapWrapper
默认初始大小
DEFAULT_LARGE_BUFFER_SIZE - Static variable in class org.dromara.hutool.core.io.NioUtil
默认大缓存大小 32768
DEFAULT_LOAD_FACTOR - Static variable in class org.dromara.hutool.core.map.MapUtil
默认增长因子,当Map的size达到 容量*增长因子时,开始扩充Map
DEFAULT_LOAD_FACTOR - Static variable in class org.dromara.hutool.core.map.MapWrapper
默认增长因子
DEFAULT_MIDDLE_BUFFER_SIZE - Static variable in class org.dromara.hutool.core.io.NioUtil
默认中等缓存大小 16384
DEFAULT_ORDER - Static variable in class org.dromara.hutool.core.util.ByteUtil
默认字节序:大端在前,小端在后
DEFAULT_PATH_SEPARATOR - Static variable in class org.dromara.hutool.core.text.AntPathMatcher
Default path separator: "/".
DEFAULT_PLACEHOLDER - Static variable in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate
默认的占位符
DEFAULT_PREFIX - Static variable in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
默认前缀
DEFAULT_QUEUE_CAPACITY - Static variable in class org.dromara.hutool.core.thread.ExecutorBuilder
默认的等待队列容量
DEFAULT_ROUNDING_MODE - Static variable in class org.dromara.hutool.core.math.Money
缺省的取整模式,为RoundingMode.HALF_EVEN (四舍五入,当小数为0.5时,则取最近的偶数)。
DEFAULT_SEATA_NODE_ID - Static variable in class org.dromara.hutool.core.data.id.IdConstants
默认的节点ID。
DEFAULT_SEATA_SNOWFLAKE - Static variable in class org.dromara.hutool.core.data.id.IdConstants
默认的Seata单例,使用默认的节点ID。
DEFAULT_SEPARATOR - Static variable in class org.dromara.hutool.core.text.dfa.SensitiveUtil
默认关键词分隔符
DEFAULT_SIZE - Static variable in class org.dromara.hutool.core.data.id.NanoId
默认长度
DEFAULT_SMALL_BUFFER_SIZE - Static variable in class org.dromara.hutool.core.io.NioUtil
默认小缓存大小 1024
DEFAULT_SNOWFLAKE - Static variable in class org.dromara.hutool.core.data.id.IdConstants
默认的Snowflake单例,使用默认的Worker ID和数据中心ID。
DEFAULT_SUFFIX - Static variable in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
默认后缀
DEFAULT_TWEPOCH - Static variable in class org.dromara.hutool.core.data.id.SeataSnowflake
默认的起始时间,为2020-05-03
DEFAULT_TWEPOCH - Static variable in class org.dromara.hutool.core.data.id.Snowflake
默认的起始时间,为Thu, 04 Nov 2010 01:42:54 GMT
DEFAULT_WORKER_ID - Static variable in class org.dromara.hutool.core.data.id.IdConstants
默认的Worker ID生成。
defaultCharset() - Static method in class org.dromara.hutool.core.util.CharsetUtil
系统默认字符集编码
defaultCharsetName() - Static method in class org.dromara.hutool.core.util.CharsetUtil
系统默认字符集编码
DefaultDateBasic - Class in org.dromara.hutool.core.date.format
DefaultDateBasic() - Constructor for class org.dromara.hutool.core.date.format.DefaultDateBasic
 
defaultIfBlank(T, T) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定对象为null或者""或者空白符返回默认值 defaultIfBlank(null, null) = null defaultIfBlank(null, "") = "" defaultIfBlank("", "zz") = "zz" defaultIfBlank(" ", "zz") = "zz" defaultIfBlank("abc", *) = "abc"
defaultIfBlank(T, Supplier<? extends T>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定对象为null或者""返回原值, 否则返回自定义handler处理后的返回值
defaultIfBlank(T, Function<T, V>, Supplier<? extends V>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果被检查对象为 null 或 "" 或 空白字符串时,返回默认值(由 defaultValueSupplier 提供);否则直接返回
defaultIfEmpty(T[], T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
如果给定数组为空,返回默认数组
defaultIfEmpty(T, T) - Static method in class org.dromara.hutool.core.collection.CollUtil
如果给定集合为空,返回默认集合
defaultIfEmpty(T, Function<T, T>, Supplier<? extends T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
如果给定集合为空,返回默认集合
defaultIfEmpty(T, T) - Static method in class org.dromara.hutool.core.map.MapUtil
如果给定Map为空,返回默认Map
defaultIfEmpty(T, T) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定对象为null或者 "" 返回默认值 defaultIfEmpty(null, null) = null defaultIfEmpty(null, "") = "" defaultIfEmpty("", "zz") = "zz" defaultIfEmpty(" ", "zz") = " " defaultIfEmpty("abc", *) = "abc"
defaultIfEmpty(T, Supplier<? extends T>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定对象为null或者""返回原值, 否则返回自定义handler处理后的返回值
defaultIfEmpty(T, Function<T, V>, Supplier<? extends V>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定对象为null或者""返回defaultHandler处理的结果, 否则返回自定义handler处理后的返回值
defaultIfNull(T, T) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定字符串为null返回默认值 defaultIfNull(null, null); // = null defaultIfNull(null, ""); // = "" defaultIfNull(null, "zz"); // = "zz" defaultIfNull("abc", *); // = "abc"
defaultIfNull(T, Supplier<? extends T>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定字符串不为null 返回原值, 否则返回 Supplier.get() 提供的默认值
defaultIfNull(T, Function<? super T, ? extends R>, Supplier<? extends R>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定字符串不为null 返回自定义handler处理后的结果,否则返回 Supplier.get() 提供的默认值
defaultIfNull(T, T) - Static method in class org.dromara.hutool.core.util.ObjUtil
如果给定对象为null返回默认值 ObjUtil.defaultIfNull(null, null); // = null ObjUtil.defaultIfNull(null, ""); // = "" ObjUtil.defaultIfNull(null, "zz"); // = "zz" ObjUtil.defaultIfNull("abc", *); // = "abc" ObjUtil.defaultIfNull(Boolean.TRUE, *); // = Boolean.TRUE
defaultIfNull(T, Supplier<? extends T>) - Static method in class org.dromara.hutool.core.util.ObjUtil
如果给定对象不为null 返回原值, 否则返回 Supplier.get() 提供的默认值
defaultIfNull(T, Function<? super T, ? extends R>, R) - Static method in class org.dromara.hutool.core.util.ObjUtil
如果给定对象不为null 返回自定义handler处理后的结果,否则返回默认值
defaultIfNull(T, Function<? super T, ? extends R>, Supplier<? extends R>) - Static method in class org.dromara.hutool.core.util.ObjUtil
如果给定对象不为null 返回自定义handler处理后的结果,否则返回 Supplier.get() 提供的默认值
DefaultNodeBeanFactory - Class in org.dromara.hutool.core.bean.path
默认的Bean创建器
DefaultNodeBeanFactory() - Constructor for class org.dromara.hutool.core.bean.path.DefaultNodeBeanFactory
 
DefaultNodeParser<T> - Class in org.dromara.hutool.core.tree.parser
默认的简单转换器
DefaultNodeParser() - Constructor for class org.dromara.hutool.core.tree.parser.DefaultNodeParser
 
DefaultObjectCreator<T> - Class in org.dromara.hutool.core.reflect.creator
默认对象实例化器
通过传入对象类型和构造函数的参数,调用对应的构造方法创建对象。
DefaultObjectCreator(Class<T>, Object...) - Constructor for class org.dromara.hutool.core.reflect.creator.DefaultObjectCreator
构造
DefaultRegexDateParser - Class in org.dromara.hutool.core.date.format.parser
默认正则日期解析器
通过使用预定义或自定义的正则规则,解析日期字符串
DefaultRegexDateParser() - Constructor for class org.dromara.hutool.core.date.format.parser.DefaultRegexDateParser
构造,初始化默认的解析规则
DefaultSegment<T extends Number> - Class in org.dromara.hutool.core.lang.range
片段默认实现
DefaultSegment(T, T) - Constructor for class org.dromara.hutool.core.lang.range.DefaultSegment
构造
defaultValue - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
默认值
defaultValue(String) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
设置 默认值 不可能为 null,可以为 "null"
defaultValue(UnaryOperator<String>) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
设置 默认值处理器
defaultValue - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate
占位符 没有找到 对应的填充值时 使用的默认值,如果没有,则使用 StrTemplate.defaultValueHandler 提供默认值, 如果也没有,使用 StrTemplate.globalDefaultValueHandler,还是没有,则抛出异常
defaultValueHandler - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
默认值处理器
defaultValueHandler - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate
当前模板的默认值处理器,根据 占位变量 返回 默认值
Deflate - Class in org.dromara.hutool.core.compress
Deflate算法
Deflate是同时使用了LZ77算法与哈夫曼编码(Huffman Coding)的一个无损数据压缩算法。
Deflate(InputStream, OutputStream, boolean) - Constructor for class org.dromara.hutool.core.compress.Deflate
构造
deflater(int) - Method in class org.dromara.hutool.core.compress.Deflate
将普通数据流压缩
dekHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
DEK算法
del(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
删除文件或者文件夹
路径如果为相对路径,会转换为ClassPath路径!
del(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
删除文件或者文件夹
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
del() - Method in class org.dromara.hutool.core.io.file.PathDeleter
删除文件或者文件夹,不追踪软链
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
del(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
删除文件或者文件夹,不追踪软链
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
delAll(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
删除匹配的全部内容
delAll(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
删除匹配的全部内容
delay(Duration) - Method in class org.dromara.hutool.core.thread.RetryableTask
重试间隔时间
DelayWatcher - Class in org.dromara.hutool.core.io.watch.watchers
延迟观察者
使用此观察者通过定义一定的延迟时间,解决WatchService多个modify的问题
在监听目录或文件时,如果这个文件有修改操作,会多次触发modify方法。
DelayWatcher(Watcher, long) - Constructor for class org.dromara.hutool.core.io.watch.watchers.DelayWatcher
构造
DelegatedExecutorService - Class in org.dromara.hutool.core.thread
ExecutorService代理
DelegatedExecutorService(ExecutorService) - Constructor for class org.dromara.hutool.core.thread.DelegatedExecutorService
构造
delFirst(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
删除匹配的第一个内容
delFirst(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
删除匹配的第一个内容
DELIM_END - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:花括号(右) '}'
DELIM_END - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:花括号(右) "}"
DELIM_START - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:花括号(左) '{'
DELIM_START - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:花括号(左) "{"
delLast(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
删除匹配的最后一个内容
delLast(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
删除匹配的最后一个内容
delPre(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
删除正则匹配到的内容之前的字符 如果没有找到,则返回原文
delPre(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
删除正则匹配到的内容之前的字符 如果没有找到,则返回原文
DelVisitor - Class in org.dromara.hutool.core.io.file.visitor
删除操作的FileVisitor实现,用于递归遍历删除文件夹
DelVisitor() - Constructor for class org.dromara.hutool.core.io.file.visitor.DelVisitor
 
DependencyException - Exception in org.dromara.hutool.core.exception
依赖异常
DependencyException(Throwable) - Constructor for exception org.dromara.hutool.core.exception.DependencyException
构造
DependencyException(String) - Constructor for exception org.dromara.hutool.core.exception.DependencyException
构造
DependencyException(String, Object...) - Constructor for exception org.dromara.hutool.core.exception.DependencyException
构造
DependencyException(String, Throwable) - Constructor for exception org.dromara.hutool.core.exception.DependencyException
构造
DependencyException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.exception.DependencyException
构造
DependencyException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.exception.DependencyException
构造
depthFirst(T, Function<T, Collection<T>>, Predicate<T>) - Static method in class org.dromara.hutool.core.tree.HierarchyIterator
获取一个迭代器,用于按深度优先迭代层级结构中的每一个结点
depthFirst(T, Function<T, Collection<T>>) - Static method in class org.dromara.hutool.core.tree.HierarchyIterator
获取一个迭代器,用于按深度优先迭代层级结构中的每一个结点
descBound() - Method in interface org.dromara.hutool.core.lang.range.Bound
获取"[value""(value"格式的字符串
descendingIterator() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
descendingKeySet() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Returns an unmodifiable snapshot Set view of the keys contained in this map.
descendingKeySetWithLimit(int) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Returns an unmodifiable snapshot Set view of the keys contained in this map.
descendingMap() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Returns an unmodifiable snapshot Map view of the mappings contained in this map.
descendingMapWithLimit(int) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Returns an unmodifiable snapshot Map view of the mappings contained in this map.
descForEach(Class<?>, Consumer<? super PropDesc>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
遍历Bean的属性
descToClass(String) - Static method in class org.dromara.hutool.core.reflect.ClassDescUtil
Class描述转Class "[Z" => boolean[].class "[[Ljava/util/Map;" => java.util.Map[][].class
descToClass(String, boolean, ClassLoader) - Static method in class org.dromara.hutool.core.reflect.ClassDescUtil
Class描述转Class "[Z" => boolean[].class "[[Ljava/util/Map;" => java.util.Map[][].class
descToName(String) - Static method in class org.dromara.hutool.core.reflect.ClassDescUtil
类描述转名称 "[[I" => "int[][]"
deserialize(byte[], Class<?>...) - Static method in class org.dromara.hutool.core.io.SerializeUtil
反序列化
对象必须实现Serializable接口 注意!!!
destroy() - Static method in class org.dromara.hutool.core.lang.Singleton
清除所有Singleton对象
destroy(T) - Method in interface org.dromara.hutool.core.pool.ObjectFactory
销毁对象,用于在验证对象不可用或不需要时的销毁逻辑。
destroy(Process) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
销毁进程
detect(File, Charset...) - Static method in class org.dromara.hutool.core.io.CharsetDetector
探测文件编码
detect(InputStream, Charset...) - Static method in class org.dromara.hutool.core.io.CharsetDetector
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用支持reset方法的流
detect(int, InputStream, Charset...) - Static method in class org.dromara.hutool.core.io.CharsetDetector
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用支持reset方法的流
detect(InputStream, Charset...) - Static method in class org.dromara.hutool.core.util.CharsetUtil
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用使用支持reset方法的流
detect(int, InputStream, Charset...) - Static method in class org.dromara.hutool.core.util.CharsetUtil
探测编码
注意:此方法会读取流的一部分,然后关闭流,如重复使用流,请使用使用支持reset方法的流
determineRootDir(String) - Method in class org.dromara.hutool.core.io.resource.ResourceFinder
根据给定的路径表达式,找到跟路径
根路径即不包含表达式的路径,如 "/WEB-INF/*.xml" 返回 "/WEB-INF/"
Dict - Class in org.dromara.hutool.core.map
字典对象,扩充了LinkedHashMap中的方法
Dict() - Constructor for class org.dromara.hutool.core.map.Dict
构造
Dict(boolean) - Constructor for class org.dromara.hutool.core.map.Dict
构造
Dict(int) - Constructor for class org.dromara.hutool.core.map.Dict
构造
Dict(int, boolean) - Constructor for class org.dromara.hutool.core.map.Dict
构造
Dict(int, float) - Constructor for class org.dromara.hutool.core.map.Dict
构造
Dict(int, float, boolean) - Constructor for class org.dromara.hutool.core.map.Dict
构造
Dict(Map<String, Object>) - Constructor for class org.dromara.hutool.core.map.Dict
构造
digit16(int) - Static method in class org.dromara.hutool.core.text.CharUtil
获取给定字符的16进制数值
digitToChinese(Number) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
金额转为中文形式
DirectedWeightGraph<T> - Class in org.dromara.hutool.core.map.multi
权重有向图 基于 SPFA 算法实现 可以处理负边 可以进行负权环路检查
DirectedWeightGraph() - Constructor for class org.dromara.hutool.core.map.multi.DirectedWeightGraph
 
DirectedWeightGraph.Edge<T> - Class in org.dromara.hutool.core.map.multi
DirectedWeightGraph.NegativeRingException - Exception in org.dromara.hutool.core.map.multi
负环异常
DirectedWeightGraph.Path<T> - Class in org.dromara.hutool.core.map.multi
路径
directRouter - Variable in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
直接路由表 减少挑 fail过程 使用数组 + charIndex 希望库减少 hash复杂度和内存空间 当初始化 stringSet 数量较大时 字符较多可以一定程度上减少 hashMap 底层实现带来的 内存开销 directRouter 大小为 全部字符数量
disableLock() - Method in class org.dromara.hutool.core.lang.range.Range
禁用锁,调用此方法后不再使用锁保护
disableXXE(DocumentBuilderFactory) - Static method in class org.dromara.hutool.core.xml.XXEUtil
关闭XXE,避免漏洞攻击
see: https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Prevention_Cheat_Sheet#JAXP_DocumentBuilderFactory.2C_SAXParserFactory_and_DOM4J
disableXXE(SAXParserFactory) - Static method in class org.dromara.hutool.core.xml.XXEUtil
关闭XEE避免漏洞攻击
disableXXE(XMLReader) - Static method in class org.dromara.hutool.core.xml.XXEUtil
关闭XEE避免漏洞攻击
disableXXE(TransformerFactory) - Static method in class org.dromara.hutool.core.xml.XXEUtil
关闭XEE避免漏洞攻击
disableXXE(Validator) - Static method in class org.dromara.hutool.core.xml.XXEUtil
关闭XEE避免漏洞攻击
disableXXE(SAXTransformerFactory) - Static method in class org.dromara.hutool.core.xml.XXEUtil
关闭XEE避免漏洞攻击
disableXXE(SchemaFactory) - Static method in class org.dromara.hutool.core.xml.XXEUtil
关闭XEE避免漏洞攻击
DISALLOW_DOCTYPE_DECL - Static variable in class org.dromara.hutool.core.xml.XmlFeatures
禁用xml中的inline DOCTYPE 声明,即禁用DTD
不允许将外部实体包含在传入的 XML 文档中,从而防止XML实体注入(XML External Entities 攻击,利用能够在处理时动态构建文档的 XML 功能,注入外部实体)
DiscardingQueue - Class in org.dromara.hutool.core.collection.queue
始终为空的队列,所有新增节点都丢弃
DiscardingQueue() - Constructor for class org.dromara.hutool.core.collection.queue.DiscardingQueue
 
disjunction() - Method in class org.dromara.hutool.core.collection.CollectionOperation
多个集合的差集
针对一个集合中存在多个相同元素的情况,计算每两个集合中此元素的个数,保留两个集合中此元素个数差的个数
例如: 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] 任意一个集合为空,返回另一个集合
两个集合无差集则返回空集合
disjunction(Collection<T>, Collection<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
两个集合的对称差集 (A-B)∪(B-A)
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留两个集合中此元素个数差的个数
例如: 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] 任意一个集合为空,返回另一个集合
两个集合无差集则返回空集合
distinct(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
去重数组中的元素,去重后生成新的数组,原数组不变
此方法通过LinkedHashSet 去重
distinct(T[], Function<T, K>, boolean) - Static method in class org.dromara.hutool.core.array.ArrayUtil
去重数组中的元素,去重后生成新的数组,原数组不变
此方法通过LinkedHashSet 去重
distinct(Collection<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
去重集合
distinct(Collection<T>, Function<T, K>, boolean) - Static method in class org.dromara.hutool.core.collection.CollUtil
根据函数生成的KEY去重集合,如根据Bean的某个或者某些字段完成去重。
distinct(Function<? super T, F>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
返回一个具有去重特征的流 非并行流(顺序流)下对于重复元素,保留遇到顺序中最先出现的元素,并行流情况下不能保证具体保留哪一个 这是一个有状态中间操作
distinct() - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回一个具有去重特征的流 非并行流(顺序流)下对于重复元素,保留遇到顺序中最先出现的元素,并行流情况下不能保证具体保留哪一个 这是一个有状态中间操作
distinctByKey() - Method in class org.dromara.hutool.core.stream.EntryStream
根据键去重,默认丢弃靠后的
distinctByValue() - Method in class org.dromara.hutool.core.stream.EntryStream
根据值去重,默认丢弃靠后的
div(Number, Number) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(String, String) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
div(Number, Number, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(String, String, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
div(String, String, int, RoundingMode) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
div(Number, Number, int, RoundingMode) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
divide(double) - Method in class org.dromara.hutool.core.math.Money
货币除法。
divide(BigDecimal) - Method in class org.dromara.hutool.core.math.Money
货币除法。
divide(BigDecimal, RoundingMode) - Method in class org.dromara.hutool.core.math.Money
货币除法。
divideBy(double) - Method in class org.dromara.hutool.core.math.Money
货币累除。
divideBy(BigDecimal) - Method in class org.dromara.hutool.core.math.Money
货币累除。
divideBy(BigDecimal, RoundingMode) - Method in class org.dromara.hutool.core.math.Money
货币累除。
djbHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
DJB算法
doCompare(T, T) - Method in class org.dromara.hutool.core.comparator.NullComparator
不检查null的比较方法
用户可自行重写此方法自定义比较方式
DocumentBuilderUtil - Class in org.dromara.hutool.core.xml
DocumentBuilder 工具类
DocumentBuilderUtil() - Constructor for class org.dromara.hutool.core.xml.DocumentBuilderUtil
 
doMatch(String, String, boolean, Map<String, String>) - Method in class org.dromara.hutool.core.text.AntPathMatcher
执行匹配,判断给定的path是否匹配pattern
DOT - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:点 '.'
DOT - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:点 "."
DOUBLE_DOT - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:双点 ".."
DOUBLE_QUOTES - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:双引号 '"'
doubleValue() - Method in class org.dromara.hutool.core.codec.Number128
 
doubleValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
 
doubleValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
 
doubleValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
 
doubleValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
 
doubleValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
 
doubleValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
 
dropWhile(Stream<T>, Predicate<? super T>) - Static method in class org.dromara.hutool.core.stream.StreamUtil
删除 与指定断言 匹配的元素, 在第一次不匹配时终止, 返回当前(第一个不匹配元素)及剩余元素组成的新流 与 jdk9 中的 dropWhile 方法不太一样, 这里的实现是个 顺序的、有状态的中间操作 本环节中是顺序执行的, 但是后续操作可以支持并行流 但是不建议在并行流中使用, 除非你确定 dropWhile 之后的操作能在并行流中受益很多
dropWhile(Predicate<? super T>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
删除流中与断言匹配的元素,当遇到第一个不匹配的元素时终止,返回由剩余不匹配的元素组成的流。
DropWhileSpliterator<T> - Class in org.dromara.hutool.core.stream.spliterators
dropWhile 的 Spliterator 借鉴自StreamEx
DropWhileSpliterator(Spliterator<T>, Predicate<? super T>) - Constructor for class org.dromara.hutool.core.stream.spliterators.DropWhileSpliterator
构造
dump() - Method in class org.dromara.hutool.core.math.Money
生成本对象内部变量的字符串表示,用于调试。
DurationConverter - Class in org.dromara.hutool.core.convert.impl
Duration对象转换器
DurationConverter() - Constructor for class org.dromara.hutool.core.convert.impl.DurationConverter
 
DynaBean - Class in org.dromara.hutool.core.bean
动态Bean,通过反射对Bean的相关方法做操作
支持Map和普通Bean和Collection
DynaBean(Object) - Constructor for class org.dromara.hutool.core.bean.DynaBean
构造
DynaBeanValueProvider - Class in org.dromara.hutool.core.bean.copier.provider
DynaBean值提供者
DynaBeanValueProvider(DynaBean, boolean) - Constructor for class org.dromara.hutool.core.bean.copier.provider.DynaBeanValueProvider
构造

E

EasyStream<T> - Class in org.dromara.hutool.core.stream
单元素的扩展流实现。
easyStream() - Method in interface org.dromara.hutool.core.stream.WrappedStream
转换为EasyStream
EasyStream.Builder<T> - Interface in org.dromara.hutool.core.stream
建造者
Edge() - Constructor for class org.dromara.hutool.core.map.multi.DirectedWeightGraph.Edge
构造
Edge(T, T, long) - Constructor for class org.dromara.hutool.core.map.multi.DirectedWeightGraph.Edge
构造
edit(T[], UnaryOperator<T>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
对每个数组元素执行指定操作,返回操作后的元素
这个Editor实现可以实现以下功能: 过滤出需要的对象,如果返回null则抛弃这个元素对象 修改元素对象,返回修改后的对象
edit(UnaryOperator<E>) - Method in class org.dromara.hutool.core.array.ArrayWrapper
对每个数组元素执行指定操作,替换元素为修改后的元素
edit(T, UnaryOperator<Field>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
编辑Bean的字段,static字段不会处理
例如需要对指定的字段做判空操作、null转""操作等等。
edit(T, UnaryOperator<E>) - Static method in class org.dromara.hutool.core.collection.CollUtil
编辑,此方法产生一个新集合
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能: 1、过滤出需要的对象,如果返回null表示这个元素对象抛弃 2、修改元素对象,返回集合中为修改后的对象
edit(Iterator<T>, UnaryOperator<T>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
编辑,此方法产生一个新ArrayList
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能: 1、过滤出需要的对象,如果返回null表示这个元素对象抛弃 2、修改元素对象,返回集合中为修改后的对象
edit(Map<K, V>, UnaryOperator<Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.map.MapUtil
编辑Map
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能: 1、过滤出需要的对象,如果返回 null表示这个元素对象抛弃 2、修改元素对象,返回集合中为修改后的对象
editable - Variable in class org.dromara.hutool.core.bean.copier.CopyOptions
限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
如果目标对象是Map,源对象是Bean,则作用于源对象上
editField(Object, Object) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
编辑字段值
element() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
elementDiscoverer - Variable in class org.dromara.hutool.core.tree.HierarchyIterator
下一层级节点的获取方法
elementFactory - Variable in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
创建AnnotatedElement的工厂方法,当返回null时将忽略该元素
elementText(Element, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
根据节点名获得第一个子节点
elementText(Element, String, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
根据节点名获得第一个子节点
elfHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
ELF算法
email(String) - Static method in class org.dromara.hutool.core.data.MaskingUtil
【电子邮箱】邮箱前缀仅显示第一个字母,前缀其他隐藏,用星号代替,@及后面的地址显示,比如:d**@126.com
EMAIL - Static variable in class org.dromara.hutool.core.regex.PatternPool
邮件,符合RFC 5322规范,注意email 要宽松一点。
EMAIL - Static variable in interface org.dromara.hutool.core.regex.RegexPool
邮件,符合RFC 5322规范,注意email 要宽松一点。
empty(Class<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
根据给定的集合类型,返回对应的空集合,支持类型包括: 1.
empty() - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
返回一个空Iterator
empty() - Static method in class org.dromara.hutool.core.collection.ListUtil
获取一个空List,这个空List不可变
empty() - Static method in class org.dromara.hutool.core.collection.set.SetUtil
获取一个空Set,这个空Set不可变
empty() - Static method in class org.dromara.hutool.core.lang.Opt
返回一个空的Opt
empty() - Static method in class org.dromara.hutool.core.map.MapUtil
返回一个空Map
empty(Class<?>) - Static method in class org.dromara.hutool.core.map.MapUtil
根据传入的Map类型不同,返回对应类型的空Map,支持类型包括: 1.
empty() - Static method in class org.dromara.hutool.core.stream.EasyStream
返回空的串行流
empty() - Static method in class org.dromara.hutool.core.stream.EntryStream
创建一个空的串行流
EMPTY - Static variable in class org.dromara.hutool.core.text.StrValidator
字符串常量:空字符串 ""
EMPTY_JSON - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:空 JSON "{}"
EmptyBeanConverter - Class in org.dromara.hutool.core.convert.impl
空值或空对象转换器,转换结果为目标类型对象的实例化对象
EmptyBeanConverter() - Constructor for class org.dromara.hutool.core.convert.impl.EmptyBeanConverter
 
emptyCount(Object...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
计算null或空元素对象的个数,通过ObjUtil.isEmpty(Object) 判断元素
emptyElement() - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
获取一个不包含任何注解的AnnotatedElement
emptyIfNull(Set<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
如果提供的集合为null,返回一个不可变的默认空集合,否则返回原集合
空集合使用Collections.emptySet()
emptyIfNull(List<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
如果提供的集合为null,返回一个不可变的默认空集合,否则返回原集合
空集合使用Collections.emptyList()
emptyIfNull(Map<K, V>) - Static method in class org.dromara.hutool.core.map.MapUtil
如果提供的集合为null,返回一个不可变的默认空集合,否则返回原集合
空集合使用Collections.emptyMap()
emptyIfNull(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
当给定字符串为空字符串时,转换为""
此方法与CharSequenceUtil.toStringOrEmpty(Object)不同的是,如果提供的CharSequence非String,则保持原状
EmptyInputStream - Class in org.dromara.hutool.core.io.stream
空的流
EmptyNode - Class in org.dromara.hutool.core.bean.path.node
空节点
EmptyNode() - Constructor for class org.dromara.hutool.core.bean.path.node.EmptyNode
 
EmptyOutputStream - Class in org.dromara.hutool.core.io.stream
此OutputStream写出数据到/dev/null,即忽略所有数据
来自 Apache Commons io
encode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.Base16Codec
 
encode(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base32
编码
encode(String) - Static method in class org.dromara.hutool.core.codec.binary.Base32
base32编码
encode(String, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Base32
base32编码
encode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.Base32Codec.Base32Encoder
 
encode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.Base32Codec
 
encode(byte[], boolean) - Method in class org.dromara.hutool.core.codec.binary.Base32Codec
编码数据
encode(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base58
Base58编码
encode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.Base58Codec.Base58Encoder
 
encode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.Base58Codec
Base58编码
encode(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62编码
encode(CharSequence, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62编码
encode(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62编码
encode(InputStream) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62编码
encode(File) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62编码
encode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.Base62Codec.Base62Encoder
 
encode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.Base62Codec
编码指定消息bytes为Base62格式的bytes
encode(byte[], boolean) - Method in class org.dromara.hutool.core.codec.binary.Base62Codec
编码指定消息bytes为Base62格式的bytes
encode(byte[], boolean) - Static method in class org.dromara.hutool.core.codec.binary.Base64
编码为Base64,非URL安全的
encode(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64编码
encode(CharSequence, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64编码
encode(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64编码
encode(InputStream) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64编码
encode(File) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64编码
encode(String) - Method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Encodes a String containing characters in the Base32 alphabet.
encode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Encodes a byte[] containing binary data, into a byte[] containing characters in the alphabet.
encode(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将字节数组转换为十六进制字符数组
encode(String, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将字节数组转换为十六进制字符数组
encode(byte[], boolean) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将字节数组转换为十六进制字符数组
encode(byte[]) - Method in class org.dromara.hutool.core.codec.binary.Z85Codec
 
encode(String, int) - Static method in class org.dromara.hutool.core.codec.Caesar
传入明文,加密得到密文
encode(T) - Method in interface org.dromara.hutool.core.codec.Encoder
执行编码
encode(byte[]) - Method in class org.dromara.hutool.core.codec.hash.CityHash
 
encode(T) - Method in interface org.dromara.hutool.core.codec.hash.Hash128
 
encode(T) - Method in interface org.dromara.hutool.core.codec.hash.Hash32
 
encode(T) - Method in interface org.dromara.hutool.core.codec.hash.Hash64
 
encode(byte[]) - Method in class org.dromara.hutool.core.codec.hash.KetamaHash
 
encode(byte[]) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
 
encode(long...) - Method in class org.dromara.hutool.core.codec.Hashids
编码给定的数字数组
encode(String) - Method in class org.dromara.hutool.core.codec.Morse
编码
encode(byte[]) - Method in class org.dromara.hutool.core.codec.PercentCodec
 
encode(CharSequence, Charset, char...) - Method in class org.dromara.hutool.core.codec.PercentCodec
将URL中的字符串编码为%形式
encode(CharSequence) - Static method in class org.dromara.hutool.core.codec.PunyCode
将内容编码为PunyCode
encode(CharSequence, boolean) - Static method in class org.dromara.hutool.core.codec.PunyCode
将内容编码为PunyCode
encode(String, int) - Static method in class org.dromara.hutool.core.codec.RadixUtil
把一个整型数值转换成自己定义的进制 长度即进制
encode("AB",10) 51转换成2进制,A=0;B=1 。
encode(String, long) - Static method in class org.dromara.hutool.core.codec.RadixUtil
把一个长整型数值转换成自己定义的进制
encode(String, int, boolean) - Static method in class org.dromara.hutool.core.codec.Rot
RotN编码
encode(Object...) - Static method in class org.dromara.hutool.core.lang.ansi.AnsiEncoder
创建ANSI字符串,参数中的AnsiElement会被转换为编码形式。
encode13(String) - Static method in class org.dromara.hutool.core.codec.Rot
Rot-13编码,同时编码数字
encode13(String, boolean) - Static method in class org.dromara.hutool.core.codec.Rot
Rot-13编码
encodeAll(String) - Static method in class org.dromara.hutool.core.net.url.UrlEncoder
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。。
encodeAll(String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlEncoder
编码URL
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encodeBlank(CharSequence) - Static method in class org.dromara.hutool.core.net.url.UrlEncoder
单独编码URL中的空白符,空白符编码为%20
encodeChecked(Integer, byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base58
Base58编码
包含版本位和校验位
encodeColor(Color) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
Color编码为Hex形式
encodeColor(Color, String) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
Color编码为Hex形式
encodeDomain(String) - Static method in class org.dromara.hutool.core.codec.PunyCode
将域名编码为PunyCode,会忽略"."
encodeFromHex(String) - Method in class org.dromara.hutool.core.codec.Hashids
编码给定的16进制数字
encodeHex(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base32
编码
encodeHex(String) - Static method in class org.dromara.hutool.core.codec.binary.Base32
base32编码(Hex模式)
encodeHex(String, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Base32
base32编码(Hex模式)
encodeInverted(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62编码(反转字母表模式)
encodeInverted(CharSequence, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62编码(反转字母表模式)
encodeInverted(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62编码(反转字母表模式)
encodeInverted(InputStream) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62编码
encodeInverted(File) - Static method in class org.dromara.hutool.core.codec.binary.Base62
Base62编码(反转字母表模式)
encodeQuery(String) - Static method in class org.dromara.hutool.core.net.url.UrlEncoder
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encodeQuery(String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlEncoder
编码字符为URL中查询语句
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
encodeQuery(String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlQueryUtil
对URL参数做编码,只编码键和值
提供的值可以是url附带参数,但是不能只是url 注意,此方法只能标准化整个URL,并不适合于单独编码参数值
ENCODER - Static variable in class org.dromara.hutool.core.codec.binary.Base32Codec.Base32Encoder
编码器
ENCODER - Static variable in class org.dromara.hutool.core.codec.binary.Base58Codec.Base58Encoder
编码器
Encoder<T,R> - Interface in org.dromara.hutool.core.codec
编码接口
encodeStr(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将字节数组转换为十六进制字符串
encodeStr(String) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将字符串转换为十六进制字符串,结果为小写,默认编码是UTF-8
encodeStr(String, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将字符串转换为十六进制字符串,结果为小写
encodeStr(byte[], boolean) - Static method in class org.dromara.hutool.core.codec.binary.Hex
将字节数组转换为十六进制字符串
encodeToString(String) - Method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Encodes a String containing characters in the Base32 alphabet.
encodeToString(byte[]) - Method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Encodes a byte[] containing binary data, into a String containing characters in the Base-N alphabet.
encodeUrlSafe(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64编码,URL安全
encodeUrlSafe(CharSequence, Charset) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64编码,URL安全的
encodeUrlSafe(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64编码,URL安全的
encodeUrlSafe(InputStream) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64编码,URL安全的
encodeUrlSafe(File) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64编码,URL安全的
encodeWithoutPadding(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base64
base64编码,不进行padding(末尾不会填充'=')
end(int) - Method in class org.dromara.hutool.core.text.finder.CharFinder
 
end(int) - Method in class org.dromara.hutool.core.text.finder.CharMatcherFinder
 
end(int) - Method in interface org.dromara.hutool.core.text.finder.Finder
返回结束位置,即最后一个字符后的位置(不包含)
end(int) - Method in class org.dromara.hutool.core.text.finder.LengthFinder
 
end(int) - Method in class org.dromara.hutool.core.text.finder.PatternFinder
 
end(int) - Method in class org.dromara.hutool.core.text.finder.StrFinder
 
endIndex - Variable in class org.dromara.hutool.core.lang.range.DefaultSegment
结束位置
endIndex - Variable in class org.dromara.hutool.core.text.finder.TextFinder
结束位置
endOfDay(Calendar, boolean) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某天的结束时间
endOfDay(Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某天的结束时间
endOfDay(LocalDateTime, boolean) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为一天的结束时间,例如: 毫秒不归零:2020-02-02 23:59:59,999 毫秒归零:2020-02-02 23:59:59,000
endOfDay(LocalDate, boolean) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为一天的结束时间,例如: 毫秒不归零:2020-02-02 23:59:59,999 毫秒归零:2020-02-02 23:59:59,000
endOfHour(Calendar, boolean) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某小时的结束时间
endOfHour(Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某小时的结束时间
endOfMinute(Calendar, boolean) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某分钟的结束时间
endOfMinute(Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某分钟的结束时间
endOfMonth(Calendar, boolean) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某月的结束时间
endOfMonth(Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某月的结束时间
endOfMonth(LocalDateTime, boolean) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为月底的结束时间
endOfMonth(LocalDate) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为月底的结束时间
endOfQuarter(Calendar, boolean) - Static method in class org.dromara.hutool.core.date.CalendarUtil
获取某季度的结束时间
endOfQuarter(Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某季度的结束时间
endOfSecond(Calendar, boolean) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改秒级别的结束时间,即毫秒设置为999
endOfSecond(Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
获取秒级别的结束时间,即毫秒设置为999
endOfWeek(Calendar, boolean, boolean) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某周的结束时间
endOfWeek(Date, boolean, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某周的结束时间
endOfYear(Calendar, boolean) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改某年的结束时间
endOfYear(Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
获取某年的结束时间
endOfYear(LocalDateTime, boolean) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为一年的结束时间
endOfYear(LocalDate) - Static method in class org.dromara.hutool.core.date.TimeUtil
修改为一年的结束时间
endWith(CharSequence, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
字符串是否以给定字符结尾
endWith(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
是否以指定字符串结尾
endWith(CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
是否以指定字符串结尾
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
endWith(CharSequence, CharSequence, boolean, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
是否以指定字符串结尾
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
endWithAny(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串是否以任何一个字符串结尾
给定字符串和数组为空都返回false
endWithAnyIgnoreCase(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串是否以任何一个字符串结尾(忽略大小写)
给定字符串和数组为空都返回false
endWithIgnoreCase(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
是否以指定字符串结尾,忽略大小写
EnglishNumberFormatter - Class in org.dromara.hutool.core.math
将浮点数类型的number转换成英语的表达方式
参考博客:http://blog.csdn.net/eric_sunah/article/details/8713226
EnglishNumberFormatter() - Constructor for class org.dromara.hutool.core.math.EnglishNumberFormatter
 
ensureBufferSize(int) - Method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Ensure that the buffer has room for size bytes
ensureCapacity(int) - Method in class org.dromara.hutool.core.io.buffer.FastBuffer
检查现有缓冲区是否满足capacity,不满足则分配新的区域分配下一个缓冲区,不会小于1024
ensureCapacity(int) - Method in class org.dromara.hutool.core.io.buffer.FastByteBuffer
 
ensureCapacity(int) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
 
entry(K, V) - Static method in class org.dromara.hutool.core.map.MapUtil
将键和值转换为AbstractMap.SimpleImmutableEntry
返回的Entry不可变
entry(K, V, boolean) - Static method in class org.dromara.hutool.core.map.MapUtil
将键和值转换为AbstractMap.SimpleEntry 或者 AbstractMap.SimpleImmutableEntry
EntryConverter - Class in org.dromara.hutool.core.convert.impl
Map.Entry 转换器,支持以下类型转为Entry Map Map.Entry 带分隔符的字符串,支持分隔符:=, Bean,包含getKeygetValue方法
EntryConverter(Converter) - Constructor for class org.dromara.hutool.core.convert.impl.EntryConverter
构造
entrySet() - Method in class org.dromara.hutool.core.map.BeanMap
 
entrySet() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
entrySet() - Method in class org.dromara.hutool.core.map.LinkedForestMap
由key与TreeEntry组成的键值对实体的Set集合。
entrySet() - Method in class org.dromara.hutool.core.map.MapProxy
 
entrySet() - Method in class org.dromara.hutool.core.map.MapWrapper
 
entrySet() - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
entrySet() - Method in class org.dromara.hutool.core.map.TableMap
 
entrySingleton() - Static method in class org.dromara.hutool.core.map.concurrent.Weighers
A weigher where an entry has a selector of 1.
EntryStream<K,V> - Class in org.dromara.hutool.core.stream
参考StreamEx的EntryStream与vavr的Map,是针对键值对对象Map.Entry特化的单元素增强流实现。
entryToMap() - Static method in class org.dromara.hutool.core.stream.CollectorUtil
用于Stream<Entry> 转 Map 的情况
EntryWeigher<K,V> - Interface in org.dromara.hutool.core.map.concurrent
A class that can determine the selector of an entry.
EnumConverter - Class in org.dromara.hutool.core.convert.impl
无泛型检查的枚举转换器
EnumConverter() - Constructor for class org.dromara.hutool.core.convert.impl.EnumConverter
 
EnumerationIter<E> - Class in org.dromara.hutool.core.collection.iter
Enumeration对象转Iterator对象
EnumerationIter(Enumeration<E>) - Constructor for class org.dromara.hutool.core.collection.iter.EnumerationIter
构造
EnumItem<E extends EnumItem<E>> - Interface in org.dromara.hutool.core.lang
枚举元素通用接口,在自定义枚举上实现此接口可以用于数据转换
数据库保存时建议保存 intVal()而非ordinal()防备需求变更
EnumUtil - Class in org.dromara.hutool.core.util
枚举工具类
EnumUtil() - Constructor for class org.dromara.hutool.core.util.EnumUtil
 
eof - Variable in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Boolean flag to indicate the EOF has been reached.
EOF - Static variable in class org.dromara.hutool.core.io.NioUtil
数据流末尾
equal(Object, Object) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否相等
当两值都为null返回true
EQUAL - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:等于 '='
equals(Object) - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
比较两个实例是否相等
equals(Object) - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
比较两个实例是否相等
equals(Object) - Method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
比较两个实例是否相等
equals(Object) - Method in class org.dromara.hutool.core.annotation.GenericAnnotationMapping
比较两个实例是否相等
equals(Object) - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
比较两个实例是否相等
equals(Object, Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
判断两个数组是否相等,判断依据包括数组长度和每个元素都相等。
equals(Object) - Method in class org.dromara.hutool.core.bean.DynaBean
 
equals(Collection<? extends CharSequence>) - Method in class org.dromara.hutool.core.codec.hash.Simhash
判断文本是否与已存储的数据重复
equals(Object) - Method in class org.dromara.hutool.core.codec.Number128
 
equals(Collection<?>, Collection<?>, boolean) - Static method in class org.dromara.hutool.core.collection.CollUtil
判断两个Iterable中的元素是否相同,可选是否判断顺序 当满足下列情况时返回true: 两个Iterable都为null; 两个Iterable满足coll1 == coll2; 如果忽略顺序,则计算两个集合中元素和数量是否相同 如果不忽略顺序,两个Iterable所有具有相同下标的元素皆满足Objects.equals(Object, Object)
equals(Iterable<?>, Iterable<?>, boolean) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
判断两个Iterable中的元素是否相同,可选是否判断顺序 当满足下列情况时返回true: 两个Iterable都为null; 两个Iterable满足iterable1 == iterable2; 如果忽略顺序,则计算两个集合中元素和数量是否相同 如果不忽略顺序,两个Iterable所有具有相同下标的元素皆满足Objects.equals(Object, Object)
equals(Object) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
equals(Object) - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
equals(Object) - Method in class org.dromara.hutool.core.comparator.ComparatorChain
 
equals(T, T) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
null安全的检查两个对象是否相同,通过调用compare(c1, c2) == 0完成
equals(Object) - Method in class org.dromara.hutool.core.data.CoordinateUtil.Coordinate
 
equals(Object) - Method in class org.dromara.hutool.core.data.id.ULID
 
equals(Object) - Method in class org.dromara.hutool.core.data.id.UUID
将此对象与指定对象比较。
equals(Object) - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
 
equals(Object) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
equals(Object) - Method in class org.dromara.hutool.core.date.format.SimpleDateBasic
 
equals(Object) - Method in class org.dromara.hutool.core.io.ByteOrderMark
 
equals(File, File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
检查两个文件是否是同一个文件
所谓文件相同,是指File对象是否指向同一个文件或文件夹,规则为: 当两个文件都为null时,返回true 当两个文件都存在时,检查是否为同一个文件 当两个文件都不存在时,检查路径是否一致
equals(Path, Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
检查两个文件是否是同一个文件
所谓文件相同,是指Path对象是否指向同一个文件或文件夹 当两个文件都为null时,返回true 当两个文件都存在时,检查是否为同一个文件 当两个文件都不存在时,检查Path对象是否equals
equals(Object) - Method in class org.dromara.hutool.core.io.unit.DataSize
 
equals(Object) - Method in class org.dromara.hutool.core.lang.ansi.Ansi8BitColor
 
equals(Object, Object) - Static method in class org.dromara.hutool.core.lang.Assert
断言两个对象是否相等,如果两个对象不相等 抛出IllegalArgumentException 异常
   Assert.isEquals(obj1,obj2);
 
equals(Object, Object, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言两个对象是否相等,如果两个对象不相等 抛出IllegalArgumentException 异常
   Assert.isEquals(obj1,obj2,"obj1 must be equals obj2");
 
equals(Object, Object, Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
断言两个对象是否相等,如果两个对象不相等,抛出指定类型异常,并使用指定的函数获取错误信息返回
equals(Object) - Method in class org.dromara.hutool.core.lang.mutable.MutableBool
相等需同时满足如下条件: 非空 类型为 MutableBool 值相等
equals(Object) - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
相等需同时满足如下条件: 非空 类型为 MutableByte 值相等
equals(Object) - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
相等需同时满足如下条件: 非空 类型为 MutableDouble 值相等
equals(Object) - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
相等需同时满足如下条件: 非空 类型为 MutableFloat 值相等
equals(Object) - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
相等需同时满足如下条件: 非空 类型为 MutableInt 值相等
equals(Object) - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
相等需同时满足如下条件: 非空 类型为 MutableLong 值相等
equals(Object) - Method in class org.dromara.hutool.core.lang.mutable.MutableObj
 
equals(Object) - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
相等需同时满足如下条件: 非空 类型为 MutableShort 值相等
equals(Object) - Method in class org.dromara.hutool.core.lang.Opt
判断传入参数是否与 Opt相等 在以下情况下返回true 它也是一个 Opt 并且 它们包裹住的元素都为空 或者 它们包裹住的元素之间相互 equals()
equals(Object) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
比较两个实例是否相等
equals(Object) - Method in class org.dromara.hutool.core.lang.ref.PhantomObj
 
equals(Object) - Method in class org.dromara.hutool.core.lang.ref.SoftObj
 
equals(Object) - Method in class org.dromara.hutool.core.lang.ref.StrongObj
 
equals(Object) - Method in class org.dromara.hutool.core.lang.ref.WeakObj
 
equals(Object) - Method in class org.dromara.hutool.core.lang.selector.WeightObj
 
equals(Object) - Method in class org.dromara.hutool.core.lang.tuple.Pair
 
equals(Object) - Method in class org.dromara.hutool.core.lang.tuple.Triple
 
equals(Object) - Method in class org.dromara.hutool.core.lang.tuple.Tuple
 
equals(Object) - Method in class org.dromara.hutool.core.lang.Version
 
equals(Object) - Method in class org.dromara.hutool.core.map.AbsEntry
 
equals(Object) - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
比较目标对象与当前TreeEntry是否相等。
equals(Object) - Method in class org.dromara.hutool.core.map.MapWrapper
 
equals(Object) - Method in class org.dromara.hutool.core.map.multi.AbsTable
 
equals(Object) - Method in class org.dromara.hutool.core.map.TolerantMap
 
equals(Object) - Method in class org.dromara.hutool.core.math.Money
判断本货币对象与另一对象是否相等。
equals(Money) - Method in class org.dromara.hutool.core.math.Money
判断本货币对象与另一货币对象是否相等。
equals(Number, Number) - Static method in class org.dromara.hutool.core.math.NumberUtil
比较数字值是否相等,相等返回true
需要注意的是BigDecimal需要特殊处理
BigDecimal使用compareTo方式判断,因为使用equals方法也判断小数位数,如2.0和2.00就不相等,
此方法判断值相等时忽略精度的,即0.00 == 0 如果用户提供两个Number都是BigDecimal,则通过调用BigDecimal.compareTo(BigDecimal)方法来判断是否相等 其他情况调用Object.equals(Object)比较
equals(Class<?>, String, boolean) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
指定类是否与给定的类名相同
equals(Object) - Method in class org.dromara.hutool.core.reflect.kotlin.KParameter
 
equals(Object) - Method in class org.dromara.hutool.core.stream.AbstractEnhancedWrappedStream
比较被包装的实例是否相等
equals(Object) - Method in interface org.dromara.hutool.core.stream.WrappedStream
比较实例是否相等
equals(Object) - Method in class org.dromara.hutool.core.text.CharArray
 
equals(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
比较两个字符串(大小写敏感)。
equals(CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
比较两个字符串是否相等,规则如下 str1和str2都为null 忽略大小写使用String.equalsIgnoreCase(String)判断相等 不忽略大小写使用String.contentEquals(CharSequence)判断相等
equals(char, char, boolean) - Static method in class org.dromara.hutool.core.text.CharUtil
比较两个字符是否相同
equals(Object) - Method in class org.dromara.hutool.core.tree.TreeNode
 
equals(Enum<?>, String) - Static method in class org.dromara.hutool.core.util.EnumUtil
检查某个枚举值是否匹配指定值
equals(Object, Object) - Static method in class org.dromara.hutool.core.util.ObjUtil
比较两个对象是否相等,满足下述任意条件即返回true: 若两对象皆为BigDecimal,且满足0 == obj1.compareTo(obj2) 若两对象都为数组,调用Arrays.equals完成判断 obj1 == null && obj2 == null obj1.equals(obj2)
equalsAny(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串是否与提供的中任一字符串相同,相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
equalsAny(CharSequence, boolean, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串是否与提供的中任一字符串相同,相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
equalsAnyIgnoreCase(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串是否与提供的中任意一个字符串相同(忽略大小写),相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
equalsCharAt(CharSequence, int, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
字符串指定位置的字符是否与给定字符相同
如果字符串为null,返回false
如果给定的位置大于字符串长度,返回false
如果给定的位置小于0,返回false
equalsIgnoreCase(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
比较两个字符串(大小写不敏感)。
equalsIgnoreCase(Enum<?>, String) - Static method in class org.dromara.hutool.core.util.EnumUtil
忽略大小检查某个枚举值是否匹配指定值
equalsKey(K) - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
指定key与当前节点的key是否相等
error() - Static method in class org.dromara.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
error(Object) - Static method in class org.dromara.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
error(Object, Object...) - Static method in class org.dromara.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
如果传入打印对象为Throwable对象,那么同时打印堆栈
error(String, Object...) - Static method in class org.dromara.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
error(Throwable, String, Object...) - Static method in class org.dromara.hutool.core.lang.Console
同 System.err.println()方法,打印控制台日志
escape(char) - Static method in class org.dromara.hutool.core.regex.ReUtil
转义字符,将正则的关键字转义
escape(CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
转义字符串,将正则的关键字转义
escape(CharSequence) - Static method in class org.dromara.hutool.core.text.escape.EscapeUtil
Escape编码(Unicode)(等同于JS的escape()方法)
该方法不会对 ASCII 字母和数字进行编码,也不会对下面这些 ASCII 标点符号进行编码: * @ - _ + . /
其他所有的字符都会被转义序列替换。
escape(CharSequence, Predicate<Character>) - Static method in class org.dromara.hutool.core.text.escape.EscapeUtil
Escape编码(Unicode)
该方法不会对 ASCII 字母和数字进行编码。
escape - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
转义符
escape(char) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
设置 转义符
escape - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate
转义符,默认为: CharPool.BACKSLASH 转义符如果标记在 占位符的开始或者结束 之前,则该占位符无效,属于普通字符串的一部分
例如,转义符为 '/',占位符为 "{}":
当字符串模板为 "I am /{}" 时,该模板中没有任何需要替换的占位符,格式化结果为 "I am {}" 如果要打印转义符,使用双转义符即可,例如,转义符为 '/',占位符为 "{}":
当字符串模板为 "I am //{}" ,格式化参数为 "student", 格式化结果为 "I am /student"
escape$set - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
用户是否设置了 转义符
escapeAll(CharSequence) - Static method in class org.dromara.hutool.core.text.escape.EscapeUtil
Escape编码(Unicode)
该方法不会对 ASCII 字母和数字进行编码。
escapeHtml4(CharSequence) - Static method in class org.dromara.hutool.core.text.escape.EscapeUtil
转义HTML4中的特殊字符
EscapeUtil - Class in org.dromara.hutool.core.text.escape
转义和反转义工具类Escape / Unescape
escape采用ISO Latin字符集对指定的字符串进行编码。
EscapeUtil() - Constructor for class org.dromara.hutool.core.text.escape.EscapeUtil
 
escapeXml(CharSequence) - Static method in class org.dromara.hutool.core.text.escape.EscapeUtil
转义XML中的特殊字符
& (ampersand) 替换为 &amp; < (less than) 替换为 &lt; > (greater than) 替换为 &gt; " (double quote) 替换为 &quot; ' (single quote / apostrophe) 替换为 &apos;
estimateLength() - Method in interface org.dromara.hutool.core.date.format.FastDatePrinter.Rule
Returns the estimated length of the result.
estimateSize() - Method in class org.dromara.hutool.core.collection.TransSpliterator
 
estimateSize() - Method in class org.dromara.hutool.core.stream.spliterators.DropWhileSpliterator
 
estimateSize() - Method in class org.dromara.hutool.core.stream.spliterators.TakeWhileSpliterator
 
exceptionOrElse(T) - Method in class org.dromara.hutool.core.lang.Opt
异常则返回另一个可选值
ExceptionUtil - Class in org.dromara.hutool.core.exception
异常工具类
ExceptionUtil() - Constructor for class org.dromara.hutool.core.exception.ExceptionUtil
 
exec() - Method in class org.dromara.hutool.core.stream.AbstractEnhancedWrappedStream
触发流的执行,这是一个终端操作
exec(String...) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
exec(String[], String...) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
exec(String[], File, String...) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
执行命令
命令带参数时参数可作为其中一个参数,也可以将命令和参数组合为一个字符串传入
execAsync(Runnable, boolean) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
执行异步方法
execAsync(Callable<T>) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
execAsync(Runnable) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
execForLines(String...) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
执行系统命令,使用系统默认编码
execForLines(Charset, String...) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
执行系统命令,使用传入的 charset 编码
execForStr(String...) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
执行系统命令,使用系统默认编码
execForStr(Charset, String...) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
执行系统命令,使用传入的 charset 编码
execute(Runnable) - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
execute(Runnable) - Static method in class org.dromara.hutool.core.thread.GlobalThreadPool
直接在公共线程池中执行线程
execute() - Method in class org.dromara.hutool.core.thread.RetryableTask
同步执行重试方法
execute(Runnable) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
直接在公共线程池中执行线程
ExecutorBuilder - Class in org.dromara.hutool.core.thread
ThreadPoolExecutor 建造者 1.
ExecutorBuilder() - Constructor for class org.dromara.hutool.core.thread.ExecutorBuilder
 
existCustomTimeout - Variable in class org.dromara.hutool.core.cache.impl.AbstractCache
每个对象是否有单独的失效时长,用于决定清理过期对象是否有必要。
exists(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
判断文件是否存在,如果path为null,则返回false
exists(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
判断文件是否存在,如果file为null,则返回false
exists(String, String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
是否存在匹配文件
exists(Path, boolean) - Static method in class org.dromara.hutool.core.io.file.PathUtil
判断文件或目录是否存在
exists() - Method in class org.dromara.hutool.core.io.resource.VfsResource
VFS文件是否存在
exists(Class<?>, Object...) - Static method in class org.dromara.hutool.core.lang.Singleton
判断某个类的对象是否存在
EXT_CLASS - Static variable in class org.dromara.hutool.core.io.file.FileNameUtil
.class文件扩展名
EXT_JAR - Static variable in class org.dromara.hutool.core.io.file.FileNameUtil
.jar文件扩展名
EXT_JAR_PATH - Static variable in class org.dromara.hutool.core.io.file.FileNameUtil
在Jar中的路径jar的扩展名形式
EXT_JAVA - Static variable in class org.dromara.hutool.core.io.file.FileNameUtil
.java文件扩展名
EXTERNAL_GENERAL_ENTITIES - Static variable in class org.dromara.hutool.core.xml.XmlFeatures
不包括外部一般实体
EXTERNAL_PARAMETER_ENTITIES - Static variable in class org.dromara.hutool.core.xml.XmlFeatures
不包含外部参数实体或外部DTD子集。
extName(File) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
获取文件扩展名(后缀名),扩展名不带“.”
extName(String) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
获得文件的扩展名(后缀名),扩展名不带“.”
extractMulti(Pattern, CharSequence, String) - Static method in class org.dromara.hutool.core.regex.ReUtil
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)
extractMulti(String, CharSequence, String) - Static method in class org.dromara.hutool.core.regex.ReUtil
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
extractMultiAndDelPre(Pattern, Mutable<CharSequence>, String) - Static method in class org.dromara.hutool.core.regex.ReUtil
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
extractMultiAndDelPre(String, Mutable<CharSequence>, String) - Static method in class org.dromara.hutool.core.regex.ReUtil
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)
extractPathWithinPattern(String, String) - Method in class org.dromara.hutool.core.text.AntPathMatcher
Given a pattern and a full path, determine the pattern-mapped part.
extractUriTemplateVariables(String, String) - Method in class org.dromara.hutool.core.text.AntPathMatcher
提取参数

F

factorial(BigInteger) - Static method in class org.dromara.hutool.core.math.MathUtil
计算阶乘 n!
factorial(BigInteger, BigInteger) - Static method in class org.dromara.hutool.core.math.MathUtil
计算范围阶乘 factorial(start, end) = start * (start - 1) * ... * (end + 1)
factorial(long, long) - Static method in class org.dromara.hutool.core.math.MathUtil
计算范围阶乘 factorial(start, end) = start * (start - 1) * ... * (end + 1)
factorial(long) - Static method in class org.dromara.hutool.core.math.MathUtil
计算阶乘 n!
fail - Variable in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
 
failPre - Variable in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
 
FastBuffer - Class in org.dromara.hutool.core.io.buffer
快速缓冲抽象类,用于快速读取、写入数据到缓冲区,减少内存复制
相对于普通Buffer,使用二维数组扩展长度,减少内存复制,提升性能
FastBuffer(int) - Constructor for class org.dromara.hutool.core.io.buffer.FastBuffer
构造
FastByteArrayOutputStream - Class in org.dromara.hutool.core.io.stream
基于快速缓冲FastByteBuffer的OutputStream,随着数据的增长自动扩充缓冲区 可以通过FastByteArrayOutputStream.toByteArray()FastByteArrayOutputStream.toString()来获取数据 FastByteArrayOutputStream.close()方法无任何效果,当流被关闭后不会抛出IOException 这种设计避免重新分配内存块而是分配新增的缓冲区,缓冲区不会被GC,数据也不会被拷贝到其他缓冲区。
FastByteArrayOutputStream() - Constructor for class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
构造
FastByteArrayOutputStream(int) - Constructor for class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
构造
FastByteBuffer - Class in org.dromara.hutool.core.io.buffer
代码移植自blade
快速缓冲,将数据存放在缓冲集中,取代以往的单一数组
FastByteBuffer() - Constructor for class org.dromara.hutool.core.io.buffer.FastByteBuffer
构造
FastByteBuffer(int) - Constructor for class org.dromara.hutool.core.io.buffer.FastByteBuffer
构造
FastCharBuffer - Class in org.dromara.hutool.core.io.buffer
代码移植自jetbrick
快速字符缓冲,将数据存放在缓冲集中,取代以往的单一数组
注意:此缓存在大量重复append时,性能比StringBuilder要好,但是FastCharBuffer.toArray()性能很差
FastCharBuffer() - Constructor for class org.dromara.hutool.core.io.buffer.FastCharBuffer
构造
FastCharBuffer(int) - Constructor for class org.dromara.hutool.core.io.buffer.FastCharBuffer
构造
FastDateFormat - Class in org.dromara.hutool.core.date.format
FastDateFormat 是一个线程安全的 SimpleDateFormat 实现: 日期字符串解析 日期格式化 通过以下静态方法获得此对象:
FastDateFormat.getInstance(String, TimeZone, Locale)
FastDateFormat.getDateInstance(int, TimeZone, Locale)
FastDateFormat.getTimeInstance(int, TimeZone, Locale)
FastDateFormat.getDateTimeInstance(int, int, TimeZone, Locale) Thanks to Apache Commons Lang 3.5
FastDateFormat(String, TimeZone, Locale) - Constructor for class org.dromara.hutool.core.date.format.FastDateFormat
构造
FastDateFormat(String, TimeZone, Locale, Date) - Constructor for class org.dromara.hutool.core.date.format.FastDateFormat
构造
FastDateParser - Class in org.dromara.hutool.core.date.format.parser
SimpleDateFormat 的线程安全版本,用于解析日期字符串并转换为 Date 对象
Thanks to Apache Commons Lang 3.5
FastDateParser(String, TimeZone, Locale) - Constructor for class org.dromara.hutool.core.date.format.parser.FastDateParser
Constructs a new FastDateParser.
FastDateParser(String, TimeZone, Locale, Date) - Constructor for class org.dromara.hutool.core.date.format.parser.FastDateParser
Constructs a new FastDateParser.
FastDatePrinter - Class in org.dromara.hutool.core.date.format
SimpleDateFormat 的线程安全版本,用于将 Date 格式化输出
Thanks to Apache Commons Lang 3.5
FastDatePrinter(String, TimeZone, Locale) - Constructor for class org.dromara.hutool.core.date.format.FastDatePrinter
构造,内部使用
FastDatePrinter.NumberRule - Interface in org.dromara.hutool.core.date.format
Inner class defining a numeric rule.
FastDatePrinter.Rule - Interface in org.dromara.hutool.core.date.format
规则
fastSimpleUUID() - Static method in class org.dromara.hutool.core.data.id.IdUtil
简化的UUID,去掉了横线,使用性能更好的ThreadLocalRandom生成UUID
FastStringReader - Class in org.dromara.hutool.core.io
快速字符串读取,相比jdk的StringReader非线程安全,速度更快。
FastStringReader(String) - Constructor for class org.dromara.hutool.core.io.FastStringReader
构造
FastStringWriter - Class in org.dromara.hutool.core.io
借助StringBuilder 提供快读的字符串写出,相比jdk的StringWriter非线程安全,速度更快。
FastStringWriter() - Constructor for class org.dromara.hutool.core.io.FastStringWriter
构造
FastStringWriter(int) - Constructor for class org.dromara.hutool.core.io.FastStringWriter
构造
fastUUID() - Static method in class org.dromara.hutool.core.data.id.IdUtil
获取随机UUID,使用性能更好的ThreadLocalRandom生成UUID
fastUUID() - Static method in class org.dromara.hutool.core.data.id.UUID
获取类型 4 UUIDv4(伪随机生成的)UUID 的静态工厂。
features - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
策略值
features(StrTemplate.Feature...) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
设置 新的策略值,完全覆盖旧的策略值
FieldComparator<T> - Class in org.dromara.hutool.core.comparator
Bean字段排序器
参阅feilong-core中的PropertyComparator
FieldComparator(Class<T>, String) - Constructor for class org.dromara.hutool.core.comparator.FieldComparator
构造
FieldComparator(Field) - Constructor for class org.dromara.hutool.core.comparator.FieldComparator
构造
FieldComparator(boolean, boolean, Field) - Constructor for class org.dromara.hutool.core.comparator.FieldComparator
构造
fieldEditor - Variable in class org.dromara.hutool.core.bean.copier.CopyOptions
字段属性名和属性值编辑器,用于自定义属性转换规则(例如驼峰转下划线等),自定义属性值转换规则(例如null转""等)
FieldInvoker - Class in org.dromara.hutool.core.reflect
字段调用器
通过反射读取或赋值字段
读取字段值: FieldInvoker.of(Field).invoke(obj); 赋值字段值: FieldInvoker.of(Field).invoke(obj, value);
FieldInvoker(Field) - Constructor for class org.dromara.hutool.core.reflect.FieldInvoker
构造
FieldReflect - Class in org.dromara.hutool.core.reflect
字段反射类
此类持有类中字段的缓存,如果字段在类中修改,则需要手动调用clearCaches方法清除缓存。
FieldReflect(Class<?>) - Constructor for class org.dromara.hutool.core.reflect.FieldReflect
构造
FieldsComparator<T> - Class in org.dromara.hutool.core.comparator
Bean字段排序器
参阅feilong-core中的PropertyComparator
FieldsComparator(Class<T>, String...) - Constructor for class org.dromara.hutool.core.comparator.FieldsComparator
构造
FieldsComparator(boolean, Class<T>, String...) - Constructor for class org.dromara.hutool.core.comparator.FieldsComparator
构造
FieldUtil - Class in org.dromara.hutool.core.reflect
反射中Field字段工具类,包括字段获取和字段赋值。
FieldUtil() - Constructor for class org.dromara.hutool.core.reflect.FieldUtil
 
fieldValueAsMap(Iterable<?>, String, String) - Static method in class org.dromara.hutool.core.collection.CollUtil
两个字段值组成新的Map
fieldValueAsMap(Iterator<?>, String, String) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
两个字段值组成新的Map
fieldValueList(Iterable<V>, String) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
获取指定Bean列表中某个字段,生成新的列表
fieldValueList(Iterator<V>, String) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
获取指定Bean列表中某个字段,生成新的列表
fieldValueMap(Iterable<V>, String) - Static method in class org.dromara.hutool.core.collection.CollUtil
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
fieldValueMap(Iterator<V>, String) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
FIFOCache<K,V> - Class in org.dromara.hutool.core.cache.impl
FIFO(first in first out) 先进先出缓存.
FIFOCache(int) - Constructor for class org.dromara.hutool.core.cache.impl.FIFOCache
构造,默认对象不过期
FIFOCache(int, long) - Constructor for class org.dromara.hutool.core.cache.impl.FIFOCache
构造
file(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建File对象,自动识别相对或绝对路径,规则如下: 如果为绝对路径,如Linux下以`/`开头,Win下以如`d:\`开头,则直接使用。
file(String, String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建File对象
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
file(File, String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建File对象
根据的路径构建文件,在Win下直接构建,在Linux下拆分路径单独构建 此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
file(File, String...) - Static method in class org.dromara.hutool.core.io.file.FileUtil
通过多层目录参数创建文件
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
file(String...) - Static method in class org.dromara.hutool.core.io.file.FileUtil
通过多层目录创建文件 元素名(多层目录名)
file(URI) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建File对象
file(URL) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建File对象
file - Variable in class org.dromara.hutool.core.io.file.FileWrapper
被包装的文件
FILE_SEPARATOR - Static variable in class org.dromara.hutool.core.io.file.FileUtil
文件路径分隔符
在Unix和Linux下 是'/'; 在Windows下是 '\'
FILE_URL_PREFIX - Static variable in class org.dromara.hutool.core.net.url.UrlUtil
URL 前缀表示文件: "file:"
FileAppender - Class in org.dromara.hutool.core.io.file
文件追加器
持有一个文件,在内存中积累一定量的数据后统一追加到文件
此类只有在写入文件时打开文件,并在写入结束后关闭之。
FileAppender(File, int, boolean) - Constructor for class org.dromara.hutool.core.io.file.FileAppender
构造
FileAppender(File, Charset, int, boolean) - Constructor for class org.dromara.hutool.core.io.file.FileAppender
构造
FileAppender(File, Charset, int, boolean, Lock) - Constructor for class org.dromara.hutool.core.io.file.FileAppender
构造
FileChannelCopier - Class in org.dromara.hutool.core.io.copy
FileChannel 数据拷贝封装
FileChannel#transferTo 或 FileChannel#transferFrom 的实现是平台相关的,需要确保低版本平台的兼容性 例如 android 7以下平台在使用 ZipInputStream 解压文件的过程中, 通过 FileChannel#transferFrom 传输到文件时,其返回值可能小于 totalBytes,不处理将导致文件内容缺失 // 错误写法,dstChannel.transferFrom 返回值小于 zipEntry.getSize(),导致解压后文件内容缺失 try (InputStream srcStream = zipFile.getInputStream(zipEntry); ReadableByteChannel srcChannel = Channels.newChannel(srcStream); FileOutputStream fos = new FileOutputStream(saveFile); FileChannel dstChannel = fos.getChannel()) { dstChannel.transferFrom(srcChannel, 0, zipEntry.getSize()); }
FileChannelCopier(long) - Constructor for class org.dromara.hutool.core.io.copy.FileChannelCopier
构造
FileMagicNumber - Enum in org.dromara.hutool.core.io.file
文件类型魔数封装
FileMode - Enum in org.dromara.hutool.core.io.file
文件读写模式,常用于RandomAccessFile
FileNameUtil - Class in org.dromara.hutool.core.io.file
文件名相关工具类
FileNameUtil() - Constructor for class org.dromara.hutool.core.io.file.FileNameUtil
 
FileObjectResource - Class in org.dromara.hutool.core.io.resource
FileObject 资源包装
FileObjectResource(FileObject) - Constructor for class org.dromara.hutool.core.io.resource.FileObjectResource
构造
FileReader - Class in org.dromara.hutool.core.io.file
文件读取器
FileReader(File, Charset) - Constructor for class org.dromara.hutool.core.io.file.FileReader
构造
FileResource - Class in org.dromara.hutool.core.io.resource
文件资源访问对象,支持PathFile 访问
FileResource(String) - Constructor for class org.dromara.hutool.core.io.resource.FileResource
构造
FileResource(Path) - Constructor for class org.dromara.hutool.core.io.resource.FileResource
构造,文件名使用文件本身的名字,带扩展名
FileResource(File) - Constructor for class org.dromara.hutool.core.io.resource.FileResource
构造,文件名使用文件本身的名字,带扩展名
FileResource(File, String) - Constructor for class org.dromara.hutool.core.io.resource.FileResource
构造
FileSystemUtil - Class in org.dromara.hutool.core.io.file
FileSystem相关工具类封装
参考:https://blog.csdn.net/j16421881/article/details/78858690
FileSystemUtil() - Constructor for class org.dromara.hutool.core.io.file.FileSystemUtil
 
FileTypeUtil - Class in org.dromara.hutool.core.io.file
文件类型判断工具类 此工具根据文件的前几位bytes猜测文件类型,对于文本、zip判断不准确,对于视频、图片类型判断准确 需要注意的是,xlsx、docx等Office2007格式,全部识别为zip,因为新版采用了OpenXML格式,这些格式本质上是XML文件打包为zip
FileTypeUtil() - Constructor for class org.dromara.hutool.core.io.file.FileTypeUtil
 
FileUtil - Class in org.dromara.hutool.core.io.file
文件工具类
FileUtil() - Constructor for class org.dromara.hutool.core.io.file.FileUtil
 
FileWrapper - Class in org.dromara.hutool.core.io.file
文件包装器,扩展文件对象
FileWrapper(File, Charset) - Constructor for class org.dromara.hutool.core.io.file.FileWrapper
构造
FileWriter - Class in org.dromara.hutool.core.io.file
文件写入器
FileWriter(File, Charset) - Constructor for class org.dromara.hutool.core.io.file.FileWriter
构造
FileWriter(String, Charset) - Constructor for class org.dromara.hutool.core.io.file.FileWriter
构造
FileWriter(String, String) - Constructor for class org.dromara.hutool.core.io.file.FileWriter
构造
FileWriter(File) - Constructor for class org.dromara.hutool.core.io.file.FileWriter
构造
编码使用 FileWrapper.DEFAULT_CHARSET
FileWriter(String) - Constructor for class org.dromara.hutool.core.io.file.FileWriter
构造
编码使用 FileWrapper.DEFAULT_CHARSET
fill(String, char, int, boolean) - Static method in class org.dromara.hutool.core.text.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
fill(int, int, ByteOrder, byte[]) - Static method in class org.dromara.hutool.core.util.ByteUtil
将int值转为bytes并填充到给定的bytes中
fill(long, int, ByteOrder, byte[]) - Static method in class org.dromara.hutool.core.util.ByteUtil
将long值转为bytes并填充到给定的bytes中
fillAfter(String, char, int) - Static method in class org.dromara.hutool.core.text.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串后
fillBean(T, ValueProvider<String>, CopyOptions) - Static method in class org.dromara.hutool.core.bean.BeanUtil
填充Bean的核心方法
fillBeanWithMap(Map<?, ?>, T, CopyOptions) - Static method in class org.dromara.hutool.core.bean.BeanUtil
使用Map填充Bean对象
fillBefore(String, char, int) - Static method in class org.dromara.hutool.core.text.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串前
filter(T[], Predicate<T>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
过滤数组元素
保留 Predicate.test(Object)true的元素
filter(T, Predicate<E>) - Static method in class org.dromara.hutool.core.collection.CollUtil
过滤
过滤过程通过传入的Predicate实现来过滤返回需要的元素内容,可以实现以下功能: 1、过滤出需要的对象,Predicate.test(Object)方法返回true的对象将被加入结果集合中
filter(SerPredicate<? super T>) - Method in class org.dromara.hutool.core.lang.Opt
判断包裹里的值存在并且与给定的条件是否满足 (Predicate.test(T)执行结果是否为true) 如果满足条件则返回本身
不满足条件或者元素本身为空时返回一个返回一个空的Opt
predicate测试报错,则返回一个空的Opt,并附带错误信息
filter(Map<K, V>, Predicate<Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.map.MapUtil
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Filter实现可以实现以下功能: 1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
filter(Map<K, V>, K...) - Static method in class org.dromara.hutool.core.map.MapUtil
过滤Map保留指定键值对,如果键不存在跳过
filter(BiPredicate<? super K, ? super V>) - Method in class org.dromara.hutool.core.stream.EntryStream
根据键和值过滤键值对
filter(Function<? super T, ? extends R>, R) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
过滤元素,返回与 指定操作结果 匹配 指定值 的元素组成的流 这是一个无状态中间操作
filter(Predicate<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
过滤元素,返回与指定断言匹配的元素组成的流 这是一个无状态中间操作
filter(CharSequence, Predicate<Character>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
过滤字符串
filter(List<T>, SerPredicate<T>) - Method in class org.dromara.hutool.core.tree.BeanTree
树的过滤操作,本方法一般适用于寻找某人所在部门以及所有上级部门类似的逻辑 通过SerPredicate指定的过滤规则,本节点或子节点满足过滤条件,则保留当前节点,否则抛弃节点及其子节点
即,一条路径上只要有一个节点符合条件,就保留整条路径上的节点
filter - Variable in class org.dromara.hutool.core.tree.HierarchyIterator
节点过滤器,不匹配的节点与以其作为根节点的子树将将会被忽略
filter(Predicate<MapTree<T>>) - Method in class org.dromara.hutool.core.tree.MapTree
递归过滤当前树,注意此方法会修改当前树
通过Predicate指定的过滤规则,本节点或子节点满足过滤条件,则保留当前节点及其所有子节点,否则抛弃节点及其子节点
filterAllValues(BiPredicate<K, V>) - Method in class org.dromara.hutool.core.map.multi.AbsCollValueMap
根据条件过滤所有值集合中的值,并以新值生成新的值集合,新集合中的值集合类型与当前实例的默认值集合类型保持一致
filterAllValues(Predicate<V>) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
根据条件过滤所有值集合中的值,并以新值生成新的值集合,新集合中的值集合类型与当前实例的默认值集合类型保持一致
filterAllValues(BiPredicate<K, V>) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
根据条件过滤所有值集合中的值,并以新值生成新的值集合,新集合中的值集合类型与当前实例的默认值集合类型保持一致
filterByKey(Predicate<? super K>) - Method in class org.dromara.hutool.core.stream.EntryStream
根据键过滤键值对
filterByValue(Predicate<? super V>) - Method in class org.dromara.hutool.core.stream.EntryStream
根据值过滤键值对
filtered(Iterator<? extends E>, Predicate<? super E>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
获取一个新的 FilterIter,用于过滤指定元素
filterIdx(BiPredicate<? super T, Integer>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
过滤元素,返回与指定断言匹配的元素组成的流,断言带下标
filtering(Predicate<? super T>, Collector<? super T, A, R>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
过滤

FilterIter<E> - Class in org.dromara.hutool.core.collection.iter
包装 Iterator并根据Predicate定义,过滤元素输出
类实现来自Apache Commons Collection
FilterIter(Iterator<? extends E>, Predicate<? super E>) - Constructor for class org.dromara.hutool.core.collection.iter.FilterIter
构造
filterNew(String...) - Method in class org.dromara.hutool.core.map.Dict
过滤Map保留指定键值对,如果键不存在跳过
filterNew(Predicate<MapTree<T>>) - Method in class org.dromara.hutool.core.tree.MapTree
递归过滤并生成新的树
通过Predicate指定的过滤规则,本节点或子节点满足过滤条件,则保留当前节点,否则抛弃节点及其子节点
filterToList(Iterator<E>, Predicate<E>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
过滤Iterator并将过滤后满足条件的元素添加到List中
FinalizableDelegatedExecutorService - Class in org.dromara.hutool.core.thread
保证ExecutorService在对象回收时正常结束
finalize() - Method in class org.dromara.hutool.core.thread.FinalizableDelegatedExecutorService
 
find(String) - Method in class org.dromara.hutool.core.io.resource.ResourceFinder
查找给定表达式对应的资源
find(String) - Method in class org.dromara.hutool.core.text.dfa.NFA
 
find(String, boolean) - Method in class org.dromara.hutool.core.text.dfa.NFA
 
findAll(String, CharSequence, int) - Static method in class org.dromara.hutool.core.regex.ReUtil
取得内容中匹配的所有结果
findAll(String, CharSequence, int, T) - Static method in class org.dromara.hutool.core.regex.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, CharSequence, int) - Static method in class org.dromara.hutool.core.regex.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, CharSequence, int, T) - Static method in class org.dromara.hutool.core.regex.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, CharSequence, Consumer<Matcher>) - Static method in class org.dromara.hutool.core.regex.ReUtil
取得内容中匹配的所有结果,使用Consumer完成匹配结果处理
findAllAnnotations(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上直接声明的注解、 这些注解包含的可重复注解,以及上述所有注解的元注解中获取指定类型注解
findAllDirectlyAnnotations(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上直接声明的注解、这些注解包含的可重复注解, 以及上述所有注解的元注解中获取指定类型注解。
findAllDirectlyResolvedAnnotations(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上直接声明的注解、 这些注解包含的可重复注解,以及上述所有注解的元注解中获取指定类型注解。
findAllGroup0(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
findAllGroup0(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
findAllGroup1(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
findAllGroup1(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
findAllResolvedAnnotations(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上直接声明的注解、 这些注解包含的可重复注解,以及上述所有注解的元注解中获取指定类型注解。
findAnnotation(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上,获取该类型的注解或元注解
findAnnotations(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上,获取所有的注解或元注解
findAny() - Method in interface org.dromara.hutool.core.stream.WrappedStream
考虑性能,随便取一个,这里不是随机取一个,是随便取一个
findClass(String) - Method in class org.dromara.hutool.core.classloader.ResourceClassLoader
 
findConstructor(Class<?>, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.lookup.LookupUtil
查找指定的构造方法
findConstructor(Class<?>, MethodType) - Static method in class org.dromara.hutool.core.reflect.lookup.LookupUtil
查找指定的构造方法
findConstructorExact(Class<?>, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.lookup.LookupUtil
查找指定的构造方法,给定的参数类型必须完全匹配,不能有拆装箱或继承关系等/
findDirectlyAnnotation(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上获取该类型的注解
findDirectlyAnnotations(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上获取所有的注解
findDirectlyResolvedAnnotation(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上,获取所有的注解。
findDirectlyResolvedAnnotations(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上获取所有的注解。
findEditor(Class<?>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
查找类型转换器 PropertyEditor
Finder - Interface in org.dromara.hutool.core.text.finder
字符串查找接口,通过调用Finder.start(int)查找开始位置,再调用Finder.end(int)找结束位置
findFirst(Predicate<? super T>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
获取与给定断言匹配的第一个元素
findFirst() - Method in interface org.dromara.hutool.core.stream.WrappedStream
获取第一个元素
findFirstIdx(Predicate<? super T>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
获取与给定断言匹配的第一个元素的下标,并行流下标永远为-1
findInDir(FileResource, String) - Method in class org.dromara.hutool.core.io.resource.ResourceFinder
遍历目录查找指定表达式匹配的文件列表
findInJar(JarResource, String) - Method in class org.dromara.hutool.core.io.resource.ResourceFinder
查找jar包中的资源
findLast() - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
获取最后一个元素
findLast(Predicate<? super T>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
获取与给定断言匹配的最后一个元素
findLastIdx(Predicate<? super T>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
获取与给定断言匹配的最后一个元素的下标,并行流下标永远为-1
findMatch(String) - Method in class org.dromara.hutool.core.text.finder.MultiStrFinder
查询匹配的字符串
findMethod(Class<?>, String, Class<?>, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.lookup.LookupUtil
查找指定方法的方法句柄
此方法只会查找: 当前类的方法(包括构造方法和private方法) 父类的方法(包括构造方法和private方法) 当前类的static方法
findMethod(Class<?>, String, MethodType) - Static method in class org.dromara.hutool.core.reflect.lookup.LookupUtil
查找指定方法的方法句柄
此方法只会查找: 当前类的方法(包括构造方法和private方法) 父类的方法(包括构造方法和private方法) 当前类的static方法
findPropDesc(Map<String, PropDesc>, String) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
查找Map对应Bean的名称
尝试原名称、转驼峰名称、isXxx去掉is的名称
findResolvedAnnotation(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上,获取所有的注解或元注解。
findResolvedAnnotations(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上,获取所有的注解或元注解。
finish() - Method in class org.dromara.hutool.core.collection.iter.ComputeIter
手动结束遍历器,用于关闭操作等
finish() - Method in class org.dromara.hutool.core.compress.OpcZipOutputStream
 
finish() - Method in interface org.dromara.hutool.core.io.StreamProgress
结束
finisher() - Method in class org.dromara.hutool.core.stream.SimpleCollector
 
firstMask(String) - Static method in class org.dromara.hutool.core.data.MaskingUtil
定义了一个first_mask的规则,只显示第一个字符。
firstMatch(Predicate<T>, T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
返回数组中第一个匹配规则的值
firstMatch(Predicate<E>) - Method in class org.dromara.hutool.core.array.ArrayWrapper
返回数组中第一个匹配规则的值
firstMatch(Map<K, V>, Predicate<Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.map.MapUtil
遍历Map,返回第一个匹配的entry值
firstMatchValue(Map<K, V>, Predicate<Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.map.MapUtil
遍历Map,返回第一个匹配的value值
firstNonBlank(T...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
返回第一个非blank 元素
firstNonEmpty(T...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
返回第一个非empty 元素
firstNonNull(T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
返回数组中第一个非空元素
firstNonNull() - Method in class org.dromara.hutool.core.array.ArrayWrapper
返回数组中第一个非空元素
firstNonNull(T...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
返回第一个非null 元素
FixedLinkedHashMap<K,V> - Class in org.dromara.hutool.core.map
固定大小的LinkedHashMap 实现
注意此类非线程安全,由于LinkedHashMap.get(Object)操作会修改链表的顺序结构,因此也不可以使用读写锁。
FixedLinkedHashMap(int) - Constructor for class org.dromara.hutool.core.map.FixedLinkedHashMap
构造
fixedPhone(String) - Static method in class org.dromara.hutool.core.data.MaskingUtil
【固定电话 前四位,后两位
fixedTextTotalLength - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate
模板中的固定文本长度,序列化时用于计算最终文本长度
fixLength(CharSequence, char, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
在给定字符串末尾填充指定字符,以达到给定长度
如果字符串本身的长度大于等于length,返回原字符串
flat(Collection<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
解构多层集合 例如:List<List<List<String>>> 解构成 List<String>
flat(Collection<?>, boolean) - Static method in class org.dromara.hutool.core.collection.CollUtil
解构多层集合 例如:List<List<List<String>>> 解构成 List<String> skipNull如果为true, 则解构后的集合里不包含null值,为false则会包含null值。
flat(Function<? super T, ? extends Iterable<? extends R>>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
扩散流操作,可能影响流元素个数,将原有流元素执行mapper操作, 转换为迭代器元素, 最后返回所有迭代器的所有元素组成的流
这是一个无状态中间操作
例如,将users里所有user的id和parentId组合在一起,形成一个新的流: EasyStream<Long> ids = EasyStream.of(users).flat(user -> FastStream.of(user.getId(), user.getParentId()));
flat() - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
如果当前元素是集合,则会将集合中的元素解构出来 例如:List<List<List<String>>> 解构成 List<String>
flat(List<T>) - Method in class org.dromara.hutool.core.tree.BeanTree
将树扁平化为集合,相当于将树里的所有节点都放到一个集合里 本方法会主动将节点的子集合字段置为null
flatMap(Function<? super Map.Entry<K, V>, ? extends Stream<? extends R>>) - Method in class org.dromara.hutool.core.stream.EntryStream
扩散流操作,可能影响流元素个数,将原有流元素执行mapper操作,返回多个流所有元素组成的流
这是一个无状态中间操作
例如,将users里所有user的id和parentId组合在一起,形成一个新的流: FastStream<Long> ids = FastStream.of(users).flatMap(user -> FastStream.of(user.getId(), user.getParentId()));
flatMap(Function<? super T, ? extends Stream<? extends R>>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
扩散流操作,可能影响流元素个数,将原有流元素执行mapper操作,返回多个流所有元素组成的流
这是一个无状态中间操作
例如,将users里所有user的id和parentId组合在一起,形成一个新的流: EasyStream<Long> ids = EasyStream.of(users).flatMap(user -> FastStream.of(user.getId(), user.getParentId()));
flatMapIdx(BiFunction<? super T, Integer, ? extends Stream<? extends R>>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
扩散流操作,可能影响流元素个数,将原有流元素执行mapper操作,返回多个流所有元素组成的流,操作带下标
flatMapKey(Function<? super K, Stream<? extends N>>) - Method in class org.dromara.hutool.core.stream.EntryStream
将原有流的键执行mapper操作映射为流,流中的所有所有元素仍然对应原本的值, 然后再返回由这些流中所有元素组成的流新EntryStream串行流。
flatMapToDouble(Function<? super T, ? extends DoubleStream>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
扩散流操作,可能影响流元素个数,将原有流元素执行mapper操作,返回多个流所有元素组成的流 这是一个无状态中间操作
flatMapToInt(Function<? super T, ? extends IntStream>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
扩散流操作,可能影响流元素个数,将原有流元素执行mapper操作,返回多个流所有元素组成的流 这是一个无状态中间操作
flatMapToLong(Function<? super T, ? extends LongStream>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
扩散流操作,可能影响流元素个数,将原有流元素执行mapper操作,返回多个流所有元素组成的流 这是一个无状态中间操作
flatMapValue(Function<? super V, Stream<? extends N>>) - Method in class org.dromara.hutool.core.stream.EntryStream
将原有流的值执行mapper操作映射为流,流中的所有所有元素仍然对应原本的键, 然后再返回由这些流中所有元素组成的流新EntryStream串行流。
flatNonNull(Function<? super T, ? extends Iterable<? extends R>>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
扩散流操作,可能影响流元素个数,对过滤后的非null元素执行mapper操作,转换为迭代器, 并过滤迭代器中为null的元素, 返回所有迭代器的所有非空元素组成的流
这是一个无状态中间操作
flattedMap(SerFunction<? super T, ? extends Optional<? extends U>>) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的操作(Function.apply(T))并返回该操作返回值 如果不存在,返回一个空的OptOpt.map(org.dromara.hutool.core.func.SerFunction<? super T, ? extends U>)的区别为 传入的操作返回值必须为 Optional
flatten() - Method in class org.dromara.hutool.core.text.dfa.WordTree
扁平化WordTree 例如:红领巾,红河 构建树后为: 红 /\ 领 河 / 巾 扁平化后得到 红河 红领巾
flatTree(Function<T, List<T>>, BiConsumer<T, List<T>>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
将树递归扁平化为集合,内置一个小递归 这是一个无状态中间操作
eg: List<Student> students = EasyStream.of(studentTree) .flatTree(Student::getChildren, Student::setChildren) .toList();
floatValue() - Method in class org.dromara.hutool.core.codec.Number128
 
floatValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
 
floatValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
 
floatValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
 
floatValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
 
floatValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
 
floatValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
 
flush() - Method in class org.dromara.hutool.core.io.AppendableWriter
 
flush() - Method in class org.dromara.hutool.core.io.FastStringWriter
 
flush() - Method in class org.dromara.hutool.core.io.file.FileAppender
刷入到文件
flush(Flushable) - Static method in class org.dromara.hutool.core.io.IoUtil
从缓存中刷出数据
flush() - Method in class org.dromara.hutool.core.io.stream.UTF8OutputStreamWriter
 
flush() - Method in class org.dromara.hutool.core.io.stream.WriterOutputStream
 
flushEveryBuffer - Variable in class org.dromara.hutool.core.io.copy.IoCopier
是否每次写出一个buffer内容就执行flush
fnvHash(byte[]) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
改进的32位FNV算法1
fnvHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
改进的32位FNV算法1
forEach(Iterable<T>, SerBiConsumer<Integer, T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
循环遍历 Iterable,使用SerBiConsumer 接受遍历的每条数据,并针对每条数据做处理
forEach(Iterator<T>, SerBiConsumer<Integer, T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
循环遍历 Iterator,使用SerBiConsumer 接受遍历的每条数据,并针对每条数据做处理
forEach(Enumeration<T>, SerBiConsumer<Integer, T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
循环遍历 Enumeration,使用SerBiConsumer 接受遍历的每条数据,并针对每条数据做处理
forEach(Map<K, V>, SerConsumer3<Integer, K, V>) - Static method in class org.dromara.hutool.core.collection.CollUtil
循环遍历Map,使用SerConsumer3 接受遍历的每条数据,并针对每条数据做处理
和JDK8中的map.forEach不同的是,此方法支持index
forEach(Iterator<E>, Consumer<? super E>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
遍历Iterator
当consumer为null表示不处理,但是依旧遍历Iterator
forEach(Consumer<? super E>) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
forEach(Consumer<? super E>) - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
forEach(Consumer<? super E>) - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
forEach(Consumer<? super T>) - Method in class org.dromara.hutool.core.collection.TransCollection
 
forEach(BiConsumer<? super K, ? super V>) - Method in class org.dromara.hutool.core.map.MapWrapper
 
forEach(SerConsumer3<? super R, ? super C, ? super V>) - Method in interface org.dromara.hutool.core.map.multi.Table
遍历表格的单元格,处理值
forEach(BiConsumer<? super K, ? super V>) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
forEach(BiConsumer<? super K, ? super V>) - Method in class org.dromara.hutool.core.map.TableMap
 
forEach(BiConsumer<K, V>) - Method in class org.dromara.hutool.core.stream.EntryStream
遍历键值对
forEach(Consumer<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
对流里面的每一个元素执行一个操作 这是一个终端操作
forEach(CharSequence, Consumer<Character>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
遍历字符串的每个字符,并处理
forEach(CharSequence, boolean, IntConsumer) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
遍历字符串的每个字符,并处理
forEach(List<T>, SerConsumer<T>) - Method in class org.dromara.hutool.core.tree.BeanTree
树节点遍历操作
forEachChild(boolean, Consumer<TreeEntry<K, V>>) - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
获取以当前节点作为根节点的树结构,然后遍历所有节点
forEachChild(boolean, Consumer<TreeEntry<K, V>>) - Method in interface org.dromara.hutool.core.map.TreeEntry
获取以当前节点作为根节点的树结构,然后遍历所有节点
forEachIdx(BiConsumer<? super T, Integer>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
对流里面的每一个元素执行一个操作,操作带下标,并行流时下标永远为-1 这是一个终端操作
forEachOrdered(Consumer<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
对流里面的每一个元素按照顺序执行一个操作 这是一个终端操作
forEachOrderedIdx(BiConsumer<? super T, Integer>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
对流里面的每一个元素按照顺序执行一个操作,操作带下标,并行流时下标永远为-1 这是一个终端操作
forEachRemaining(Consumer<? super T>) - Method in class org.dromara.hutool.core.collection.TransSpliterator
 
forEachRemaining(Consumer<? super T>) - Method in class org.dromara.hutool.core.stream.spliterators.IterateSpliterator
 
foreground(int) - Static method in class org.dromara.hutool.core.lang.ansi.Ansi8BitColor
前景色ANSI颜色实例
ForestMap<K,V> - Interface in org.dromara.hutool.core.map
基于多个TreeEntry构成的、彼此平行的树结构构成的森林集合。
forGetterMethod(String, Class<?>) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于获得指定属性的getter方法的匹配器 查找方法名为get + 首字母大写的属性名的无参数方法; 查找方法名为属性名的无参数方法; 若fieldTypebooleanBoolean,则同时查找方法名为is + 首字母大写的属性的无参数方法;
forGetterMethod(Field) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于获得指定属性的getter方法的匹配器 查找方法名为get + 首字母大写的属性名的无参数方法; 查找方法名为属性名的无参数方法; 若fieldTypebooleanBoolean,则同时查找方法名为is + 首字母大写的属性的无参数方法;
format(String) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
格式化Hex字符串,结果为每2位加一个空格,类似于: e8 8c 67 03 80 cb 22 00 95 26 8f
format(String, String) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
格式化Hex字符串,结果为每2位加一个空格,类似于: e8 8c 67 03 80 cb 22 00 95 26 8f
format() - Method in class org.dromara.hutool.core.date.BetweenFormatter
格式化日期间隔输出
format(LocalDateTime, String) - Static method in class org.dromara.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, String) - Static method in class org.dromara.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, DatePrinter) - Static method in class org.dromara.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, DateFormat) - Static method in class org.dromara.hutool.core.date.DateUtil
根据特定格式格式化日期
format(Date, DateTimeFormatter) - Static method in class org.dromara.hutool.core.date.DateUtil
根据特定格式格式化日期
format(long) - Method in interface org.dromara.hutool.core.date.format.DatePrinter
格式化日期表示的毫秒数
format(Date) - Method in interface org.dromara.hutool.core.date.format.DatePrinter
使用 GregorianCalendar 格式化 Date
format(Calendar) - Method in interface org.dromara.hutool.core.date.format.DatePrinter
Formats a Calendar object.
format(long, B) - Method in interface org.dromara.hutool.core.date.format.DatePrinter
Formats a millisecond long value into the supplied Appendable.
format(Date, B) - Method in interface org.dromara.hutool.core.date.format.DatePrinter
Formats a Date object into the supplied Appendable using a GregorianCalendar.
format(Calendar, B) - Method in interface org.dromara.hutool.core.date.format.DatePrinter
Formats a Calendar object into the supplied Appendable.
format(Object, StringBuffer, FieldPosition) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
format(long) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
format(Date) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
format(Calendar) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
format(long, B) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
format(Date, B) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
format(Calendar, B) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
format(long) - Method in class org.dromara.hutool.core.date.format.FastDatePrinter
 
format(Date) - Method in class org.dromara.hutool.core.date.format.FastDatePrinter
 
format(Calendar) - Method in class org.dromara.hutool.core.date.format.FastDatePrinter
 
format(long, B) - Method in class org.dromara.hutool.core.date.format.FastDatePrinter
 
format(Date, B) - Method in class org.dromara.hutool.core.date.format.FastDatePrinter
 
format(Calendar, B) - Method in class org.dromara.hutool.core.date.format.FastDatePrinter
 
format(Date, CharSequence) - Static method in class org.dromara.hutool.core.date.format.GlobalCustomFormat
使用自定义格式格式化日期
format(TemporalAccessor, CharSequence) - Static method in class org.dromara.hutool.core.date.format.GlobalCustomFormat
使用自定义格式格式化日期
format(TemporalAccessor, DateTimeFormatter) - Static method in class org.dromara.hutool.core.date.TemporalAccessorUtil
格式化日期时间为指定格式
如果为Month,调用Enum.toString()
format(TemporalAccessor, String) - Static method in class org.dromara.hutool.core.date.TemporalAccessorUtil
格式化日期时间为指定格式
如果为Month,调用Enum.toString()
format(long) - Static method in class org.dromara.hutool.core.io.unit.DataSizeUtil
format(long, boolean) - Static method in class org.dromara.hutool.core.io.unit.DataSizeUtil
format(long, int, String[], String) - Static method in class org.dromara.hutool.core.io.unit.DataSizeUtil
format(double) - Method in class org.dromara.hutool.core.math.ChineseNumberFormatter
阿拉伯数字转换成中文.
format(Object) - Static method in class org.dromara.hutool.core.math.EnglishNumberFormatter
将阿拉伯数字转为英文表达式
format(String, double) - Static method in class org.dromara.hutool.core.math.NumberUtil
格式化double
DecimalFormat 做封装
format(String, long) - Static method in class org.dromara.hutool.core.math.NumberUtil
格式化double
DecimalFormat 做封装
format(String, Object) - Static method in class org.dromara.hutool.core.math.NumberUtil
格式化double
DecimalFormat 做封装
format(String, Object, RoundingMode) - Static method in class org.dromara.hutool.core.math.NumberUtil
格式化double
DecimalFormat 做封装
format(CharSequence, Object...) - Static method in class org.dromara.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...) - Static method in class org.dromara.hutool.core.text.placeholder.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(Object) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
使用 占位变量名称 从 Bean 或 Map 中查询值来 替换 占位符
format(Map<String, ?>) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
使用 占位变量名称 从 Map 中查询值来 替换 占位符
format(Function<String, ?>) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
使用 占位变量名称 从 valueSupplier 中查询值来 替换 占位符
format(Function<String, ?>, Predicate<String>) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
使用 占位变量名称 从 valueSupplier 中查询值来 替换 占位符
format(Object...) - Method in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate
按顺序使用 数组元素 替换 占位符
format(Iterable<?>) - Method in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate
按顺序使用 迭代器元素 替换 占位符
format(Document) - Static method in class org.dromara.hutool.core.xml.XmlUtil
格式化XML输出
format(String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
格式化XML输出
FORMAT_MILLISECONDS - Static variable in class org.dromara.hutool.core.date.format.GlobalCustomFormat
格式:毫秒时间戳
FORMAT_SECONDS - Static variable in class org.dromara.hutool.core.date.format.GlobalCustomFormat
格式:秒时间戳(Unix时间戳)
formatArray(Object) - Method in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate
按顺序使用 原始数组元素 替换 占位符
formatArray(Object[]) - Method in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate
按顺序使用 数组元素 替换 占位符
formatArrayIndexed(Object) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
按 下标 使用 原始数组元素 替换 占位符
formatArrayIndexed(Object[]) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
按 下标 使用 数组元素 替换 占位符
formatArraySequence(Object) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
按顺序使用 原始数组元素 替换 占位符
formatArraySequence(Object[]) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
按顺序使用 数组元素 替换 占位符
formatBetween(Date, Date, BetweenFormatter.Level) - Static method in class org.dromara.hutool.core.date.DateUtil
格式化日期间隔输出
formatBetween(Date, Date) - Static method in class org.dromara.hutool.core.date.DateUtil
格式化日期间隔输出,精确到毫秒
formatBetween(long, BetweenFormatter.Level) - Static method in class org.dromara.hutool.core.date.DateUtil
格式化日期间隔输出
formatBetween(long) - Static method in class org.dromara.hutool.core.date.DateUtil
格式化日期间隔输出,精确到毫秒
formatByBean(CharSequence, Object, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
格式化文本,使用 {varName} 占位
bean = User:{a: "aValue", b: "bValue"} format("{a} and {b}", bean) ---=》 aValue and bValue
formatByBean(CharSequence, Object, boolean) - Static method in class org.dromara.hutool.core.text.placeholder.StrFormatter
格式化文本,使用 {varName} 占位
bean = User:{a: "aValue", b: "bValue"} format("{a} and {b}", bean) ---=》 aValue and bValue
formatByMap(CharSequence, Map<?, ?>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
formatByMap(CharSequence, Map<?, ?>, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
formatBySegment(Function<AbstractPlaceholderSegment, ?>) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
根据 策略 和 默认值 处理需要序列化的值, 生成 格式化字符串 依次遍历模板中的 占位符,根据 占位符 返回 需要序列化的值
formatChar(char, boolean) - Static method in class org.dromara.hutool.core.math.ChineseNumberFormatter
数字字符转中文,非数字字符原样返回
formatChineseDate(Calendar, boolean) - Static method in class org.dromara.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) - Static method in class org.dromara.hutool.core.date.DateUtil
格式化为中文日期格式,如果isUppercase为false,则返回类似:2018年10月24日,否则返回二〇一八年十月二十四日
formatDate(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
格式化日期部分(不包括时间)
格式 yyyy-MM-dd
formatDateTime(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
formatFunc(DateTimeFormatter) - Static method in class org.dromara.hutool.core.date.TimeUtil
格式化时间函数
formatHttpDate(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
格式化为Http的标准日期格式
标准日期格式遵循RFC 1123规范,格式类似于:Fri, 31 Dec 1999 23:59:59 GMT
formatIndexed(Object...) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
按 下标 使用 数组元素 替换 占位符
formatIndexed(Collection<?>) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
按 下标 使用 集合元素 替换 占位符
formatIndexed(Collection<?>, IntFunction<String>) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
按 下标 使用 集合元素 替换 占位符
formatIpBlock(String, String) - Static method in class org.dromara.hutool.core.net.Ipv4Util
根据 ip地址 和 掩码地址 获得 CIDR格式字符串
formatLocalDateTime(LocalDateTime) - Static method in class org.dromara.hutool.core.date.DateUtil
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
formatMissingKey(AbstractPlaceholderSegment) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
根据 策略 返回 格式化参数中 找不到 占位符 时的默认值 例如,map中没有 占位符变量 这个key;基于下标的参数中,找不到 占位符下标 对应的 列表元素
formatMoney(double) - Static method in class org.dromara.hutool.core.math.NumberUtil
格式化金额输出,每三位用逗号分隔
formatNormal(ChronoLocalDateTime<?>) - Static method in class org.dromara.hutool.core.date.TimeUtil
格式化日期时间为yyyy-MM-dd HH:mm:ss格式
formatNormal(ChronoLocalDate) - Static method in class org.dromara.hutool.core.date.TimeUtil
格式化日期时间为yyyy-MM-dd格式
formatNow() - Static method in class org.dromara.hutool.core.date.DateUtil
当前时间,格式 yyyy-MM-dd HH:mm:ss
formatNullValue(AbstractPlaceholderSegment) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
根据 策略 返回 占位符 对应的值为 null 时的返回值
formatPercent(double, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
格式化百分比,小数采用四舍五入方式
formatRawByKey(Function<String, String>) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
根据 原始数据 生成 格式化字符串 依次遍历模板中的 占位符,根据 占位符 返回 需要序列化的值 不对 占位符 和 参数值 做任何处理,由用户抉择
formatRawBySegment(Function<AbstractPlaceholderSegment, String>) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
根据 原始数据 生成 格式化字符串 依次遍历模板中的 占位符,根据 占位符 返回 需要序列化的值 不对 占位符 和 参数值 做任何处理,由用户抉择
formatSequence(Iterable<?>) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
按顺序使用 迭代器元素 替换 占位符
formatSequence(Object...) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
按顺序使用 数组元素 替换 占位符
formatSequence(Iterable<?>) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
按顺序使用 迭代器元素 替换 占位符
formatSimple(long) - Static method in class org.dromara.hutool.core.math.ChineseNumberFormatter
阿拉伯数字(支持正负整数)四舍五入后转换成中文节权位简洁计数单位,例如 -5_5555 =》 -5.56万
formatSimple(long) - Static method in class org.dromara.hutool.core.math.EnglishNumberFormatter
将阿拉伯数字转化为简洁计数单位,例如 2100 =》 2.1k 范围默认只到w
formatSimple(long, boolean) - Static method in class org.dromara.hutool.core.math.EnglishNumberFormatter
将阿拉伯数字转化为简介计数单位,例如 2100 =》 2.1k
formatThousands(double, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
格式化千分位表示方式,小数采用四舍五入方式
formatTime(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
格式化时间
格式 HH:mm:ss
formatToday() - Static method in class org.dromara.hutool.core.date.DateUtil
当前日期,格式 yyyy-MM-dd
formatWith(String, String, Object...) - Static method in class org.dromara.hutool.core.text.placeholder.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
forMethodSignature(Method) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配方法签名的方法匹配器,检查的内容包括: 方法名是否完全一致; 返回值类型是否匹配,允许返回值类型为方法返回值类型的子类; 参数类型是否匹配,允许参数类型为方法参数类型的子类;
forMethodSignature(String, Class<?>, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配方法签名的方法匹配器,检查的内容包括: 方法名是否完全一致; 返回值类型是否匹配,允许返回值类型为方法返回值类型的子类,若返回值类型为null则表示匹配无返回值的方法; 参数类型是否匹配,允许参数类型为方法参数类型的子类,若参数类型为null则表示匹配无参数的方法;
forModifiers(int...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于具有指定修饰符的方法的方法匹配器。
forMostSpecificParameterTypes(Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配指定参数类型的方法的方法匹配器,与MethodMatcherUtil.forParameterTypes(java.lang.Class<?>...)不同的是,该方法仅用于尽量可能最匹配的方法 若参数为空,则表示匹配无参数方法; 若参数不为空: 仅匹配parameterTypes中不为null的参数类型,若参数类型为null则表示匹配任意类型的参数; 若N为parameterTypes长度,则仅要求parameterTypes不为null的类型与方法前N个参数类型匹配即可; 若parameterTypes长度大于参数列表长度,则直接返回false; 比如:
若存在三参数方法method(String, Integer, Object),支持以下匹配: forMostSpecificParameterTypes(CharSequence.class, Number.class, Object.class) forMostSpecificParameterTypes(String.class, Integer.class, Object.class) forMostSpecificParameterTypes(String.class, Integer.class, null) forMostSpecificParameterTypes(String.class, null, null) forMostSpecificParameterTypes(null, null, null) forMostSpecificParameterTypes(String.class, Integer.class) forMostSpecificParameterTypes(String.class)
forMostSpecificStrictParameterTypes(Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配指定参数类型的方法的方法匹配器,与MethodMatcherUtil.forParameterTypes(java.lang.Class<?>...)不同的是,该方法仅用于尽量可能最匹配的方法 若参数为空,则表示匹配无参数方法; 若参数不为空: 仅匹配parameterTypes中不为null的参数类型,若参数类型为null则表示匹配任意类型的参数; 若N为parameterTypes长度,则仅要求parameterTypes不为null的类型与方法前N个参数类型匹配即可; 若parameterTypes长度大于参数列表长度,则直接返回false; 比如:
若存在三参数方法method(String, Integer, Object),支持以下匹配: forMostSpecificParameterTypes(String.class, Integer.class, Object.class) forMostSpecificParameterTypes(String.class, Integer.class, null) forMostSpecificParameterTypes(String.class, null, null) forMostSpecificParameterTypes(null, null, null) forMostSpecificParameterTypes(String.class, Integer.class) forMostSpecificParameterTypes(String.class)
FormUrlencoded - Class in org.dromara.hutool.core.net.url
application/x-www-form-urlencoded,遵循W3C HTML Form content types规范,如空格须转+,+须被编码
规范见:https://url.spec.whatwg.org/#urlencoded-serializing
FormUrlencoded() - Constructor for class org.dromara.hutool.core.net.url.FormUrlencoded
 
forName(String, boolean, ClassLoader) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
加载指定名称的类,支持: 替换"/"为"."
forName(String) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于根据方法名匹配方法的方法匹配器。
forNameAndParameterTypes(String, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于同时匹配方法名和参数类型的方法匹配器,其中,参数类型匹配时允许参数类型为方法参数类型的子类。
forNameAndStrictParameterTypes(String, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于同时匹配方法名和参数类型的方法匹配器,其中,参数类型匹配时要求参数类型与方法参数类型完全一致。
forNameIgnoreCase(String) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于根据方法名匹配方法的方法匹配器,忽略方法名大小写。
forNameIgnoreCaseAndParameterTypes(String, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于同时匹配方法名和参数类型的方法匹配器,其中,参数类型匹配时允许参数类型为方法参数类型的子类,且方法名忽略大小写。
forNameIgnoreCaseAndStrictParameterTypes(String, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于同时匹配方法名和参数类型的方法匹配器,其中,参数类型匹配时要求参数类型与方法参数类型完全一致,且方法名忽略大小写。
forNoneParameter() - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配无参数方法的方法匹配器。
forNoneReturnType() - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配无返回值的方法的方法匹配器。
forParameterCount(int) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配指定参数个数的方法的方法匹配器。
forParameterTypes(Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配指定参数类型的方法的方法匹配器,只要参数类型可以赋值给方法参数类型即认为匹配成功。
forReturnType(Class<?>) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配指定参数类型的方法的方法匹配器,只要参数类型可以赋值给方法参数类型。
forSetterMethod(String, Class<?>) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于获得指定属性的setter方法的匹配器,默认查找方法名为set + 首字母大写的属性的单参数方法。
forSetterMethod(Field) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于获得指定属性的setter方法的匹配器,默认查找方法名为set + 首字母大写的属性的单参数方法。
forStrictMethodSignature(String, Class<?>, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配方法签名的方法匹配器,检查的内容包括: 方法名是否完全一致; 返回值类型是否匹配,要求返回值类型与方法返回值类型完全一致,若返回值类型为null则表示匹配无返回值的方法; 参数类型是否匹配,要求参数类型与方法参数类型完全一致,若参数类型为null则表示匹配无参数的方法;
forStrictMethodSignature(Method) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配方法签名的方法匹配器,检查的内容包括: 方法名是否完全一致; 返回值类型是否匹配,要求返回值类型与方法返回值类型完全一致; 参数类型是否匹配,要求参数类型与方法参数类型完全一致;
forStrictParameterTypes(Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配指定参数类型的方法的方法匹配器,只有参数类型完全匹配才认为匹配成功。
forStrictReturnType(Class<?>) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配指定返回值类型的方法的方法匹配器,要求返回值类型与指定类型完全一致。
FoundWord - Class in org.dromara.hutool.core.text.dfa
匹配到的单词,包含单词,text中匹配单词的内容,以及匹配内容在text中的下标, 下标可以用来做单词的进一步处理,如果替换成**
FoundWord(String, String, int, int) - Constructor for class org.dromara.hutool.core.text.dfa.FoundWord
构造
FRAGMENT - Static variable in class org.dromara.hutool.core.net.url.RFC3986
fragment = pchar / "/" / "?"
free(T) - Method in interface org.dromara.hutool.core.pool.ObjectPool
释放对象,即在使用中发现对象损坏或不可用,则直接销毁之
free(T) - Method in class org.dromara.hutool.core.pool.partition.PartitionObjectPool
 
free() - Method in class org.dromara.hutool.core.pool.partition.PartitionPoolable
释放对象
free(T) - Method in class org.dromara.hutool.core.pool.partition.PoolPartition
销毁对象,注意此方法操作的对象必须在队列外
fromInt(Integer) - Method in interface org.dromara.hutool.core.lang.EnumItem
通过int类型值查找兄弟其他枚举
fromPoint - Variable in class org.dromara.hutool.core.map.multi.DirectedWeightGraph.Edge
 
fromStr(String) - Method in interface org.dromara.hutool.core.lang.EnumItem
通过String类型的值转换,根据实现可以用name/text
fromString(String) - Static method in class org.dromara.hutool.core.data.id.UUID
根据 UUID.toString() 方法中描述的字符串标准表示形式创建UUID
fromString(Class<E>, String) - Static method in class org.dromara.hutool.core.util.EnumUtil
字符串转枚举,调用Enum.valueOf(Class, String)
fromString(Class<E>, String, E) - Static method in class org.dromara.hutool.core.util.EnumUtil
字符串转枚举,调用Enum.valueOf(Class, String)
如果无枚举值,返回默认值
fromStringQuietly(Class<E>, String) - Static method in class org.dromara.hutool.core.util.EnumUtil
字符串转枚举,调用Enum.valueOf(Class, String),转换失败返回null 而非报错
fromSuffix(String) - Static method in enum org.dromara.hutool.core.io.unit.DataUnit
通过后缀返回对应的 DataUnit
fromUnsignedByteArray(byte[]) - Static method in class org.dromara.hutool.core.util.ByteUtil
无符号bytes转BigInteger
fromUnsignedByteArray(byte[], int, int) - Static method in class org.dromara.hutool.core.util.ByteUtil
无符号bytes转BigInteger
full() - Static method in interface org.dromara.hutool.core.annotation.RepeatableAnnotationCollector
当注解中存在有属性为注解数组,且该数组对应的注解类型被Repeatable注解时, 认为该属性包含可重复注解。
FULL - Static variable in class org.dromara.hutool.core.date.format.FastDateFormat
FULL locale dependent date or time style.
FuncComparator<T> - Class in org.dromara.hutool.core.comparator
指定函数排序器
FuncComparator(boolean, boolean, Function<T, Comparable<?>>) - Constructor for class org.dromara.hutool.core.comparator.FuncComparator
构造
FuncFilter - Class in org.dromara.hutool.core.text.bloom
基于Hash函数方法的BloomFilter
FuncFilter(int, Function<String, Number>) - Constructor for class org.dromara.hutool.core.text.bloom.FuncFilter
 
FuncKeyMap<K,V> - Class in org.dromara.hutool.core.map
自定义函数Key风格的Map
FuncKeyMap(Map<K, V>, Function<Object, K>) - Constructor for class org.dromara.hutool.core.map.FuncKeyMap
构造
注意提供的Map中不能有键值对,否则可能导致自定义key失效
FuncMap<K,V> - Class in org.dromara.hutool.core.map
自定义键值函数风格的Map
FuncMap(Supplier<Map<K, V>>, Function<Object, K>, Function<Object, V>) - Constructor for class org.dromara.hutool.core.map.FuncMap
构造
注意提供的Map中不能有键值对,否则可能导致自定义key失效
FuncMap(Map<K, V>, Function<Object, K>, Function<Object, V>) - Constructor for class org.dromara.hutool.core.map.FuncMap
构造
注意提供的Map中不能有键值对,否则可能导致自定义key失效
FunctionPool - Class in org.dromara.hutool.core.func
常用Lambda函数封装
提供常用对象方法的Lambda包装,减少Lambda初始化时间。
FunctionPool() - Constructor for class org.dromara.hutool.core.func.FunctionPool
 

G

GanZhi - Class in org.dromara.hutool.core.date.chinese
天干地支类 天干地支,简称为干支
GanZhi() - Constructor for class org.dromara.hutool.core.date.chinese.GanZhi
 
gap(BoundedRange<T>) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
other与当前区间不相连,则获得两区间中间的间隔部分
gap(BoundedRange<T>, BoundedRange<T>) - Static method in class org.dromara.hutool.core.lang.range.BoundedRangeOperation
other与当前区间不相连,则获得两区间中间的间隔部分
GBK - Static variable in class org.dromara.hutool.core.util.CharsetUtil
GBK
gcd(int, int) - Static method in class org.dromara.hutool.core.math.MathUtil
最大公约数
见:https://stackoverflow.com/questions/4009198/java-get-greatest-common-divisor
来自Guava的IntMath.gcd
gcj02ToBd09(double, double) - Static method in class org.dromara.hutool.core.data.CoordinateUtil
火星坐标系 (GCJ-02) 与百度坐标系 (BD-09) 的转换
gcj02ToWgs84(double, double) - Static method in class org.dromara.hutool.core.data.CoordinateUtil
火星坐标系 (GCJ-02) 转换为 WGS84
ge(T, T) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
c1是否大于或等于c2,通过调用compare(c1, c2) >= 0完成
GEN_DELIMS - Static variable in class org.dromara.hutool.core.net.url.RFC3986
通用URI组件分隔符
gen-delims = ":" / "/" / "?"
GENERAL - Static variable in class org.dromara.hutool.core.regex.PatternPool
英文字母 、数字和下划线
GENERAL - Static variable in interface org.dromara.hutool.core.regex.RegexPool
英文字母 、数字和下划线
GENERAL_WITH_CHINESE - Static variable in class org.dromara.hutool.core.regex.PatternPool
中文字、英文字母、数字和下划线
GENERAL_WITH_CHINESE - Static variable in interface org.dromara.hutool.core.regex.RegexPool
中文字、英文字母、数字和下划线
generate() - Method in class org.dromara.hutool.core.net.LocalPortGenerator
生成一个本地端口,用于远程端口映射
generate(Supplier<T>) - Static method in class org.dromara.hutool.core.stream.EasyStream
返回无限串行无序流 其中每一个元素都由给定的Supplier生成 适用场景在一些生成常量流、随机元素等
Generator<T> - Interface in org.dromara.hutool.core.lang.generator
生成器泛型接口
通过实现此接口可以自定义生成对象的策略
GenericAnnotationMapping - Class in org.dromara.hutool.core.annotation
AnnotationMapping的基本实现,仅仅是简单包装了注解对象
GenericBuilder<T> - Class in org.dromara.hutool.core.lang.builder
通用Builder 参考: 一看就会的java8通用Builder 使用方法如下: Box box = GenericBuilder .of(Box::new) .with(Box::setId, 1024L) .with(Box::setTitle, "Hello World!")
GenericBuilder(Supplier<T>) - Constructor for class org.dromara.hutool.core.lang.builder.GenericBuilder
构造
genGetter(CharSequence) - Static method in class org.dromara.hutool.core.reflect.method.MethodNameUtil
生成get方法名
genSetter(CharSequence) - Static method in class org.dromara.hutool.core.reflect.method.MethodNameUtil
生成set方法名
例如:name 返回 setName
get(Object, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
获取数组对象中指定index的值,支持负数,例如-1表示倒数第一个值
如果数组下标越界,返回null
get(E[], Predicate<E>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
获取满足条件的第一个元素
get(int) - Method in class org.dromara.hutool.core.array.ArrayWrapper
获取数组对象中指定index的值,支持负数,例如-1表示倒数第一个值
如果数组下标越界,返回null
get(String) - Method in class org.dromara.hutool.core.bean.DynaBean
获得字段对应值
get(K) - Method in interface org.dromara.hutool.core.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期返回null 调用此方法时,会检查上次调用时间,如果与当前时间差值大于超时时间返回null,否则返回值。
get(K, SerSupplier<V>) - Method in interface org.dromara.hutool.core.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期(与当前时间差值大于超时时间)返回SerSupplier回调产生的对象,否则返回值。
get(K, boolean, SerSupplier<V>) - Method in interface org.dromara.hutool.core.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期(与当前时间差值大于超时时间)返回SerSupplier回调产生的对象,否则返回值。
get(K, boolean, long, SerSupplier<V>) - Method in interface org.dromara.hutool.core.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期(与当前时间差值大于超时时间)返回SerSupplier回调产生的对象,否则返回值。
get(K, boolean) - Method in interface org.dromara.hutool.core.cache.Cache
从缓存中获得对象,当对象不在缓存中或已经过期(与当前时间差值大于超时时间)返回null,否则返回值。
get(K, boolean, SerSupplier<V>) - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
get(K, boolean, long, SerSupplier<V>) - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
get(boolean) - Method in class org.dromara.hutool.core.cache.impl.CacheObj
获取值
get(K) - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
get(K, boolean) - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
get(K, SerSupplier<V>) - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
get(K, boolean, SerSupplier<V>) - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
get(K, boolean, long, SerSupplier<V>) - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
get(K, boolean) - Method in class org.dromara.hutool.core.cache.impl.ReentrantCache
 
get(K, boolean) - Method in class org.dromara.hutool.core.cache.impl.StampedCache
 
get(K) - Method in class org.dromara.hutool.core.cache.SimpleCache
从缓存池中查找值
get(K, SerSupplier<V>) - Method in class org.dromara.hutool.core.cache.SimpleCache
从缓存中获得对象,当对象不在缓存中或已经过期返回SerSupplier回调产生的对象
get(K, Predicate<V>, SerSupplier<V>) - Method in class org.dromara.hutool.core.cache.SimpleCache
从缓存中获得对象,当对象不在缓存中或已经过期返回SerSupplier回调产生的对象
get(Object) - Method in class org.dromara.hutool.core.codec.hash.ConsistentHash
获得一个最近的顺时针节点
get() - Method in class org.dromara.hutool.core.codec.hash.metro.MetroHash128
获取结果hash值
get() - Method in class org.dromara.hutool.core.codec.hash.metro.MetroHash64
获取计算结果hash值
get(Collection<T>, int) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取集合中指定下标的元素值,下标可以为负数,例如-1表示最后一个元素
如果元素越界,返回null
get(Iterator<E>, int) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
遍历Iterator,获取指定index位置的元素
get(int) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
get(int) - Method in class org.dromara.hutool.core.collection.partition.AvgPartition
 
get(int) - Method in class org.dromara.hutool.core.collection.partition.Partition
 
get(String) - Method in class org.dromara.hutool.core.compress.ZipFileResource
 
get(ZipEntry) - Method in class org.dromara.hutool.core.compress.ZipFileResource
 
get(String) - Method in class org.dromara.hutool.core.compress.ZipReader
获取指定路径的文件流
如果是文件模式,则直接获取Entry对应的流,如果是流模式,则遍历entry后,找到对应流返回
get(String) - Method in interface org.dromara.hutool.core.compress.ZipResource
获取指定路径的文件流
如果是文件模式,则直接获取Entry对应的流,如果是流模式,则遍历entry后,找到对应流返回
get(ZipEntry) - Method in interface org.dromara.hutool.core.compress.ZipResource
获取指定ZipEntry对应的文件流
get(String) - Method in class org.dromara.hutool.core.compress.ZipStreamResource
 
get(ZipEntry) - Method in class org.dromara.hutool.core.compress.ZipStreamResource
 
get(File, Charset, String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
获取压缩包中的指定文件流
get(ZipFile, String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
获取压缩包中的指定文件流
get() - Method in enum org.dromara.hutool.core.data.id.Pid
获取PID值
get(TemporalAccessor, TemporalField) - Static method in class org.dromara.hutool.core.date.TemporalAccessorUtil
安全获取时间的某个属性,属性不存在返回最小值,一般为0
注意请谨慎使用此方法,某些TemporalAccessor.isSupported(TemporalField)false的方法返回最小值
get() - Method in interface org.dromara.hutool.core.func.SerSupplier
Gets a result.
get(int) - Method in class org.dromara.hutool.core.io.buffer.FastByteBuffer
根据索引位返回一个字节
get(int) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
根据索引位返回一个字节
get(int) - Method in class org.dromara.hutool.core.io.ByteOrderMark
获取指定位置的byte值
get(int) - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
获取指定位置的字节
get(K, Type) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取指定类型的值,默认自动转换值类型
get(K, Type, T) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取指定类型的值,默认自动转换值类型
get(K, Type, Converter, T) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取指定类型的值,默认自动转换值类型
get() - Method in class org.dromara.hutool.core.lang.loader.AtomicLoader
获取一个对象,第一次调用此方法时初始化对象然后返回,之后调用此方法直接返回原对象
get() - Method in class org.dromara.hutool.core.lang.loader.LazyLoader
获取一个对象,第一次调用此方法时初始化对象然后返回,之后调用此方法直接返回原对象
get() - Method in interface org.dromara.hutool.core.lang.loader.Loader
获取一个准备好的对象
通过准备逻辑准备好被加载的对象,然后返回。
get() - Method in interface org.dromara.hutool.core.lang.mutable.Mutable
获得原始值
get() - Method in class org.dromara.hutool.core.lang.mutable.MutableBool
 
get() - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
 
get() - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
 
get() - Method in class org.dromara.hutool.core.lang.mutable.MutableEntry
 
get() - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
 
get() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
 
get() - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
 
get() - Method in class org.dromara.hutool.core.lang.mutable.MutableObj
 
get() - Method in class org.dromara.hutool.core.lang.mutable.MutablePair
 
get() - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
 
get() - Method in class org.dromara.hutool.core.lang.mutable.MutableTriple
 
get() - Method in interface org.dromara.hutool.core.lang.ref.Ref
获取引用的原始对象
get(Reference<T>) - Static method in class org.dromara.hutool.core.lang.ref.ReferenceUtil
null全的解包获取原始对象
get(Ref<T>) - Static method in class org.dromara.hutool.core.lang.ref.ReferenceUtil
null安全的解包获取原始对象
get() - Method in class org.dromara.hutool.core.lang.ref.StrongObj
 
get(Class<T>, Object...) - Static method in class org.dromara.hutool.core.lang.Singleton
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
注意:单例针对的是类和参数,也就是说只有类、参数一致才会返回同一个对象
get(String, SerSupplier<T>) - Static method in class org.dromara.hutool.core.lang.Singleton
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
get(int) - Method in class org.dromara.hutool.core.lang.tuple.Tuple
获取指定位置元素
get(Object) - Method in class org.dromara.hutool.core.map.BeanMap
 
get(Object) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
get(SerFunction<P, T>) - Method in class org.dromara.hutool.core.map.Dict
根据lambda的方法引用,获取
get(Object) - Method in class org.dromara.hutool.core.map.LinkedForestMap
获取key对应的节点
get(Map<?, ?>, Object, Class<T>) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为指定类型
get(Map<?, ?>, Object, Class<T>, T) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为指定类型
get(Map<?, ?>, Object, TypeReference<T>) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为指定类型
get(Map<?, ?>, Object, TypeReference<T>, T) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为指定类型
get(Object) - Method in class org.dromara.hutool.core.map.MapProxy
 
get(Object) - Method in class org.dromara.hutool.core.map.MapWrapper
 
get(R, C) - Method in interface org.dromara.hutool.core.map.multi.Table
获取指定值
get(Object) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
get(Object) - Method in class org.dromara.hutool.core.map.TableMap
 
get(Object) - Method in class org.dromara.hutool.core.map.TolerantMap
 
get(Object) - Method in class org.dromara.hutool.core.map.TransMap
 
get(int) - Static method in class org.dromara.hutool.core.net.MaskBit
根据掩码位获取掩码
get(CharSequence) - Method in class org.dromara.hutool.core.net.url.UrlQuery
获取查询值
get(Type) - Static method in class org.dromara.hutool.core.reflect.ActualTypeMapperPool
获取泛型变量和泛型实际类型的对应关系Map
get(String) - Static method in class org.dromara.hutool.core.regex.PatternPool
先从Pattern池中查找正则对应的Pattern,找不到则编译正则表达式并入池。
get(String, int) - Static method in class org.dromara.hutool.core.regex.PatternPool
先从Pattern池中查找正则对应的Pattern,找不到则编译正则表达式并入池。
get(String, CharSequence, int) - Static method in class org.dromara.hutool.core.regex.ReUtil
获得匹配的字符串
get(String, CharSequence, String) - Static method in class org.dromara.hutool.core.regex.ReUtil
获得匹配的字符串
get(Pattern, CharSequence, int) - Static method in class org.dromara.hutool.core.regex.ReUtil
获得匹配的字符串,对应分组0表示整个匹配内容,1表示第一个括号分组内容,依次类推
get(Pattern, CharSequence, String) - Static method in class org.dromara.hutool.core.regex.ReUtil
获得匹配的字符串
get(Pattern, CharSequence, Consumer<Matcher>) - Static method in class org.dromara.hutool.core.regex.ReUtil
在给定字符串中查找给定规则的字符,如果找到则使用Consumer处理之
如果内容中有多个匹配项,则只处理找到的第一个结果。
get(CompletableFuture<T>) - Static method in class org.dromara.hutool.core.thread.AsyncUtil
获取异步任务结果,包裹了异常
get() - Method in class org.dromara.hutool.core.thread.RetryableTask
获取结果
get(String, String) - Static method in class org.dromara.hutool.core.util.SystemUtil
取得系统属性,如果因为Java安全的限制而失败,则将错误打在Log中,然后返回 defaultValue
get(String) - Static method in class org.dromara.hutool.core.util.SystemUtil
获得System属性
get(String, boolean) - Static method in class org.dromara.hutool.core.util.SystemUtil
取得系统属性,如果因为Java安全的限制而失败,则将错误打在Log中,然后返回 null
GET_PREFIX - Static variable in class org.dromara.hutool.core.reflect.method.MethodNameUtil
getter方法前缀
getAbsolutePath(String, Class<?>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获取绝对路径
此方法不会判定给定路径是否有效(文件或目录存在)
getAbsolutePath(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获取绝对路径,相对于ClassPath的目录
如果给定就是绝对路径,则返回原路径,原路径把所有\替换为/
兼容Spring风格的路径表示,例如:classpath:config/example.setting也会被识别后转换
getAbsolutePath(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获取标准的绝对路径
getAbsolutePath() - Method in class org.dromara.hutool.core.io.resource.ClassPathResource
获得绝对路径Path
对于不存在的资源,返回拼接后的绝对路径
getAcceptedIssuers() - Method in class org.dromara.hutool.core.net.ssl.TrustAnyTrustManager
 
getActiveCount() - Method in interface org.dromara.hutool.core.pool.ObjectPool
获取已经借出的对象(正在使用的)对象数
getActiveCount() - Method in class org.dromara.hutool.core.pool.partition.PartitionObjectPool
 
getActiveCount() - Method in class org.dromara.hutool.core.pool.partition.PoolPartition
 
getActualType(Type, TypeVariable<?>) - Static method in class org.dromara.hutool.core.reflect.ActualTypeMapperPool
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
getActualType(Type, Field) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获得泛型字段对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
getActualType(Type, Type) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null 此方法可以处理: 1.
getActualType(Type, TypeVariable<?>) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回typeVariable
getActualType(Type, ParameterizedType) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null 此方法可以处理复杂的泛型化对象,类似于: Map<User, Key<Long>>
getActualTypeArguments() - Method in class org.dromara.hutool.core.reflect.ParameterizedTypeImpl
 
getActualTypes(Type, Type...) - Static method in class org.dromara.hutool.core.reflect.ActualTypeMapperPool
获取指定泛型变量对应的真实类型
由于子类中泛型参数实现和父类(接口)中泛型定义位置是一一对应的,因此可以通过对应关系找到泛型实现类型
getActualTypes(Type, Type...) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
getAddressName(InetAddress) - Static method in class org.dromara.hutool.core.net.NetUtil
获取地址名称,如果无名称返回地址
如果提供的地址为null返回null
getAdjacentPoints(T) - Method in class org.dromara.hutool.core.map.multi.Graph
获取节点的邻接节点
getAge() - Method in class org.dromara.hutool.core.data.CIN
根据身份编号获取年龄
getAge(Date) - Method in class org.dromara.hutool.core.data.CIN
根据身份编号获取指定日期当时的年龄年龄(周岁)
按照《最高人民法院关于审理未成年人刑事案件具体应用法律若干问题的解释》第二条规定刑法第十七条规定的“周岁”,按照公历的年、月、日计算,从周岁生日的第二天起算。
getAge(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
根据身份编号获取年龄,只支持15或18位身份证号码
getAge(String, Date) - Static method in class org.dromara.hutool.core.data.IdcardUtil
根据身份编号获取指定日期当时的年龄年龄,只支持15或18位身份证号码
getAllAnnotations(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上直接声明的注解、这些注解包含的可重复注解,以及上述所有注解的元注解中获取指定类型注解
getAllDirectlyAnnotations(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上直接声明的注解、这些注解包含的可重复注解中获取指定类型注解
getAllDirectlyResolvedAnnotations(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上直接声明的注解、这些注解包含的可重复注解中获取指定类型注解
getAllFields(Predicate<Field>) - Method in class org.dromara.hutool.core.reflect.FieldReflect
获得当前类和父类声明的所有字段(包括非public字段)
getAllGroupNames(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
根据给定正则查找字符串中的匹配项,返回所有匹配的分组名对应分组值
pattern: (?
getAllGroups(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
获得匹配的字符串匹配到的所有分组
getAllGroups(Pattern, CharSequence, boolean) - Static method in class org.dromara.hutool.core.regex.ReUtil
获得匹配的字符串匹配到的所有分组
getAllGroups(Pattern, CharSequence, boolean, boolean) - Static method in class org.dromara.hutool.core.regex.ReUtil
获得匹配的字符串匹配到的所有分组
getAllMethods(Predicate<Method>) - Method in class org.dromara.hutool.core.reflect.method.MethodReflect
获取当前类层级结构中的所有方法。
getAllPoints() - Method in class org.dromara.hutool.core.map.multi.DirectedWeightGraph
获取全部点
getAllRepeatableAnnotations(Annotation) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.AbstractCollector
若一个注解是可重复注解的容器注解,则尝试通过其属性获得获得包含的注解对象。
getAllRepeatableAnnotations(Annotation) - Method in interface org.dromara.hutool.core.annotation.RepeatableAnnotationCollector
若一个注解是可重复注解的容器注解,则尝试通过其属性获得获得包含的注解对象。
getAllRepeatableAnnotations(Annotation) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.None
默认返回空集合
getAllResolvedAnnotations(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上直接声明的注解、这些注解包含的可重复注解,以及上述所有注解的元注解中获取指定类型注解
得到的注解支持基于Alias的别名机制。
getAmount() - Method in class org.dromara.hutool.core.math.Money
获取本货币对象代表的金额数。
getAndDecrement() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
先获取原来的值, 再减1
getAndIncrement() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
先获取原来的值, 再加1
getAnnotation(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上,获取该类型的注解或元注解
getAnnotation() - Method in interface org.dromara.hutool.core.annotation.AnnotationMapping
获取注解对象
getAnnotation(AnnotatedElement, Class<A>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取指定注解
getAnnotation(Class<T>) - Method in class org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement
 
getAnnotation(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
从层级结构中所有AnnotatedElement上的注解和元注解中获取指定类型的注解
getAnnotation(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
AnnotatedElement直接声明的注解的层级结构中获得注解对象
getAnnotation(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
RepeatableMetaAnnotatedElement.element上直接声明的注解、直接声明的注解包含的可重复注解,以及它们的元注解中获得指定类型的注解
getAnnotation() - Method in class org.dromara.hutool.core.annotation.GenericAnnotationMapping
获取注解对象
getAnnotation() - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
获取注解对象
getAnnotationAlias(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取别名支持后的注解
getAnnotationAttributes(Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取注解属性,若已有缓存则从缓存中获取
getAnnotationMappings() - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
获取注解映射,若当前实例未完成初始化则先进行初始化
getAnnotations(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上,获取所有的注解或元注解
getAnnotations(AnnotatedElement, boolean) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取指定注解
getAnnotations(AnnotatedElement, boolean, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取指定注解
getAnnotations(AnnotatedElement, boolean, Predicate<Annotation>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取指定注解
getAnnotations() - Method in class org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement
 
getAnnotations() - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
从层级结构中所有AnnotatedElement上的注解和元注解中获取指定类型的注解
getAnnotations() - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
获取所有注解
getAnnotations() - Method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
获取RepeatableMetaAnnotatedElement.element上直接声明的注解、直接声明的注解包含的可重复注解,以及它们的元注解
getAnnotationsByType(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
从层级结构中所有AnnotatedElement上的注解和元注解中获取指定类型的注解
getAnnotationsByType(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
获取AnnotatedElement直接的指定类型注解
getAnnotationsByType(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
RepeatableMetaAnnotatedElement.element上直接声明的注解、直接声明的注解包含的可重复注解,以及它们的元注解中获得指定类型的注解
getAnnotationValue(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取指定注解默认值
如果无指定的属性方法返回null
getAnnotationValue(AnnotatedElement, SerFunction<A, R>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取指定注解属性的值
如果无指定的属性方法返回null
getAnnotationValue(AnnotatedElement, Class<? extends Annotation>, String) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取指定注解属性的值
如果无指定的属性方法返回null
getAnnotationValueMap(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取指定注解中所有属性值
如果无指定的属性方法返回null
getAny(Object, int...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
获取数组中所有指定位置的元素值,组成新数组
getAny(Collection<T>, int...) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取集合中指定多个下标的元素值,下标可以为负数,例如-1表示最后一个元素
getAny(Map<K, V>, K...) - Static method in class org.dromara.hutool.core.map.MapUtil
获取Map的部分key生成新的Map
getArray() - Method in class org.dromara.hutool.core.collection.iter.ArrayIter
获得原始数组对象
getArrayType(Class<?>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
根据数组元素类型,获取数组的类型
方法是通过创建一个空数组从而获取其类型 本方法是 ArrayUtil.getComponentType(Class)的逆方法
getArrayType() - Method in class org.dromara.hutool.core.array.ArrayWrapper
获得数组类型
getAssociatedPoints(T, boolean) - Method in class org.dromara.hutool.core.map.multi.Graph
按广度优先,获得节点的所有直接或间接关联的节点,节点默认按添加顺序排序
getAttribute(int) - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
根据下标获取注解属性
getAttributeIndex(String, Class<?>) - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
获取注解属性的下标
getAttributes() - Method in interface org.dromara.hutool.core.annotation.AnnotationMapping
获取注解原始属性
getAttributes() - Method in class org.dromara.hutool.core.annotation.GenericAnnotationMapping
获取注解原始属性
getAttributes() - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
获取注解属性
getAttributes(Path, boolean) - Static method in class org.dromara.hutool.core.io.file.PathUtil
获取文件属性
getAttributes(String, String...) - Static method in class org.dromara.hutool.core.util.JNDIUtil
获取指定容器环境的对象的属性
如获取DNS属性,则URI为类似:dns:hutool.cn
getAttributeValue(String, Class<R>) - Method in interface org.dromara.hutool.core.annotation.AnnotationMapping
获取属性值
getAttributeValue(String, Class<R>) - Method in class org.dromara.hutool.core.annotation.GenericAnnotationMapping
获取属性值
getAttributeValue(String, Class<R>) - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
获取属性值
getAttributeValue(int) - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
获取属性值
getAuthority() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获得authority部分
getAvailableID(int, TimeUnit) - Static method in class org.dromara.hutool.core.date.ZoneUtil
获取指定偏移量的可用时区ID,如果有多个时区匹配,使用第一个
getBean() - Method in class org.dromara.hutool.core.bean.DynaBean
获得原始Bean
getBean(String) - Method in class org.dromara.hutool.core.map.Dict
获得特定类型值
getBeanClass() - Method in class org.dromara.hutool.core.bean.DynaBean
获得Bean的类型
getBeanClass() - Method in class org.dromara.hutool.core.bean.path.AbstractBeanDesc
获取Bean类
getBeanDesc(Class<?>) - Static method in class org.dromara.hutool.core.bean.BeanDescFactory
获取BeanDesc Bean描述信息,使用Weak缓存
getBeanDesc(Class<?>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
获取BeanDesc Bean描述信息
getBeanDesc(Class<?>) - Method in class org.dromara.hutool.core.bean.copier.AbsCopier
获取Bean描述信息
如果用户自定义了BeanDesc实现,则使用,否则使用默认的规则
getBeanDescWithoutCache(Class<?>) - Static method in class org.dromara.hutool.core.bean.BeanDescFactory
获取BeanDesc Bean描述信息,不使用缓存
getBegin() - Method in class org.dromara.hutool.core.date.DateBetween
获取开始时间
getBeginIndex() - Method in class org.dromara.hutool.core.lang.page.PageInfo
获取当前页的开始记录index(包含)
getBeginIndex() - Method in class org.dromara.hutool.core.lang.range.DefaultSegment
 
getBeginIndex() - Method in interface org.dromara.hutool.core.lang.range.Segment
获取起始位置
getBeginIpLong(String, int) - Static method in class org.dromara.hutool.core.net.Ipv4Util
根据 ip 和 掩码位 获取 子网的起始IP(Long型)
getBeginIpStr(String, int) - Static method in class org.dromara.hutool.core.net.Ipv4Util
根据 ip 和 掩码位 获取 子网的起始IP(字符串型) 方法别名:inet_ntoa
getBeginValue(Calendar, DateField) - Static method in class org.dromara.hutool.core.date.CalendarUtil
获取指定日期字段的最小值,例如分钟的最小值是0
getBeginValue(Calendar, int) - Static method in class org.dromara.hutool.core.date.CalendarUtil
获取指定日期字段的最小值,例如分钟的最小值是0
getBetweenMs() - Method in class org.dromara.hutool.core.date.BetweenFormatter
获得 时长毫秒数
getBigDecimal(K, BigDecimal) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取BigDecimal型属性值
若获得的值为不可见字符,使用默认值
getBigDecimal(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取BigDecimal型属性值
getBigDecimalByGroup(K, G, BigDecimal) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取BigDecimal型属性值
getBigDecimalByGroup(K, G) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取BigDecimal型属性值
getBigInteger(K, BigInteger) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取BigInteger型属性值
若获得的值为不可见字符,使用默认值
getBigInteger(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取BigInteger型属性值
getBigIntegerByGroup(K, G, BigInteger) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取BigInteger型属性值
getBigIntegerByGroup(K, G) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取BigInteger型属性值
getBinaryStr(Number) - Static method in class org.dromara.hutool.core.math.NumberUtil
获得数字对应的二进制字符串
getBirth() - Method in class org.dromara.hutool.core.data.CIN
根据身份编号获取生日
getBirth(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
根据身份编号获取生日,只支持15或18位身份证号码
getBirthDate() - Method in class org.dromara.hutool.core.data.CIN
从身份证号码中获取生日日期
getBirthDate(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
从身份证号码中获取生日日期,只支持15或18位身份证号码
getBirthDay() - Method in class org.dromara.hutool.core.data.CIN
根据身份编号获取生日天
getBirthDay(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
根据身份编号获取生日天,只支持15或18位身份证号码
getBirthMonth() - Method in class org.dromara.hutool.core.data.CIN
根据身份编号获取生日月
getBirthMonth(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
根据身份编号获取生日月,只支持15或18位身份证号码
getBirthYear() - Method in class org.dromara.hutool.core.data.CIN
根据身份编号获取生日年
getBirthYear(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
根据身份编号获取生日年,只支持15或18位身份证号码
getBOMInputStream(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得BOM输入流,用于处理带BOM头的文件
getBOMReader(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
读取带BOM头的文件为Reader
getBool(K, Boolean) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取boolean型属性值
若获得的值为不可见字符,使用默认值
getBool(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取boolean型属性值
getBool(Map<?, ?>, Object) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Bool
getBool(Map<?, ?>, Object, Boolean) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Bool
getBoolByGroup(K, G, Boolean) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取boolean型属性值
getBoolByGroup(K, G) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取boolean型属性值
getBoolean(String, boolean) - Static method in class org.dromara.hutool.core.util.SystemUtil
获得boolean类型值
getBy(Class<E>, Predicate<? super E>) - Static method in class org.dromara.hutool.core.util.EnumUtil
通过 某字段对应值 获取 枚举,获取不到时为 null
getBy(SerFunction<E, C>, C) - Static method in class org.dromara.hutool.core.util.EnumUtil
通过 某字段对应值 获取 枚举,获取不到时为 null
getBy(SerFunction<E, C>, C, E) - Static method in class org.dromara.hutool.core.util.EnumUtil
通过 某字段对应值 获取 枚举,获取不到时为 defaultEnum
getByGroup(K, G, Type) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取指定类型的值,默认自动转换值类型
getByGroup(K, G, Type, T) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取指定类型的值,默认自动转换值类型
getByLeft(L) - Method in class org.dromara.hutool.core.map.TripleTable
通过左值查找三元组(所有值)
getByMiddle(M) - Method in class org.dromara.hutool.core.map.TripleTable
通过中值查找三元组(所有值)
getByPath(String) - Method in class org.dromara.hutool.core.map.Dict
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值 表达式栗子: persion persion.name persons[3] person.friends[5].name
getByPath(String, Type) - Method in class org.dromara.hutool.core.map.Dict
通过表达式获取JSON中嵌套的对象
.表达式,可以获取Bean对象中的属性(字段)值或者Map中key对应的值 []表达式,可以获取集合等对象中对应index的值 表达式栗子: persion persion.name persons[3] person.friends[5].name 获取表达式对应值后转换为对应类型的值
getByRight(R) - Method in class org.dromara.hutool.core.map.TripleTable
通过右值查找三元组(所有值)
getByte(K, Byte) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取byte型属性值
getByte(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取byte型属性值
getByteByGroup(K, G, Byte) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取byte型属性值
getByteByGroup(K, G) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取byte型属性值
getBytes() - Method in class org.dromara.hutool.core.io.ByteOrderMark
Gets a copy of the BOM's bytes.
getBytes(K, byte[]) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取bytes型属性值
getBytes(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取bytes型属性值
getByXPath(String, Object, QName) - Static method in class org.dromara.hutool.core.xml.XPathUtil
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getByXPath(String, Object, QName, NamespaceContext) - Static method in class org.dromara.hutool.core.xml.XPathUtil
getCachedFilesCount() - Method in class org.dromara.hutool.core.cache.file.AbstractFileCache
 
getCaller() - Method in interface org.dromara.hutool.core.lang.caller.Caller
获得调用者
getCaller(int) - Method in interface org.dromara.hutool.core.lang.caller.Caller
获得调用者,指定第几级调用者 调用者层级关系: 0 CallerUtil 1 调用CallerUtil中方法的类 2 调用者的调用者 ...
getCaller() - Static method in class org.dromara.hutool.core.lang.caller.CallerUtil
获得调用者
getCaller(int) - Static method in class org.dromara.hutool.core.lang.caller.CallerUtil
获得调用者,指定第几级调用者
调用者层级关系: 0 CallerUtil 1 调用CallerUtil中方法的类 2 调用者的调用者 ...
getCaller() - Method in class org.dromara.hutool.core.lang.caller.SecurityManagerCaller
 
getCaller(int) - Method in class org.dromara.hutool.core.lang.caller.SecurityManagerCaller
 
getCaller() - Method in class org.dromara.hutool.core.lang.caller.StackTraceCaller
 
getCaller(int) - Method in class org.dromara.hutool.core.lang.caller.StackTraceCaller
 
getCallerCaller() - Method in interface org.dromara.hutool.core.lang.caller.Caller
获得调用者的调用者
getCallerCaller() - Static method in class org.dromara.hutool.core.lang.caller.CallerUtil
获得调用者的调用者
getCallerCaller() - Method in class org.dromara.hutool.core.lang.caller.SecurityManagerCaller
 
getCallerCaller() - Method in class org.dromara.hutool.core.lang.caller.StackTraceCaller
 
getCallerClassLoader() - Static method in class org.dromara.hutool.core.classloader.ClassLoaderUtil
获取调用者的ClassLoader
getCallerMethodName(boolean) - Static method in class org.dromara.hutool.core.lang.caller.CallerUtil
获取调用此方法的方法名
getCanonicalPath(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获取规范的绝对路径
getCapacity() - Method in class org.dromara.hutool.core.map.FixedLinkedHashMap
获取容量
getCapacity() - Method in class org.dromara.hutool.core.thread.ratelimiter.RateLimiterConfig
容量,可以是总容量,或者每个周期的容量
getCausedBy(Throwable, Class<? extends Exception>...) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
获取由指定异常类引起的异常
getCent() - Method in class org.dromara.hutool.core.math.Money
获取本货币对象代表的金额数。
getCentFactor() - Method in class org.dromara.hutool.core.math.Money
获取本货币币种的元/分换算比率。
getChar(K, Character) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取char型属性值
若获得的值为不可见字符,使用默认值
getChar(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取char型属性值
getChar(Map<?, ?>, Object) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Character
getChar(Map<?, ?>, Object, Character) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Character
getCharByGroup(K, G, Character) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取char型属性值
getCharByGroup(K, G) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取char型属性值
getCharset() - Method in class org.dromara.hutool.core.io.file.FileWrapper
获得字符集编码
getCharset() - Method in class org.dromara.hutool.core.io.resource.CharSequenceResource
获取编码
getCharset() - Method in class org.dromara.hutool.core.io.stream.BOMInputStream
获取BOM头中的编码
getCharset() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获取编码,用于URLEncode和URLDecode
getCharsetName() - Method in class org.dromara.hutool.core.io.ByteOrderMark
获取BOM头定义的编码名称.
getCharsetName() - Method in class org.dromara.hutool.core.io.resource.CharSequenceResource
获取编码名
getCheckDigit(String, boolean) - Static method in class org.dromara.hutool.core.codec.Luhn
计算校验位数字
忽略已有的校验位数字,根据前N位计算最后一位校验位数字
getChild() - Method in class org.dromara.hutool.core.bean.path.BeanPath
获取子表达式
getChild(K) - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
获取以当前节点作为根节点的树结构,然后获取该树结构中的当前节点的指定子节点
getChild(K) - Method in interface org.dromara.hutool.core.map.TreeEntry
获取以当前节点作为根节点的树结构,然后获取该树结构中的当前节点的指定子节点
getChildNodes(K) - Method in interface org.dromara.hutool.core.map.ForestMap
获取指定父节点的全部子节点
比如:若存在 a -> b -> c 的关系,此时输入 b 将返回 c,输入 a 将返回 b,c
getChildren() - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
获取以当前节点作为根节点的树结构,然后按广度优先获取该树结构中的当前节点的全部子节点
getChildren() - Method in interface org.dromara.hutool.core.map.TreeEntry
获取以当前节点作为根节点的树结构,然后获取该树结构中的当前节点的全部子节点
getChildren() - Method in class org.dromara.hutool.core.tree.MapTree
获取所有子节点
getChildrenKey() - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
 
getChildrenKey() - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
获取子点对应的名称
getChildrenKeyFun() - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
获取子节点名称方法
getChineseDay() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获得农历日
getChineseMonth() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获得农历月份(中文,例如二月,十二月,或者润一月)
getChineseMonth(boolean) - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获得农历月份(中文,例如二月,十二月,或者润一月)
getChineseMonthName() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获得农历月称呼(中文,例如二月,腊月,或者润正月)
getChineseMonthName(boolean, int, boolean) - Static method in class org.dromara.hutool.core.date.chinese.ChineseMonth
获得农历月称呼
当为传统表示时,表示为二月,腊月,或者润正月等 当为非传统表示时,二月,十二月,或者润一月等
getChineseYear() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获得农历年份
getChineseZodiac() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获得年份生肖
getChineseZodiac(int) - Static method in class org.dromara.hutool.core.date.DateUtil
计算生肖,只计算1900年后出生的人
getChineseZodiac(Date) - Static method in class org.dromara.hutool.core.date.Zodiac
通过生日计算生肖,只计算1900年后出生的人
getChineseZodiac(Calendar) - Static method in class org.dromara.hutool.core.date.Zodiac
通过生日计算生肖,只计算1900年后出生的人
getChineseZodiac(int) - Static method in class org.dromara.hutool.core.date.Zodiac
计算生肖,只计算1900年后出生的人
getCIN(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
获取公民身份证(CIN)信息,包括身份、城市代码、生日、性别等
getCityCode() - Method in class org.dromara.hutool.core.data.CIN
根据身份编号获取地市级编码
获取编码为4位
getCityCode(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
根据身份编号获取地市级编码,只支持15或18位身份证号码
获取编码为4位
getClass(T) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
null安全的获取对象类型
getClass(Type) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获得Type对应的原始类
getClass(Field) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获得Field对应的原始类
getClasses(Object...) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得对象数组的类数组
getClassesOfLoadError() - Method in class org.dromara.hutool.core.reflect.ClassScanner
忽略加载错误扫描后,可以获得之前扫描时加载错误的类名字集合
getClassLoader() - Static method in class org.dromara.hutool.core.classloader.ClassLoaderUtil
获取ClassLoader,获取顺序如下: 获取调用者的ContextClassLoader 获取当前线程的ContextClassLoader 获取ClassLoaderUtil对应的ClassLoader 获取系统ClassLoader(ClassLoader.getSystemClassLoader()
getClassLoader() - Method in class org.dromara.hutool.core.io.resource.ClassPathResource
getClassName(Object, boolean) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获取类名
getClassName(Class<?>, boolean) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获取类名
类名并不包含“.class”这个扩展名
例如:ClassUtil这个类
isSimple为false: "org.dromara.hutool.core.reflect.ClassUtil" isSimple为true: "ClassUtil"
getClassPath() - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得ClassPath,将编码后的中文路径解码为原字符
这个ClassPath路径会文件路径被标准化处理
getClassPath(boolean) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得ClassPath,这个ClassPath路径会文件路径被标准化处理
getClassPathResources() - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
getClassPathResources(boolean) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得ClassPath
getClassPaths(String) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
getClassPaths(String, boolean) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得ClassPath
getClazz() - Method in class org.dromara.hutool.core.func.LambdaInfo
方法或构造所在类
getClazz() - Method in class org.dromara.hutool.core.reflect.FieldReflect
获取当前类
getClazz() - Method in class org.dromara.hutool.core.reflect.method.MethodReflect
获取当前类
getCode() - Method in class org.dromara.hutool.core.data.CIN10
获取CIN10码
getCode() - Method in class org.dromara.hutool.core.data.VIN
获取VIN码
getCode() - Method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitBackgroundColor
获取ANSI颜色代码
getCode(boolean) - Method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitBackgroundColor
获取ANSI颜色代码
getCode() - Method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitColor
获取ANSI颜色代码(前景色)
getCode(boolean) - Method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitColor
获取ANSI颜色代码
getCode() - Method in class org.dromara.hutool.core.lang.ansi.Ansi8BitColor
获取颜色代码(0-255)
getCode() - Method in interface org.dromara.hutool.core.lang.ansi.AnsiElement
获取ANSI代码
getCode() - Method in enum org.dromara.hutool.core.lang.ansi.AnsiStyle
获取ANSI文本样式风格代码
getCode() - Method in enum org.dromara.hutool.core.lang.range.BoundType
获取code
getCodeBase(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassDescUtil
获取code base
getColumn(C) - Method in class org.dromara.hutool.core.map.multi.RowKeyTable
 
getColumn(C) - Method in interface org.dromara.hutool.core.map.multi.Table
获取列
getColumnKey() - Method in interface org.dromara.hutool.core.map.multi.Table.Cell
获取列键
getCombinationAnnotations(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取组合注解
getComparator() - Method in class org.dromara.hutool.core.stream.spliterators.DropWhileSpliterator
 
getComparator() - Method in class org.dromara.hutool.core.stream.spliterators.TakeWhileSpliterator
 
getComponentType(Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
获取数组对象的元素类型,方法调用参数与返回结果举例: Object[] =》 Object.class String[] =》 String.class int[] =》 int.class Integer[] =》 Integer.class null =》 null String =》 null
getComponentType(Class<?>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
获取数组对象的元素类型,方法调用参数与返回结果举例: Object[].class =》 Object.class String[].class =》 String.class int[].class =》 int.class Integer[].class =》 Integer.class null =》 null String.class =》 null
getComponentType() - Method in class org.dromara.hutool.core.array.ArrayWrapper
获取数组对象的元素类型,方法调用参数与返回结果举例: Object[] =》 Object.class String[] =》 String.class int[] =》 int.class Integer[] =》 Integer.class null =》 null String =》 null
getConfig() - Method in class org.dromara.hutool.core.tree.MapTree
获取节点配置
getConstructor(Class<T>, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.ConstructorUtil
查找类中的指定参数的构造方法,如果找到构造方法,会自动设置可访问为true
getConstructors(Class<T>) - Static method in class org.dromara.hutool.core.reflect.ConstructorUtil
获得一个类中所有构造列表
getConstructors(Class<?>) - Static method in class org.dromara.hutool.core.reflect.kotlin.KClassImpl
获取Kotlin类的所有构造方法
getConstructors(Class<?>) - Static method in class org.dromara.hutool.core.reflect.kotlin.KClassUtil
获取Kotlin类的所有构造方法
getConstructorsDirectly(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ConstructorUtil
获得一个类中所有构造列表,直接反射获取,无缓存
getContainsStr(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
getContainsStrIgnoreCase(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
忽略大小写
getContentType() - Method in class org.dromara.hutool.core.io.resource.HttpResource
获取自定义Content-Type类型
getContextClassLoader() - Static method in class org.dromara.hutool.core.classloader.ClassLoaderUtil
获取当前线程的ClassLoader
getConverter(Type, Object, boolean) - Method in class org.dromara.hutool.core.convert.RegisterConverter
获得转换器
getConverter(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.SpecialConverter
获得匹配的转换器
getCopyPredicate() - Method in class org.dromara.hutool.core.lang.copier.SrcToTargetCopier
获得过滤器
getCount() - Method in class org.dromara.hutool.core.io.stream.LineCounter
获取行数
getCountryCode() - Method in class org.dromara.hutool.core.data.VIN
获取国家或地区代码
getCurrency() - Method in class org.dromara.hutool.core.math.Money
获取本货币对象代表的币种。
getCurrentNumberOfBytes() - Method in class org.dromara.hutool.core.io.CircularByteBuffer
Returns the number of bytes, that are currently present in the buffer.
getCurrentWeight() - Method in class org.dromara.hutool.core.lang.selector.SmoothWeightObj
获取当前权重
getCustomConverter(Type, Object) - Method in class org.dromara.hutool.core.convert.RegisterConverter
获得匹配类型的自定义转换器
getCustomConverter(Type) - Method in class org.dromara.hutool.core.convert.RegisterConverter
获得指定类型对应的自定义转换器
getCyclical() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获得年的天干地支
getDataCenterId(long) - Static method in class org.dromara.hutool.core.data.id.IdUtil
获取数据中心ID
数据中心ID依赖于本地网卡MAC地址。
getDataCenterId(long) - Method in class org.dromara.hutool.core.data.id.Snowflake
根据Snowflake的ID,获取数据中心id
getDataUri(String, String, String) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
Data URI Scheme封装。
getDataUri(String, Charset, String, String) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
Data URI Scheme封装。
getDataUriBase64(String, String) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
Data URI Scheme封装,数据格式为Base64。
getDate(K, Date) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取Date类型值
getDate(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取Date类型值
getDate(Map<?, ?>, Object) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Date
getDate(Map<?, ?>, Object, Date) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Date
getDateInstance(int) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateInstance(int, Locale) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateInstance(int, TimeZone) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateInstance(int, TimeZone, Locale) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeFormatter() - Method in class org.dromara.hutool.core.date.format.FastDateFormat
便捷获取 DateTimeFormatter 由于 DatePattern 很大一部分的格式没有提供 DateTimeFormatter,因此这里提供快捷获取方式
getDateTimeInstance(int, int) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeInstance(int, int, Locale) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeInstance(int, int, TimeZone) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDateTimeInstance(int, int, TimeZone, Locale) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getDay() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获取农历的日,从1开始计数
getDay() - Method in class org.dromara.hutool.core.date.DateBuilder
获取当前日期对象中的日部分。
getDeclaredAnnotation(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
获取层级结构中所有AnnotatedElement上直接声明的指定类型注解
getDeclaredAnnotation(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
AnnotatedElement直接声明的注解中获得注解对象
getDeclaredAnnotation(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
获取由RepeatableMetaAnnotatedElement.element直接声明的注解,不包含被直接声明的容器注解包括的可重复注解
getDeclaredAnnotations(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取直接声明的注解,若已有缓存则从缓存中获取
getDeclaredAnnotations() - Method in class org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement
 
getDeclaredAnnotations() - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
获取层级结构中所有AnnotatedElement上直接声明的注解
getDeclaredAnnotations() - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
获取AnnotatedElement直接声明的注解的映射对象
getDeclaredAnnotations() - Method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
获取由RepeatableMetaAnnotatedElement.element直接声明的注解,不包含被直接声明的容器注解包括的可重复注解
getDeclaredAnnotationsByType(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
获取层级结构中所有AnnotatedElement上直接声明的指定类型注解
getDeclaredAnnotationsByType(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
获取AnnotatedElement直接声明的指定类型注解
getDeclaredAnnotationsByType(Class<A>) - Method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
获取由RepeatableMetaAnnotatedElement.element直接声明的注解,不包含被直接声明的容器注解包括的可重复注解
getDeclaredChildNodes(K) - Method in interface org.dromara.hutool.core.map.ForestMap
获取指定父节点直接关联的子节点
比如:若存在 a -> b -> c 的关系,此时输入 b 将返回 c,输入 a 将返回 b
getDeclaredChildren() - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
获取当前节点直接关联的子节点
getDeclaredChildren() - Method in interface org.dromara.hutool.core.map.TreeEntry
获取当前节点直接关联的子节点
getDeclaredField(Class<?>, String) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获取本类定义的指定名称的字段,包括私有字段,但是不包括父类字段
getDeclaredFields(Predicate<Field>) - Method in class org.dromara.hutool.core.reflect.FieldReflect
获得当前类声明的所有字段(包括非public字段),但不包括父类的字段
getDeclaredFields(Class<?>, Predicate<Field>) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获得当前类声明的所有字段(包括非public字段),但不包括父类的字段
getDeclaredMapping(Class<? extends Annotation>) - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
AnnotatedElement直接声明的注解中获得注解映射对象
getDeclaredMethods(Predicate<Method>) - Method in class org.dromara.hutool.core.reflect.method.MethodReflect
获取当前类直接声明的所有方法,等同于Class.getDeclaredMethods()
getDeclaredMethods(Class<?>) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
获得类中所有直接声明方法,不包括其父类中的方法
getDeclaredMethods(Class<?>, Predicate<Method>) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
获得类中所有直接声明方法,不包括其父类中的方法
getDeclaredParent() - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
获取当前节点直接关联的父节点
getDeclaredParent() - Method in interface org.dromara.hutool.core.map.TreeEntry
获取当前节点直接关联的父节点
getDeclaredParentNode(K) - Method in interface org.dromara.hutool.core.map.ForestMap
获取指定节点的直接父节点
比如:若存在 a -> b -> c 的关系,此时输入 a 将返回 null,输入 b 将返回 a,输入 c 将返回 b
getDeclaringClass() - Method in class org.dromara.hutool.core.reflect.ClassMember
 
getDecodedPath(URL) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
从URL对象中获取不被编码的路径Path
对于本地路径,URL对象的getPath方法对于包含中文或空格时会被编码,导致本读路径读取错误。
getDeep() - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
获取递归深度
getDefault() - Static method in class org.dromara.hutool.core.net.ssl.SSLContextUtil
获取默认的SSLContext
getDefaultCharset() - Method in class org.dromara.hutool.core.io.stream.BOMInputStream
获取默认编码
getDefaultConverter(Type) - Method in class org.dromara.hutool.core.convert.RegisterConverter
获得默认转换器
getDefaultKeyManagerFactory() - Static method in class org.dromara.hutool.core.net.ssl.KeyManagerUtil
getDefaultKeyManagerFactory(Provider) - Static method in class org.dromara.hutool.core.net.ssl.KeyManagerUtil
getDefaultKeyManagers(KeyStore, char[]) - Static method in class org.dromara.hutool.core.net.ssl.KeyManagerUtil
从KeyStore中获取KeyManager列表
getDefaultTrustManager() - Static method in class org.dromara.hutool.core.net.ssl.TrustManagerUtil
获取默认的TrustManager,为SunX509
此方法主要用于获取自签证书的X509TrustManager
getDefaultTrustManagers() - Static method in class org.dromara.hutool.core.net.ssl.TrustManagerUtil
获取默认的TrustManager,为SunX509
此方法主要用于获取自签证书的TrustManager
getDefaultValue(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获取指定类型分的默认值
默认值规则为: 1、如果为原始类型,返回0 2、非原始类型返回 null
getDefaultValue(AbstractPlaceholderSegment) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
根据 占位符 返回默认值 根据定义的默认值、默认值提供者、全局默认值提供者,返回默认值
getDefaultValues(Class<?>...) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得默认值列表
getDesc(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassDescUtil
获取类描述,这是编译成class文件后的二进制名称 getDesc(boolean.class) // Z getDesc(Boolean.class) // Ljava/lang/Boolean; getDesc(double[][][].class) // [[[D getDesc(int.class) // I getDesc(Integer.class) // Ljava/lang/Integer;
getDesc(Executable, boolean) - Static method in class org.dromara.hutool.core.reflect.ClassDescUtil
获取方法或构造描述
方法(appendName为true): int do(int arg1) => "do(I)I" void do(String arg1,boolean arg2) => "do(Ljava/lang/String;Z)V" 构造: "()V", "(Ljava/lang/String;I)V" 当appendName为false时: getDesc(Object.class.getMethod("hashCode")) // ()I getDesc(Object.class.getMethod("toString")) // ()Ljava/lang/String; getDesc(Object.class.getMethod("equals", Object.class)) // (Ljava/lang/Object;)Z getDesc(ArrayUtil.class.getMethod("isEmpty", Object[].class)) // "([Ljava/lang/Object;)Z"
getDirectlyAnnotation(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上获取该类型的注解
getDirectlyAnnotations(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上获取所有的注解
getDirectlyResolvedAnnotation(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上,获取所有的注解。
getDirectlyResolvedAnnotations(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上,获取所有的注解。
getDisplayName(TextStyle) - Method in enum org.dromara.hutool.core.date.Month
获取显示名称
getDisplayName(TextStyle, Locale) - Method in enum org.dromara.hutool.core.date.Month
获取显示名称
getDistrictCode() - Method in class org.dromara.hutool.core.data.CIN
根据身份编号获取区县级编码
获取编码为6位
getDistrictCode(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
根据身份编号获取区县级编码,只支持15或18位身份证号码
获取编码为6位
getDnsInfo(String, String...) - Static method in class org.dromara.hutool.core.net.NetUtil
获取DNS信息,如TXT信息:
     NetUtil.attrNames("hutool.cn", "TXT")
 
getDouble(K, Double) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取double型属性值
若获得的值为不可见字符,使用默认值
getDouble(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取double型属性值
getDouble(Map<?, ?>, Object) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Double
getDouble(Map<?, ?>, Object, Double) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Double
getDoubleByGroup(K, G, Double) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取double型属性值
getDoubleByGroup(K, G) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取double型属性值
getElement() - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
获取被包装的原始AnnotatedElement对象
getElement() - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
获取被包装的AnnotatedElement
getElement() - Method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
注解对象
getElement(Element, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
根据节点名获得第一个子节点
getElementByXPath(String, Object) - Static method in class org.dromara.hutool.core.xml.XPathUtil
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getElementMappings() - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
获取当前元素及层级结构中的关联元素的映射对象,结果只读
getElements(Element, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
根据节点名获得子节点列表
getElementType(Iterable<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
获得Iterable对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
getElementType(Iterator<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
获得Iterator对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
getEnclosingClass(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得外围类
返回定义此类或匿名类所在的类,如果类本身是在包中定义的,返回null
getEncodedLength(byte[]) - Method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Calculates the amount of space needed to encode the supplied array.
getEnd() - Method in class org.dromara.hutool.core.bean.path.node.RangeNode
获取结束值
getEnd() - Method in class org.dromara.hutool.core.date.DateBetween
获取结束日期
getEndIndex() - Method in class org.dromara.hutool.core.lang.page.PageInfo
获取当前页的结束记录index(包含) 当开始index超出total时,返回正常值 当开始index未超出total但是计算的end超出时,返回total 当开始index和end都未超出时,返回正常值
getEndIndex() - Method in class org.dromara.hutool.core.lang.range.DefaultSegment
 
getEndIndex() - Method in interface org.dromara.hutool.core.lang.range.Segment
获取结束位置
getEndIndexExclude() - Method in class org.dromara.hutool.core.lang.page.PageInfo
获取当前页的结束记录index(不包含) 当开始index超出total时,返回正常值 当开始index未超出total但是计算的end超出时,返回total + 1 当开始index和end都未超出时,返回正常值
getEndIpLong(String, int) - Static method in class org.dromara.hutool.core.net.Ipv4Util
根据 ip 和 掩码位 获取 子网的终止IP(Long型)
getEndIpStr(String, int) - Static method in class org.dromara.hutool.core.net.Ipv4Util
根据 ip 和 掩码位 获取 子网的终止IP(字符串型)
getEndValue(Calendar, DateField) - Static method in class org.dromara.hutool.core.date.CalendarUtil
获取指定日期字段的最大值,例如分钟的最大值是59
getEndValue(Calendar, int) - Static method in class org.dromara.hutool.core.date.CalendarUtil
获取指定日期字段的最大值,例如分钟的最大值是59
getEnum(Class<E>, K, E) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获得Enum类型的值
getEnum(Class<E>, K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获得Enum类型的值
getEnumAt(Class<E>, int) - Static method in class org.dromara.hutool.core.util.EnumUtil
获取给定位置的枚举值
getEnumMap(Class<E>) - Static method in class org.dromara.hutool.core.util.EnumUtil
获取枚举字符串值和枚举对象的Map对应,使用LinkedHashMap保证有序
结果中键为枚举名,值为枚举对象
getErrorResult(Process) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获取命令执行异常结果,使用系统默认编码,获取后销毁进程
getErrorResult(Process, Charset) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获取命令执行异常结果,获取后销毁进程
getExecutable() - Method in class org.dromara.hutool.core.func.LambdaInfo
方法或构造对象
getExecutor() - Static method in class org.dromara.hutool.core.thread.GlobalThreadPool
getExistClass() - Static method in class org.dromara.hutool.core.lang.Singleton
获取单例池中存在的所有类
getExpiredTime() - Method in class org.dromara.hutool.core.cache.impl.CacheObj
获取过期时间,返回null表示永不过期
getExtension() - Method in enum org.dromara.hutool.core.io.file.FileMagicNumber
获取扩展名
getExtra() - Method in class org.dromara.hutool.core.tree.TreeNode
获取扩展字段
getFactory() - Static method in class org.dromara.hutool.core.xml.SAXParserFactoryUtil
获取全局SAXParserFactory
默认不验证 默认打开命名空间支持
getFeatures() - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
获取 当前模板的 策略值
getFestivals() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获得节日,闰月不计入节日中
getFestivals(int, int, int) - Static method in class org.dromara.hutool.core.date.chinese.LunarFestival
获得节日列表
getFestivals(int, int) - Static method in class org.dromara.hutool.core.date.chinese.LunarFestival
获得节日列表,此方法无法判断月是否为大月或小月
getField(String) - Method in class org.dromara.hutool.core.bean.path.AbstractBeanDesc
获得字段名对应的字段对象,如果不存在返回null
getField() - Method in class org.dromara.hutool.core.bean.PropDesc
获取字段
getField(Calendar, DateField) - Static method in class org.dromara.hutool.core.date.CalendarUtil
获得日期的某个部分
例如获得年的部分,则使用 getField(DatePart.YEAR)
getField(DateField) - Method in class org.dromara.hutool.core.date.DateTime
获得日期的某个部分
例如获得年的部分,则使用 getField(DatePart.YEAR)
getField(int) - Method in class org.dromara.hutool.core.date.DateTime
获得日期的某个部分
例如获得年的部分,则使用 getField(Calendar.YEAR)
getField() - Method in class org.dromara.hutool.core.reflect.FieldInvoker
获取字段
getField(Class<?>, String) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
查找指定类中的指定name的字段(包括非public字段),也包括父类和Object类的字段, 字段不存在则返回null
getFieldBy(SerFunction<E, F>, Function<E, C>, C) - Static method in class org.dromara.hutool.core.util.EnumUtil
通过 某字段对应值 获取 枚举中另一字段值,获取不到时为 null
getFieldClass() - Method in class org.dromara.hutool.core.bean.PropDesc
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
getFieldMap(Class<?>) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获取指定类中字段名和字段对应的有序Map,包括其父类中的字段
如果子类与父类中存在同名字段,则父类字段忽略
getFieldName(String) - Static method in class org.dromara.hutool.core.bean.BeanUtil
获取Getter或Setter方法名对应的字段名称,规则如下: getXxxx获取为xxxx,如getName得到name。
getFieldName() - Method in class org.dromara.hutool.core.bean.PropDesc
获取字段名,如果存在Alias注解,读取注解的值作为名称
getFieldName() - Method in class org.dromara.hutool.core.func.LambdaInfo
字段名称,主要用于方法名称截取,方法名称必须为getXXX、isXXX、setXXX
getFieldName(T) - Static method in class org.dromara.hutool.core.func.LambdaUtil
获取lambda表达式Getter或Setter函数(方法)对应的字段名称,规则如下: getXxxx获取为xxxx,如getName得到name。
getFieldName(Field) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获取字段名,如果存在Alias注解,读取注解的值作为名称
getFieldName(Field, boolean) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获取字段名,可选是否使用Alias注解,读取注解的值作为名称
getFieldNames(Class<? extends Enum<?>>) - Static method in class org.dromara.hutool.core.util.EnumUtil
获得枚举类中所有的字段名
除用户自定义的字段名,也包括“name”字段,例如: EnumUtil.getFieldNames(Color.class) == ["name", "index"]
getFields(Class<?>) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获得一个类中所有字段列表,包括其父类中的字段
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFields(Class<?>, Predicate<Field>) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获得一个类中所有满足条件的字段列表,包括其父类中的字段
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFieldsDirectly(boolean) - Method in class org.dromara.hutool.core.reflect.FieldReflect
获得一个类中所有字段列表,直接反射获取,无缓存
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFieldsDirectly(Class<?>, boolean) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获得一个类中所有字段列表,直接反射获取,无缓存
如果子类与父类中存在同名字段,则这两个字段同时存在,子类字段在前,父类字段在后。
getFieldsValue(Object) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获取所有字段的值
getFieldsValue(Object, Predicate<Field>) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获取所有字段的值
getFieldType() - Method in class org.dromara.hutool.core.bean.PropDesc
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
getFieldType(Class<?>, String) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获得字段的泛型类型
getFieldValue(Object, String) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获取字段值
getFieldValue(Object, Field) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获取字段值
getFieldValues(Iterable<?>, String) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
getFieldValues(Iterable<?>, String, boolean) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
getFieldValues(Iterable<?>, String, Class<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
getFieldValues(Class<? extends Enum<?>>, String) - Static method in class org.dromara.hutool.core.util.EnumUtil
获得枚举类中各枚举对象下指定字段的值
getFile() - Method in class org.dromara.hutool.core.io.resource.FileResource
获取文件
getFile() - Method in class org.dromara.hutool.core.io.resource.UrlResource
获得File
getFile() - Method in class org.dromara.hutool.core.io.resource.VfsResource
获取物理文件对象
getFileBytes(String) - Method in class org.dromara.hutool.core.cache.file.AbstractFileCache
获得缓存过的文件bytes
getFileBytes(File) - Method in class org.dromara.hutool.core.cache.file.AbstractFileCache
获得缓存过的文件bytes
getFileObject() - Method in class org.dromara.hutool.core.io.resource.FileObjectResource
获取原始的FileObject
getFileVisitOption(boolean) - Static method in class org.dromara.hutool.core.io.file.PathUtil
构建是否追踪软链的选项
getFilter() - Method in class org.dromara.hutool.core.collection.iter.FilterIter
获取过滤函数
getFinalRepeatableAnnotations(Annotation) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.AbstractCollector
若一个注解是可重复注解的容器注解,则尝试通过其属性获得获得包含的注解对象。
getFinalRepeatableAnnotations(Annotation) - Method in interface org.dromara.hutool.core.annotation.RepeatableAnnotationCollector
若一个注解是可重复注解的容器注解,则尝试通过其属性获得获得包含的注解对象。
getFinalRepeatableAnnotations(Annotation) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.None
默认返回空集合
getFirst(Iterable<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取集合的第一个元素,如果集合为空(null或者空集合),返回null
getFirst(Iterable<T>, Predicate<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
查找第一个匹配元素对象
getFirst(Iterator<T>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
获取集合的第一个元素
getFirst(Iterator<T>, Predicate<T>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
返回Iterator中第一个匹配规则的值
getFirst() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
getFirstByField(Iterable<T>, String, Object) - Static method in class org.dromara.hutool.core.collection.CollUtil
查找第一个匹配元素对象
如果集合元素是Map,则比对键和值是否相同,相同则返回
如果为普通Bean,则通过反射比对元素字段名对应的字段值是否相同,相同则返回
如果给定字段值参数是null 且元素对象中的字段值也为null则认为相同
getFirstDayOfWeek() - Method in class org.dromara.hutool.core.date.DateTime
获得一周的第一天,默认为周一
getFirstNoneNull(Iterable<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取集合的第一个非空元素
getFirstNoneNull(Iterator<T>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
获取集合的第一个非空元素
getFirstNumber(CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
从字符串中获得第一个整数
getFirstPageNo() - Method in class org.dromara.hutool.core.lang.page.PageInfo
获取设置首页编号,即以数字几为第一页标志
getFirstParamClass(Method) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获取方法的第一个参数类
getFirstParamType(Method) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获取方法的第一个参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
getFloat(K, Float) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取float型属性值
若获得的值为不可见字符,使用默认值
getFloat(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取float型属性值
getFloat(Map<?, ?>, Object) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Float
getFloat(Map<?, ?>, Object, Float) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Float
getFormat() - Method in class org.dromara.hutool.core.convert.impl.CalendarConverter
获取日期格式
getFormat() - Method in class org.dromara.hutool.core.convert.impl.DateConverter
获取日期格式
getFormat() - Method in class org.dromara.hutool.core.convert.impl.TemporalAccessorConverter
获取日期格式
getFormat() - Method in class org.dromara.hutool.core.convert.impl.XMLGregorianCalendarConverter
获取日期格式
getFoundAllSensitive(String) - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
查找敏感词,返回找到的所有敏感词
getFoundAllSensitive(String, boolean, boolean) - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
查找敏感词,返回找到的所有敏感词
密集匹配原则:假如关键词有 ab,b,文本是abab,将匹配 [ab,b,ab]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[a, ab]
getFoundFirstSensitive(String) - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
查找敏感词,返回找到的第一个敏感词
getFoundWord() - Method in class org.dromara.hutool.core.text.dfa.FoundWord
获取单词匹配到的内容,即文中的单词
getFragment() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获取标识符,#后边的部分
getFragmentEncoded() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获取标识符,#后边的部分
getFreeMemory() - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获得JVM中剩余的内存数,单位byte
getGanzhiOfDay(int, int, int) - Static method in class org.dromara.hutool.core.date.chinese.GanZhi
获取干支日
getGanzhiOfMonth(int, int, int) - Static method in class org.dromara.hutool.core.date.chinese.GanZhi
获取干支月
getGanzhiOfYear(int) - Static method in class org.dromara.hutool.core.date.chinese.GanZhi
传入年传回干支
getGender() - Method in class org.dromara.hutool.core.data.CIN
根据身份编号获取性别
getGender() - Method in class org.dromara.hutool.core.data.CIN10
获取性别
getGender(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
根据身份编号获取性别,只支持15或18位身份证号码
getGeneralField(CharSequence) - Static method in class org.dromara.hutool.core.reflect.method.MethodNameUtil
获得set或get或is方法对应的标准属性名
例如:setName 返回 name getName =》name setName =》name isName =》name 需要注意的是,相比Introspector.decapitalize(String),此方法始终小写第一个字符。
getGenerateDateTime(long) - Method in class org.dromara.hutool.core.data.id.Snowflake
根据Snowflake的ID,获取生成时间
getGenerics(Class<?>) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获取指定类所有泛型父类和泛型接口 指定类及其所有的泛型父类 指定类实现的直接泛型接口
getGetter(String) - Method in interface org.dromara.hutool.core.bean.BeanDesc
获取Getter方法,如果不存在返回null
getGetter() - Method in class org.dromara.hutool.core.bean.PropDesc
获取Getter方法Invoker,可能为null
getGregorianCalendar() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获取公历的Calendar
getGregorianDate() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获取公历的Date
getGregorianDay() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获取公历的日
getGregorianMonth() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获取公历的月,从0开始计数
getGregorianMonthBase1() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获取公历的月,从1开始计数
getGregorianYear() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获取公历的年
getGroup0(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
获得匹配的字符串,获得正则中分组0的内容
getGroup0(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
获得匹配的字符串,获得正则中分组0的内容
getGroup1(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
获得匹配的字符串,获得正则中分组1的内容
getGroup1(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
获得匹配的字符串,获得正则中分组1的内容
getHardwareAddress(InetAddress) - Static method in class org.dromara.hutool.core.net.MacAddressUtil
获得指定地址信息中的硬件地址(MAC地址)
getHexValue() - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Checksum
获取16进制的CRC16值
getHexValue(boolean) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Checksum
获取16进制的CRC16值
getHexValue() - Method in class org.dromara.hutool.core.io.checksum.CRC16
获取16进制的CRC16值
getHexValue(boolean) - Method in class org.dromara.hutool.core.io.checksum.CRC16
获取16进制的CRC16值
getHitCount() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
getHost() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获取 主机,例如127.0.0.1
getHost(URL) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
获取URL中域名部分,只保留URL中的协议(Protocol)、Host,其它为null。
getHour() - Method in class org.dromara.hutool.core.date.DateBuilder
获取当前日期对象中的小时数。
getId() - Method in class org.dromara.hutool.core.date.StopWatch
获取StopWatch 的ID,用于多个秒表对象的区分
getId() - Method in class org.dromara.hutool.core.tree.MapTree
 
getId() - Method in interface org.dromara.hutool.core.tree.Node
获取ID
getId() - Method in class org.dromara.hutool.core.tree.TreeNode
 
getIdKey() - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
 
getIdKey() - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
获取ID对应的名称
getIdKeyFun() - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
获取ID方法
getIdle() - Method in interface org.dromara.hutool.core.pool.Poolable
获取对象空闲时长,单位:毫秒
空闲时间指在池中的时间,即借出时间到上次归还时间的差
getIdleCount() - Method in interface org.dromara.hutool.core.pool.ObjectPool
获取空闲对象数,即在池中的对象数
getIdleCount() - Method in class org.dromara.hutool.core.pool.partition.PartitionObjectPool
 
getIdleCount() - Method in class org.dromara.hutool.core.pool.partition.PoolPartition
 
getIdScopeByTimestamp(long, long) - Method in class org.dromara.hutool.core.data.id.Snowflake
根据传入时间戳-计算ID起终点
getIdScopeByTimestamp(long, long, boolean) - Method in class org.dromara.hutool.core.data.id.Snowflake
根据传入时间戳-计算ID起终点 Gitee/issues/I60M14
getIndex(char) - Method in class org.dromara.hutool.core.text.finder.MultiStrFinder
获取字符 下标
getIndex() - Method in class org.dromara.hutool.core.text.placeholder.segment.IndexedPlaceholderSegment
 
getInputStream() - Method in class org.dromara.hutool.core.io.file.FileReader
获得输入流
getInputStream(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得输入流
getInputStream(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得输入流
getInputStream(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
获得输入流
getInstance() - Static method in class org.dromara.hutool.core.collection.queue.DiscardingQueue
获取单例的空队列
getInstance() - Static method in class org.dromara.hutool.core.convert.CompositeConverter
获得单例的 CompositeConverter
getInstance() - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat实例,使用默认格式和地区
getInstance(String) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例,使用默认地区
支持缓存
getInstance(String, TimeZone) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getInstance(String, Locale) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getInstance(String, TimeZone, Locale) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getInstantiatedMethodParameterTypes() - Method in class org.dromara.hutool.core.func.LambdaInfo
实例方法参数类型
getInt(K, Integer) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取int型属性值
若获得的值为不可见字符,使用默认值
getInt(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取int型属性值
getInt(Map<?, ?>, Object) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Integer
getInt(Map<?, ?>, Object, Integer) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Integer
getInt(String, int) - Static method in class org.dromara.hutool.core.util.SystemUtil
获得int类型值
getIntByGroup(K, G, Integer) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取int型属性值
getIntByGroup(K, G) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取int型属性值
getInterfaces(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获取指定类及其父类所有的实现接口。
getInterval() - Method in class org.dromara.hutool.core.thread.ConcurrencyTester
获取执行时间
getInverse() - Method in class org.dromara.hutool.core.map.BiMap
获取反向Map
getInvokeMethod(Class<?>) - Static method in class org.dromara.hutool.core.func.LambdaUtil
获取函数的执行方法
getIpByHost(String) - Static method in class org.dromara.hutool.core.net.NetUtil
通过域名得到IP
getIso8601Value() - Method in enum org.dromara.hutool.core.date.Week
获取ISO8601规范的int值,from 1 (Monday) to 7 (Sunday).
getIter(Iterable<T>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
获取Iterator
getIter(Object) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
从给定的对象中获取可能存在的Iterator,规则如下: null - null Iterator - 直接返回 Enumeration - EnumerationIter Collection - 调用Collection.iterator() Map - Entry的Iterator Dictionary - values (elements) enumeration returned as iterator array - ArrayIter NodeList - NodeListIter Node - 子节点 object with iterator() public method,通过反射访问 object - 单对象的ArrayIter
getIterator() - Method in class org.dromara.hutool.core.collection.iter.FilterIter
获取被包装的Iterator
getJarClassLoader(File) - Static method in class org.dromara.hutool.core.classloader.ClassLoaderUtil
创建新的JarClassLoader,并使用此Classloader加载目录下的class文件和jar文件
getJarFile() - Method in class org.dromara.hutool.core.io.resource.JarResource
获取URL对应的JarFile对象
getJavaClassPaths() - Static method in class org.dromara.hutool.core.util.SystemUtil
获得Java ClassPath路径,不包括 jre
getKey() - Method in class org.dromara.hutool.core.cache.impl.CacheObj
获取键
getKey() - Method in class org.dromara.hutool.core.lang.mutable.MutableEntry
获取键
getKey(V) - Method in class org.dromara.hutool.core.map.BiMap
根据值获得键
getKey() - Method in class org.dromara.hutool.core.map.LinkedForestMap.EntryNodeWrapper
 
getKey() - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
获取当前节点的key
getKey(V) - Method in class org.dromara.hutool.core.map.TableMap
根据value获得对应的key,只返回找到的第一个value对应的key值
getKeyManagerFactory(String, Provider) - Static method in class org.dromara.hutool.core.net.ssl.KeyManagerUtil
getKeyManagers(KeyStore, char[], String, Provider) - Static method in class org.dromara.hutool.core.net.ssl.KeyManagerUtil
从KeyStore中获取KeyManager列表
getKeys(V) - Method in class org.dromara.hutool.core.map.TableMap
获取指定value对应的所有key
getLambda() - Method in class org.dromara.hutool.core.func.LambdaInfo
获得Lambda表达式对象
getLast(Collection<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取集合的最后一个元素
getLast() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
getLastAccess() - Method in class org.dromara.hutool.core.cache.impl.CacheObj
获取上次访问时间
getLastDay(boolean) - Method in enum org.dromara.hutool.core.date.Month
获取此月份最后一天的值
不支持 Month.UNDECIMBER
getLastDay(int, boolean) - Static method in enum org.dromara.hutool.core.date.Month
获得指定月的最后一天
getLastDayOfMonth() - Method in class org.dromara.hutool.core.date.DateTime
获得本月的最后一天
getLastDayOfMonth(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得本月的最后一天
getLastModified() - Method in class org.dromara.hutool.core.io.resource.VfsResource
获得VFS文件最后修改时间
getLastPathEle(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
获取指定位置的最后一个子路径部分
getLastReturn() - Method in interface org.dromara.hutool.core.pool.Poolable
获取最后归还时间
getLastReturn() - Method in class org.dromara.hutool.core.pool.SimplePoolable
 
getLastTaskInfo() - Method in class org.dromara.hutool.core.date.StopWatch
获取最后的任务对象
getLastTaskName() - Method in class org.dromara.hutool.core.date.StopWatch
获取最后的任务名
getLastTaskTimeMillis() - Method in class org.dromara.hutool.core.date.StopWatch
获取最后任务的花费时间(毫秒)
getLastTaskTimeNanos() - Method in class org.dromara.hutool.core.date.StopWatch
获取最后任务的花费时间(纳秒)
getLat() - Method in class org.dromara.hutool.core.data.CoordinateUtil.Coordinate
获取纬度
getLeastSigBits() - Method in class org.dromara.hutool.core.codec.Number128
获取最低有效位(Least Significant Bit),64 bit(8 bytes)
getLeastSignificantBits() - Method in class org.dromara.hutool.core.data.id.ULID
获取最低有效位(Least Significant Bit),64 bit(8 bytes)
getLeastSignificantBits() - Method in class org.dromara.hutool.core.data.id.UUID
返回此 UUID 的 128 位值中的最低有效 64 位。
getLeft() - Method in class org.dromara.hutool.core.lang.tuple.Pair
获取左值
getLeft(int) - Method in class org.dromara.hutool.core.map.TripleTable
获取指定index对应的左值
getLeftByMiddle(M) - Method in class org.dromara.hutool.core.map.TripleTable
通过中间值,查找左边值
如果有多个重复值,只返回找到的第一个值
getLeftByRight(R) - Method in class org.dromara.hutool.core.map.TripleTable
通过右值,查找左边值
如果有多个重复值,只返回找到的第一个值
getLefts() - Method in class org.dromara.hutool.core.map.TripleTable
获取左列表,不可修改
getLevel(String) - Static method in class org.dromara.hutool.core.data.PasswdStrength
Get password strength level, includes easy, midium, strong, very strong, extremely strong
getLevel() - Method in class org.dromara.hutool.core.date.BetweenFormatter
获得 格式化级别
getLineSeparator() - Static method in class org.dromara.hutool.core.io.file.FileUtil
获取当前系统的换行分隔符 Windows: \r\n Mac: \r Linux: \n
getLinkOptions(boolean) - Static method in class org.dromara.hutool.core.io.file.PathUtil
构建是否追踪软链的选项
getLng() - Method in class org.dromara.hutool.core.data.CoordinateUtil.Coordinate
获取经度
getLocalDate(K, LocalDate) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取LocalDate类型值
getLocalDate(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取LocalDate类型值
getLocalDateTime(K, LocalDateTime) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取LocalDateTime类型值
getLocalDateTime(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取LocalDateTime类型值
getLocale() - Method in interface org.dromara.hutool.core.date.format.DateBasic
获得 日期地理位置
getLocale() - Method in class org.dromara.hutool.core.date.format.DefaultDateBasic
 
getLocale() - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
getLocale() - Method in class org.dromara.hutool.core.date.format.parser.PatternsDateParser
获取Locale
getLocale() - Method in class org.dromara.hutool.core.date.format.SimpleDateBasic
 
getLocalHardwareAddress() - Static method in class org.dromara.hutool.core.net.Ipv4Util
获得本机物理地址
getLocalHardwareAddress() - Static method in class org.dromara.hutool.core.net.Ipv6Util
获得本机物理地址(IPv6网卡)
getLocalhost() - Static method in class org.dromara.hutool.core.net.Ipv4Util
获取本机网卡IPv4地址,规则如下: 必须非回路(loopback)地址、非局域网地址(siteLocal)、IPv4地址 多网卡则返回第一个满足条件的地址 如果无满足要求的地址,调用 InetAddress.getLocalHost() 获取地址 此方法不会抛出异常,获取失败将返回null
见:https://github.com/dromara/hutool/issues/428
getLocalhost() - Static method in class org.dromara.hutool.core.net.Ipv6Util
获取本机网卡IPv6地址,规则如下: 必须非回路(loopback)地址、非局域网地址(siteLocal)、IPv6地址 多网卡则返回第一个满足条件的地址 如果无满足要求的地址,调用 InetAddress.getLocalHost() 获取地址 此方法不会抛出异常,获取失败将返回null
getLocalhostDirectly() - Static method in class org.dromara.hutool.core.net.Ipv4Util
获取本机网卡IPv4地址,不使用缓存,规则如下: 必须非回路(loopback)地址、非局域网地址(siteLocal)、IPv4地址 多网卡则返回第一个满足条件的地址 如果无满足要求的地址,调用 InetAddress.getLocalHost() 获取地址 此方法不会抛出异常,获取失败将返回null
见:https://github.com/dromara/hutool/issues/428
getLocalhostDirectly(boolean) - Static method in class org.dromara.hutool.core.net.Ipv4Util
获取本机网卡IPv4地址,不使用缓存,规则如下: 必须非回路(loopback)地址、IPv4地址 多网卡则返回第一个满足条件的地址 如果无满足要求的地址,调用 InetAddress.getLocalHost() 获取地址 此方法不会抛出异常,获取失败将返回null
见:https://github.com/dromara/hutool/issues/428
getLocalhostDirectly() - Static method in class org.dromara.hutool.core.net.Ipv6Util
获取本机网卡IPv6地址,不使用缓存,规则如下: 必须非回路(loopback)地址、非局域网地址(siteLocal)、IPv6地址 多网卡则返回第一个满足条件的地址 如果无满足要求的地址,调用 InetAddress.getLocalHost() 获取地址 此方法不会抛出异常,获取失败将返回null
见:https://github.com/dromara/hutool/issues/428
getLocalHostName() - Static method in class org.dromara.hutool.core.net.Ipv4Util
获取主机名称,一次获取会缓存名称
注意此方法会触发反向DNS解析,导致阻塞,阻塞时间取决于网络!
getLocalHostName() - Static method in class org.dromara.hutool.core.net.Ipv6Util
获取主机名称,一次获取会缓存名称
注意此方法会触发反向DNS解析,导致阻塞,阻塞时间取决于网络!
getLocalhostStrV4() - Static method in class org.dromara.hutool.core.net.NetUtil
获取本机网卡IP地址,这个地址为所有网卡中非回路地址的第一个
如果获取失败调用 InetAddress.getLocalHost()方法获取。
getLocalhostV4() - Static method in class org.dromara.hutool.core.net.NetUtil
获取本机网卡IPv4地址,规则如下: 必须非回路(loopback)地址、非局域网地址(siteLocal)、IPv4地址 多网卡则返回第一个满足条件的地址 如果无满足要求的地址,调用 InetAddress.getLocalHost() 获取地址 此方法不会抛出异常,获取失败将返回null
见:https://github.com/dromara/hutool/issues/428
getLocalMacAddress() - Static method in class org.dromara.hutool.core.net.Ipv4Util
获得本机MAC地址,默认使用获取到的IPv4本地地址对应网卡
getLocalMacAddress() - Static method in class org.dromara.hutool.core.net.Ipv6Util
获得本机MAC地址,默认使用获取到的IPv6本地地址对应网卡
getLocalMacAddressV4() - Static method in class org.dromara.hutool.core.net.NetUtil
获得本机MAC地址,默认使用获取到的IPv4本地地址对应网卡
getLocalTime(K, LocalTime) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取LocalTime类型值
getLocalTime(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取LocalTime类型值
getLocation(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获取class类路径URL, 不管是否在jar包中都会返回文件夹的路径
class在jar包中返回jar所在文件夹,class不在jar中返回文件夹目录
jdk中的类不能使用此方法
getLocationPath(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获取class类路径, 不管是否在jar包中都会返回文件夹的路径
class在jar包中返回jar所在文件夹,class不在jar中返回文件夹目录
jdk中的类不能使用此方法
getLong(K, Long) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取Long型属性值
若获得的值为不可见字符,使用默认值
getLong(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取long型属性值
getLong(Map<?, ?>, Object) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Long
getLong(Map<?, ?>, Object, Long) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Long
getLong(String, long) - Static method in class org.dromara.hutool.core.util.SystemUtil
获得long类型值
getLongArray(ByteOrder) - Method in class org.dromara.hutool.core.codec.Number128
获取高低位数组,规则为: ByteOrder.LITTLE_ENDIAN,则long[0]:低位,long[1]:高位 ByteOrder.BIG_ENDIAN,则long[0]:高位,long[1]:低位
getLongByGroup(K, G, Long) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取Long型属性值
getLongByGroup(K, G) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取Long型属性值
getLowerBound() - Method in class org.dromara.hutool.core.lang.range.BoundedRange
获取下界
getLowerBoundValue() - Method in class org.dromara.hutool.core.lang.range.BoundedRange
获取下界值
getMacAddress(InetAddress) - Static method in class org.dromara.hutool.core.net.MacAddressUtil
获得指定地址信息中的MAC地址,使用分隔符“-”
getMacAddress(InetAddress, String) - Static method in class org.dromara.hutool.core.net.MacAddressUtil
获得指定地址信息中的MAC地址
getMagicNumber(byte[]) - Static method in enum org.dromara.hutool.core.io.file.FileMagicNumber
根据给定的bytes,获取对应识别到的FileMagicNumber
getMainThread() - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获取进程的主线程
from Voovan
getManifest(Class<?>) - Static method in class org.dromara.hutool.core.io.ManifestUtil
根据 class 获取 所在 jar 包文件的 Manifest
此方法主要利用class定位jar包,如引入hutool-all,则传入hutool中任意一个类即可获取这个jar的Manifest信息
如果这个类不在jar包中,返回null
getManifest(File) - Static method in class org.dromara.hutool.core.io.ManifestUtil
获取 jar 包文件或项目目录下的 Manifest
getManifest(JarURLConnection) - Static method in class org.dromara.hutool.core.io.ManifestUtil
根据 JarURLConnection 获取 jar 包文件的 Manifest
getManifest(JarFile) - Static method in class org.dromara.hutool.core.io.ManifestUtil
根据 JarURLConnection 获取 jar 包文件的 Manifest
getMapping(Class<? extends Annotation>) - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
AnnotatedElement直接声明的注解的层级结构中获得注解映射对象
getMaskBit(String) - Static method in class org.dromara.hutool.core.net.MaskBit
根据掩码获取掩码位
getMaskBitByMask(String) - Static method in class org.dromara.hutool.core.net.Ipv4Util
将 子网掩码 转换为 掩码位
getMaskByIpRange(String, String) - Static method in class org.dromara.hutool.core.net.Ipv4Util
根据 开始IP 与 结束IP 获取 掩码地址
getMaskByMaskBit(int) - Static method in class org.dromara.hutool.core.net.Ipv4Util
根据 掩码位 获取 掩码地址
getMaskIpLong(int) - Static method in class org.dromara.hutool.core.net.MaskBit
根据掩码位获取掩码IP(Long型)
getMaxFreeMemory() - Method in class org.dromara.hutool.core.collection.queue.MemorySafeLinkedBlockingQueue
get the max free memory.
getMaxIdle() - Method in class org.dromara.hutool.core.pool.PoolConfig
获取最长空闲时间(在池中时间)
getMaxLengthEstimate() - Method in class org.dromara.hutool.core.date.format.FastDateFormat
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
getMaxLengthEstimate() - Method in class org.dromara.hutool.core.date.format.FastDatePrinter
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
getMaxMemory() - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获得JVM中可以从系统中获取的最大的内存数,单位byte,以-Xmx参数为准
getMaxReleaseCount() - Method in class org.dromara.hutool.core.thread.ratelimiter.RateLimiterConfig
在刷新周期内释放的最大数量,不能超过RateLimiterConfig.capacity
getMaxSize() - Method in class org.dromara.hutool.core.pool.PoolConfig
获取最大池大小
getMaxWait() - Method in class org.dromara.hutool.core.pool.PoolConfig
获取最长等待时间,用于在借出对象时,等待最长时间。
getMembers() - Method in class org.dromara.hutool.core.lang.tuple.Tuple
获得所有元素
getMessage(Throwable) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
获得完整消息,包括异常名,消息格式为:{SimpleClassName}: {ThrowableMessage}
getMethod() - Method in class org.dromara.hutool.core.reflect.method.MethodInvoker
获取方法
getMethod(Method[], Predicate<Method>) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
通过给定的条件(Predicate)从一个Method数组中查找第一个匹配的方法。
getMethod(Class<?>, String, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
查找指定方法 如果找不到对应的方法则返回null 此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null
getMethod(Class<?>, boolean, String, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
查找指定方法 如果找不到对应的方法则返回null
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null
getMethod(Method[], boolean, String, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
查找指定方法 如果找不到对应的方法则返回null
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null
getMethodByName(Class<?>, String) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null 此方法只检查方法名是否一致,并不检查参数的一致性。
getMethodByName(Class<?>, boolean, String) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null 此方法只检查方法名是否一致,并不检查参数的一致性。
getMethodByNameIgnoreCase(Class<?>, String) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null 此方法只检查方法名是否一致(忽略大小写),并不检查参数的一致性。
getMethodIgnoreCase(Class<?>, String, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
忽略大小写查找指定方法,如果找不到对应的方法则返回null 此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null
getMethodName(T) - Static method in class org.dromara.hutool.core.func.LambdaUtil
获取lambda表达式函数(方法)名称
getMethodNames(Class<?>) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
获得指定类中的Public方法名
去重重载的方法
getMethodOfObj(Object, String, Object...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法 此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null
getMethods(Class<?>) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
获得一个类中所有方法列表,包括其父类中的方法
getMethods(Class<?>, Predicate<Method>) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
获得一个类中所有方法列表,包括其父类中的方法
getMethodsDirectly(boolean, boolean) - Method in class org.dromara.hutool.core.reflect.method.MethodReflect
获得一个类中所有方法列表,直接反射获取,无缓存
接口获取方法和默认方法,获取的方法包括: 本类中的所有方法(包括static方法) 父类中的所有方法(包括static方法) Object中(包括static方法)
getMethodsDirectly(Class<?>, boolean, boolean) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
获得一个类中所有方法列表,直接反射获取,无缓存
接口获取方法和默认方法,获取的方法包括: 本类中的所有方法(包括static方法) 父类中的所有方法(包括static方法) Object中(包括static方法)
getMiddle() - Method in class org.dromara.hutool.core.lang.tuple.Triple
获取中值
getMiddle(int) - Method in class org.dromara.hutool.core.map.TripleTable
获取指定index对应的中值
getMiddleByLeft(L) - Method in class org.dromara.hutool.core.map.TripleTable
通过左值,查找中值
如果有多个重复值,只返回找到的第一个值
getMiddleByRight(R) - Method in class org.dromara.hutool.core.map.TripleTable
通过右值,查找中值
如果有多个重复值,只返回找到的第一个值
getMiddles() - Method in class org.dromara.hutool.core.map.TripleTable
获取中列表,不可修改
getMillis() - Method in enum org.dromara.hutool.core.date.DateUnit
 
getMillisecond() - Method in class org.dromara.hutool.core.date.DateBuilder
获取时间戳(毫秒)。
getMimeType() - Method in enum org.dromara.hutool.core.io.file.FileMagicNumber
获取媒体类型
getMimeType(String, String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
根据文件扩展名获得MimeType
getMimeType(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
根据文件扩展名获得MimeType
getMimeType(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
获得文件的MimeType
getMinSize() - Method in class org.dromara.hutool.core.pool.PoolConfig
获取最小(初始)池大小
getMinute() - Method in class org.dromara.hutool.core.date.DateBuilder
获取当前日期构建器中的分钟数。
getMissCount() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
getModifiers() - Method in class org.dromara.hutool.core.reflect.ClassMember
 
getMonth() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获取农历的月,从1开始计数
此方法返回实际的月序号,如一月是闰月,则一月返回1,润一月返回2
getMonth() - Method in class org.dromara.hutool.core.date.DateBuilder
获取月份,从1开始。
getMostSigBits() - Method in class org.dromara.hutool.core.codec.Number128
获取最高有效位(Most Significant Bit),64 bit(8 bytes)
getMostSignificantBits() - Method in class org.dromara.hutool.core.data.id.ULID
获取最高有效位(Most Significant Bit),64 bit(8 bytes)
getMostSignificantBits() - Method in class org.dromara.hutool.core.data.id.UUID
返回此 UUID 的 128 位值中的最高有效 64 位。
getMultistageReverseProxyIp(String) - Static method in class org.dromara.hutool.core.net.NetUtil
从多级反向代理中获得第一个非unknown IP地址
getName() - Method in class org.dromara.hutool.core.bean.path.AbstractBeanDesc
获取Bean的全类名
getName() - Method in class org.dromara.hutool.core.bean.path.node.NameNode
获取节点名
getName() - Method in enum org.dromara.hutool.core.date.BetweenFormatter.Level
获取级别名称
getName() - Method in enum org.dromara.hutool.core.date.chinese.ChineseDateFormat
获取农历日期输出格式相关描述
getName() - Method in class org.dromara.hutool.core.func.LambdaInfo
方法或构造名称
getName(File) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
返回文件名
getName(String) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
返回文件名
"d:/test/aaa" 返回 "aaa" "/test/aaa.jpg" 返回 "aaa.jpg"
getName(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
获取Path文件名
getName() - Method in class org.dromara.hutool.core.io.resource.BytesResource
 
getName() - Method in class org.dromara.hutool.core.io.resource.FileObjectResource
 
getName() - Method in class org.dromara.hutool.core.io.resource.FileResource
 
getName() - Method in class org.dromara.hutool.core.io.resource.HttpResource
 
getName() - Method in class org.dromara.hutool.core.io.resource.InputStreamResource
 
getName() - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
getName() - Method in interface org.dromara.hutool.core.io.resource.Resource
获取资源名,例如文件资源的资源名为文件名
getName() - Method in class org.dromara.hutool.core.io.resource.UrlResource
 
getName() - Method in class org.dromara.hutool.core.io.resource.VfsResource
 
getName(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassDescUtil
获得类名称
数组输出xxx[]形式,其它类调用Class.getName() java.lang.Object[][].class => "java.lang.Object[][]"
getName(Executable) - Static method in class org.dromara.hutool.core.reflect.ClassDescUtil
获取构造或方法的名称表示
构造: "()", "(java.lang.String,int)" 方法: "void do(int)", "void do()", "int do(java.lang.String,boolean)"
getName() - Method in class org.dromara.hutool.core.reflect.ClassMember
 
getName() - Method in class org.dromara.hutool.core.reflect.FieldInvoker
 
getName() - Method in interface org.dromara.hutool.core.reflect.Invoker
获取调用方法的名称。
getName() - Method in class org.dromara.hutool.core.reflect.kotlin.KParameter
获取参数名
getName() - Method in class org.dromara.hutool.core.reflect.method.MethodInvoker
 
getName() - Method in class org.dromara.hutool.core.tree.MapTree
 
getName() - Method in interface org.dromara.hutool.core.tree.Node
获取节点标签名称
getName() - Method in class org.dromara.hutool.core.tree.TreeNode
 
getNameFieldMap(Class<? extends Enum<?>>, String) - Static method in class org.dromara.hutool.core.util.EnumUtil
获得枚举名对应指定字段值的Map
键为枚举名,值为字段值
getNameKey() - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
 
getNameKey() - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
获取节点名对应的名称
getNameKeyFun() - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
获取节点名称方法
getNames() - Method in class org.dromara.hutool.core.bean.path.node.ListNode
获取列表中的name,不去除单引号
getNames(Class<? extends Enum<?>>) - Static method in class org.dromara.hutool.core.util.EnumUtil
枚举类中所有枚举对象的name列表
getNamespaceURI(String) - Method in class org.dromara.hutool.core.xml.UniversalNamespaceCache
This method is called by XPath.
getNavigatePageNumbers() - Method in class org.dromara.hutool.core.lang.page.NavigatePageInfo
得到所有导航页号
getNetworkInterface(String) - Static method in class org.dromara.hutool.core.net.NetUtil
获取指定名称的网卡信息
getNetworkInterfaces() - Static method in class org.dromara.hutool.core.net.NetUtil
获取本机所有网卡
getNext() - Method in interface org.dromara.hutool.core.collection.queue.Linked
Retrieves the next element or null if either the element is unlinked or the last element on the deque.
getNext(char, Map<Character, Integer>) - Method in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
获取下一跳
getNode() - Method in class org.dromara.hutool.core.bean.path.BeanPath
获取节点
getNode(T) - Method in class org.dromara.hutool.core.tree.MapTree
获取ID对应的节点,如果有多个ID相同的节点,只返回第一个。
getNode(MapTree<T>, T) - Static method in class org.dromara.hutool.core.tree.TreeUtil
获取ID对应的节点,如果有多个ID相同的节点,只返回第一个。
getNodeByXPath(String, Object) - Static method in class org.dromara.hutool.core.xml.XPathUtil
通过XPath方式读取XML节点等信息
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getNodeListByXPath(String, Object) - Static method in class org.dromara.hutool.core.xml.XPathUtil
通过XPath方式读取XML的NodeList
Xpath相关文章:https://www.ibm.com/developerworks/cn/xml/x-javaxpathapi.html
getNodeValue(K) - Method in interface org.dromara.hutool.core.map.ForestMap
获取指定节点的值
getNoLock() - Static method in class org.dromara.hutool.core.thread.lock.LockUtil
获取单例的无锁对象
getNs() - Method in class org.dromara.hutool.core.date.DateBuilder
获取纳秒数。
getNumber(K, Number) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取Number类型值
getNumber(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取Number类型值
getObj(K, Object) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取Object属性值
getObj(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取Object属性值,最原始的对象获取,没有任何转换或类型判断
getObj() - Method in class org.dromara.hutool.core.lang.selector.WeightObj
获取对象
getObj(String, Object) - Method in class org.dromara.hutool.core.map.Dict
 
getObj(Object, Object) - Method in class org.dromara.hutool.core.map.MapProxy
 
getObjByGroup(K, G, Object) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取Object属性值,最原始的对象获取,没有任何转换或类型判断
getObjByGroup(K, G) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取Object属性值,最原始的对象获取,没有任何转换或类型判断
getOemCode() - Method in class org.dromara.hutool.core.data.VIN
获取装配厂字码
getOperator() - Method in enum org.dromara.hutool.core.lang.range.BoundType
获取运算符
getOrDefault(Object, V) - Method in class org.dromara.hutool.core.map.MapWrapper
 
getOrDefault(Object, V) - Method in class org.dromara.hutool.core.map.TransMap
 
getOrNull() - Method in class org.dromara.hutool.core.lang.Opt
返回包裹里的元素,取不到则为null,注意!!!
getOrThrow() - Method in class org.dromara.hutool.core.lang.Opt
返回包裹里的元素,取不到则抛出异常
getOut() - Method in class org.dromara.hutool.core.compress.ZipWriter
获取原始的ZipOutputStream
getOutputStream(File, OpenOption...) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得一个输出流对象
getOutputStream(String, OpenOption...) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得一个输出流对象
getOutputStream(OpenOption...) - Method in class org.dromara.hutool.core.io.file.FileWriter
获得一个输出流对象
getOutputStream(Path, OpenOption...) - Static method in class org.dromara.hutool.core.io.file.PathUtil
获得输出流
getOwnerDocument(Node) - Static method in class org.dromara.hutool.core.xml.XmlUtil
获取节点所在的Document
getOwnerType() - Method in class org.dromara.hutool.core.reflect.ParameterizedTypeImpl
 
getPackage(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得给定类所在包的名称
例如:
org.dromara.hutool.core.reflect.ClassUtil =》 org.dromara.hutool.core.reflect
getPackagePath(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得给定类所在包的路径
例如:
org.dromara.hutool.core.reflect.ClassUtil =》 org/dromara/hutool/core/reflect
getPageCount() - Method in class org.dromara.hutool.core.lang.page.PageInfo
得到页面总数
getPageNo() - Method in class org.dromara.hutool.core.lang.page.PageInfo
得到当前页号
getPageSize() - Method in class org.dromara.hutool.core.lang.page.PageInfo
得到每页显示多少条记录
getParamClass(Method, int) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获取方法的参数类
getParamClasses(Method) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
解析方法的参数类型列表
依赖jre\lib\rt.jar
getParameters(Object) - Static method in class org.dromara.hutool.core.reflect.kotlin.KCallable
获取参数列表
getParameters(Object) - Static method in class org.dromara.hutool.core.reflect.kotlin.KClassUtil
获取参数列表
getParameterTypes() - Method in class org.dromara.hutool.core.func.LambdaInfo
获得构造或方法参数类型列表
getParameterValues(Object, ValueProvider<String>) - Static method in class org.dromara.hutool.core.reflect.kotlin.KClassUtil
ValueProvider中提取对应name的参数列表
getParamType(Method, int) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获取方法的参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
getParamTypes() - Method in class org.dromara.hutool.core.reflect.method.MethodInvoker
获取方法参数类型
getParamTypes(Method) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获取方法的参数类型列表
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
getParent(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获取指定文件的父路径 getParent(file("d:/aaa/bbb/cc/ddd")) -》 "d:/aaa/bbb/cc"
getParent(String, int) - Static method in class org.dromara.hutool.core.io.file.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) - Static method in class org.dromara.hutool.core.io.file.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(K) - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
获取以当前节点作为叶子节点的树结构,然后获取该树结构中当前节点的指定父节点
getParent(K) - Method in interface org.dromara.hutool.core.map.TreeEntry
获取以当前节点作为叶子节点的树结构,然后获取该树结构中当前节点的指定父节点
getParent() - Method in class org.dromara.hutool.core.tree.MapTree
获取父节点
getParentId() - Method in class org.dromara.hutool.core.tree.MapTree
 
getParentId() - Method in interface org.dromara.hutool.core.tree.Node
获取父节点ID
getParentId() - Method in class org.dromara.hutool.core.tree.TreeNode
 
getParentIdKey() - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
 
getParentIdKey() - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
获取父节点ID对应的名称
getParentIdKeyFun() - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
获取父ID方法
getParentNode(K, K) - Method in interface org.dromara.hutool.core.map.ForestMap
获取以指定节点作为叶子节点的树结构,然后获取该树结构中指定节点的指定父节点
getParents(MapTree<T>, boolean, Function<MapTree<T>, E>) - Static method in class org.dromara.hutool.core.tree.TreeUtil
获取所有父节点指定函数结果列表
getParentsId(MapTree<T>, boolean) - Static method in class org.dromara.hutool.core.tree.TreeUtil
获取所有父节点ID列表 比如有个人在研发1部,他上面有研发部,接着上面有技术中心
返回结果就是:[研发部, 技术中心]
getParentsName(T, boolean) - Method in class org.dromara.hutool.core.tree.MapTree
获取所有父节点名称列表 比如有个人在研发1部,他上面有研发部,接着上面有技术中心
返回结果就是:[研发一部, 研发中心, 技术中心]
getParentsName(boolean) - Method in class org.dromara.hutool.core.tree.MapTree
获取所有父节点名称列表 比如有个人在研发1部,他上面有研发部,接着上面有技术中心
返回结果就是:[研发一部, 研发中心, 技术中心]
getParentsName(MapTree<T>, boolean) - Static method in class org.dromara.hutool.core.tree.TreeUtil
获取所有父节点名称列表 比如有个人在研发1部,他上面有研发部,接着上面有技术中心
返回结果就是:[研发一部, 研发中心, 技术中心]
getPartitionIndex(PartitionPoolConfig) - Method in class org.dromara.hutool.core.pool.partition.PartitionObjectPool
获取当前线程被分配的分区
默认根据线程ID(TID)取分区大小余数
如果需要自定义,子类重写此方法
getPartitionSize() - Method in class org.dromara.hutool.core.pool.partition.PartitionPoolConfig
获取分区大小
getPartOfIp(long, int) - Static method in class org.dromara.hutool.core.net.Ipv4Util
获取ip(Long类型)指定部分的十进制值,即,X.X.X.X 形式中每个部分的值 例如,ip为0xC0A802FA: 第1部分的值为:0xC0,十进制值为:192 第2部分的值为:0xA8,十进制值为:168 第3部分的值为:0x02,十进制值为:2 第4部分的值为:0xFA,十进制值为:250
getPasswordAuthentication() - Method in class org.dromara.hutool.core.net.UserPassAuthenticator
 
getPath() - Method in class org.dromara.hutool.core.io.resource.ClassPathResource
获得Path
getPath() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获取路径,例如/aa/bb/cc
getPath(String) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
获得path部分
getPathEle(Path, int) - Static method in class org.dromara.hutool.core.io.file.PathUtil
获取指定位置的子路径部分,支持负数,例如index为-1表示从后数第一个节点位置
getPathStr() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获得路径,例如/aa/bb/cc
getPattern() - Method in interface org.dromara.hutool.core.date.format.DateBasic
获得日期格式化或者转换的格式
getPattern() - Method in class org.dromara.hutool.core.date.format.DefaultDateBasic
 
getPattern() - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
getPattern() - Method in class org.dromara.hutool.core.date.format.SimpleDateBasic
 
getPatternComparator(String) - Method in class org.dromara.hutool.core.text.AntPathMatcher
Given a full path, returns a Comparator suitable for sorting patterns in order of explicitness.
getPid() - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获取当前进程ID,首先获取进程名称,读取@前的ID值,如果不存在,则读取进程名的hash值
getPlaceholder() - Method in class org.dromara.hutool.core.text.placeholder.segment.AbstractPlaceholderSegment
获取占位符
getPlaceholderSegments() - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
获取 模板中的 占位符 segment
getPlaceholderTexts() - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
获取 所有占位符的完整文本列表 例如,"{}"->"{}"、"{name}"->"{name}"
getPlaceholderVariableNames() - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
获取 所有占位变量名称列表 例如,"{}"->"{}"、"{name}"->"name"
getPort() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获取端口,默认-1
getPortWithDefault() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获取端口,如果未自定义返回协议默认端口
getPrefix(File) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
返回主文件名
getPrefix(String) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
返回主文件名
getPrefix(String) - Method in class org.dromara.hutool.core.xml.UniversalNamespaceCache
This method is not needed in this context, but can be implemented in a similar way.
getPrefixes(String) - Method in class org.dromara.hutool.core.xml.UniversalNamespaceCache
 
getPrevious() - Method in interface org.dromara.hutool.core.collection.queue.Linked
Retrieves the previous element or null if either the element is unlinked or the first element on the deque.
getPrimitiveDefaultValue(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获取指定原始类型分的默认值
默认值规则为: 1、如果为原始类型,返回0 2、非原始类型返回 null
getPrimitiveSet() - Static method in enum org.dromara.hutool.core.convert.BasicType
获取所有原始类型
getPrintWriter(String, Charset, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得一个打印写入对象,可以有print
getPrintWriter(File, Charset, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得一个打印写入对象,可以有print
getPrintWriter(boolean) - Method in class org.dromara.hutool.core.io.file.FileWriter
获得一个打印写入对象,可以有print
getProcessorCount() - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获得JVM可用的处理器数量(一般为CPU核心数) 这里做一个特殊的处理,在特殊的CPU上面,会有获取不到CPU数量的情况,所以这里做一个保护; 默认给一个7,真实的CPU基本都是偶数,方便区分。
getProdNo() - Method in class org.dromara.hutool.core.data.VIN
生产序号 年产量大于1000为6位,年产量小于1000的为3位
getProp(String) - Method in interface org.dromara.hutool.core.bean.BeanDesc
获取属性,如果不存在返回null
getProperty(Object, String) - Static method in class org.dromara.hutool.core.bean.BeanUtil
获取Bean中的属性值
getProperty(String) - Method in class org.dromara.hutool.core.bean.DynaBean
获得path表达式对应的值
getProperty(String) - Method in class org.dromara.hutool.core.map.BeanMap
获取Path表达式对应的值
getPropertyDescriptor(Class<?>, String) - Static method in class org.dromara.hutool.core.bean.BeanUtil
获得Bean类属性描述,大小写敏感
getPropertyDescriptor(Class<?>, String, boolean) - Static method in class org.dromara.hutool.core.bean.BeanUtil
获得Bean类属性描述
getPropertyDescriptorMap(Class<?>, boolean) - Method in enum org.dromara.hutool.core.bean.BeanInfoCache
获得属性名和PropertyDescriptorMap映射
getPropertyDescriptorMap(Class<?>, boolean, SerSupplier<Map<String, PropertyDescriptor>>) - Method in enum org.dromara.hutool.core.bean.BeanInfoCache
获得属性名和PropertyDescriptorMap映射
getPropertyDescriptorMap(Class<?>, boolean) - Static method in class org.dromara.hutool.core.bean.BeanUtil
获得字段名和字段描述Map,获得的结果会缓存在 BeanInfoCache
getPropertyDescriptors(Class<?>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
获得Bean字段描述数组
getPropMap(boolean) - Method in interface org.dromara.hutool.core.bean.BeanDesc
获取字段名-字段属性Map
getPropMap(boolean) - Method in class org.dromara.hutool.core.bean.path.AbstractBeanDesc
 
getProps() - Method in interface org.dromara.hutool.core.bean.BeanDesc
获取字段属性列表
getProps() - Static method in class org.dromara.hutool.core.util.SystemUtil
 
getProvince() - Method in class org.dromara.hutool.core.data.CIN
根据身份编号获取户籍省份
getProvince() - Method in class org.dromara.hutool.core.data.CIN10
获取省份
getProvince(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
根据身份编号获取户籍省份,只支持15或18位身份证号码
getProvinceCode() - Method in class org.dromara.hutool.core.data.CIN
根据身份编号获取户籍省份编码
getProvinceCode(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
根据身份编号获取户籍省份编码,只支持15或18位身份证号码
getPublicMethod(Class<?>, boolean, String, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
getPublicMethodNames(Class<?>) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
获得指定类本类及其父类中的Public方法名
去重重载的方法
getPublicMethods(Predicate<Method>) - Method in class org.dromara.hutool.core.reflect.method.MethodReflect
获取当前类及父类的所有公共方法,等同于Class.getMethods()
getPublicMethods(Class<?>) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
获得本类及其父类所有Public方法
getPublicMethods(Class<?>, Predicate<Method>) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
获得本类及其父类所有Public方法
getQuery() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获取查询语句,例如a=1&b=2
可能为null
getQueryMap() - Method in class org.dromara.hutool.core.net.url.UrlQuery
获得查询的Map
getQueryStr() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获取查询语句,例如a=1&b=2
getQuietly(K) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
getQuietly(Map<?, ?>, Object, Class<T>, T) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为指定类型,此方法在转换失败后不抛异常,返回null。
getQuietly(Map<?, ?>, Object, TypeReference<T>, T) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为指定类型,转换失败后返回null,不抛异常
getQuietly(String) - Static method in class org.dromara.hutool.core.util.SystemUtil
获得System属性,忽略无权限问题
getRandom() - Static method in class org.dromara.hutool.core.util.RandomUtil
获取随机数生成器对象
ThreadLocalRandom是JDK 7之后提供并发产生随机数,能够解决多个线程发生的竞争争夺。
getRandom(boolean) - Static method in class org.dromara.hutool.core.util.RandomUtil
获取随机数产生器
getRandomness() - Method in class org.dromara.hutool.core.data.id.ULID
获取ULID的随机数部分
getRaw() - Method in class org.dromara.hutool.core.array.ArrayWrapper
 
getRaw() - Method in class org.dromara.hutool.core.io.file.FileWrapper
获得文件
getRaw() - Method in class org.dromara.hutool.core.io.ReaderWrapper
 
getRaw() - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
 
getRaw() - Method in class org.dromara.hutool.core.lang.wrapper.SimpleWrapper
 
getRaw() - Method in interface org.dromara.hutool.core.lang.wrapper.Wrapper
获取原始对象
getRaw() - Method in class org.dromara.hutool.core.map.LinkedForestMap.EntryNodeWrapper
 
getRaw() - Method in class org.dromara.hutool.core.map.MapWrapper
获取原始的Map
getRaw() - Method in class org.dromara.hutool.core.pool.SimplePoolable
 
getRaw() - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
getRawFieldName() - Method in class org.dromara.hutool.core.bean.PropDesc
获取字段名称
getRawType() - Method in class org.dromara.hutool.core.reflect.ParameterizedTypeImpl
 
getReader() - Method in class org.dromara.hutool.core.io.file.FileReader
获得一个文件读取器
getReader(File, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得一个文件读取器
getReader(String, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得一个文件读取器
getReader(Path, Charset) - Static method in class org.dromara.hutool.core.io.file.PathUtil
获得一个文件读取器
getReader(Charset) - Method in class org.dromara.hutool.core.io.resource.FileObjectResource
 
getReader(Charset) - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
getReader(Charset) - Method in interface org.dromara.hutool.core.io.resource.Resource
获得Reader
getReader(String, Charset) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取BufferedReader
getReader(URL, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
获得Reader
getReader(CharSequence) - Static method in class org.dromara.hutool.core.text.StrUtil
获得StringReader
getRealClass(T) - Static method in class org.dromara.hutool.core.func.LambdaUtil
通过对象的方法或类的静态方法引用,获取lambda实现类 传入lambda无参数但含有返回值的情况能够匹配到此方法: 引用特定对象的实例方法: MyTeacher myTeacher = new MyTeacher(); Class<MyTeacher> supplierClass = LambdaUtil.getRealClass(myTeacher::getAge); Assert.assertEquals(MyTeacher.class, supplierClass); 引用静态无参方法: Class<MyTeacher> staticSupplierClass = LambdaUtil.getRealClass(MyTeacher::takeAge); Assert.assertEquals(MyTeacher.class, staticSupplierClass); 在以下场景无法获取到正确类型 {@code // 枚举测试,只能获取到枚举类型 Class
getRecordComponents(Class<?>) - Static method in class org.dromara.hutool.core.bean.RecordUtil
获取Record类中所有字段名称,getter方法名与字段同名
getRefreshPeriod() - Method in class org.dromara.hutool.core.thread.ratelimiter.RateLimiterConfig
刷新周期,即每多少时间刷新一次
getRepeatableAnnotations(Annotation, Class<T>) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.AbstractCollector
若一个注解是可重复注解的容器注解,则尝试通过其属性获得获得包含的指定类型注解对象
getRepeatableAnnotations(Annotation, Class<T>) - Method in interface org.dromara.hutool.core.annotation.RepeatableAnnotationCollector
若一个注解是可重复注解的容器注解,则尝试通过其属性获得获得包含的指定类型注解对象。
getRepeatableAnnotations(Annotation, Class<T>) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.None
默认返回空集合
getRepeatableAnnotationsFormAttribute(Annotation, Method) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.AbstractCollector
调用value方法,获得嵌套的可重复注解
getResolvedAnnotation(AnnotatedElement, Class<T>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上,获取所有的注解或元注解。
getResolvedAnnotation() - Method in interface org.dromara.hutool.core.annotation.AnnotationMapping
根据当前映射对象,通过动态代理生成一个类型与被包装注解对象一致地合成注解,该注解相对原生注解: 支持同注解内通过Alias构建的别名机制; 支持子注解对元注解的同名同类型属性覆盖机制; 当AnnotationMapping.isResolved()false时,则该方法应当被包装的原始注解对象, 即返回值应当与AnnotationMapping.getAnnotation()相同。
getResolvedAnnotation() - Method in class org.dromara.hutool.core.annotation.GenericAnnotationMapping
getResolvedAnnotation() - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
根据当前映射对象,通过动态代理生成一个类型与被包装注解对象一致的合成注解,该注解相对原生注解: 支持同注解内通过Alias构建的别名机制; 支持子注解对元注解的同名同类型属性覆盖机制; 当ResolvedAnnotationMapping.isResolved()false时,则该方法返回被包装的原始注解对象。
getResolvedAnnotations(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上,获取所有的注解或元注解。
getResolvedAttributeValue(String, Class<R>) - Method in interface org.dromara.hutool.core.annotation.AnnotationMapping
获取解析后的属性值
getResolvedAttributeValue(String, Class<R>) - Method in class org.dromara.hutool.core.annotation.GenericAnnotationMapping
获取解析后的属性值
getResolvedAttributeValue(String, Class<R>) - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
获取解析后的属性值
getResolvedAttributeValue(int) - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
获取解析后的属性值
getResource(String) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
获取Resource 资源对象
如果提供路径为绝对路径或路径以file:开头,返回FileResource,否则返回ClassPathResource
getResource(URL) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
获取UrlResource 资源对象
getResource(File) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
获取FileResource 资源对象
getResources(String) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
获取同名的所有资源
getResources(String, ClassLoader) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
获取同名的所有资源
资源的加载顺序是: 1.
getResourceUrl(String) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
获得资源的URL
路径用/分隔,例如: config/a/db.config spring/xml/test.xml
getResourceUrl(String, Class<?>) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
获得资源相对路径对应的URL
getResourceUrlIter(String) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
获取指定路径下的资源Iterator
路径格式必须为目录格式,用/分隔,例如: config/a spring/xml
getResourceUrlIter(String, ClassLoader) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
获取指定路径下的资源Iterator
路径格式必须为目录格式,用/分隔,例如: config/a spring/xml
getResourceUrls(String) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如: config/a spring/xml
getResourceUrls(String, Predicate<URL>) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如: config/a spring/xml
getResult() - Method in class org.dromara.hutool.core.thread.SimpleScheduler
获取执行任务的阶段性结果
getResult() - Method in interface org.dromara.hutool.core.thread.SimpleScheduler.Job
获取执行结果
getResult(Process) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获取命令执行结果,使用系统默认编码,获取后销毁进程
getResult(Process, Charset) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获取命令执行结果,获取后销毁进程
getResultLines(Process) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获取命令执行结果,使用系统默认编码,获取后销毁进程
getResultLines(Process, Charset) - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获取命令执行结果,使用传入的 charset 编码,获取后销毁进程
getRetentionPolicy(Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取注解类的保留时间,可选值 SOURCE(源码时),CLASS(编译时),RUNTIME(运行时),默认为 CLASS
getReturnClass(Method) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
解析方法的返回类型类列表
getReturnType() - Method in class org.dromara.hutool.core.func.LambdaInfo
获取返回值类型(方法引用)
getReturnType(Method) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获取方法的返回值类型
获取方法的GenericReturnType
getRight() - Method in class org.dromara.hutool.core.lang.tuple.Pair
获取右值
getRight(int) - Method in class org.dromara.hutool.core.map.TripleTable
获取指定index对应的右值
getRightByLeft(L) - Method in class org.dromara.hutool.core.map.TripleTable
通过左值,查找右值
如果有多个重复值,只返回找到的第一个值
getRightByMiddle(M) - Method in class org.dromara.hutool.core.map.TripleTable
通过中间值,查找右值
如果有多个重复值,只返回找到的第一个值
getRights() - Method in class org.dromara.hutool.core.map.TripleTable
获取右列表,不可修改
getRoot() - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
获取根注解
getRoot(FileSystem) - Static method in class org.dromara.hutool.core.io.file.FileSystemUtil
获取目录的根路径,或Zip文件中的根路径
getRoot() - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
获取以当前节点作为叶子节点的树结构,然后获取该树结构的根节点
getRoot() - Method in interface org.dromara.hutool.core.map.TreeEntry
获取以当前节点作为叶子节点的树结构,然后获取该树结构的根节点
getRootCause(Throwable) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
获取异常链中最尾端的异常,即异常最早发生的异常对象。
getRootCauseMessage(Throwable) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
获取异常链中最尾端的异常的消息,消息格式为:{SimpleClassName}: {ThrowableMessage}
getRootConverter() - Method in class org.dromara.hutool.core.convert.ConverterWithRoot
获取根转换器,用于子转换器转换
getRootElement(Document) - Static method in class org.dromara.hutool.core.xml.XmlUtil
获得XML文档根节点
getRootNode(K) - Method in interface org.dromara.hutool.core.map.ForestMap
获取以指定节点作为叶子节点的树结构,然后获取该树结构的根节点
比如:存在 a -> b -> c 的关系,则输入 a/b/c 都将返回 a
getRootStackElement() - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
获取入口堆栈信息
getRow(R) - Method in interface org.dromara.hutool.core.map.multi.Table
获取行
getRowKey() - Method in interface org.dromara.hutool.core.map.multi.Table.Cell
获取行键
getScheme() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获取协议,例如http
getSchemeWithDefault() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
获取协议,例如http,如果用户未定义协议,使用默认的http协议
getSeataSnowflake() - Static method in class org.dromara.hutool.core.data.id.IdUtil
获取默认的SeataSnowflake单例实例。
getSeataSnowflake(long) - Static method in class org.dromara.hutool.core.data.id.IdUtil
获取SeataSnowflake单例实例。
getSeataSnowflakeNextId() - Static method in class org.dromara.hutool.core.data.id.IdUtil
简单获取SeataSnowflake 的 nextId
NodeId默认为DataCenterId
getSeataSnowflakeNextIdStr() - Static method in class org.dromara.hutool.core.data.id.IdUtil
简单获取SeataSnowflake 的 nextId
NodeId默认为DataCenterId
getSecond() - Method in class org.dromara.hutool.core.date.DateBuilder
获取当前日期时间对象中的秒数。
getSecureRandom() - Static method in class org.dromara.hutool.core.util.RandomUtil
获取SHA1PRNG的SecureRandom,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator) 相关说明见:how-to-solve-slow-java-securerandom
getSecureRandom(byte[]) - Static method in class org.dromara.hutool.core.util.RandomUtil
获取SHA1PRNG的SecureRandom,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator) 相关说明见:how-to-solve-slow-java-securerandom
getSecureRandomStrong() - Static method in class org.dromara.hutool.core.util.RandomUtil
获取algorithms/providers中提供的强安全随机生成器
注意:此方法可能造成阻塞或性能问题
getSegment() - Method in class org.dromara.hutool.core.lang.page.PageInfo
将页数和每页条目数转换为开始位置和结束位置
此方法用于包括结束位置的分页方法
例如: 页码:1,每页10 =》 [0, 9] 页码:2,每页10 =》 [10, 19] ……
getSegment(int) - Method in class org.dromara.hutool.core.net.url.UrlPath
获得指定节点
getSegments() - Method in class org.dromara.hutool.core.net.url.UrlPath
获取path的节点列表,如果列表为空,返回ListUtil.empty()
getSegments() - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
获取 模板中 所有segment
getSemaphore() - Method in class org.dromara.hutool.core.thread.SemaphoreRunnable
获得信号量
getService(int) - Method in class org.dromara.hutool.core.spi.ListServiceLoader
获取指定序号对应的服务,使用缓存,多次调用只返回相同的服务对象
getService(String) - Method in class org.dromara.hutool.core.spi.ListServiceLoader
 
getService(String) - Method in class org.dromara.hutool.core.spi.MapServiceLoader
 
getService(String) - Method in interface org.dromara.hutool.core.spi.ServiceLoader
获取指定名称对应的服务
getServiceClass(int) - Method in class org.dromara.hutool.core.spi.ListServiceLoader
获取指定服务的实现类
getServiceClass(String) - Method in class org.dromara.hutool.core.spi.ListServiceLoader
 
getServiceClass(String) - Method in class org.dromara.hutool.core.spi.MapServiceLoader
 
getServiceClass(String) - Method in interface org.dromara.hutool.core.spi.ServiceLoader
获取指定服务的实现类
getServiceNames() - Method in class org.dromara.hutool.core.spi.ListServiceLoader
 
getServiceNames() - Method in class org.dromara.hutool.core.spi.MapServiceLoader
 
getServiceNames() - Method in interface org.dromara.hutool.core.spi.ServiceLoader
获取服务名称列表
getSetter(String) - Method in interface org.dromara.hutool.core.bean.BeanDesc
获取Setter方法,如果不存在返回null
getSetter() - Method in class org.dromara.hutool.core.bean.PropDesc
获取Setter方法Invoker,可能为null
getSHA1PRNGRandom(byte[]) - Static method in class org.dromara.hutool.core.util.RandomUtil
获取SHA1PRNG的SecureRandom,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator),在Linux下噪声生成时可能造成较长时间停顿。
getShort(K, Short) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取short型属性值
若获得的值为不可见字符,使用默认值
getShort(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取short型属性值
getShort(Map<?, ?>, Object) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Short
getShort(Map<?, ?>, Object, Short) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为Short
getShortByGroup(K, G, Short) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取short型属性值
getShortByGroup(K, G) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取short型属性值
getShortClassName(String) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获取完整类名的短格式如:
text.org.dromara.hutool.core.StrUtil -》c.h.c.u.StrUtil
getShortName(TimeUnit) - Static method in class org.dromara.hutool.core.date.DateUtil
获取时长单位简写
getSimpleMessage(Throwable) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
获得消息,调用异常类的getMessage方法
getSimpleName() - Method in class org.dromara.hutool.core.bean.path.AbstractBeanDesc
获取Bean的简单类名
getSnowflake(long, long) - Static method in class org.dromara.hutool.core.data.id.IdUtil
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
getSnowflake(long) - Static method in class org.dromara.hutool.core.data.id.IdUtil
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
getSnowflake() - Static method in class org.dromara.hutool.core.data.id.IdUtil
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
getSnowflakeNextId() - Static method in class org.dromara.hutool.core.data.id.IdUtil
简单获取Snowflake 的 nextId
终端ID 数据中心ID 默认为根据PID和MAC地址生成
getSnowflakeNextIdStr() - Static method in class org.dromara.hutool.core.data.id.IdUtil
简单获取Snowflake 的 nextId
终端ID 数据中心ID 默认为根据PID和MAC地址生成
getSpace() - Method in class org.dromara.hutool.core.io.CircularByteBuffer
Returns the number of bytes, that can currently be added to the buffer.
getSqlTime(K, Time) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取LocalTime类型值
getSqlTime(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取Time类型值
getSqlTimestamp(K, Timestamp) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取Timestamp类型值
getSqlTimestamp(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取Timestamp类型值
getSrc() - Method in class org.dromara.hutool.core.lang.copier.SrcToTargetCopier
获取源
getStackElement(int) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
获取指定层的堆栈信息
getStackElement(String, int) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
获取指定层的堆栈信息
getStackElements() - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
获取当前栈信息
getStackTrace() - Static method in class org.dromara.hutool.core.thread.ThreadUtil
 
getStackTraceElement(int) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获得堆栈项
getStart() - Method in class org.dromara.hutool.core.bean.path.node.RangeNode
获取起始值
getStaticFieldValue(Field) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
获取静态字段值
getStatus() - Method in exception org.dromara.hutool.core.exception.StatefulException
 
getStep() - Method in class org.dromara.hutool.core.bean.path.node.RangeNode
获取步进值
getStr(K, String) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取字符串型属性值
若获得的值为不可见字符,使用默认值
getStr(K) - Method in interface org.dromara.hutool.core.lang.getter.TypeGetter
获取字符串型属性值
getStr(Map<?, ?>, Object) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为字符串
getStr(Map<?, ?>, Object, String) - Static method in class org.dromara.hutool.core.map.MapGetUtil
获取Map指定key的值,并转换为字符串
getStr() - Method in class org.dromara.hutool.core.xml.XmlWriter
获得XML字符串
getStrByGroup(K, G, String) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取字符串型属性值
getStrByGroup(K, G) - Method in interface org.dromara.hutool.core.lang.getter.GroupedTypeGetter
获取字符串型属性值
getStream(ZipFile, ZipEntry) - Static method in class org.dromara.hutool.core.compress.ZipUtil
获取指定ZipEntry的流,用于读取这个entry的内容
getStream() - Method in class org.dromara.hutool.core.io.resource.BytesResource
 
getStream() - Method in class org.dromara.hutool.core.io.resource.FileObjectResource
 
getStream() - Method in class org.dromara.hutool.core.io.resource.FileResource
 
getStream() - Method in class org.dromara.hutool.core.io.resource.HttpResource
 
getStream() - Method in class org.dromara.hutool.core.io.resource.InputStreamResource
 
getStream() - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
getStream() - Method in interface org.dromara.hutool.core.io.resource.Resource
getStream(String) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取InputStream
getStream() - Method in class org.dromara.hutool.core.io.resource.UrlResource
 
getStream() - Method in class org.dromara.hutool.core.io.resource.VfsResource
 
getStream(URL) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
从URL中获取流
getStreamSafe(String) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取InputStream,当资源不存在时返回null
getStringMatcher(String) - Method in class org.dromara.hutool.core.text.AntPathMatcher
Build or retrieve an AntPathMatcher.AntPathStringMatcher for the given pattern.
getStringURI(CharSequence) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
获取string协议的URL,类似于string:///xxxxx
getStrKeyMap(Type) - Static method in class org.dromara.hutool.core.reflect.ActualTypeMapperPool
获取泛型变量名(字符串)和泛型实际类型的对应关系Map
getSub(int, int) - Method in class org.dromara.hutool.core.array.ArrayWrapper
获取子数组
getSub(int, int, int) - Method in class org.dromara.hutool.core.array.ArrayWrapper
获取子数组
getSuffix(File) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
获取文件后缀名,扩展名不带“.”
getSuffix(String) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
获得文件后缀名,扩展名不带“.”
getSuperClasses(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获取指定类的所有父类,结果不包括指定类本身
如果无父类,返回一个空的列表
getSymbol() - Method in enum org.dromara.hutool.core.lang.range.BoundType
获取符号
getSystemClassLoader() - Static method in class org.dromara.hutool.core.classloader.ClassLoaderUtil
获取系统ClassLoader
getTarget() - Method in class org.dromara.hutool.core.compress.Deflate
获取目标流
getTarget() - Method in class org.dromara.hutool.core.compress.Gzip
获取目标流
getTarget() - Method in class org.dromara.hutool.core.lang.copier.SrcToTargetCopier
获得目标
getTargetType(Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
获取注解类可以用来修饰哪些程序元素,如 TYPE, METHOD, CONSTRUCTOR, FIELD, PARAMETER 等
getTaskCount() - Method in class org.dromara.hutool.core.date.StopWatch
获取任务数
getTaskInfo() - Method in class org.dromara.hutool.core.date.StopWatch
获取任务列表
getTaskName() - Method in class org.dromara.hutool.core.date.StopWatch.TaskInfo
获取任务名
getTemplate() - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
获取 模板字符串
getter - Variable in class org.dromara.hutool.core.bean.PropDesc
Getter方法
getTerm() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获得节气
getTerm(int, int) - Static method in class org.dromara.hutool.core.date.chinese.SolarTerms
传入公历y年获得该年第n个节气的公历日期
getTerm(Date) - Static method in class org.dromara.hutool.core.date.chinese.SolarTerms
根据日期获取节气
getTerm(ChineseDate) - Static method in class org.dromara.hutool.core.date.chinese.SolarTerms
根据农历日期获取节气
getTerm(LocalDate) - Static method in class org.dromara.hutool.core.date.chinese.SolarTerms
根据日期获取节气
getTerm(int, int, int) - Static method in class org.dromara.hutool.core.date.chinese.SolarTerms
根据年月日获取节气
getText() - Method in class org.dromara.hutool.core.text.placeholder.segment.AbstractPlaceholderSegment
 
getText() - Method in class org.dromara.hutool.core.text.placeholder.segment.LiteralSegment
 
getText() - Method in class org.dromara.hutool.core.text.placeholder.segment.NamedPlaceholderSegment
 
getText() - Method in interface org.dromara.hutool.core.text.placeholder.segment.StrTemplateSegment
获取文本值
getThreads() - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获取JVM中与当前线程同组的所有线程
getThreads(ThreadGroup) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获取JVM中与当前线程同组的所有线程
使用数组二次拷贝方式,防止在线程列表获取过程中线程终止
from Voovan
getThrowable() - Method in class org.dromara.hutool.core.lang.Opt
获取异常
当调用 Opt.ofTry(SerSupplier)时,异常信息不会抛出,而是保存,调用此方法获取抛出的异常
getThrowableList(Throwable) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
获取异常链上所有异常的集合,如果Throwable 对象没有cause,返回只有一个节点的List
如果传入null,返回空集合 此方法来自Apache-Commons-Lang3
getTime(TimeUnit) - Method in class org.dromara.hutool.core.date.StopWatch.TaskInfo
获取指定单位的任务花费时间
getTimeInstance(int) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeInstance(int, Locale) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeInstance(int, TimeZone) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeInstance(int, TimeZone, Locale) - Static method in class org.dromara.hutool.core.date.format.FastDateFormat
获得 FastDateFormat 实例
支持缓存
getTimeMillis() - Method in class org.dromara.hutool.core.date.StopWatch.TaskInfo
获取任务花费时间(单位:毫秒)
getTimeNanos() - Method in class org.dromara.hutool.core.date.StopWatch.TaskInfo
获取任务花费时间(单位:纳秒)
getTimeout() - Method in class org.dromara.hutool.core.thread.ratelimiter.RateLimiterConfig
超时时间,即超过这个时间没有获取到许可,则返回false
getTimeSeconds() - Method in class org.dromara.hutool.core.date.StopWatch.TaskInfo
获取任务花费时间(单位:秒)
getTimestamp() - Method in class org.dromara.hutool.core.data.id.ULID
获取ULID的时间戳部分
getTimeZone() - Method in class org.dromara.hutool.core.date.DateTime
获取时区
getTimeZone() - Method in interface org.dromara.hutool.core.date.format.DateBasic
获得时区
getTimeZone() - Method in class org.dromara.hutool.core.date.format.DefaultDateBasic
 
getTimeZone() - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
getTimeZone() - Method in class org.dromara.hutool.core.date.format.SimpleDateBasic
 
getTimeZoneByOffset(int, TimeUnit) - Static method in class org.dromara.hutool.core.date.ZoneUtil
获取指定偏移量的可用时区,如果有多个时区匹配,使用第一个
getting() - Method in interface org.dromara.hutool.core.func.SerSupplier
Gets a result.
getTmpDir() - Static method in class org.dromara.hutool.core.io.file.FileUtil
获取临时文件目录
getTmpDirPath() - Static method in class org.dromara.hutool.core.util.SystemUtil
获取临时文件路径(绝对路径)
getTotal(TimeUnit) - Method in class org.dromara.hutool.core.date.StopWatch
获取所有任务的总花费时间
getTotal() - Method in class org.dromara.hutool.core.lang.page.PageInfo
得到记录总数
getTotal() - Method in interface org.dromara.hutool.core.pool.ObjectPool
获取持有对象总数(包括空闲对象 + 正在使用对象数)
getTotal() - Method in class org.dromara.hutool.core.pool.partition.PartitionObjectPool
获取持有对象总数
getTotal() - Method in class org.dromara.hutool.core.pool.partition.PoolPartition
 
getTotalLines(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
计算文件的总行数
参考:https://stackoverflow.com/questions/453018/number-of-lines-in-a-file-in-java
getTotalLines(File, int) - Static method in class org.dromara.hutool.core.io.file.FileUtil
计算文件的总行数
参考:https://stackoverflow.com/questions/453018/number-of-lines-in-a-file-in-java
getTotalMemory() - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获得JVM已经从系统中获取到的总共的内存数,单位byte
getTotalTimeMillis() - Method in class org.dromara.hutool.core.date.StopWatch
获取所有任务的总花费时间(毫秒)
getTotalTimeNanos() - Method in class org.dromara.hutool.core.date.StopWatch
获取所有任务的总花费时间(纳秒)
getTotalTimeSeconds() - Method in class org.dromara.hutool.core.date.StopWatch
获取所有任务的总花费时间(秒)
getTreeNodes(K) - Method in interface org.dromara.hutool.core.map.ForestMap
获取指定节点所在树结构的全部树节点
比如:存在 a -> b -> c 的关系,则输入 a/b/c 都将返回 a, b, c
getTrustManager(KeyStore, Provider) - Static method in class org.dromara.hutool.core.net.ssl.TrustManagerUtil
获取指定的X509TrustManager
此方法主要用于获取自签证书的X509TrustManager
getTrustManager(KeyStore, String, Provider) - Static method in class org.dromara.hutool.core.net.ssl.TrustManagerUtil
获取指定的X509TrustManager
此方法主要用于获取自签证书的X509TrustManager
getTrustManagers(KeyStore, String, Provider) - Static method in class org.dromara.hutool.core.net.ssl.TrustManagerUtil
获取指定的TrustManager
此方法主要用于获取自签证书的TrustManager
getTtl() - Method in class org.dromara.hutool.core.cache.impl.CacheObj
获取对象存活时长,即超时总时长,0表示无限
getType(String) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
根据文件流的头部信息获得文件类型
getType(InputStream, int) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
根据文件流的头部信息获得文件类型
getType(InputStream, boolean) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
根据文件流的头部信息获得文件类型
注意此方法会读取头部一些bytes,造成此流接下来读取时缺少部分bytes
因此如果想复用此流,流需支持InputStream.reset()方法。
getType(InputStream) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
根据文件流的头部信息获得文件类型
注意此方法会读取头部64个bytes,造成此流接下来读取时缺少部分bytes
因此如果想复用此流,流需支持InputStream.reset()方法。
getType(InputStream, String) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
根据文件流的头部信息获得文件类型 注意此方法会读取头部64个bytes,造成此流接下来读取时缺少部分bytes
因此如果想复用此流,流需支持InputStream.reset()方法。
getType(InputStream, String, boolean) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
根据文件流的头部信息获得文件类型 注意此方法会读取头部一些bytes,造成此流接下来读取时缺少部分bytes
因此如果想复用此流,流需支持InputStream.reset()方法。
getType(File, boolean) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
根据文件流的头部信息获得文件类型 1、无法识别类型默认按照扩展名识别 2、xls、doc、msi头信息无法区分,按照扩展名区分 3、zip可能为jar、war头信息无法区分,按照扩展名区分
getType(File) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
根据文件流的头部信息获得文件类型 1、无法识别类型默认按照扩展名识别 2、xls、doc、msi头信息无法区分,按照扩展名区分 3、zip可能为jar、war头信息无法区分,按照扩展名区分
getType(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
根据文件流的头部信息获得文件类型 1、无法识别类型默认按照扩展名识别 2、xls、doc、msi头信息无法区分,按照扩展名区分 3、zip可能为docx、xlsx、pptx、jar、war头信息无法区分,按照扩展名区分
getType() - Method in interface org.dromara.hutool.core.lang.range.Bound
获取边界类型
getType() - Method in class org.dromara.hutool.core.reflect.FieldInvoker
 
getType() - Method in interface org.dromara.hutool.core.reflect.Invoker
获取调用方法的返回类型或参数类型或字段类型。
getType() - Method in class org.dromara.hutool.core.reflect.kotlin.KParameter
获取参数类型
getType() - Method in class org.dromara.hutool.core.reflect.method.MethodInvoker
 
getType() - Method in class org.dromara.hutool.core.reflect.TypeReference
获取用户定义的泛型参数
getType(Field) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获取字段对应的Type类型
方法优先获取GenericType,获取不到则获取Type
getType(int) - Static method in class org.dromara.hutool.core.text.CharUtil
获取字符类型
getTypeArgument(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得给定类的第一个泛型参数
getTypeArgument(Class<?>, int) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
获得给定类的泛型参数
getTypeArgument(Type) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获得给定类的第一个泛型参数
getTypeArgument(Type, int) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获得给定类的泛型参数
getTypeArgument(Object) - Static method in class org.dromara.hutool.core.util.ObjUtil
获得给定类的第一个泛型参数
getTypeArgument(Object, int) - Static method in class org.dromara.hutool.core.util.ObjUtil
获得给定类指定下标的泛型参数
getTypeArguments(Type) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获得指定类型中所有泛型参数类型,例如: class A<T> class B extends A<String> 通过此方法,传入B.class即可得到String
getTypeByPath(String, boolean) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
通过路径获得文件类型
getTypeByPath(String) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
通过路径获得文件类型
getTypeClass() - Method in class org.dromara.hutool.core.reflect.FieldInvoker
 
getTypeClass() - Method in interface org.dromara.hutool.core.reflect.Invoker
获取调用方法的返回类型或参数类型或字段类型。
getTypeClass() - Method in class org.dromara.hutool.core.reflect.method.MethodInvoker
 
getTypeMap(Class<?>) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
获取泛型变量和泛型实际类型的对应关系Map,例如: T org.dromara.hutool.test.User E java.lang.Integer
getUnixsecond() - Method in class org.dromara.hutool.core.date.DateBuilder
获取Unix时间戳(秒)。
getUnWrappedNames() - Method in class org.dromara.hutool.core.bean.path.node.ListNode
将列表中的name,去除单引号
getUpperBound() - Method in class org.dromara.hutool.core.lang.range.BoundedRange
获取上界
getUpperBoundValue() - Method in class org.dromara.hutool.core.lang.range.BoundedRange
获取上界值
getUrl() - Method in class org.dromara.hutool.core.io.resource.BytesResource
 
getUrl() - Method in class org.dromara.hutool.core.io.resource.FileObjectResource
 
getUrl() - Method in class org.dromara.hutool.core.io.resource.FileResource
 
getUrl() - Method in class org.dromara.hutool.core.io.resource.HttpResource
 
getUrl() - Method in class org.dromara.hutool.core.io.resource.InputStreamResource
 
getUrl() - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
getUrl() - Method in interface org.dromara.hutool.core.io.resource.Resource
获得解析后的URL,无对应URL的返回null
getUrl() - Method in class org.dromara.hutool.core.io.resource.UrlResource
 
getUrl() - Method in class org.dromara.hutool.core.io.resource.VfsResource
 
getURL(String) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
获得URL
getURL(String, Class<?>) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
获得URL
getURL(File) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
获得URL,常用于使用绝对路径时的情况
getURL(URL, String) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
获取相对于给定URL的新的URL
来自:org.springframework.core.io.UrlResource#createRelativeURL
getURLs(File...) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
获得URL,常用于使用绝对路径时的情况
getUsableLocalPort() - Static method in class org.dromara.hutool.core.net.NetUtil
查找1024~65535范围内的可用端口
此方法只检测给定范围内的随机一个端口,检测65535-1024次
来自org.springframework.util.SocketUtils
getUsableLocalPort(int) - Static method in class org.dromara.hutool.core.net.NetUtil
查找指定范围内的可用端口,最大值为65535
此方法只检测给定范围内的随机一个端口,检测65535-minPort次
来自org.springframework.util.SocketUtils
getUsableLocalPort(int, int) - Static method in class org.dromara.hutool.core.net.NetUtil
查找指定范围内的可用端口
此方法只检测给定范围内的随机一个端口,检测maxPort-minPort次
来自org.springframework.util.SocketUtils
getUsableLocalPorts(int, int, int) - Static method in class org.dromara.hutool.core.net.NetUtil
获取多个本地可用端口
来自org.springframework.util.SocketUtils
getUsableMemory() - Static method in class org.dromara.hutool.core.util.RuntimeUtil
获得JVM最大可用内存,计算方法为:
最大内存-总内存+剩余内存
getUsedSize() - Method in class org.dromara.hutool.core.cache.file.AbstractFileCache
 
getUserDirPath() - Static method in class org.dromara.hutool.core.util.SystemUtil
获取工作目录路径(绝对路径)
getUserHomeDir() - Static method in class org.dromara.hutool.core.io.file.FileUtil
获取用户目录
getUserHomePath() - Static method in class org.dromara.hutool.core.util.SystemUtil
获取用户路径(绝对路径)
getUtf8Reader(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得一个文件读取器
getUtf8Reader(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得一个文件读取器
getUtf8Reader(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
获得一个文件读取器
getUtf8Reader(String) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
从ClassPath资源中获取BufferedReader
getValidEndIndex() - Method in class org.dromara.hutool.core.text.finder.TextFinder
获取有效结束位置
如果TextFinder.endIndex小于0,在反向模式下是开头(-1),正向模式是结尾(text.length())
getValue(T) - Method in class org.dromara.hutool.core.bean.path.BeanPath
获取路径对应的值
getValue(Object, BeanPath<Object>) - Method in class org.dromara.hutool.core.bean.path.DefaultNodeBeanFactory
 
getValue(T, BeanPath<T>) - Method in interface org.dromara.hutool.core.bean.path.NodeBeanFactory
获取Bean对应节点的值
getValue(Object, boolean) - Method in class org.dromara.hutool.core.bean.PropDesc
获取属性值
首先调用字段对应的Getter方法获取值,如果Getter方法不存在,则判断字段如果为public,则直接获取字段值
此方法不检查任何注解,使用前需调用 PropDesc.isReadable(boolean) 检查是否可读
getValue(Object, Type, boolean) - Method in class org.dromara.hutool.core.bean.PropDesc
获取属性值,自动转换属性值类型
首先调用字段对应的Getter方法获取值,如果Getter方法不存在,则判断字段如果为public,则直接获取字段值
getValue() - Method in class org.dromara.hutool.core.cache.impl.CacheObj
获取值
getValue() - Method in enum org.dromara.hutool.core.date.DateField
获取Calendar中对应的值
getValue() - Method in enum org.dromara.hutool.core.date.Month
获取Calendar中的对应值
此值从0开始,即0表示一月
getValue() - Method in enum org.dromara.hutool.core.date.Quarter
获取季度值
getValue() - Method in enum org.dromara.hutool.core.date.Week
获得星期对应Calendar 中的Week值
getValue() - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Checksum
 
getValue() - Method in class org.dromara.hutool.core.io.checksum.CRC16
 
getValue() - Method in class org.dromara.hutool.core.io.checksum.CRC8
 
getValue() - Method in enum org.dromara.hutool.core.io.file.LineSeparator
获取换行符值
getValue() - Method in enum org.dromara.hutool.core.io.watch.WatchKind
获取枚举对应的事件类型
getValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableEntry
获取值
getValue() - Method in interface org.dromara.hutool.core.lang.range.Bound
获取边界值
getValue() - Method in class org.dromara.hutool.core.map.LinkedForestMap.EntryNodeWrapper
 
getValue() - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
获取节点的value
getValue(K, int) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
获取指定序号的值,若值不存在,返回null
getValue() - Method in interface org.dromara.hutool.core.map.multi.Table.Cell
获取值
getValue() - Method in enum org.dromara.hutool.core.reflect.ModifierType
获取修饰符枚举对应的int修饰符值,值见Modifier
getValue() - Method in enum org.dromara.hutool.core.thread.RejectPolicy
获取RejectedExecutionHandler枚举值
getValueBaseOne() - Method in enum org.dromara.hutool.core.date.Month
获取月份值,此值与Month对应
此值从1开始,即1表示一月
getValues(K) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
获取键对应的值,若值不存在,则返回Collections.emptyList()
getValues(K) - Method in class org.dromara.hutool.core.map.TableMap
获取指定key对应的所有值
getVDS() - Method in class org.dromara.hutool.core.data.VIN
获取车辆说明部分 VDS(Vehicle Descriptor section)
getVehicleDescriptorCode() - Method in class org.dromara.hutool.core.data.VIN
获取车辆特征代码(Vehicle Descriptor Code),相对于VDS,不包含校验位。
getVIS() - Method in class org.dromara.hutool.core.data.VIN
获取车辆指示部分 VIS(Vehicle Indicator Section)
getWebRoot() - Static method in class org.dromara.hutool.core.io.file.FileUtil
获取Web项目下的web root路径
原理是首先获取ClassPath路径,由于在web项目中ClassPath位于 WEB-INF/classes/下,故向上获取两级目录即可。
getWeek() - Method in class org.dromara.hutool.core.date.DateBuilder
获取当前周数的方法
getWeight() - Method in class org.dromara.hutool.core.lang.selector.WeightObj
获取权重
getWeight() - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
获取当前节点与根节点的距离
getWeight() - Method in interface org.dromara.hutool.core.map.TreeEntry
获取以当前节点作为叶子节点的树结构,然后获取当前节点与根节点的距离
getWeight() - Method in class org.dromara.hutool.core.tree.MapTree
 
getWeight() - Method in interface org.dromara.hutool.core.tree.Node
获取权重
getWeight() - Method in class org.dromara.hutool.core.tree.TreeNode
 
getWeightKey() - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
 
getWeightKey() - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
获取权重对应的名称
getWeightKeyFun() - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
设置权重方法
getWithoutLock(K) - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
获取键对应的CacheObj
getWMI() - Method in class org.dromara.hutool.core.data.VIN
获取世界制造厂识别代号WMI(World Manufacturer Identifier)
对年产量大于或等于1000辆的完整车辆或非完整车辆制造,车辆识别代号的第一部分为世界制造)厂识别代号(WMI)
对年产量小于1000辆的完整车辆和/或非完整车辆制造厂,第三部分的三、四、五位与第一部分的三位字码一起构成世界制造厂识别代号(WMI)
getWord() - Method in class org.dromara.hutool.core.text.dfa.FoundWord
获取生效的单词,即单词树中的词
getWorkerId(long, long) - Static method in class org.dromara.hutool.core.data.id.IdUtil
获取机器ID,使用进程ID配合数据中心ID生成
机器依赖于本进程ID或进程名的Hash值。
getWorkerId(long) - Method in class org.dromara.hutool.core.data.id.Snowflake
根据Snowflake的ID,获取机器id
getWrappedClass() - Method in class org.dromara.hutool.core.bean.NullWrapperBean
获取null值对应的类型
getWrapperSet() - Static method in enum org.dromara.hutool.core.convert.BasicType
获取所有原始类型
getWriter(String, Charset, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得一个带缓存的写入对象
getWriter(File, Charset, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得一个带缓存的写入对象
getWriter(boolean) - Method in class org.dromara.hutool.core.io.file.FileWriter
获得一个带缓存的写入对象
getWriter() - Static method in class org.dromara.hutool.core.text.StrUtil
获得StringWriter
getYear() - Method in class org.dromara.hutool.core.data.VIN
Get year.
getYear(int) - Method in class org.dromara.hutool.core.data.VIN
Gets year.
getYear() - Method in class org.dromara.hutool.core.date.DateBuilder
获取年份。
getZipOutputStream(OutputStream, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
getZodiac(int, int) - Static method in class org.dromara.hutool.core.date.DateUtil
通过生日计算星座
getZodiac(Date) - Static method in class org.dromara.hutool.core.date.Zodiac
通过生日计算星座
getZodiac(Calendar) - Static method in class org.dromara.hutool.core.date.Zodiac
通过生日计算星座
getZodiac(Month, int) - Static method in class org.dromara.hutool.core.date.Zodiac
通过生日计算星座
getZodiac(int, int) - Static method in class org.dromara.hutool.core.date.Zodiac
通过生日计算星座
getZone() - Method in class org.dromara.hutool.core.date.DateBuilder
获取时区。
getZoneId() - Method in class org.dromara.hutool.core.date.DateTime
获取时区ID
getZoneOffset() - Method in class org.dromara.hutool.core.date.DateBuilder
获取时区偏移量。
GlobalCustomFormat - Class in org.dromara.hutool.core.date.format
全局自定义格式
用于定义用户指定的日期格式和输出日期的关系
GlobalCustomFormat() - Constructor for class org.dromara.hutool.core.date.format.GlobalCustomFormat
 
globalDefaultValueHandler - Static variable in class org.dromara.hutool.core.text.placeholder.StrTemplate
全局默认值处理器,一旦修改,对所有模板对象都生效 根据 占位符变量 返回 默认值
globalFeatures - Static variable in class org.dromara.hutool.core.text.placeholder.StrTemplate
全局默认策略,一旦修改,对所有模板对象都生效 该值 是每个模板对象创建时的 策略初始值,因此,修改全局默认策略,不影响已经创建的模板对象
GlobalPruneTimer - Enum in org.dromara.hutool.core.cache
全局缓存清理定时器池,用于在需要过期支持的缓存对象中超时任务池
GlobalThreadPool - Class in org.dromara.hutool.core.thread
全局公共线程池
此线程池是一个无限线程池,即加入的线程不等待任何线程,直接执行
GMP_DECODER - Static variable in class org.dromara.hutool.core.codec.binary.Base62Codec.Base62Decoder
GMP风格解码器
GMP_ENCODER - Static variable in class org.dromara.hutool.core.codec.binary.Base62Codec.Base62Encoder
GMP风格编码器
Graph<T> - Class in org.dromara.hutool.core.map.multi
支持处理无向图结构的Map,本质上是基于SetValueMap实现的邻接表
Graph() - Constructor for class org.dromara.hutool.core.map.multi.Graph
 
greaterThan(T) - Static method in interface org.dromara.hutool.core.lang.range.Bound
{x | x > min}
greaterThan(T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRange
{x | lowerBound < x < +∞}
greaterThan(Money) - Method in class org.dromara.hutool.core.math.Money
货币比较。
group(Collection<T>, Hash32<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
分组,按照Hash32接口定义的hash算法,集合中的元素放入hash值对应的子列表中
group(Matcher, String) - Static method in class org.dromara.hutool.core.regex.ReUtil
根据提供的匹配器和组名尝试获取匹配的字符串。
group(Function<? super T, ? extends K>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
通过给定分组依据进行分组
group(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
通过给定分组依据进行分组
group(Function<? super T, ? extends K>, Supplier<M>, Collector<? super T, A, D>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
通过给定分组依据进行分组
group2Map(Collection<E>, Function<E, T>, Function<E, U>) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection按照两个规则(比如有相同的年级id,班级id)分组成双层map
Collection<E> ---> Map<T,Map<U,E>>
group2Map(Collection<E>, Function<E, T>, Function<E, U>, boolean) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection按照两个规则(比如有相同的年级id,班级id)分组成双层map
Collection<E> ---> Map<T,Map<U,E>>
GROUP_VAR - Static variable in class org.dromara.hutool.core.regex.PatternPool
分组
GROUP_VAR - Static variable in interface org.dromara.hutool.core.regex.RegexPool
分组
groupBy(Collection<E>, Function<E, K>, Collector<E, ?, D>) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
作为所有groupingBy的公共方法,更接近于原生,灵活性更强
groupBy(Collection<E>, Function<E, K>, Collector<E, ?, D>, boolean) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
作为所有groupingBy的公共方法,更接近于原生,灵活性更强
groupBy2Key(Collection<E>, Function<E, K>, Function<E, U>) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection按照两个规则(比如有相同的年级id,班级id)分组成双层map
Collection<E> ---> Map<T,Map<U,List<E>>>
groupBy2Key(Collection<E>, Function<E, K>, Function<E, U>, boolean) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection按照两个规则(比如有相同的年级id,班级id)分组成双层map
Collection<E> ---> Map<T,Map<U,List<E>>>
groupByField(Collection<T>, String) - Static method in class org.dromara.hutool.core.collection.CollUtil
根据元素的指定字段值分组,非Bean都放在第一个分组中
groupByFunc(Collection<T>, Function<T, ?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
根据元素的指定字段值分组,非Bean都放在第一个分组中
例如:CollUtil.groupByFunc(list, TestBean::getAge)
groupByKey(Collection<E>, Function<E, K>) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection按照规则(比如有相同的班级id)分组成map
Collection<E> -------> Map<K,List<E>>
groupByKey(Collection<E>, Function<E, K>, boolean) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection按照规则(比如有相同的班级id)分组成map
Collection<E> -------> Map<K,List<E>>
groupByKey() - Method in class org.dromara.hutool.core.stream.EntryStream
将键值对按键分组
groupByKey(Collector<V, ?, C>) - Method in class org.dromara.hutool.core.stream.EntryStream
将键值对按键分组
groupByKey(Supplier<M>, Collector<V, ?, C>) - Method in class org.dromara.hutool.core.stream.EntryStream
将键值对按键分组
GroupedTypeGetter<K,G> - Interface in org.dromara.hutool.core.lang.getter
基于分组的Get接口
grouping(Iterable<Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.map.MapUtil
根据给定的entry列表,根据entry的key进行分组;
groupingBy(Function<? super T, ? extends K>, Supplier<M>, Collector<? super T, A, D>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现,可指定map类型
groupingBy(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现
groupingBy(Function<? super T, ? extends K>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现
groupingBy(Function<? super T, ? extends K>, Function<? super T, ? extends R>, Supplier<C>, Supplier<M>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现, 对集合分组,然后对分组后的值集合进行映射
groupingBy(Function<? super T, ? extends K>, Function<? super T, ? extends R>, Supplier<C>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现, 对集合分组,然后对分组后的值集合进行映射
groupingBy(Function<? super T, ? extends K>, Function<? super T, ? extends R>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
提供对null值友好的groupingBy操作的Collector实现, 对集合分组,然后对分组后的值集合进行映射
groupKeyValue(Collection<E>, SerFunction<E, K>, SerFunction<E, V>) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection按照规则(比如有相同的班级id)分组成map,map中的key为班级id,value为班级名
Collection<E> -------> Map<K,List<V>>
groupKeyValue(Collection<E>, SerFunction<E, K>, SerFunction<E, V>, boolean) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection按照规则(比如有相同的班级id)分组成map,map中的key为班级id,value为班级名
Collection<E> -------> Map<K,List<V>>
gt(T, T) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
c1是否大于c2,通过调用compare(c1, c2) > 0完成
GT - Static variable in class org.dromara.hutool.core.xml.XmlConstants
字符串常量:XML 大于号转义 "&gt;" -> ">"
Gzip - Class in org.dromara.hutool.core.compress
GZIP是用于Unix系统的文件压缩
gzip的基础是DEFLATE
Gzip(InputStream, OutputStream) - Constructor for class org.dromara.hutool.core.compress.Gzip
构造
gzip() - Method in class org.dromara.hutool.core.compress.Gzip
将普通数据流压缩
gzip(String, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Gzip压缩处理
gzip(byte[]) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Gzip压缩处理
gzip(File) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Gzip压缩文件
gzip(InputStream) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Gzip压缩文件
gzip(InputStream, int) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Gzip压缩文件

H

has(int, int) - Static method in class org.dromara.hutool.core.math.BitStatusUtil
判断是否含有状态
hasAll(Class<?>, ModifierType...) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
类中是否同时存在所有给定修饰符
如定义修饰符为:public static final,那么如果传入的modifierTypes为: public、static 返回true public、abstract返回false private、abstract返回false
hasAll(Member, ModifierType...) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
成员中是否同时存在所有给定修饰符
如定义修饰符为:public static final,那么如果传入的modifierTypes为: public、static 返回true public、abstract返回false private、abstract返回false
hasAll(int, int...) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
需要检查的修饰符中是否同时存在所有给定修饰符
如定义修饰符为:public static final,那么如果传入的checkedModifiers为: public、static 返回true public、abstract返回false private、abstract返回false
hasAnnotation(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
检查是否包含指定注解
hasAnnotation(Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配被指定注解标注、或注解层级结构中存在指定注解的方法的方法匹配器。
hasAnnotationOnDeclaringClass(Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配声明方法的类的层级接口中,存在任意类被指定注解标注、或注解层级结构中存在指定注解的方法的方法匹配器。
hasAnnotationOnMethodOrDeclaringClass(Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配方法本身或声明方法的类上,直接被指定注解标注、或注解层级结构中存在指定注解的方法的方法匹配器。
hasAny(Class<?>, ModifierType...) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
类是否存在给定修饰符中的任意一个
如定义修饰符为:public static final,那么如果传入的modifierTypes为: public、static 返回true public、abstract返回true private、abstract返回false
hasAny(Member, ModifierType...) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
成员是否存在给定修饰符中的任意一个
如定义修饰符为:public static final,那么如果传入的modifierTypes为: public、static 返回true public、abstract返回true private、abstract返回false
hasAny(int, int...) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
需要检查的修饰符中是否存在给定修饰符中的任意一个
如定义修饰符为:public static final,那么如果传入的modifierTypes为: public、static 返回true public、abstract返回true private、abstract返回false
hasAttribute(String, Class<?>) - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
注解是否存在指定属性
hasAttribute(int) - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
该属性下标是否在注解中存在对应属性
hasBlank(CharSequence...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
指定字符串数组中,是否包含空字符串。
hasBlank(Iterable<? extends CharSequence>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
指定字符串集合中,是否包含空字符串。
hasBlank(CharSequence...) - Static method in class org.dromara.hutool.core.text.StrValidator
指定字符串数组中,是否包含空字符串。
hasBytes() - Method in class org.dromara.hutool.core.io.CircularByteBuffer
Returns, whether the buffer is currently holding, at least, a single byte.
hasChild() - Method in class org.dromara.hutool.core.tree.MapTree
是否有子节点,无子节点则此为叶子节点
hasChildren() - Method in interface org.dromara.hutool.core.map.TreeEntry
当前节点是否有子节点
hasChinese(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否包含汉字
hasDeclaredAnnotation(Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配被指定注解标注、或注解层级结构中存在指定注解的方法的方法匹配器。
hasDefaultValue() - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
是否有默认值
hasEmpty(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
是否存在null或空对象,通过ObjUtil.isEmpty(Object) 判断元素
如果提供的数组本身为空,则返回false
hasEmpty(CharSequence...) - Static method in class org.dromara.hutool.core.text.StrValidator
是否包含空字符串。
hasEmpty(Iterable<? extends CharSequence>) - Static method in class org.dromara.hutool.core.text.StrValidator
是否包含空字符串。
hasEmptyField(Object, String...) - Static method in class org.dromara.hutool.core.bean.BeanUtil
判断Bean是否包含值为null的属性,或当字段为CharSequence时,是否为isEmpty(null或"")
对象本身为null也返回true
hasEmptyVarargs(T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
是否存在null或空对象,通过ObjUtil.isEmpty(Object) 判断元素
如果提供的数组本身为空,则返回false 限制条件:args的每个item不能是数组、不能是集合
hasField(Class<?>, String) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
查找指定类中是否包含指定名称对应的字段,包括所有字段(包括非public字段),也包括父类和Object类的字段
hasGetter(Class<?>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
判断是否为Bean对象
判定方法是否存在只有无参数的getXXX方法或者isXXX方法
hash(String) - Method in class org.dromara.hutool.core.text.bloom.AbstractFilter
自定义Hash方法
hash(String) - Method in class org.dromara.hutool.core.text.bloom.FuncFilter
 
hash128(byte[]) - Method in class org.dromara.hutool.core.codec.hash.CityHash
计算128位City Hash值
hash128(byte[], Number128) - Method in class org.dromara.hutool.core.codec.hash.CityHash
计算128位City Hash值
Hash128<T> - Interface in org.dromara.hutool.core.codec.hash
Hash计算接口
hash128(T) - Method in interface org.dromara.hutool.core.codec.hash.Hash128
计算Hash值
hash128(byte[]) - Method in class org.dromara.hutool.core.codec.hash.metro.MetroHash128
 
hash128(CharSequence) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
Murmur3 128-bit Hash值计算
hash128(byte[]) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
Murmur3 128-bit 算法.
hash128(byte[], int, int) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
Murmur3 128-bit variant.
hash128(byte[], int, int, int) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
Murmur3 128-bit variant.
hash32(byte[]) - Method in class org.dromara.hutool.core.codec.hash.CityHash
计算32位City Hash值
Hash32<T> - Interface in org.dromara.hutool.core.codec.hash
Hash计算接口
hash32(T) - Method in interface org.dromara.hutool.core.codec.hash.Hash32
计算Hash值
hash32(byte[]) - Method in class org.dromara.hutool.core.codec.hash.KetamaHash
 
hash32(CharSequence) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
Murmur3 32-bit Hash值计算
hash32(byte[]) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
Murmur3 32-bit Hash值计算
hash32(byte[], int, int) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
Murmur3 32-bit Hash值计算
hash32(byte[], int, int, int) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
Murmur3 32-bit Hash值计算
hash64(byte[]) - Method in class org.dromara.hutool.core.codec.hash.CityHash
计算64位City Hash值
hash64(byte[], long, long) - Method in class org.dromara.hutool.core.codec.hash.CityHash
计算64位City Hash值
hash64(byte[], long) - Method in class org.dromara.hutool.core.codec.hash.CityHash
计算64位City Hash值,种子1使用默认的CityHash.k2
Hash64<T> - Interface in org.dromara.hutool.core.codec.hash
Hash计算接口
hash64(T) - Method in interface org.dromara.hutool.core.codec.hash.Hash64
计算Hash值
hash64(byte[]) - Method in class org.dromara.hutool.core.codec.hash.KetamaHash
 
hash64(byte[]) - Method in class org.dromara.hutool.core.codec.hash.metro.MetroHash64
 
hash64(CharSequence) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
Murmur3 64-bit Hash值计算
hash64(byte[]) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
hash64(byte[], int, int) - Method in class org.dromara.hutool.core.codec.hash.MurmurHash
类Murmur3 64-bit 算法
This is essentially MSB 8 bytes of Murmur3 128-bit variant.
hash64(Collection<? extends CharSequence>) - Method in class org.dromara.hutool.core.codec.hash.Simhash
指定文本计算simhash值
hashCode() - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
获取实例的哈希值
hashCode() - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
获取实例的哈希值
hashCode() - Method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
获取实例的哈希值
hashCode() - Method in class org.dromara.hutool.core.annotation.GenericAnnotationMapping
获取实例哈希值
hashCode() - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
获取实例哈希值
hashCode() - Method in class org.dromara.hutool.core.bean.DynaBean
 
hashCode() - Method in class org.dromara.hutool.core.codec.Number128
 
hashCode() - Method in class org.dromara.hutool.core.collection.ListWrapper
 
hashCode() - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
hashCode() - Method in class org.dromara.hutool.core.comparator.ComparatorChain
 
hashCode() - Method in class org.dromara.hutool.core.data.CoordinateUtil.Coordinate
 
hashCode() - Method in class org.dromara.hutool.core.data.id.ULID
 
hashCode() - Method in class org.dromara.hutool.core.data.id.UUID
返回此 UUID 的哈希码。
hashCode() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
 
hashCode() - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
hashCode() - Method in class org.dromara.hutool.core.date.format.SimpleDateBasic
 
hashCode() - Method in class org.dromara.hutool.core.io.ByteOrderMark
 
hashCode() - Method in class org.dromara.hutool.core.io.unit.DataSize
 
hashCode() - Method in class org.dromara.hutool.core.lang.ansi.Ansi8BitColor
 
hashCode() - Method in class org.dromara.hutool.core.lang.mutable.MutableBool
 
hashCode() - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
 
hashCode() - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
 
hashCode() - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
 
hashCode() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
 
hashCode() - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
 
hashCode() - Method in class org.dromara.hutool.core.lang.mutable.MutableObj
 
hashCode() - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
 
hashCode() - Method in class org.dromara.hutool.core.lang.Opt
如果包裹内元素为空,则返回0,否则返回元素的 hashcode
hashCode() - Method in class org.dromara.hutool.core.lang.range.BoundedRange
获取实例哈希值
hashCode() - Method in class org.dromara.hutool.core.lang.ref.PhantomObj
 
hashCode() - Method in class org.dromara.hutool.core.lang.ref.SoftObj
 
hashCode() - Method in class org.dromara.hutool.core.lang.ref.StrongObj
 
hashCode() - Method in class org.dromara.hutool.core.lang.ref.WeakObj
 
hashCode() - Method in class org.dromara.hutool.core.lang.selector.WeightObj
 
hashCode() - Method in class org.dromara.hutool.core.lang.tuple.Pair
 
hashCode() - Method in class org.dromara.hutool.core.lang.tuple.Triple
 
hashCode() - Method in class org.dromara.hutool.core.lang.tuple.Tuple
 
hashCode() - Method in class org.dromara.hutool.core.lang.Version
 
hashCode() - Method in class org.dromara.hutool.core.map.AbsEntry
 
hashCode() - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
返回当前TreeEntry的哈希值。
hashCode() - Method in class org.dromara.hutool.core.map.MapWrapper
 
hashCode() - Method in class org.dromara.hutool.core.map.multi.AbsTable
 
hashCode() - Method in class org.dromara.hutool.core.map.TolerantMap
 
hashCode() - Method in class org.dromara.hutool.core.math.Money
计算本货币对象的杂凑值。
hashCode() - Method in class org.dromara.hutool.core.reflect.kotlin.KParameter
 
hashCode() - Method in class org.dromara.hutool.core.stream.AbstractEnhancedWrappedStream
获取当前被包装的实例的哈希值
hashCode() - Method in interface org.dromara.hutool.core.stream.WrappedStream
获取当前实例的哈希值
hashCode() - Method in class org.dromara.hutool.core.text.CharArray
 
hashCode() - Method in class org.dromara.hutool.core.tree.TreeNode
 
Hashids - Class in org.dromara.hutool.core.codec
Hashids 协议实现,以实现: 生成简短、唯一、大小写敏感并无序的hash值 自然数字的Hash值 可以设置不同的盐,具有保密性 可配置的hash长度 递增的输入产生的输出无法预测 来自:https://github.com/davidafsilva/java-hashids Hashids可以将数字或者16进制字符串转为短且唯一不连续的字符串,采用双向编码实现,比如,它可以将347之类的数字转换为yr8之类的字符串,也可以将yr8之类的字符串重新解码为347之类的数字。
Hashids(char[], char[], int) - Constructor for class org.dromara.hutool.core.codec.Hashids
构造
HashUtil - Class in org.dromara.hutool.core.codec.hash
Hash算法大全
推荐使用FNV1算法
HashUtil() - Constructor for class org.dromara.hutool.core.codec.hash.HashUtil
 
hasLowerBound() - Method in class org.dromara.hutool.core.lang.range.BoundedRange
是否有下界
hasMoreElements() - Method in class org.dromara.hutool.core.collection.iter.IteratorEnumeration
 
hasNext() - Method in class org.dromara.hutool.core.bean.path.BeanPath
 
hasNext() - Method in class org.dromara.hutool.core.cache.impl.CacheObjIterator
 
hasNext() - Method in class org.dromara.hutool.core.cache.impl.CacheValuesIterator
 
hasNext() - Method in class org.dromara.hutool.core.collection.iter.ArrayIter
 
hasNext() - Method in class org.dromara.hutool.core.collection.iter.ComputeIter
 
hasNext() - Method in class org.dromara.hutool.core.collection.iter.CopiedIter
 
hasNext() - Method in class org.dromara.hutool.core.collection.iter.EnumerationIter
 
hasNext() - Method in class org.dromara.hutool.core.collection.iter.FilterIter
 
hasNext() - Method in class org.dromara.hutool.core.collection.iter.IterChain
 
hasNext() - Method in class org.dromara.hutool.core.collection.iter.NodeListIter
 
hasNext() - Method in class org.dromara.hutool.core.collection.iter.PartitionIter
 
hasNext() - Method in class org.dromara.hutool.core.collection.iter.TransIter
 
hasNext() - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
hasNext() - Method in class org.dromara.hutool.core.lang.range.Range
 
hasNext() - Method in class org.dromara.hutool.core.tree.HierarchyIterator
是否仍有下一个节点
hasNextPage() - Method in class org.dromara.hutool.core.lang.page.PageInfo
是否有下一页
hasNonNull(T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
是否包含非null元素
如果数组是null或者空,返回false,否则当数组中有非null元素时返回true
hasNull(T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
是否包含null元素 如果数组为null,则返回true,如果数组为空,则返回false
hasNull(Iterable<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
是否包含null元素
集合为null,返回true 集合为空集合,即元素个数为0,返回false 集合中元素为"",返回false
hasNull(Iterator<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
是否包含null元素
Iterator为null,返回true Iterator为空集合,即元素个数为0,返回false Iterator中元素为"",返回false
hasNullField(Object, String...) - Static method in class org.dromara.hutool.core.bean.BeanUtil
判断Bean是否包含值为null的属性
对象本身为null也返回true
hasNumber(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
是否包含数字
hasParent() - Method in interface org.dromara.hutool.core.map.TreeEntry
当前节点是否存在直接关联的父节点
hasPreviousPage() - Method in class org.dromara.hutool.core.lang.page.PageInfo
是否有前一页
hasPublicField(Class<?>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
指定类中是否有public类型字段(static字段除外)
hasSameElement(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
判断数组中是否有相同元素 若传入空数组,则返回false
hasSetter(Class<?>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
判断是否有Setter方法
判定方法是否存在只有一个参数的setXXX方法
hasSpace() - Method in class org.dromara.hutool.core.io.CircularByteBuffer
Returns, whether there is currently room for a single byte in the buffer.
hasSpace(int) - Method in class org.dromara.hutool.core.io.CircularByteBuffer
Returns, whether there is currently room for the given number of bytes in the buffer.
hasTypeVariable(Type...) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
指定泛型数组中是否含有泛型变量
hasUpperBound() - Method in class org.dromara.hutool.core.lang.range.BoundedRange
是否有上界
Hex - Class in org.dromara.hutool.core.codec.binary
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
Hex() - Constructor for class org.dromara.hutool.core.codec.binary.Hex
 
HEX - Static variable in class org.dromara.hutool.core.regex.PatternPool
16进制字符串
HEX - Static variable in interface org.dromara.hutool.core.regex.RegexPool
16进制字符串
HEX_DECODER - Static variable in class org.dromara.hutool.core.codec.binary.Base32Codec.Base32Decoder
16进制解码器
HEX_ENCODER - Static variable in class org.dromara.hutool.core.codec.binary.Base32Codec.Base32Encoder
16进制编码器
hexDigit(int) - Method in class org.dromara.hutool.core.codec.binary.Base16Codec
将byte值转为16进制
hexToBytes(String) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
Hex字符串转换为Byte值
hexToInt(String) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
16进制字符串转为int
hexToLong(String) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
16进制字符串转为long
hexToStr(String, Charset) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
十六进制转换字符串
HexUtil - Class in org.dromara.hutool.core.codec.binary
十六进制(简写为hex或下标16)在数学中是一种逢16进1的进位制,一般用数字0到9和字母A到F表示(其中:A~F即10~15)。
HexUtil() - Constructor for class org.dromara.hutool.core.codec.binary.HexUtil
 
hfHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
HF Hash算法
hfIpHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
HFIP Hash算法
hide(String, int, int) - Static method in class org.dromara.hutool.core.data.IdcardUtil
隐藏指定位置的几个身份证号数字为“*”
hide(CharSequence, int, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换指定字符串的指定区间内字符为"*" 俗称:脱敏功能,后面其他功能,可以见:DesensitizedUtil(脱敏工具类) hide(null,*,*)=null hide("",0,*)="" hide("jackduan@163.com",-1,4) ****duan@163.com hide("jackduan@163.com",2,3) ja*kduan@163.com hide("jackduan@163.com",3,2) jackduan@163.com hide("jackduan@163.com",16,16) jackduan@163.com hide("jackduan@163.com",16,17) jackduan@163.com
hideAfter(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
隐藏手机号最后4位 替换字符为"*"
hideBefore(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
隐藏手机号前7位 替换字符为"*" 栗子
hideBetween(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
隐藏手机号中间4位 替换字符为"*"
hideIpPart(String) - Static method in class org.dromara.hutool.core.net.NetUtil
隐藏掉IP地址的最后一部分为 * 代替
hideIpPart(long) - Static method in class org.dromara.hutool.core.net.NetUtil
隐藏掉IP地址的最后一部分为 * 代替
HierarchicalAnnotatedElements - Class in org.dromara.hutool.core.annotation.elements
表示一组处于在层级结构中具有关联关系的AnnotatedElement,创建实例时, 将扫描指定AnnotatedElement的层级结构中的所有AnnotatedElement, 并将其包装为MetaAnnotatedElement
HierarchyIterator<T> - Class in org.dromara.hutool.core.tree
用于迭代层级结构(比如树或图)的迭代器, 支持广度优先深度优先两种遍历模式。
HighMultiReplacer - Class in org.dromara.hutool.core.text.replacer
高效替换器,通过查找指定关键字,替换对应的值 基于AC自动机算法实现,需要被替换的原字符串越大,替换的键值对越多,效率提升越明显 注意: 如果需要被替换的关键字出现交叉,最先匹配中的关键字会被替换 1、"abc","ab" 会优先替换"ab" 2、"abed","be" 会优先替换"abed" 3、"abc", "bc" 会优先替换"abc"
HighMultiReplacer(Map<String, String>) - Constructor for class org.dromara.hutool.core.text.replacer.HighMultiReplacer
构造
HighMultiReplacerV2 - Class in org.dromara.hutool.core.text.replacer
高效替换器,通过查找指定关键字,替换对应的值 基于AC自动机算法实现,需要被替换的原字符串越大,替换的键值对越多,效率提升越明显 注意: 如果需要被替换的关键字出现交叉,最先匹配中的关键字会被替换 1、"abc","ab" 会优先替换"ab" 2、"abed","be" 会优先替换"abed" 3、"abc", "bc" 会优先替换"abc"
HighMultiReplacerV2(Map<String, String>) - Constructor for class org.dromara.hutool.core.text.replacer.HighMultiReplacerV2
构造
HighMultiReplacerV2.AhoCorasickAutomaton - Class in org.dromara.hutool.core.text.replacer
AC 自动机
hitCount - Variable in class org.dromara.hutool.core.cache.impl.AbstractCache
命中数,即命中缓存计数
hour(boolean) - Method in class org.dromara.hutool.core.date.DateTime
获得指定日期的小时数部分
hour(Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期的小时数部分
HTML40_EXTENDED_ESCAPE - Static variable in class org.dromara.hutool.core.text.escape.Html4Escape
HTML 4.01 extended entities.
HTML40_EXTENDED_UNESCAPE - Static variable in class org.dromara.hutool.core.text.escape.Html4Unescape
HTML40_EXTENDED的UNESCAPE
Html4Escape - Class in org.dromara.hutool.core.text.escape
HTML4的ESCAPE 参考:Commons Lang3
Html4Escape() - Constructor for class org.dromara.hutool.core.text.escape.Html4Escape
构造
Html4Unescape - Class in org.dromara.hutool.core.text.escape
HTML4的UNESCAPE
Html4Unescape() - Constructor for class org.dromara.hutool.core.text.escape.Html4Unescape
构造
HTTP_DATETIME_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
HTTP头中日期时间格式 FastDateFormat:EEE, dd MMM yyyy HH:mm:ss z
HTTP_DATETIME_FORMAT_GMT - Static variable in class org.dromara.hutool.core.date.DatePattern
HTTP头中日期时间格式 FastDateFormat:EEE, dd MMM yyyy HH:mm:ss GMT
HTTP_DATETIME_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
HTTP头中日期时间格式:EEE, dd MMM yyyy HH:mm:ss z
HttpResource - Class in org.dromara.hutool.core.io.resource
HTTP资源,用于自定义表单数据,可自定义Content-Type
HttpResource(Resource, String) - Constructor for class org.dromara.hutool.core.io.resource.HttpResource
构造
HUTOOL_DATE_LENIENT - Static variable in class org.dromara.hutool.core.util.SystemUtil
Hutool自定义系统属性:是否解析日期字符串采用严格模式
HutoolException - Exception in org.dromara.hutool.core.exception
Hutool工具类异常
HutoolException() - Constructor for exception org.dromara.hutool.core.exception.HutoolException
构造
HutoolException(Throwable) - Constructor for exception org.dromara.hutool.core.exception.HutoolException
构造
HutoolException(String) - Constructor for exception org.dromara.hutool.core.exception.HutoolException
构造
HutoolException(String, Object...) - Constructor for exception org.dromara.hutool.core.exception.HutoolException
构造
HutoolException(String, Throwable) - Constructor for exception org.dromara.hutool.core.exception.HutoolException
构造
HutoolException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.exception.HutoolException
构造
HutoolException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.exception.HutoolException
构造

I

idCardNum(String, int, int) - Static method in class org.dromara.hutool.core.data.MaskingUtil
【身份证号】前1位 和后2位
IdcardUtil - Class in org.dromara.hutool.core.data
身份证相关工具类,参考标准:GB 11643-1999
标准描述见:IdcardUtil() - Constructor for class org.dromara.hutool.core.data.IdcardUtil
 
IdConstants - Class in org.dromara.hutool.core.data.id
ID相关常量
IdConstants() - Constructor for class org.dromara.hutool.core.data.id.IdConstants
 
identity() - Static method in interface org.dromara.hutool.core.convert.Converter
返回原值的转换器,不做转换
identity() - Static method in interface org.dromara.hutool.core.func.SerFunction
Returns a function that always returns its input argument.
identity() - Static method in interface org.dromara.hutool.core.func.SerUnaryOperator
Returns a unary operator that always returns its input argument.
identityHashCode(Object) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
根据对象的内存地址生成相应的Hash值
idnToASCII(String) - Static method in class org.dromara.hutool.core.net.NetUtil
Unicode域名转puny code
IdUtil - Class in org.dromara.hutool.core.data.id
ID生成器工具类,此工具类中主要封装: 1.
IdUtil() - Constructor for class org.dromara.hutool.core.data.id.IdUtil
 
ifFail(Consumer<? super Throwable>) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹内容失败了,则执行传入的操作(Consumer.accept(T)) 例如执行有异常就打印结果 Opt.ofTry(() -> 1 / 0).ifFail(Console::log);
ifFail(Consumer<? super Throwable>, Class<? extends Throwable>...) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹内容失败了,同时是指定的异常执行传入的操作(Consumer.accept(T)) 例如如果值存在就打印结果 Opt.ofTry(() -> 1 / 0).ifFail(Console::log, ArithmeticException.class);
ifInitialized(Consumer<T>) - Method in class org.dromara.hutool.core.lang.loader.LazyFunLoader
如果已经初始化,就执行传入函数
ifPresent(SerConsumer<? super T>) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的操作(Consumer.accept(T)) 例如如果值存在就打印结果 {@code Opt.ofNullable("Hello Hutool!").
ifPresents(SerConsumer<T>...) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里元素的值存在,就执行对应的操作集,并返回本身 如果不存在,返回一个空的Opt 属于 Opt.ifPresent(SerConsumer)的动态拓展
ignoreCase - Variable in class org.dromara.hutool.core.bean.copier.CopyOptions
是否忽略字段大小写
ignoreError - Variable in class org.dromara.hutool.core.bean.copier.CopyOptions
是否忽略字段注入错误
ignoreNullValue - Variable in class org.dromara.hutool.core.bean.copier.CopyOptions
是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
increase(int) - Method in class org.dromara.hutool.core.pool.partition.PoolPartition
扩容并填充对象池队列
如果传入的扩容大小大于可用大小(即扩容大小加现有大小大于最大大小,则实际扩容到最大)
increment() - Method in class org.dromara.hutool.core.data.id.ULID
自增ULID
increment() - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
值+1
increment() - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
值+1
increment() - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
值+1
increment() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
值+1
increment() - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
值+1
increment() - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
值+1
incrementAndGet() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
先加1, 再获取值
IncrementSelector<T> - Class in org.dromara.hutool.core.lang.selector
简单的轮询选择器
IncrementSelector() - Constructor for class org.dromara.hutool.core.lang.selector.IncrementSelector
构造
IncrementSelector(Iterable<T>) - Constructor for class org.dromara.hutool.core.lang.selector.IncrementSelector
构造
INDENT_DEFAULT - Static variable in class org.dromara.hutool.core.xml.XmlConstants
XML格式化输出默认缩进量
index() - Method in class org.dromara.hutool.core.io.buffer.FastBuffer
当前缓冲位于缓冲区的索引位
INDEX_NOT_FOUND - Static variable in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组中元素未找到的下标,值为-1
INDEX_NOT_FOUND - Static variable in class org.dromara.hutool.core.text.CharSequenceUtil
未找到的的位置表示,用-1表示
INDEX_NOT_FOUND - Static variable in interface org.dromara.hutool.core.text.finder.Finder
未找到的的位置表示,用-1表示
IndexedComparator<T> - Class in org.dromara.hutool.core.comparator
按照数组的顺序正序排列,数组的元素位置决定了对象的排序先后
默认的,如果参与排序的元素并不在数组中,则排序在前(可以通过atEndIfMiss设置)
IndexedComparator(T...) - Constructor for class org.dromara.hutool.core.comparator.IndexedComparator
构造
IndexedComparator(boolean, Map<? super T, Integer>) - Constructor for class org.dromara.hutool.core.comparator.IndexedComparator
构造
IndexedComparator(boolean, T...) - Constructor for class org.dromara.hutool.core.comparator.IndexedComparator
构造
indexedFormat(CharSequence, Object...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
有序的格式化文本,使用{number}做为占位符
通常使用:format("this is {0} for {1}", "a", "b") =》 this is a for b
IndexedPlaceholderSegment - Class in org.dromara.hutool.core.text.placeholder.segment
基字符串模板-基于下标的占位符 Segment 例如,"{1}"
IndexedPlaceholderSegment(String, String) - Constructor for class org.dromara.hutool.core.text.placeholder.segment.IndexedPlaceholderSegment
构造
indexedSegmentMaxIdx - Variable in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
在 下标占位符中,最大的下标值
indexListOfAll(Collection<T>, Predicate<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取匹配规则定义中匹配到元素的所有位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
indexOf(T[], Object, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(T[], Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(Object) - Method in class org.dromara.hutool.core.array.ArrayWrapper
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(Object, int) - Method in class org.dromara.hutool.core.array.ArrayWrapper
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(long[], long) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(int[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(short[], short) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(char[], char) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(byte[], byte) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(double[], double) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(float[], float) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(boolean[], boolean) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOf(Collection<T>, Predicate<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取匹配规则定义中匹配到元素的第一个位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
indexOf(Object) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
indexOf(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
找到指定正则匹配到字符串的开始位置
indexOf(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
找到指定模式匹配到字符串的开始位置
indexOf(CharSequence, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定范围内查找指定字符
indexOf(CharSequence, char, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定范围内查找指定字符
indexOf(CharSequence, char, int, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定范围内查找指定字符
indexOf(CharSequence, Predicate<Character>, int, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定范围内查找指定字符
indexOf(CharSequence, CharSequence, int, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定范围内查找字符串
indexOfAll(Collection<T>, Predicate<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取匹配规则定义中匹配到元素的所有位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
indexOfIgnoreCase(CharSequence[], CharSequence) - Static method in class org.dromara.hutool.core.array.ArrayUtil
返回数组中指定元素所在位置,忽略大小写,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
indexOfIgnoreCase(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定范围内查找字符串,忽略大小写
indexOfIgnoreCase(null, *, *) = -1 indexOfIgnoreCase(*, null, *) = -1 indexOfIgnoreCase("", "", 0) = 0 indexOfIgnoreCase("aabaabaa", "A", 0) = 0 indexOfIgnoreCase("aabaabaa", "B", 0) = 2 indexOfIgnoreCase("aabaabaa", "AB", 0) = 1 indexOfIgnoreCase("aabaabaa", "B", 3) = 5 indexOfIgnoreCase("aabaabaa", "B", 9) = -1 indexOfIgnoreCase("aabaabaa", "B", -1) = 2 indexOfIgnoreCase("aabaabaa", "", 2) = 2 indexOfIgnoreCase("abc", "", 9) = -1
indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定范围内查找字符串 indexOfIgnoreCase(null, *, *) = -1 indexOfIgnoreCase(*, null, *) = -1 indexOfIgnoreCase("", "", 0) = 0 indexOfIgnoreCase("aabaabaa", "A", 0) = 0 indexOfIgnoreCase("aabaabaa", "B", 0) = 2 indexOfIgnoreCase("aabaabaa", "AB", 0) = 1 indexOfIgnoreCase("aabaabaa", "B", 3) = 5 indexOfIgnoreCase("aabaabaa", "B", 9) = -1 indexOfIgnoreCase("aabaabaa", "B", -1) = 2 indexOfIgnoreCase("aabaabaa", "", 2) = 2 indexOfIgnoreCase("abc", "", 9) = -1
indexOfLeft(L) - Method in class org.dromara.hutool.core.map.TripleTable
获取指定左元素的索引
indexOfMiddle(M) - Method in class org.dromara.hutool.core.map.TripleTable
获取指定中元素的索引
indexOfRight(R) - Method in class org.dromara.hutool.core.map.TripleTable
获取指定右元素的索引
indexOfSub(T[], T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
查找子数组的位置
indexOfSub(T[], int, T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
查找子数组的位置
INFINITE_MAX - Static variable in interface org.dromara.hutool.core.lang.range.Bound
无穷大的藐视
INFINITE_MIN - Static variable in interface org.dromara.hutool.core.lang.range.Bound
无穷小的描述
inflater() - Method in class org.dromara.hutool.core.compress.Deflate
将压缩流解压到target中
InflaterInputStream - Class in org.dromara.hutool.core.compress
InflaterInputStream包装实现,实现"deflate"算法解压
参考:org.apache.hc.client5.http.entity.DeflateInputStream
InflaterInputStream(InputStream) - Constructor for class org.dromara.hutool.core.compress.InflaterInputStream
构造
InflaterInputStream(InputStream, int) - Constructor for class org.dromara.hutool.core.compress.InflaterInputStream
构造
init() - Method in enum org.dromara.hutool.core.cache.GlobalPruneTimer
初始化定时器
init() - Method in class org.dromara.hutool.core.io.stream.BOMInputStream
Read-ahead four bytes and check for BOM marks.
init() - Method in class org.dromara.hutool.core.lang.loader.AtomicLoader
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
init() - Method in class org.dromara.hutool.core.lang.loader.LazyFunLoader
 
init() - Method in class org.dromara.hutool.core.lang.loader.LazyLoader
初始化被加载的对象
如果对象从未被加载过,调用此方法初始化加载对象,此方法只被调用一次
init(Collection<String>, boolean) - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
初始化敏感词树
init(Collection<String>) - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
初始化敏感词树
init(String, String, boolean) - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
初始化敏感词树
init(String, boolean) - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
初始化敏感词树,使用逗号分隔每个单词
init() - Static method in class org.dromara.hutool.core.thread.GlobalThreadPool
初始化全局线程池
initCache() - Method in class org.dromara.hutool.core.cache.file.AbstractFileCache
初始化实现文件缓存的缓存对象
initCache() - Method in class org.dromara.hutool.core.cache.file.LFUFileCache
 
initCache() - Method in class org.dromara.hutool.core.cache.file.LRUFileCache
 
initialCapacity(int) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap.Builder
Specifies the initial capacity of the hash table (default 16).
input() - Static method in class org.dromara.hutool.core.lang.Console
读取用户输入的内容(在控制台敲回车前的内容)
InputStreamResource - Class in org.dromara.hutool.core.io.resource
基于InputStream的资源获取器
注意:此对象中getUrl方法始终返回null
InputStreamResource(Reader, Charset) - Constructor for class org.dromara.hutool.core.io.resource.InputStreamResource
构造
InputStreamResource(InputStream) - Constructor for class org.dromara.hutool.core.io.resource.InputStreamResource
构造
InputStreamResource(InputStream, String) - Constructor for class org.dromara.hutool.core.io.resource.InputStreamResource
构造
insert(T[], int, T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
将新元素插入到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
insert(A, int, E...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
将新元素插入到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为负数,从原数组从后向前计数,若大于原数组长度,则空白处用默认值填充
insert(int, E) - Method in class org.dromara.hutool.core.array.ArrayWrapper
将新元素插入到已有数组中的某个位置 如果插入位置为负数,从原数组从后向前计数,若大于原数组长度,则空白处用默认值填充
insert(String) - Method in class org.dromara.hutool.core.text.dfa.NFA
词库添加新词,初始化查找树
insert(String...) - Method in class org.dromara.hutool.core.text.dfa.NFA
词库批量添加新词,初始化查找树
insertArray(int, A) - Method in class org.dromara.hutool.core.array.ArrayWrapper
将新元素插入到已有数组中的某个位置 如果插入位置为负数,从原数组从后向前计数,若大于原数组长度,则空白处用默认值填充
INSTANCE - Static variable in class org.dromara.hutool.core.bean.path.DefaultNodeBeanFactory
单例
INSTANCE - Static variable in class org.dromara.hutool.core.bean.path.node.EmptyNode
单例
INSTANCE - Static variable in class org.dromara.hutool.core.codec.binary.Base32Codec
单例对象
INSTANCE - Static variable in class org.dromara.hutool.core.codec.binary.Base58Codec
单例
INSTANCE - Static variable in class org.dromara.hutool.core.codec.binary.Base62Codec
单例
INSTANCE - Static variable in class org.dromara.hutool.core.codec.binary.Base64Decoder
单例对象
INSTANCE - Static variable in class org.dromara.hutool.core.codec.hash.CityHash
单例
INSTANCE - Static variable in class org.dromara.hutool.core.codec.hash.MurmurHash
单例
INSTANCE - Static variable in class org.dromara.hutool.core.comparator.StrLengthComparator
单例的字符串长度比较器,短在前
INSTANCE - Static variable in class org.dromara.hutool.core.comparator.VersionComparator
单例
INSTANCE - Static variable in class org.dromara.hutool.core.comparator.WindowsExplorerStringComparator
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.ArrayConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.AtomicBooleanConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.BeanConverter
单例对象
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.BooleanConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.CastConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.CharacterConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.ClassConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.CollectionConverter
单例实体
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.DateConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.EmptyBeanConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.EnumConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.KBeanConverter
单例对象
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.MapConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.NumberConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.PrimitiveConverter
单例对象
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.RecordConverter
单例对象
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.stringer.BlobStringer
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.stringer.ClobStringer
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.TemporalAccessorConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.TimeZoneConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.TupleConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.convert.impl.ZoneIdConverter
单例
INSTANCE - Static variable in class org.dromara.hutool.core.date.format.parser.DefaultRegexDateParser
默认实例
INSTANCE - Static variable in class org.dromara.hutool.core.date.format.parser.RegisterDateParser
单例
INSTANCE - Static variable in class org.dromara.hutool.core.date.format.parser.TimeParser
单例
INSTANCE - Static variable in class org.dromara.hutool.core.io.file.visitor.DelVisitor
单例对象
INSTANCE - Static variable in class org.dromara.hutool.core.io.stream.EmptyInputStream
单例实例
INSTANCE - Static variable in class org.dromara.hutool.core.io.stream.EmptyOutputStream
单例
INSTANCE - Static variable in class org.dromara.hutool.core.math.NumberParser
单例
INSTANCE - Static variable in class org.dromara.hutool.core.net.ssl.TrustAnyHostnameVerifier
单例对象
INSTANCE - Static variable in class org.dromara.hutool.core.net.ssl.TrustAnyTrustManager
全局单例信任管理器,默认信任所有客户端和服务端证书
INSTANCE - Static variable in class org.dromara.hutool.core.reflect.NullType
单例对象
INSTANCE - Static variable in class org.dromara.hutool.core.thread.lock.NoLock
单例
InstanceComparator<T> - Class in org.dromara.hutool.core.comparator
按照指定类型顺序排序,对象顺序取决于对象对应的类在数组中的位置。
InstanceComparator(Class<?>...) - Constructor for class org.dromara.hutool.core.comparator.InstanceComparator
构造
InstanceComparator(boolean, Class<?>...) - Constructor for class org.dromara.hutool.core.comparator.InstanceComparator
构造
Intern<T> - Interface in org.dromara.hutool.core.lang.intern
规范化表示形式封装
所谓规范化,即当两个对象equals时,规范化的对象则可以实现==
此包中的相关封装类似于 String.intern()
intern(T) - Method in interface org.dromara.hutool.core.lang.intern.Intern
返回指定对象对应的规范化对象,sample对象可能有多个,但是这些对象如果都equals,则返回的是同一个对象
intern(String) - Method in class org.dromara.hutool.core.lang.intern.StringIntern
 
intern(T) - Method in class org.dromara.hutool.core.lang.intern.WeakIntern
 
InternUtil - Class in org.dromara.hutool.core.lang.intern
规范化对象生成工具
InternUtil() - Constructor for class org.dromara.hutool.core.lang.intern.InternUtil
 
interrupt(Thread, boolean) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
结束线程,调用此方法后,线程将抛出 InterruptedException异常
intersection() - Method in class org.dromara.hutool.core.collection.CollectionOperation
多个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
intersection(Collection<T>...) - Static method in class org.dromara.hutool.core.collection.CollUtil
多个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
intersection(BoundedRange<T>) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
other与当前区间相交,则获得该区间与当前区间的交集
intersection(BoundedRange<T>, BoundedRange<T>) - Static method in class org.dromara.hutool.core.lang.range.BoundedRangeOperation
other与当前区间相交,则获得该区间与当前区间的交集
intersectionDistinct() - Method in class org.dromara.hutool.core.collection.CollectionOperation
多个集合的唯一交集
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
intersectionDistinct(Collection<T>...) - Static method in class org.dromara.hutool.core.collection.CollUtil
多个集合的交集
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
intHash(int) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
Thomas Wang的算法,整数hash
intToByte(int) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
int转byte
intToBytes(int) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
int转byte数组
默认以小端序转换
intToRoman(int) - Static method in class org.dromara.hutool.core.math.NumberUtil
整数转罗马数字
限制:[1,3999]的正整数 I 1 V 5 X 10 L 50 C 100 D 500 M 1000
intToRoman(int) - Static method in class org.dromara.hutool.core.math.RomanNumberFormatter
整数转罗马数字
限制:[1,3999]的正整数 I 1 V 5 X 10 L 50 C 100 D 500 M 1000
intVal() - Method in interface org.dromara.hutool.core.lang.EnumItem
int值
intValue() - Method in class org.dromara.hutool.core.codec.Number128
 
intValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
 
intValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
 
intValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
 
intValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
 
intValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
 
intValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
 
INVALID_PATTERN - Static variable in class org.dromara.hutool.core.xml.XmlConstants
在XML中无效的字符 正则
inverse(Map<K, V>) - Static method in class org.dromara.hutool.core.map.MapUtil
Map的键和值互换
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
inverse() - Method in class org.dromara.hutool.core.stream.EntryStream
将键值对翻转
INVERTED_DECODER - Static variable in class org.dromara.hutool.core.codec.binary.Base62Codec.Base62Decoder
反转风格,即将GMP风格中的大小写做转换解码器
INVERTED_ENCODER - Static variable in class org.dromara.hutool.core.codec.binary.Base62Codec.Base62Encoder
反转风格,即将GMP风格中的大小写做转换编码器
invoke(Object, Method, Object[]) - Method in class org.dromara.hutool.core.annotation.AnnotationMappingProxy
调用被代理的方法
invoke(Object, Method, Object[]) - Method in class org.dromara.hutool.core.annotation.AnnotationProxy
 
invoke(String, Object...) - Method in class org.dromara.hutool.core.bean.DynaBean
执行原始Bean中的方法
invoke(Object, Method, Object[]) - Method in class org.dromara.hutool.core.map.MapProxy
 
invoke(Object, Object...) - Method in class org.dromara.hutool.core.reflect.FieldInvoker
 
invoke(Object, Object...) - Method in interface org.dromara.hutool.core.reflect.Invoker
调用指定目标对象的方法。
invoke(Object, Method, Object...) - Static method in class org.dromara.hutool.core.reflect.method.MethodHandleUtil
执行接口或对象中的方法
     interface Duck {
         default String quack() {
             return "Quack";
         }
     }
     Duck duck = (Duck) Proxy.newProxyInstance(
         ClassLoaderUtil.getClassLoader(),
         new Class[] { Duck.class },
         MethodHandleUtil::invoke);
 
invoke(Object, Object...) - Method in class org.dromara.hutool.core.reflect.method.MethodInvoker
 
invoke(Object, Method, Object...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
执行方法 对于用户传入参数会做必要检查,包括: 1、忽略多余的参数 2、参数不够补齐默认值 3、传入参数为null,但是目标参数类型为原始类型,做转换
invoke(Object, String, Object...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
执行对象中指定方法 如果需要传递的参数为null,请使用NullWrapperBean来传递,不然会丢失类型信息
invoke(String, Object[]) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
invoke(String, boolean, Object...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
invoke(String, String, Object[]) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
invoke(String, String, boolean, Object...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
invokeAll(Collection<? extends Callable<T>>) - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
invokeAny(Collection<? extends Callable<T>>) - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
invokeExact(Object, Method, Object...) - Static method in class org.dromara.hutool.core.reflect.method.MethodHandleUtil
执行接口或对象中的方法,参数类型不做转换,必须与方法参数类型完全匹配
     interface Duck {
         default String quack() {
             return "Quack";
         }
     }
     Duck duck = (Duck) Proxy.newProxyInstance(
         ClassLoaderUtil.getClassLoader(),
         new Class[] { Duck.class },
         MethodHandleUtil::invoke);
 
invokeGet(Object) - Method in class org.dromara.hutool.core.reflect.FieldInvoker
获取字段值
invokeHandle(MethodHandle, Object...) - Static method in class org.dromara.hutool.core.reflect.method.MethodHandleUtil
执行方法句柄,MethodHandle.invokeWithArguments(Object...)包装
非static方法需先调用MethodHandle.bindTo(Object)绑定执行对象。
Invoker - Interface in org.dromara.hutool.core.reflect
Invoker接口定义了调用目标对象的方法的规范。
invokeSet(Object, Object) - Method in class org.dromara.hutool.core.reflect.FieldInvoker
设置字段值,传入的字段值必须和字段类型一致,否则抛出异常
invokeStatic(Object...) - Method in class org.dromara.hutool.core.reflect.method.MethodInvoker
执行静态方法
invokeStatic(Method, Object...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
执行静态方法
invokeWithCheck(Object, Method, Object...) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
执行方法
执行前要检查给定参数: 1.
IoCopier<S,T> - Class in org.dromara.hutool.core.io.copy
IO拷贝抽象,可自定义包括缓存、进度条等信息
此对象非线程安全
IoCopier(int, long, StreamProgress) - Constructor for class org.dromara.hutool.core.io.copy.IoCopier
构造
IORuntimeException - Exception in org.dromara.hutool.core.io
IO运行时异常,常用于对IOException的包装
IORuntimeException() - Constructor for exception org.dromara.hutool.core.io.IORuntimeException
构造
IORuntimeException(Throwable) - Constructor for exception org.dromara.hutool.core.io.IORuntimeException
构造
IORuntimeException(String) - Constructor for exception org.dromara.hutool.core.io.IORuntimeException
构造
IORuntimeException(String, Object...) - Constructor for exception org.dromara.hutool.core.io.IORuntimeException
构造
IORuntimeException(String, Throwable) - Constructor for exception org.dromara.hutool.core.io.IORuntimeException
构造
IORuntimeException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.io.IORuntimeException
构造
IORuntimeException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.io.IORuntimeException
构造
IoUtil - Class in org.dromara.hutool.core.io
IO工具类
IO工具类只是辅助流的读写,并不负责关闭流。
IoUtil() - Constructor for class org.dromara.hutool.core.io.IoUtil
 
IP_MASK_SPLIT_MARK - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
IP与掩码的分割符
IP_SPLIT_MARK - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
IP段的分割符
ipv4(String) - Static method in class org.dromara.hutool.core.data.MaskingUtil
IPv4脱敏,如:脱敏前:192.0.2.1;脱敏后:192.*.*.*。
IPV4 - Static variable in class org.dromara.hutool.core.regex.PatternPool
IP v4
IPV4 - Static variable in interface org.dromara.hutool.core.regex.RegexPool
IP v4
采用分组方式便于解析地址的每一个段
IPV4_A_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址最大值数值形式
IPV4_A_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址最小值数值形式
IPV4_A_PRIVATE_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址私网网段最大值数值形式
IPV4_A_PRIVATE_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址私网网段最小值数值形式
IPV4_A_PRIVATE_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址私网网段最大值字符串形式
IPV4_A_PRIVATE_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址私网网段最小值字符串形式
IPV4_A_PUBLIC_1_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址第一个公网网段最大值数值形式
IPV4_A_PUBLIC_1_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址第一个公网网段最小值数值形式
IPV4_A_PUBLIC_1_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址第一个公网网段最大值字符串形式
IPV4_A_PUBLIC_1_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址第一个公网网段最小值字符串形式
IPV4_A_PUBLIC_2_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址第二个公网网段最大值数值形式
IPV4_A_PUBLIC_2_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址第二个公网网段最小值数值形式
IPV4_A_PUBLIC_2_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址第二个公网网段最大值字符串形式
IPV4_A_PUBLIC_2_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址第二个公网网段最小值字符串形式
IPV4_A_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址最大值字符串形式
IPV4_A_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 A类地址最小值字符串形式
IPV4_B_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址最大值数值形式
IPV4_B_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址最小值数值形式
IPV4_B_PRIVATE_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址私网网段最大值数值形式
IPV4_B_PRIVATE_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址私网网段最小值数值形式
IPV4_B_PRIVATE_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址私网网段最大值字符串形式
IPV4_B_PRIVATE_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址私网网段最小值字符串形式
IPV4_B_PUBLIC_1_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址第一个公网网段最大值数值形式
IPV4_B_PUBLIC_1_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址第一个公网网段最小值数值形式
IPV4_B_PUBLIC_1_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址第一个公网网段最大值字符串形式
IPV4_B_PUBLIC_1_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址第一个公网网段最小值字符串形式
IPV4_B_PUBLIC_2_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址第二个公网网段最大值数值形式
IPV4_B_PUBLIC_2_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址第二个公网网段最小值数值形式
IPV4_B_PUBLIC_2_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址第二个公网网段最大值字符串形式
IPV4_B_PUBLIC_2_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址第二个公网网段最小值字符串形式
IPV4_B_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址最大值字符串形式
IPV4_B_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 B类地址最小值字符串形式
IPV4_C_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址最大值数值形式
IPV4_C_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址最小值数值形式
IPV4_C_PRIVATE_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址私网网段最大值数值形式
IPV4_C_PRIVATE_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址私网网段最小值数值形式
IPV4_C_PRIVATE_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址私网网段最大值字符串形式
IPV4_C_PRIVATE_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址私网网段最小值字符串形式
IPV4_C_PUBLIC_1_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址第一个公网网段最大值数值形式
IPV4_C_PUBLIC_1_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址第一个公网网段最小值数值形式
IPV4_C_PUBLIC_1_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址第一个公网网段最大值字符串形式
IPV4_C_PUBLIC_1_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址第一个公网网段最小值字符串形式
IPV4_C_PUBLIC_2_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址第二个公网网段最大值数值形式
IPV4_C_PUBLIC_2_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址第二个公网网段最小值数值形式
IPV4_C_PUBLIC_2_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址第二个公网网段最大值字符串形式
IPV4_C_PUBLIC_2_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址第二个公网网段最小值字符串形式
IPV4_C_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址最大值字符串形式
IPV4_C_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 C类地址最小值字符串形式
IPV4_D_DEDICATED_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址专用网段(用于广播)最大值数值形式
IPV4_D_DEDICATED_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址专用网段(用于广播)最小值数值形式
IPV4_D_DEDICATED_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址专用网段(用于广播)最大值字符串形式
IPV4_D_DEDICATED_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址专用网段(用于广播)最小值字符串形式
IPV4_D_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址最大值数值形式
IPV4_D_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址最小值数值形式
IPV4_D_PRIVATE_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址私用网段(用于测试)最大值数值形式
IPV4_D_PRIVATE_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址私用网段(用于测试)最小值数值形式
IPV4_D_PRIVATE_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址私用网段(用于测试)最大值字符串形式
IPV4_D_PRIVATE_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址私用网段(用于测试)最小值字符串形式
IPV4_D_PUBLIC_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址公用网段(用于组播)最大值数值形式
IPV4_D_PUBLIC_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址公用网段(用于组播)最小值数值形式
IPV4_D_PUBLIC_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址公用网段(用于组播)最大值字符串形式
IPV4_D_PUBLIC_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址公用网段(用于组播)最小值字符串形式
IPV4_D_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址最大值字符串形式
IPV4_D_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 D类地址最小值字符串形式
IPV4_E_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 E类地址最大值数值形式
IPV4_E_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 E类地址最小值数值形式
IPV4_E_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 E类地址最大值字符串形式
IPV4_E_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 E类地址最小值字符串形式
IPV4_LOOPBACK_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 本地回环地址最大值数值形式
IPV4_LOOPBACK_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 本地回环地址最小值数值形式
IPV4_LOOPBACK_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 本地回环地址最大值字符串形式
IPV4_LOOPBACK_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4 本地回环地址最小值字符串形式
IPV4_MASK_BIT_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4最大掩码位
IPV4_MASK_BIT_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4最小掩码位
IPV4_MASK_BIT_VALID_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4有意义的最小掩码位
IPV4_MASK_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4最大掩码字符串
IPV4_MASK_VALID_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4有意义的最小掩码字符串
IPV4_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4最大值数值形式
IPV4_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4最小值数值形式
IPV4_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4地址最大值字符串形式
IPV4_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4地址最小值字符串形式
IPV4_UNUSED_NUM_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4未使用地址最大值数值形式
IPV4_UNUSED_NUM_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4未使用地址最小值数值形式
IPV4_UNUSED_STR_MAX - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4未使用地址最大值字符串形式
IPV4_UNUSED_STR_MIN - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
Ipv4未使用地址最小值字符串形式
Ipv4Pool - Interface in org.dromara.hutool.core.net
Ip相关常量 为了方便处理作出以下特别说明,若后续因此收到影响或有更好处理方式需要及时调整: 1、此处定义的`最小值`、`最大值`并非实际ip可分配的最小值、最大值。
ipv4ToLong(String) - Static method in class org.dromara.hutool.core.net.Ipv4Util
将 ip字符串 转换为 long值 方法别名:inet_aton
ipv4ToLong(String) - Static method in class org.dromara.hutool.core.net.NetUtil
根据ip地址计算出long型的数据
Ipv4Util - Class in org.dromara.hutool.core.net
IPV4地址工具类 工具类来源pr 名词解释: ip字符串:点分十进制,形如:xxx.xxx.xxx.xxx ip的Long类型:有效位32位,每8位可以转为一个十进制数,例如:0xC0A802FA, 转为点分十进制是:192.168.2.250 掩码地址:点分十进制,例如:255.255.255.0 掩码位:int类型,例如 24, 它代表的掩码地址为:255.255.255.0;掩码位和掩码地址的相互转换,请使用 MaskBit CIDR:无类域间路由,形如:xxx.xxx.xxx.xxx/掩码位,192.168.1.101/24 全量地址:区间内所有ip地址,包含区间两端 可用地址:区间内所有ip地址,但是不包含区间两端
Ipv4Util() - Constructor for class org.dromara.hutool.core.net.Ipv4Util
 
ipv6(String) - Static method in class org.dromara.hutool.core.data.MaskingUtil
IPv6脱敏,如:脱敏前:2001:0db8:86a3:08d3:1319:8a2e:0370:7344;脱敏后:2001:*:*:*:*:*:*:*
IPV6 - Static variable in class org.dromara.hutool.core.regex.PatternPool
IP v6
IPV6 - Static variable in interface org.dromara.hutool.core.regex.RegexPool
IP v6
ipv6ToBigInteger(String) - Static method in class org.dromara.hutool.core.net.Ipv6Util
将IPv6地址字符串转为大整数
Ipv6Util - Class in org.dromara.hutool.core.net
IPv6工具类
Ipv6Util() - Constructor for class org.dromara.hutool.core.net.Ipv6Util
 
IS_ANDROID - Static variable in class org.dromara.hutool.core.util.JdkUtil
是否Android环境
IS_AT_LEAST_JDK17 - Static variable in class org.dromara.hutool.core.util.JdkUtil
是否大于等于JDK17
IS_GRAALVM_NATIVE - Static variable in class org.dromara.hutool.core.util.JdkUtil
是否GraalVM Native Image环境
IS_JDK8 - Static variable in class org.dromara.hutool.core.util.JdkUtil
是否JDK8
由于Hutool基于JDK8编译,当使用JDK版本低于8时,不支持。
IS_KOTLIN_ENABLE - Static variable in class org.dromara.hutool.core.reflect.kotlin.KClassUtil
是否提供或处于Kotlin环境中
IS_OPENJ9 - Static variable in class org.dromara.hutool.core.util.JdkUtil
是否OPENJ9环境
IS_PREFIX - Static variable in class org.dromara.hutool.core.reflect.method.MethodNameUtil
is方法前缀
isAbsolutePath(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
给定路径已经是绝对路径
此方法并没有针对路径做标准化,建议先执行FileNameUtil.normalize(String)方法标准化路径后判断
绝对路径判断条件是: 以/开头的路径 满足类似于 c:/xxxxx,其中祖母随意,不区分大小写 满足类似于 d:\xxxxx,其中祖母随意,不区分大小写
isAbstract(Member) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
是否抽象成员
isAbstract(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
是否抽象类
isAfter(Date) - Method in class org.dromara.hutool.core.date.DateTime
是否在给定日期之后
isAfterOrEquals(Date) - Method in class org.dromara.hutool.core.date.DateTime
是否在给定日期之后或与给定日期相等
isAllAssignableFrom(Class<?>[], Class<?>[]) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
比较判断types1和types2两组类,如果types1中所有的类都与types2对应位置的类相同,或者是其父类或接口,则返回true
isAllBlank(CharSequence...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
指定字符串数组中的元素,是否全部为空字符串。
isAllBlank(Iterable<? extends CharSequence>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
 
isAllBlank(CharSequence...) - Static method in class org.dromara.hutool.core.text.StrValidator
指定字符串数组中的元素,是否全部为空字符串。
isAllCharMatch(CharSequence, Predicate<Character>) - Static method in class org.dromara.hutool.core.text.StrValidator
字符串的每一个字符是否都与定义的匹配器匹配
isAllEmpty(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
是否所有元素都为null或空对象,通过ObjUtil.isEmpty(Object) 判断元素 如果提供的数组本身为空,则返回true
isAllEmpty(CharSequence...) - Static method in class org.dromara.hutool.core.text.StrValidator
指定字符串数组中的元素,是否全部为空字符串。
isAllEmpty(Iterable<? extends CharSequence>) - Static method in class org.dromara.hutool.core.text.StrValidator
指定字符串数组中的元素,是否全部为空字符串。
isAllEmptyVarargs(T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
是否所有元素都为null或空对象,通过ObjUtil.isEmpty(Object) 判断元素 如果提供的数组本身为空,则返回true 限制条件:args的每个item不能是数组、不能是集合
isAllNotBlank(CharSequence...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
是否存都不为null或空对象或空白符的对象,通过ArrayUtil.hasBlank(CharSequence...)
isAllNotBlank(CharSequence...) - Static method in class org.dromara.hutool.core.text.StrValidator
是否存都不为null或空对象或空白符的对象,通过StrValidator.hasBlank(CharSequence...)
isAllNotEmpty(Object...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
是否所有元素都不为null或空对象,通过ObjUtil.isEmpty(Object) 判断元素 如果提供的数组本身为空,则返回true
isAllNotEmpty(CharSequence...) - Static method in class org.dromara.hutool.core.text.StrValidator
指定字符串数组中的元素,是否都不为空字符串。
isAllNotNull(T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
是否所有元素都不为 null 如果提供的数组为null,则返回false,如果提供的数组为空,则返回true
isAllNull(T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
所有字段是否全为null 如果数组为null或者空,则返回 true
isAllNull(Iterable<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
是否全部元素为null
isAllNull(Iterator<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
是否全部元素为null
isAM(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
是否为上午
isAm() - Method in class org.dromara.hutool.core.date.DateBuilder
检查当前是否为上午。
isAM() - Method in class org.dromara.hutool.core.date.DateTime
是否为上午
isAM(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
是否为上午
isAnnotated(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element所处层级结构的所有AnnotatedElement上,是否存在该类型的注解或元注解
isAnnotationAttribute(Method) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
该方法是否是注解属性,需要满足下述条件: 不是Object.equals(Object); 不是Object.hashCode(); 不是Object.toString(); 不是桥接方法; 不是合成方法; 不是静态方法; 是公共方法; 方法必须没有参数; 方法必须有返回值(返回值类型不为Void);
isAnnotationPresent(AnnotatedElement, Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
element上,是否存在该类型的注解或元注解
isAnnotationPresent(Class<? extends Annotation>) - Method in class org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement
 
isAnnotationPresent(Class<? extends Annotation>) - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
注解是否在层级结构中所有AnnotatedElement上的注解和元注解中存在
isAnnotationPresent(Class<? extends Annotation>) - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
注解是否是AnnotatedElement直接声明的注解,或者在这些注解的层级结构中存在
isAnnotationPresent(Class<? extends Annotation>) - Method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
指定注解是否在RepeatableMetaAnnotatedElement.element上直接声明的注解、直接声明的注解包含的可重复注解, 以及他们的元注解中存在
isArray(Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
对象是否为数组对象
isAscii(char) - Static method in class org.dromara.hutool.core.text.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) - Static method in class org.dromara.hutool.core.text.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) - Static method in class org.dromara.hutool.core.text.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<?>) - Static method in class org.dromara.hutool.core.lang.Assert
断言 superType.isAssignableFrom(subType) 是否为 true.
isAssignable(Class<?>, Class<?>, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言 superType.isAssignableFrom(subType) 是否为 true.
isAssignable(Class<?>, Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
检查目标类是否可以从原类转化
转化包括:
1、原类是对象,目标类型是原类型实现的接口
2、目标类型是原类型的父类
3、两者是原始类型或者包装类型(相互转换)
isBase64Code(byte) - Method in class org.dromara.hutool.core.codec.binary.Base64Decoder
给定的字符是否为Base64字符
isBasicType(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
是否为基本类型(包括包装类和原始类)
isBasicType(Object) - Static method in class org.dromara.hutool.core.util.ObjUtil
是否为基本类型,包括包装类型和原始类型
isBefore(Date) - Method in class org.dromara.hutool.core.date.DateTime
是否在给定日期之前
isBeforeOrEquals(Date) - Method in class org.dromara.hutool.core.date.DateTime
是否在给定日期之前或与给定日期相等
isBeside(long, long) - Static method in class org.dromara.hutool.core.math.NumberUtil
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
isBeside(int, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
isBetween(Number, Number, Number) - Static method in class org.dromara.hutool.core.lang.Validator
检查给定的数字是否在指定范围内
isBirthday(int, int, int) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为生日
isBirthday(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为生日
只支持以下几种格式: yyyyMMdd yyyy-MM-dd yyyy/MM/dd yyyy.MM.dd yyyy年MM月dd日
isBlank(CharSequence) - Static method in class org.dromara.hutool.core.text.StrValidator
字符串是否为空白,空白的定义如下: null 空字符串:"" 空格、全角空格、制表符、换行符,等不可见字符 例: StrUtil.isBlank(null) // true StrUtil.isBlank("") // true StrUtil.isBlank(" \t\n") // true StrUtil.isBlank("abc") // false 注意:该方法与 StrValidator.isEmpty(CharSequence) 的区别是: 该方法会校验空白字符,且性能相对于 StrValidator.isEmpty(CharSequence) 略慢。
isBlankChar(char) - Static method in class org.dromara.hutool.core.text.CharUtil
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
isBlankChar(int) - Static method in class org.dromara.hutool.core.text.CharUtil
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
isBlankIfStr(Object) - Static method in class org.dromara.hutool.core.text.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) - Static method in class org.dromara.hutool.core.text.StrValidator
检查字符串是否为null、空白串、“null”、“undefined”
isBoolean(Type) - Static method in class org.dromara.hutool.core.util.BooleanUtil
给定类是否为Boolean或者boolean
isCalledBy(Class<?>) - Method in interface org.dromara.hutool.core.lang.caller.Caller
是否被指定类调用
isCalledBy(Class<?>) - Static method in class org.dromara.hutool.core.lang.caller.CallerUtil
是否被指定类调用
isCalledBy(Class<?>) - Method in class org.dromara.hutool.core.lang.caller.SecurityManagerCaller
 
isCalledBy(Class<?>) - Method in class org.dromara.hutool.core.lang.caller.StackTraceCaller
 
isCarDrivingLicence(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为驾驶证 别名:驾驶证档案编号、行驶证编号 仅限:中国驾驶证档案编号
isCarVin(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为车架号;别名:行驶证编号 车辆识别代号 车辆识别码
isCausedBy(Throwable, Class<? extends Exception>...) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
判断是否由指定异常类引起
isCglibProxy(Object) - Static method in class org.dromara.hutool.core.reflect.JdkProxyUtil
是否Cglib代理对象
isCglibProxyClass(Class<?>) - Static method in class org.dromara.hutool.core.reflect.JdkProxyUtil
是否Cglib代理对象
isChar(Object) - Static method in class org.dromara.hutool.core.text.CharUtil
给定对象对应的类是否为字符类,字符类包括: Character.class char.class
isCharClass(Class<?>) - Static method in class org.dromara.hutool.core.text.CharUtil
给定类名是否为字符类,字符类包括: Character.class char.class
isCharEquals(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
检查给定字符串的所有字符是否都一样
isChinese(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否都为汉字
isChineseName(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
是否是中文姓名 维吾尔族姓名里面的点是 · 输入法中文状态下,键盘左上角数字1前面的那个符号;
错误字符:..。..
isCitizenId(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为身份证号码(支持18位、15位和港澳台的10位)
isClose() - Method in enum org.dromara.hutool.core.lang.range.BoundType
是闭区间
isClosed() - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
是否已关闭
isCreditCode(CharSequence) - Static method in class org.dromara.hutool.core.data.CreditCodeUtil
是否是有效的统一社会信用代码 第一部分:登记管理部门代码1位 (数字或大写英文字母) 第二部分:机构类别代码1位 (数字或大写英文字母) 第三部分:登记管理机关行政区划码6位 (数字) 第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母) 第五部分:校验码1位 (数字或大写英文字母)
isCreditCode(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
是否是有效的统一社会信用代码 第一部分:登记管理部门代码1位 (数字或大写英文字母) 第二部分:机构类别代码1位 (数字或大写英文字母) 第三部分:登记管理机关行政区划码6位 (数字) 第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母) 第五部分:校验码1位 (数字或大写英文字母)
isCreditCodeSimple(CharSequence) - Static method in class org.dromara.hutool.core.data.CreditCodeUtil
正则校验统一社会信用代码(18位)
注意:此方法是简化版本,并未严格判断校验码是否符合规则,严格校验参考CreditCodeUtil.isCreditCode(CharSequence)
规则: 第一部分:登记管理部门代码1位 (数字或大写英文字母) 第二部分:机构类别代码1位 (数字或大写英文字母) 第三部分:登记管理机关行政区划码6位 (数字) 第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母) 第五部分:校验码1位 (数字或大写英文字母)
isCustomFormat(String) - Static method in class org.dromara.hutool.core.date.format.GlobalCustomFormat
检查指定格式是否为自定义格式
isDefault(Method) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
提供的方法是否为default方法
isDirectory(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
判断是否为目录,如果path为null,则返回false
isDirectory(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
判断是否为目录,如果file为null,则返回false
isDirectory(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
判断是否为目录,如果file为null,则返回false
此方法不会追踪到软链对应的真实地址,即软链被当作文件
isDirectory(Path, boolean) - Static method in class org.dromara.hutool.core.io.file.PathUtil
判断是否为目录,如果file为null,则返回false
isDirEmpty(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
目录是否为空
isDirEmpty(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
目录是否为空
isDisjoint(BoundedRange<T>) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
other是否与当前区间不相交
isDisjoint(BoundedRange<T>, BoundedRange<T>) - Static method in class org.dromara.hutool.core.lang.range.BoundedRangeOperation
boundedRange是否与other前区间不相交
isDislocated(BoundType) - Method in enum org.dromara.hutool.core.lang.range.BoundType
该边界类型是否与当前边界错位,即一个的左边界,一个是右边界
isDocumented(Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
是否会保存到 Javadoc 文档中
isDouble(String) - Static method in class org.dromara.hutool.core.math.NumberValidator
判断字符串是否是浮点数
isElement(Node) - Static method in class org.dromara.hutool.core.xml.XmlUtil
给定节点是否为Element 类型节点
isEmail(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为可用邮箱地址
邮箱地址限制长度为254个字符,参考:https://stackoverflow.com/questions/386294/what-is-the-maximum-length-of-a-valid-email-address/44317754
isEmoji(char) - Static method in class org.dromara.hutool.core.text.CharUtil
判断是否为emoji表情符
isEmpty(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
数组是否为空
isEmpty(Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
数组是否为空
此方法会匹配单一对象,如果此对象为null则返回true
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回false
如果此对象为数组对象,数组长度大于0的情况下返回false,否则返回true
isEmpty() - Method in class org.dromara.hutool.core.array.ArrayWrapper
数组是否为空
isEmpty(long[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为空
isEmpty(int[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为空
isEmpty(short[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为空
isEmpty(char[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为空
isEmpty(byte[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为空
isEmpty(double[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为空
isEmpty(float[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为空
isEmpty(boolean[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为空
isEmpty() - Method in interface org.dromara.hutool.core.bean.BeanDesc
是否为空
isEmpty(Object, String...) - Static method in class org.dromara.hutool.core.bean.BeanUtil
判断Bean是否为空对象,空对象表示本身为null或者所有属性都为null
此方法不判断static属性
isEmpty() - Method in interface org.dromara.hutool.core.cache.Cache
缓存是否为空
isEmpty() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
isEmpty() - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
isEmpty(Collection<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
集合是否为空
isEmpty(Iterable<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
Iterable是否为空
isEmpty(Iterator<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
Iterator是否为空
isEmpty(Enumeration<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
Enumeration是否为空
isEmpty(Map<?, ?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
Map是否为空
isEmpty(Iterable<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
Iterable是否为空
isEmpty(Iterator<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
Iterator是否为空
isEmpty() - Method in class org.dromara.hutool.core.collection.ListWrapper
 
isEmpty() - Method in class org.dromara.hutool.core.collection.partition.Partition
 
isEmpty() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
isEmpty() - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
isEmpty() - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
isEmpty() - Method in class org.dromara.hutool.core.collection.set.UniqueKeySet
 
isEmpty() - Method in class org.dromara.hutool.core.collection.TransCollection
 
isEmpty() - Method in class org.dromara.hutool.core.io.buffer.FastBuffer
是否为空
isEmpty(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
文件是否为空
目录:里面没有文件时为空 文件:文件大小为0时为空
isEmpty() - Method in class org.dromara.hutool.core.lang.Opt
判断包裹里元素的值是否不存在,不存在为 true,否则为false
isEmpty() - Method in class org.dromara.hutool.core.lang.range.BoundedRange
当前区间是否为空。
isEmpty() - Method in class org.dromara.hutool.core.lang.selector.WeightListRandomSelector
判断是否为空
isEmpty(Object) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为空
对于String类型判定是否为empty(null 或 "")
isEmpty() - Method in class org.dromara.hutool.core.map.BeanMap
 
isEmpty() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
isEmpty() - Method in class org.dromara.hutool.core.map.LinkedForestMap
当前实例是否为空
isEmpty() - Method in class org.dromara.hutool.core.map.MapProxy
 
isEmpty(Map<?, ?>) - Static method in class org.dromara.hutool.core.map.MapUtil
Map是否为空
isEmpty() - Method in class org.dromara.hutool.core.map.MapWrapper
 
isEmpty() - Method in class org.dromara.hutool.core.map.multi.RowKeyTable
 
isEmpty() - Method in interface org.dromara.hutool.core.map.multi.Table
表格是否为空
isEmpty() - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
isEmpty() - Method in class org.dromara.hutool.core.map.TableMap
 
isEmpty() - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
流是否为空
isEmpty(CharSequence) - Static method in class org.dromara.hutool.core.text.StrValidator
字符串是否为空,空的定义如下: null 空字符串:"" 例: StrUtil.isEmpty(null) // true StrUtil.isEmpty("") // true StrUtil.isEmpty(" \t\n") // false StrUtil.isEmpty("abc") // false 注意:该方法与 StrValidator.isBlank(CharSequence) 的区别是:该方法不校验空白字符。
isEmpty(Object) - Static method in class org.dromara.hutool.core.util.ObjUtil
判断指定对象是否为空,支持类型包括: null:默认返回true; 数组:等同于ArrayUtil.isEmpty(Object)CharSequence:等同于StrValidator.isEmpty(CharSequence)Collection:等同于CollUtil.isEmpty(Collection)Map:等同于MapUtil.isEmpty(Map)IteratorIterable:等同于IterUtil.isEmpty(Iterator)IterUtil.isEmpty(Iterable)
isEmptyIfStr(Object) - Static method in class org.dromara.hutool.core.text.StrUtil
如果对象是字符串是否为空串,空的定义如下:
null 空字符串:"" 例: StrUtil.isEmptyIfStr(null) // true StrUtil.isEmptyIfStr("") // true StrUtil.isEmptyIfStr(" \t\n") // false StrUtil.isEmptyIfStr("abc") // false 注意:该方法与 StrUtil.isBlankIfStr(Object) 的区别是:该方法不校验空白字符。
isEmptyOrUndefined(CharSequence) - Static method in class org.dromara.hutool.core.text.StrValidator
检查字符串是否为null、“”、“null”、“undefined”
isEmptyParam(Method) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
是否为无参数方法
isEnd - Variable in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
 
isEnum(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
判断类是否为枚举类型
isEnum(Type) - Static method in class org.dromara.hutool.core.util.EnumUtil
指定类是否为Enum类
isEnum(Object) - Static method in class org.dromara.hutool.core.util.EnumUtil
指定类是否为Enum类
isEqual(Object...) - Static method in interface org.dromara.hutool.core.func.SerPredicate
Returns a predicate that tests if two arguments are equal according to Objects.equals(Object, Object).
isEqualList(Collection<?>, Collection<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
判断两个Collection 是否元素和顺序相同,返回true的条件是: 两个Collection必须长度相同 两个Collection元素相同index的对象必须equals,满足Objects.equals(Object, Object) 此方法来自Apache-Commons-Collections4。
isEqualList(Iterable<?>, Iterable<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
判断两个Iterable中的元素与其顺序是否相同
当满足下列情况时返回true: 两个Iterable都为null; 两个Iterable满足iterable1 == iterable2; 两个Iterable所有具有相同下标的元素皆满足Objects.equals(Object, Object); 此方法来自Apache-Commons-Collections4。
isEqualsMethod(Method) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
是否为equals方法
isEven(int) - Static method in class org.dromara.hutool.core.math.NumberUtil
检查是否为偶数
isExistsAndNotDirectory(Path, boolean) - Static method in class org.dromara.hutool.core.io.file.PathUtil
判断是否存在且为非目录 如果path为null,返回false 如果path不存在,返回false
isExpired() - Method in class org.dromara.hutool.core.cache.impl.CacheObj
判断是否过期
isFail() - Method in class org.dromara.hutool.core.lang.Opt
是否失败
当调用 Opt.ofTry(SerSupplier)时,抛出异常则表示失败
isFalse(boolean, Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
断言是否为假,如果为 true 抛出指定类型异常
并使用指定的函数获取错误信息返回
  Assert.isFalse(i > 0, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
isFalse(boolean, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言是否为假,如果为 true 抛出 IllegalArgumentException 异常
 Assert.isFalse(i < 0, "The value must not be negative");
 
isFalse(boolean) - Static method in class org.dromara.hutool.core.lang.Assert
断言是否为假,如果为 true 抛出 IllegalArgumentException 异常
 Assert.isFalse(i < 0);
 
isFalse(boolean) - Static method in class org.dromara.hutool.core.lang.Validator
给定值是否不为false
isFalse(Boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
检查 Boolean 值是否为 false BooleanUtil.isFalse(Boolean.TRUE) = false BooleanUtil.isFalse(Boolean.FALSE) = true BooleanUtil.isFalse(null) = false
isFile(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
判断是否为文件,如果path为null,则返回false
isFile(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
判断是否为文件,如果file为null,则返回false
isFile(Path, boolean) - Static method in class org.dromara.hutool.core.io.file.PathUtil
判断是否为文件,如果file为null,则返回false
isFileOrVfsURL(URL) - Static method in class org.dromara.hutool.core.net.url.UrlProtocolUtil
提供的URL是否为文件
文件协议包括"file", "vfsfile" 或 "vfs".
isFileSeparator(char) - Static method in class org.dromara.hutool.core.text.CharUtil
是否为Windows或者Linux(Unix)文件分隔符
Windows平台下分隔符为\,Linux(Unix)为/
isFileURL(URL) - Static method in class org.dromara.hutool.core.net.url.UrlProtocolUtil
提供的URL是否为文件
文件协议包括"file".
isFirstDayOfMonth(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
是否为本月第一天
isFirstPage() - Method in class org.dromara.hutool.core.lang.page.PageInfo
是否首页
isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
判断指定异常是否来自或者包含指定异常
isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>, boolean) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
判断指定异常是否来自或者包含指定异常
isFull() - Method in interface org.dromara.hutool.core.cache.Cache
缓存是否已满,仅用于有空间限制的缓存对象
isFull() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
isFull() - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
isFull() - Method in interface org.dromara.hutool.core.collection.BoundedCollection
是否已满,如果集合已满,不允许新增元素
isFull() - Method in class org.dromara.hutool.core.collection.BoundedList
 
isFull() - Method in class org.dromara.hutool.core.collection.queue.BoundedPriorityQueue
 
isGeneral(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为英文字母 、数字和下划线
isGeneral(CharSequence, int, int) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为给定长度范围的英文字母 、数字和下划线
isGeneral(CharSequence, int) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为给定最小长度的英文字母 、数字和下划线
isGeneralWithChinese(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为中文字、英文字母、数字和下划线
isGetter(Method, boolean) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
检查给定方法是否为Getter方法,规则为:
方法参数必须为0个 方法名称不能是getClass "is"开头返回必须为boolean或Boolean 是否以“get”
isGetterOrSetter(Method, boolean) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
检查给定方法是否为Getter或者Setter方法,规则为:
方法参数必须为0个或1个 方法名称不能是getClass 如果是无参方法,则判断是否以“get”或“is”开头 如果方法参数1个,则判断是否以“set”开头
isGetterOrSetterIgnoreCase(Method) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
检查给定方法是否为Getter或者Setter方法,规则为:
方法参数必须为0个或1个 如果是无参方法,则判断是否以“get”或“is”开头 如果方法参数1个,则判断是否以“set”开头
isHashCodeMethod(Method) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
是否为hashCode方法
isHex(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为Hex(16进制)字符串
isHexChar(char) - Static method in class org.dromara.hutool.core.text.CharUtil
是否为16进制规范的字符,判断是否为如下字符 1. 0~9 2. a~f 4.
isHexNumber(String) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
判断给定字符串是否为16进制数
如果是,需要使用对应数字类型对象的decode方法解码
例如:Integer.decode方法解码int类型的16进制数字
isIn(T, T, T) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
给定的value是否在c1c2的范围内
min(c1,c2) <= value <= max(c1,c2)
isIn(Date, Date) - Method in class org.dromara.hutool.core.date.DateTime
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
isIn(Date, Date, Date) - Static method in class org.dromara.hutool.core.date.DateUtil
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
isIn(Date, Date, Date, boolean, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
通过includeBegin, includeEnd参数控制日期范围区间是否为开区间,例如:传入参数:includeBegin=true, includeEnd=false, 则本方法会判断 date ∈ (beginDate, endDate] 是否成立
isIn(TemporalAccessor, TemporalAccessor, TemporalAccessor) - Static method in class org.dromara.hutool.core.date.TemporalAccessorUtil
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
isIn(TemporalAccessor, TemporalAccessor, TemporalAccessor, boolean, boolean) - Static method in class org.dromara.hutool.core.date.TemporalAccessorUtil
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
通过includeBegin, includeEnd参数控制日期范围区间是否为开区间,例如:传入参数:includeBegin=true, includeEnd=false, 则本方法会判断 date ∈ (beginDate, endDate] 是否成立
isInAlphabet(String) - Static method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Tests a given String to see if it contains only valid characters within the alphabet.
isInAlphabet(byte[], boolean) - Static method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Tests a given byte array to see if it contains only valid characters within the alphabet.
isInAlphabet(byte) - Static method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Returns whether the octet is in the Base32 alphabet.
isInExclusive(T, T, T) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
给定的value是否在c1c2的范围内,但是不包括边界
min(c1,c2) < value < max(c1,c2)
isInherited(Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
是否可以被继承,默认为 false
isInited() - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
 
isInitialize() - Method in class org.dromara.hutool.core.lang.loader.LazyFunLoader
是否已经初始化
isInnerIP(String) - Static method in class org.dromara.hutool.core.net.Ipv4Util
判定是否为内网IPv4
私有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这个网段是环回地址
isInnerIP(long) - Static method in class org.dromara.hutool.core.net.Ipv4Util
是否为内网地址
isInnerIP(String) - Static method in class org.dromara.hutool.core.net.NetUtil
判定是否为内网IPv4
私有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) - Static method in class org.dromara.hutool.core.net.NetUtil
是否在CIDR规则配置范围内
方法来自:【成都】小邓
isInstanceOf(Class<?>, T) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定对象是否是给定类的实例
 Assert.instanceOf(Foo.class, foo);
 
isInstanceOf(Class<?>, T, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定对象是否是给定类的实例
 Assert.instanceOf(Foo.class, foo, "foo must be an instance of class Foo");
 
isInteger(String) - Static method in class org.dromara.hutool.core.math.NumberValidator
判断字符串是否是整数 支持格式: 10进制, 不能包含前导零 8进制(以0开头) 16进制(以0x或者0X开头)
isInterface(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
是否抽象类
isIntersected(BoundedRange<T>) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
other是否与当前区间相交:
isIntersected(BoundedRange<T>, BoundedRange<T>) - Static method in class org.dromara.hutool.core.lang.range.BoundedRangeOperation
boundedRange是否与other相交
isIpv4(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为IPV4地址
isIpv6(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为IPV6地址
isJarFileURL(URL) - Static method in class org.dromara.hutool.core.net.url.UrlProtocolUtil
提供的URL是否为Jar文件URL 判断依据为file协议且扩展名为.jar
isJarURL(URL) - Static method in class org.dromara.hutool.core.net.url.UrlProtocolUtil
提供的URL是否为jar包URL 协议包括: "jar", "zip", "vfszip" 或 "wsjar".
isJdkClass(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
是否为JDK中定义的类或接口,判断依据: 1、以java.
isJdkProxy(Object) - Static method in class org.dromara.hutool.core.reflect.JdkProxyUtil
是否为JDK代理对象
isJdkProxyClass(Class<?>) - Static method in class org.dromara.hutool.core.reflect.JdkProxyUtil
是否为JDK代理类
isKotlinClass(Class<?>) - Static method in class org.dromara.hutool.core.reflect.kotlin.KClassUtil
检查给定的类是否为Kotlin类
Kotlin类带有@kotlin.Metadata注解
isLastDayOfMonth(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
是否为本月最后一天
isLastDayOfMonth() - Method in class org.dromara.hutool.core.date.DateTime
是否为本月最后一天
isLastDayOfMonth(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
是否为本月最后一天
isLastPage() - Method in class org.dromara.hutool.core.lang.page.PageInfo
是否尾页
isLeapMonth() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
当前农历月份是否为闰月
isLeapMonth(int, int) - Static method in class org.dromara.hutool.core.date.chinese.ChineseMonth
当前农历月份是否为闰月
isLeapYear() - Method in class org.dromara.hutool.core.date.DateTime
是否闰年
isLeapYear(int) - Static method in class org.dromara.hutool.core.date.DateUtil
是否闰年
isLessThan1000() - Method in class org.dromara.hutool.core.data.VIN
是否是年产量小于1000的车辆制造厂
isLetter(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
判断字符串是否全部为字母组成,包括大写和小写字母和汉字
isLetter(char) - Static method in class org.dromara.hutool.core.text.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) - Static method in class org.dromara.hutool.core.text.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) - Static method in class org.dromara.hutool.core.text.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) - Static method in class org.dromara.hutool.core.text.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
isLocked() - Method in class org.dromara.hutool.core.comparator.ComparatorChain
是否已经被锁定。
isLong(String) - Static method in class org.dromara.hutool.core.math.NumberValidator
判断字符串是否是Long类型
支持格式: 10进制, 不能包含前导零 8进制(以0开头) 16进制(以0x或者0X开头)
isLowerBound() - Method in enum org.dromara.hutool.core.lang.range.BoundType
是下界
isLowerCase(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
判断字符串是否全部为小写字母
isLowerCase(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串中的字母是否全部为小写,判断依据如下: 1.
isLowerCase(CharSequence) - Static method in class org.dromara.hutool.core.text.NamingCase
给定字符串中的字母是否全部为小写,判断依据如下: 1.
isMac(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为MAC地址
isMaskBitValid(int) - Static method in class org.dromara.hutool.core.net.Ipv4Util
判断掩码位是否合法
isMaskValid(String) - Static method in class org.dromara.hutool.core.net.Ipv4Util
判断掩码是否合法
isMatch(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
给定内容是否匹配正则
isMatch(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
给定内容是否匹配正则
isMatch(String) - Method in class org.dromara.hutool.core.text.dfa.WordTree
指定文本是否包含树中的词
isMatches(String) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
校验 传入的字符串 是否和模板匹配
isMatchMethod(Method, Method) - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
检验方法的签名是否与原始方法匹配
isMatchName(Object, String, boolean) - Static method in class org.dromara.hutool.core.bean.BeanUtil
给定的Bean的类名是否匹配指定类名字符串
如果isSimple为true,则只匹配类名而忽略包名,例如:org.dromara.hutool.TestEntity只匹配TestEntity
如果isSimple为false,则匹配包括包名的全类名,例如:org.dromara.hutool.TestEntity匹配org.dromara.hutool.TestEntity
isMatchRegex(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
通过正则表达式验证
isMatchRegex(String, CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
通过正则表达式验证
isMobile(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
验证是否为手机号码(中国)
isMobile(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为手机号码(中国)
isMobileHk(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
验证是否为手机号码(中国香港)
isMobileMo(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
验证是否为手机号码(中国澳门)
isMobileTw(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
验证是否为手机号码(中国台湾)
isModified(File, long) - Static method in class org.dromara.hutool.core.io.file.FileUtil
判断文件是否被改动
如果文件对象为 null 或者文件不存在,被视为改动
isModified() - Method in class org.dromara.hutool.core.io.resource.FileResource
 
isModified() - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
isModified() - Method in interface org.dromara.hutool.core.io.resource.Resource
检查资源是否变更
一般用于文件类资源,检查文件是否被修改过。
isModified() - Method in class org.dromara.hutool.core.io.resource.UrlResource
 
isModified() - Method in class org.dromara.hutool.core.io.resource.VfsResource
 
isMoney(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为货币
isMutable() - Method in class org.dromara.hutool.core.date.DateTime
对象是否可变
如果为不可变对象,以下方法将返回新方法: DateTime.offset(DateField, int) DateTime.setField(DateField, int) DateTime.setField(int, int) 如果为不可变对象,DateTime.setTime(long)将抛出异常
isNeedMapping(Map<Class<? extends Annotation>, T>, Annotation) - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
该注解是否需要映射
默认情况下,已经处理过、或在java.lang包下的注解不会被处理
isNegative() - Method in class org.dromara.hutool.core.io.unit.DataSize
是否为负数,不包括0
isNormalClass(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
是否为标准的类
这个类必须: 1、非接口 2、非抽象类 3、非Enum枚举 4、非数组 5、非注解 6、非原始类型(int, long等)
isNotBlank(CharSequence) - Static method in class org.dromara.hutool.core.text.StrValidator
字符串是否为非空白,非空白的定义如下: 不为 null 不为空字符串:"" 不为空格、全角空格、制表符、换行符,等不可见字符 例: StrUtil.isNotBlank(null) // false StrUtil.isNotBlank("") // false StrUtil.isNotBlank(" \t\n") // false StrUtil.isNotBlank("abc") // true 注意:该方法与 StrValidator.isNotEmpty(CharSequence) 的区别是: 该方法会校验空白字符,且性能相对于 StrValidator.isNotEmpty(CharSequence) 略慢。
isNotEmpty(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
数组是否为非空
isNotEmpty(Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
数组是否为非空
此方法会匹配单一对象,如果此对象为null则返回false
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回true
如果此对象为数组对象,数组长度大于0的情况下返回true,否则返回false
isNotEmpty(long[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(int[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(short[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(char[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(byte[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(double[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(float[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(boolean[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
数组是否为非空
isNotEmpty(Object, String...) - Static method in class org.dromara.hutool.core.bean.BeanUtil
判断Bean是否为非空对象,非空对象表示本身不为null或者含有非null属性的对象
isNotEmpty(Collection<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
集合是否为非空
isNotEmpty(Iterable<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
Iterable是否为空
isNotEmpty(Iterator<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
Iterator是否为空
isNotEmpty(Enumeration<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
Enumeration是否为空
isNotEmpty(Map<?, ?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
Map是否为非空
isNotEmpty(Iterable<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
Iterable是否为空
isNotEmpty(Iterator<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
Iterator是否为空
isNotEmpty(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
文件是不为空
目录:里面有文件或目录 文件:文件大小大于0时
isNotEmpty(Object) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为非空
对于String类型判定是否为empty(null 或 "")
isNotEmpty(Map<?, ?>) - Static method in class org.dromara.hutool.core.map.MapUtil
Map是否为非空
isNotEmpty() - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
流是否不为空
isNotEmpty(CharSequence) - Static method in class org.dromara.hutool.core.text.StrValidator
字符串是否为非空白,非空白的定义如下: 不为 null 不为空字符串:"" 例: StrUtil.isNotEmpty(null) // false StrUtil.isNotEmpty("") // false StrUtil.isNotEmpty(" \t\n") // true StrUtil.isNotEmpty("abc") // true 注意:该方法与 StrValidator.isNotBlank(CharSequence) 的区别是:该方法不校验空白字符。
isNotEmpty(Object) - Static method in class org.dromara.hutool.core.util.ObjUtil
判断指定对象是否为非空
isNotNull(Object) - Static method in class org.dromara.hutool.core.lang.Validator
给定值是否不为null
isNotNull(Object) - Static method in class org.dromara.hutool.core.util.ObjUtil
检查对象是否不为null
isNotStopChar(char) - Static method in class org.dromara.hutool.core.text.dfa.StopChar
是否为合法字符(待处理字符)
isNull(Object, Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
断言对象是否为null ,如果不为null 抛出指定类型异常 并使用指定的函数获取错误信息返回
 Assert.isNull(value, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
isNull(Object, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言对象是否为null ,如果不为null 抛出IllegalArgumentException 异常
 Assert.isNull(value, "The value must be null");
 
isNull(Object) - Static method in class org.dromara.hutool.core.lang.Assert
断言对象是否为null ,如果不为null 抛出IllegalArgumentException 异常
 Assert.isNull(value);
 
isNull(Object) - Static method in class org.dromara.hutool.core.lang.Validator
给定值是否为null
isNull(Object) - Static method in class org.dromara.hutool.core.util.ObjUtil
检查对象是否为null
isNullOrUndefined(CharSequence) - Static method in class org.dromara.hutool.core.text.StrValidator
检查字符串是否为null、“null”、“undefined”
isNumber() - Method in class org.dromara.hutool.core.bean.path.node.NameNode
是否为数字节点
isNumber(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证该字符串是否是数字
isNumber(CharSequence) - Static method in class org.dromara.hutool.core.math.NumberValidator
是否为数字,支持包括: 1、10进制 2、16进制数字(0x开头) 3、科学计数法形式(1234E3) 4、类型标识形式(123D) 5、正负数标识形式(+123、-234) 6、八进制数字(0开头)
isNumber(char) - Static method in class org.dromara.hutool.core.text.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
isNumeric(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
检查字符串是否都为数字组成
ISO8601_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601日期时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss
ISO8601_MS_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss.SSS
ISO8601_MS_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ss.SSS
ISO8601_MS_WITH_XXX_OFFSET_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
UTC时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss.SSSXXX
ISO8601_MS_WITH_XXX_OFFSET_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601时间:yyyy-MM-dd'T'HH:mm:ss.SSSXXX
ISO8601_MS_WITH_ZONE_OFFSET_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss.SSSZ
ISO8601_MS_WITH_ZONE_OFFSET_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601时间:yyyy-MM-dd'T'HH:mm:ss.SSSZ
ISO8601_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601日期时间:yyyy-MM-dd'T'HH:mm:ss
按照ISO8601规范,默认使用T分隔日期和时间,末尾不加Z表示当地时区
ISO8601_WITH_XXX_OFFSET_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ssXXX
ISO8601_WITH_XXX_OFFSET_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601时间:yyyy-MM-dd'T'HH:mm:ssXXX
ISO8601_WITH_ZONE_OFFSET_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ssZ,Z表示一个时间偏移,如+0800
ISO8601_WITH_ZONE_OFFSET_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601时间:yyyy-MM-dd'T'HH:mm:ssZ,Z表示一个时间偏移,如+0800
ISO8859_1_ESCAPE - Static variable in class org.dromara.hutool.core.text.escape.Html4Escape
ISO8859_1 转义字符
ISO8859_1_UNESCAPE - Static variable in class org.dromara.hutool.core.text.escape.Html4Unescape
ISO8859_1的UNESCAPE
ISO_8859_1 - Static variable in class org.dromara.hutool.core.util.CharsetUtil
ISO-8859-1
isOdd(int) - Static method in class org.dromara.hutool.core.math.NumberUtil
检查是否为奇数
isOpen() - Method in enum org.dromara.hutool.core.lang.range.BoundType
是开区间
isOpen(InetSocketAddress, int) - Static method in class org.dromara.hutool.core.net.NetUtil
检查远程端口是否开启
isOther(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
判断是否为其它类型文件,即非文件、非目录、非链接。
isOuterClassField(Field) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
是否为父类引用字段
当字段所在类是对象子类时(对象中定义的非static的class),会自动生成一个以"this$0"为名称的字段,指向父类对象
isOverlap(Date, Date, Date, Date) - Static method in class org.dromara.hutool.core.date.DateUtil
检查两个时间段是否有时间重叠
重叠指两个时间段是否有交集,注意此方法时间段重合时如: 此方法未纠正开始时间小于结束时间 当realStartTime和realEndTime或startTime和endTime相等时,退化为判断区间是否包含点 当realStartTime和realEndTime和startTime和endTime相等时,退化为判断点与点是否相等 See 准确的区间关系参考:艾伦区间代数
isOverlap(ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, ChronoLocalDateTime<?>, ChronoLocalDateTime<?>) - Static method in class org.dromara.hutool.core.date.TimeUtil
检查两个时间段是否有时间重叠
重叠指两个时间段是否有交集,注意此方法时间段重合时如: 此方法未纠正开始时间小于结束时间 当realStartTime和realEndTime或startTime和endTime相等时,退化为判断区间是否包含点 当realStartTime和realEndTime和startTime和endTime相等时,退化为判断点与点是否相等 See 准确的区间关系参考:艾伦区间代数
isParallel() - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回流的并行状态
isPattern(String) - Method in class org.dromara.hutool.core.text.AntPathMatcher
判断给定路径是否是表达式
isPhone(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
验证是否为座机号码+手机号码(CharUtil中国大陆)+ 400 + 800电话 + 手机号号码(中国香港)
isPlateNumber(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为中国车牌号
isPM(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
是否为下午
isPm() - Method in class org.dromara.hutool.core.date.DateBuilder
检查当前是否为下午。
isPM() - Method in class org.dromara.hutool.core.date.DateTime
是否为下午
isPM(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
是否为下午
isPowerOfTwo(long) - Static method in class org.dromara.hutool.core.math.NumberUtil
判断一个整数是否是2的幂
isPresent(String) - Static method in class org.dromara.hutool.core.classloader.ClassLoaderUtil
指定类是否被提供,使用默认ClassLoader
通过调用ClassLoaderUtil.loadClass(String, boolean, ClassLoader)方法尝试加载指定类名的类,如果加载失败返回false
加载失败的原因可能是此类不存在或其关联引用类不存在
isPresent(String, ClassLoader) - Static method in class org.dromara.hutool.core.classloader.ClassLoaderUtil
指定类是否被提供
通过调用ClassLoaderUtil.loadClass(String, boolean, ClassLoader)方法尝试加载指定类名的类,如果加载失败返回false
加载失败的原因可能是此类不存在或其关联引用类不存在
isPresent() - Method in class org.dromara.hutool.core.lang.Opt
判断包裹里元素的值是否存在,存在为 true,否则为false
isPrime(int) - Static method in class org.dromara.hutool.core.math.NumberValidator
是否是质数(素数)
质数表的质数又称素数。
isPrimitive() - Method in class org.dromara.hutool.core.array.ArrayWrapper
是否原始类型数组
isPrimitiveWrapper(Class<?>) - Static method in enum org.dromara.hutool.core.convert.BasicType
是否为包装类型
isPrimitiveWrapper(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
是否为包装类型
isPrivate(Member) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
是否是private成员,可检测包括构造、字段和方法
isPrivate(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
是否是private类
isProperSubset(BoundedRange<T>) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
当前区间是否是other的真子集
isProperSuperset(BoundedRange<T>) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
other是否是当前区间的子集
isProxied(Annotation) - Static method in class org.dromara.hutool.core.annotation.AnnotationMappingProxy
当前注解是否由当前代理类生成
isProxy(Object) - Static method in class org.dromara.hutool.core.reflect.JdkProxyUtil
是否为代理对象,判断JDK代理或Cglib代理
isProxyClass(Class<?>) - Static method in class org.dromara.hutool.core.reflect.JdkProxyUtil
是否为代理类,判断JDK代理或Cglib代理
isPruneExpiredActive() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
只有设置公共缓存失效时长或每个对象单独的失效时长时清理可用
isPublic() - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配共有方法的方法匹配器。
isPublic(Member) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
是否是public成员,可检测包括构造、字段和方法
isPublic(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
是否是public类
isPublicIP(String) - Static method in class org.dromara.hutool.core.net.Ipv4Util
是否为公网地址 公网IP: A类 1.0.0.0-9.255.255.255,11.0.0.0-126.255.255.255 B类 128.0.0.0-172.15.255.255,172.32.0.0-191.255.255.255 C类 192.0.0.0-192.167.255.255,192.169.0.0-223.255.255.255
isPublicIP(long) - Static method in class org.dromara.hutool.core.net.Ipv4Util
是否为公网地址
isPublicStatic() - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配公共静态方法的方法匹配器。
isReadable(boolean) - Method in interface org.dromara.hutool.core.bean.BeanDesc
是否有可读字段,即有getter方法或public字段
isReadable(boolean) - Method in class org.dromara.hutool.core.bean.PropDesc
检查属性是否可读(即是否可以通过PropDesc.getValue(Object, boolean)获取到值)
isReadableBean(Class<?>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
判断是否为可读的Bean对象,判定方法是: 1、是否存在只有无参数的getXXX方法或者isXXX方法 2、是否存在public类型的字段
isRecord(Class<?>) - Static method in class org.dromara.hutool.core.bean.RecordUtil
判断给定类是否为Record类
isRepeatableMethod(Method) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.Full
判断方法是否为容器注解的value方法
isRepeatableMethod(Method) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.Standard
判断方法是否为容器注解的value方法
isResolved() - Method in interface org.dromara.hutool.core.annotation.AnnotationMapping
当前注解是否存在被解析的属性,当该值为false时, 通过getResolvedAttributeValue获得的值皆为注解的原始属性值, 通过AnnotationMapping.getResolvedAnnotation()获得注解对象为原始的注解对象。
isResolved() - Method in class org.dromara.hutool.core.annotation.GenericAnnotationMapping
总是返回false
isResolved() - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
当前注解是否存在被解析的属性,当该值为false时, 通过getResolvedAttributeValue获得的值皆为注解的原始属性值, 通过ResolvedAnnotationMapping.getResolvedAnnotation()获得注解对象为原始的注解对象。
isRoot() - Method in interface org.dromara.hutool.core.annotation.AnnotationMapping
当前注解是否为根注解
isRoot() - Method in class org.dromara.hutool.core.annotation.GenericAnnotationMapping
当前注解是否为根注解
isRoot() - Method in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
当前注解是否为根注解
isRoot() - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
当前节点是否为根节点
isRunning() - Method in class org.dromara.hutool.core.date.StopWatch
检查是否有正在运行的任务
isSafe(char) - Method in class org.dromara.hutool.core.codec.PercentCodec
检查给定字符是否为安全字符
isSameDay(Calendar, Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
比较两个日期是否为同一天
isSameDay(Date, Date) - Static method in class org.dromara.hutool.core.date.DateUtil
比较两个日期是否为同一天
isSameDay(ChronoLocalDateTime<?>, ChronoLocalDateTime<?>) - Static method in class org.dromara.hutool.core.date.TimeUtil
比较两个日期是否为同一天
isSameDay(ChronoLocalDate, ChronoLocalDate) - Static method in class org.dromara.hutool.core.date.TimeUtil
比较两个日期是否为同一天
isSameFile(Path, Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
检查两个文件是否是同一个文件
所谓文件相同,是指Path对象是否指向同一个文件或文件夹
isSameInstant(Calendar, Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
检查两个Calendar时间戳是否相同。
isSameMonth(Calendar, Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
比较两个日期是否为同一月
同一个月的意思是:ERA(公元)、year(年)、month(月)都一致。
isSameMonth(Date, Date) - Static method in class org.dromara.hutool.core.date.DateUtil
比较两个日期是否为同一月
isSameTime(Date, Date) - Static method in class org.dromara.hutool.core.date.DateUtil
是否为相同时间
此方法比较两个日期的时间戳是否相同
isSameWeek(Calendar, Calendar, boolean) - Static method in class org.dromara.hutool.core.date.CalendarUtil
比较两个日期是否为同一周
同一个周的意思是:ERA(公元)、year(年)、month(月)、week(周)都一致。
isSameWeek(Date, Date, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
比较两个日期是否为同一周
isSameYear(Calendar, Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
比较两个日期是否为同一年
同一个年的意思是:ERA(公元)、year(年)都一致。
isSerializable(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
给定类是否实现了序列化接口Serializable
isSetter(Method, boolean) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
检查给定方法是否为Setter方法,规则为:
方法参数必须为1个 判断是否以“set”开头
isShutdown() - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
isSimpleTypeOrArray(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
是否为 简单值类型 或 简单值类型的数组
isSimpleValueType(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
是否为简单值类型
包括: 原始类型 枚举 String、other CharSequence Number Date URI URL Locale Class jdk8时间相关类型
isSorted(T[], Comparator<? super T>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
检查数组是否有序,升序或者降序,使用指定比较器比较 若传入空数组或空比较器,则返回false;元素全部相等,返回 true
isSorted(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
检查数组是否有序,升序或者降序 若传入空数组,则返回false;元素全部相等,返回 true
isSorted(Comparator<E>) - Method in class org.dromara.hutool.core.array.ArrayWrapper
检查数组是否有序,升序或者降序 若传入空数组,则返回false;元素全部相等,返回 true
isSorted(Comparator<E>, boolean) - Method in class org.dromara.hutool.core.array.ArrayWrapper
数组是否有有序 反序,前一个小于后一个则返回错 正序,前一个大于后一个则返回错
isSortedASC(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
检查数组是否升序,即 array[i].compareTo(array[i + 1]) <= 0 若传入空数组,则返回false
isSortedASC(T[], Comparator<? super T>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
检查数组是否升序,使用指定的比较器比较,即 comparator.compare(array[i], array[i + 1]) <= 0 若传入空数组或空比较器,则返回false
isSortedASC(byte[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1]
若传入空数组,则返回false
isSortedASC(short[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1]
若传入空数组,则返回false
isSortedASC(char[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1]
若传入空数组,则返回false
isSortedASC(int[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1]
若传入空数组,则返回false
isSortedASC(long[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1]
若传入空数组,则返回false
isSortedASC(double[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1]
若传入空数组,则返回false
isSortedASC(float[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否升序,即array[i] <= array[i+1]
若传入空数组,则返回false
isSortedDESC(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
检查数组是否降序,即 array[i].compareTo(array[i + 1]) >= 0 若传入空数组,则返回false
isSortedDESC(T[], Comparator<? super T>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
检查数组是否降序,使用指定的比较器比较,即 comparator.compare(array[i], array[i + 1]) >= 0 若传入空数组或空比较器,则返回false
isSortedDESC(byte[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1]
若传入空数组,则返回false
isSortedDESC(short[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1]
若传入空数组,则返回false
isSortedDESC(char[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1]
若传入空数组,则返回false
isSortedDESC(int[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1]
若传入空数组,则返回false
isSortedDESC(long[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1]
若传入空数组,则返回false
isSortedDESC(double[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1]
若传入空数组,则返回false
isSortedDESC(float[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
检查数组是否降序,即array[i] >= array[i+1]
若传入空数组,则返回false
isStatic() - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于匹配静态方法的方法匹配器。
isStatic(Member) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
是否是static成员,包括构造、字段或方法
isStatic(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
是否是static类
isStopChar(char) - Static method in class org.dromara.hutool.core.text.dfa.StopChar
判断指定的词是否是不处理的词。
isSub(T[], T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
是否是数组的子数组
isSub(Collection<?>, Collection<?>) - Static method in class org.dromara.hutool.core.collection.CollUtil
判断subCollection是否为collection的子集合,不考虑顺序,只考虑元素数量。
isSub(Iterable<?>, Iterable<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
判断subIter是否为iter的子集合,不考虑顺序,只考虑元素数量。
isSub(File, File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
判断给定的目录是否为给定文件或文件夹的子目录
isSub(Path, Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
判断给定的目录是否为给定文件或文件夹的子目录
isSubEquals(byte[], int, byte...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
是否局部匹配,相当于对比以下子串是否相等 array1[offset1, subArray.length] || subArray
isSubEquals(CharSequence, int, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取第一个字串的部分字符,与第二个字符串比较(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
isSubEquals(CharSequence, int, CharSequence, int, int, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取两个字符串的不同部分(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
isSubset(BoundedRange<T>) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
当前区间是否是other的子集
isSuperset(BoundedRange<T>) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
other是否是当前区间的子集
isSymlink(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
判断是否为符号链接文件
isSymlink(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
判断是否为符号链接文件
isSynthetic() - Method in class org.dromara.hutool.core.reflect.ClassMember
 
isSynthetic(Member) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
是否是合成成员(由java编译器生成的)
isSynthetic(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
是否是合成类(由java编译器生成的)
isTel(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
验证是否为座机号码(中国大陆)
isTel400800(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
验证是否为座机号码(中国大陆)+ 400 + 800
isTerminated() - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
isTopLevelClass(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
是否为顶层类,即定义在包中的类,而非定义在类中的内部类
isToStringMethod(Method) - Static method in class org.dromara.hutool.core.reflect.method.MethodUtil
是否为toString方法
isTrue(boolean, Supplier<? extends X>) - Static method in class org.dromara.hutool.core.lang.Assert
断言是否为真,如果为 false 抛出给定的异常
 Assert.isTrue(i > 0, IllegalArgumentException::new);
 
isTrue(boolean, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言是否为真,如果为 false 抛出 IllegalArgumentException 异常
 Assert.isTrue(i > 0, "The value must be greater than zero");
 
isTrue(boolean) - Static method in class org.dromara.hutool.core.lang.Assert
断言是否为真,如果为 false 抛出 IllegalArgumentException 异常
 Assert.isTrue(i > 0);
 
isTrue(boolean) - Static method in class org.dromara.hutool.core.lang.Validator
给定值是否为true
isTrue(Boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
检查 Boolean 值是否为 true BooleanUtil.isTrue(Boolean.TRUE) = true BooleanUtil.isTrue(Boolean.FALSE) = false BooleanUtil.isTrue(null) = false
isType(String, String...) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
根据文件名检查文件类型,忽略大小写
isTypeBase64(CharSequence) - Static method in class org.dromara.hutool.core.codec.binary.Base64
检查是否为Base64
isTypeBase64(byte[]) - Static method in class org.dromara.hutool.core.codec.binary.Base64
检查是否为Base64格式
isUnknown(String) - Static method in class org.dromara.hutool.core.net.NetUtil
检测给定字符串是否为未知,多用于检测HTTP请求相关
isUnknown(Type) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
是否未知类型
type为null或者TypeVariable 都视为未知类型
isUpperBound() - Method in enum org.dromara.hutool.core.lang.range.BoundType
是上界
isUpperCase(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
判断字符串是否全部为大写字母
isUpperCase(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串中的字母是否全部为大写,判断依据如下: 1.
isUpperCase(CharSequence) - Static method in class org.dromara.hutool.core.text.NamingCase
给定字符串中的字母是否全部为大写,判断依据如下: 1.
isUrl(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为URL
isUsableLocalPort(int) - Static method in class org.dromara.hutool.core.net.NetUtil
检测本地端口可用性
来自org.springframework.util.SocketUtils
isUUID(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
isValid(String) - Static method in class org.dromara.hutool.core.data.id.ObjectId
给定的字符串是否为有效的ObjectId
isValid(double) - Static method in class org.dromara.hutool.core.math.NumberUtil
检查是否为有效的数字
检查double否为无限大,或者Not a Number(NaN)
isValid(float) - Static method in class org.dromara.hutool.core.math.NumberUtil
检查是否为有效的数字
检查double否为无限大,或者Not a Number(NaN)
isValidCard(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
是否有效身份证号,忽略X的大小写
如果身份证号码中含有空格始终返回false
isValidCard10(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
是否有效的10位身份证号码,一般用于判断和验证台湾、澳门、香港身份证
isValidCard18(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
判断18位身份证的合法性 根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。
isValidCard18(String, boolean) - Static method in class org.dromara.hutool.core.data.IdcardUtil
判断18位身份证的合法性 根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。
isValidHkMoHomeReturn(String) - Static method in class org.dromara.hutool.core.data.IdcardUtil
港澳居民来往内地通行证,俗称:回乡证,通行证号码组成规则:
通行证证件号码共11位。
isValidIfNumber(Object) - Static method in class org.dromara.hutool.core.util.ObjUtil
是否为有效的数字,主要用于检查浮点数是否为有意义的数值
若对象不为Number类型,则直接返回true,否则: 若对象类型为Double,则检查Double.isInfinite()Double.isNaN(); 若对象类型为Float,则检查Float.isInfinite()Float.isNaN()
isValidLine(String) - Method in class org.dromara.hutool.core.collection.iter.LineIter
重写此方法来判断是否每一行都被返回,默认全部为true
isValidNumber(Number) - Static method in class org.dromara.hutool.core.math.NumberUtil
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和null将返回false
isValidPage() - Method in class org.dromara.hutool.core.lang.page.PageInfo
当前页是否可用(是否大于firstPageNum且小于总页数)
isValidPort(int) - Static method in class org.dromara.hutool.core.net.NetUtil
是否为有效的端口
此方法并不检查端口是否被占用
isVerified() - Method in class org.dromara.hutool.core.data.CIN10
是否验证通过
isVfsURL(URL) - Static method in class org.dromara.hutool.core.net.url.UrlProtocolUtil
提供的URL是否为文件
文件协议包括"vfsfile" 或 "vfs".
isWeekend() - Method in class org.dromara.hutool.core.date.DateTime
是否为周末,周末指周六或者周日
isWeekend(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
是否为周末(周六或周日)
isWeekend(LocalDateTime) - Static method in class org.dromara.hutool.core.date.TimeUtil
是否为周末(周六或周日)
isWeekend(LocalDate) - Static method in class org.dromara.hutool.core.date.TimeUtil
是否为周末(周六或周日)
isWhiteSpace(byte) - Static method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Checks if a byte value is whitespace or not.
isWindows() - Static method in class org.dromara.hutool.core.io.file.FileUtil
是否为Windows环境
isWord(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证该字符串是否是字母(包括大写和小写字母)
isWrap(CharSequence, CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定字符串是否被包装
isWrap(CharSequence, String) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定字符串是否被同一字符包装(前后都有这些字符串)
isWrap(CharSequence, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定字符串是否被同一字符包装(前后都有这些字符串)
isWrap(CharSequence, char, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定字符串是否被包装
isWritable(boolean) - Method in interface org.dromara.hutool.core.bean.BeanDesc
是否有可写字段,即有setter方法或public字段
isWritable(boolean) - Method in class org.dromara.hutool.core.bean.PropDesc
检查属性是否可读(即是否可以通过PropDesc.getValue(Object, boolean)获取到值)
isWritableBean(Class<?>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
判断是否为可写Bean对象,判定方法是: 1、是否存在只有一个参数的setXXX方法 2、是否存在public类型的字段
isZero(Number) - Static method in class org.dromara.hutool.core.math.NumberUtil
判断给定数字是否为0 如果是ByteShortIntegerLong,直接转为long和0L比较 如果是BigInteger,使用BigInteger.equals(Object) 如果是Float,转为float与0f比较 如果是Double,转为double与0d比较 其它情况转为BigDecimalBigDecimal.ZERO比较大小(使用compare)
isZipCode(CharSequence) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为邮政编码(中国)
isZoneOffsetSetted() - Method in class org.dromara.hutool.core.date.DateBuilder
检查时区偏移量是否已设置。
items() - Method in interface org.dromara.hutool.core.lang.EnumItem
获取所有枚举对象
iterable() - Static method in class org.dromara.hutool.core.map.concurrent.Weighers
A weigher where the value is a Iterable and its selector is the number of elements.
IterableIter<T> - Interface in org.dromara.hutool.core.collection.iter
提供合成接口,共同提供IterableIterator功能
iterate(T, UnaryOperator<T>) - Static method in class org.dromara.hutool.core.stream.EasyStream
返回无限有序流 该流由 初始值 以及执行 迭代函数 进行迭代获取到元素 例如 FastStream.iterate(0, i -> i + 1) 就可以创建从0开始,每次+1的无限流,使用WrappedStream.limit(long)可以限制元素个数
iterate(T, Predicate<? super T>, UnaryOperator<T>) - Static method in class org.dromara.hutool.core.stream.EasyStream
返回无限有序流 该流由 初始值 然后判断条件 以及执行 迭代函数 进行迭代获取到元素 例如 FastStream.iterate(0, i -> i < 3, i -> ++i) 就可以创建包含元素0,1,2的流,使用WrappedStream.limit(long)可以限制元素个数
iterate(T, Predicate<? super T>, UnaryOperator<T>) - Static method in class org.dromara.hutool.core.stream.StreamUtil
返回无限有序流 该流由 初始值 然后判断条件 以及执行 迭代函数 进行迭代获取到元素
iterateHierarchies(T, Function<T, Collection<T>>, Predicate<T>) - Static method in class org.dromara.hutool.core.stream.EasyStream
指定一个层级结构的根节点(通常是树或图), 然后获取包含根节点在内,根节点所有层级结构中的节点组成的流。
iterateHierarchies(T, Function<T, Collection<T>>) - Static method in class org.dromara.hutool.core.stream.EasyStream
指定一个层级结构的根节点(通常是树或图), 然后获取包含根节点在内,根节点所有层级结构中的节点组成的流。
iterateHierarchies(T, Function<T, Collection<T>>, Predicate<T>) - Static method in class org.dromara.hutool.core.stream.StreamUtil
指定一个层级结构的根节点(通常是树或图), 然后获取包含根节点在内,根节点所有层级结构中的节点组成的流。
iterateHierarchies(T, Function<T, Collection<T>>) - Static method in class org.dromara.hutool.core.stream.StreamUtil
指定一个层级结构的根节点(通常是树或图), 然后获取包含根节点在内,根节点所有层级结构中的节点组成的流。
IterateSpliterator<T> - Class in org.dromara.hutool.core.stream.spliterators
无限有序流 的Spliterator
IterateSpliterator(T, Predicate<? super T>, UnaryOperator<T>) - Constructor for class org.dromara.hutool.core.stream.spliterators.IterateSpliterator
构造
iterator() - Method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
获取注解元素映射集合的迭代器
iterator() - Method in class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
获取注解映射对象集合的迭代器
iterator() - Method in class org.dromara.hutool.core.annotation.elements.RepeatableMetaAnnotatedElement
获取迭代器
iterator() - Method in class org.dromara.hutool.core.array.ArrayWrapper
 
iterator() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
iterator() - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
iterator() - Method in class org.dromara.hutool.core.cache.SimpleCache
 
iterator() - Method in interface org.dromara.hutool.core.collection.iter.IterableIter
 
iterator() - Method in class org.dromara.hutool.core.collection.iter.IterChain
 
iterator - Variable in class org.dromara.hutool.core.collection.iter.PartitionIter
被分批的迭代器
iterator() - Method in class org.dromara.hutool.core.collection.ListWrapper
 
iterator() - Method in class org.dromara.hutool.core.collection.queue.BoundedPriorityQueue
 
iterator() - Method in class org.dromara.hutool.core.collection.queue.DiscardingQueue
 
iterator() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
iterator() - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
iterator() - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
iterator() - Method in class org.dromara.hutool.core.collection.set.UniqueKeySet
 
iterator() - Method in class org.dromara.hutool.core.collection.TransCollection
 
iterator() - Method in class org.dromara.hutool.core.comparator.ComparatorChain
 
iterator() - Method in class org.dromara.hutool.core.io.LineReader
 
iterator() - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
iterator() - Method in class org.dromara.hutool.core.io.stream.LineInputStream
 
iterator() - Method in class org.dromara.hutool.core.io.watch.watchers.WatcherChain
 
iterator() - Method in class org.dromara.hutool.core.lang.range.Range
 
iterator() - Method in class org.dromara.hutool.core.lang.tuple.Tuple
 
iterator() - Method in class org.dromara.hutool.core.map.MapWrapper
 
iterator() - Method in class org.dromara.hutool.core.map.multi.AbsTable
 
iterator() - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
iterator() - Method in class org.dromara.hutool.core.map.TableMap
 
iterator() - Method in class org.dromara.hutool.core.spi.ListServiceLoader
 
iterator() - Method in class org.dromara.hutool.core.spi.MapServiceLoader
 
iterator() - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回流的迭代器
iterator() - Method in class org.dromara.hutool.core.text.CharArray
 
iterator() - Method in class org.dromara.hutool.core.text.CodePointIter
 
iterator() - Method in class org.dromara.hutool.core.text.replacer.ReplacerChain
 
IteratorEnumeration<E> - Class in org.dromara.hutool.core.collection.iter
IteratorEnumeration(Iterator<E>) - Constructor for class org.dromara.hutool.core.collection.iter.IteratorEnumeration
构造
IterChain<T> - Class in org.dromara.hutool.core.collection.iter
组合Iterator,将多个Iterator组合在一起,便于集中遍历。
IterChain() - Constructor for class org.dromara.hutool.core.collection.iter.IterChain
构造 可以使用 IterChain.addChain(Iterator) 方法加入更多的集合。
IterChain(Iterator<T>...) - Constructor for class org.dromara.hutool.core.collection.iter.IterChain
构造
IterUtil - Class in org.dromara.hutool.core.collection.iter
IterableIterator 相关工具类
IterUtil() - Constructor for class org.dromara.hutool.core.collection.iter.IterUtil
 

J

JAR_URL_PREFIX - Static variable in class org.dromara.hutool.core.net.url.UrlUtil
URL 前缀表示jar: "jar:"
JAR_URL_SEPARATOR - Static variable in class org.dromara.hutool.core.net.url.UrlUtil
Jar路径以及内部文件路径的分界符: "!
JarClassLoader - Class in org.dromara.hutool.core.classloader
外部Jar的类加载器
JarClassLoader() - Constructor for class org.dromara.hutool.core.classloader.JarClassLoader
构造
JarClassLoader(URL[]) - Constructor for class org.dromara.hutool.core.classloader.JarClassLoader
构造
JarClassLoader(URL[], ClassLoader) - Constructor for class org.dromara.hutool.core.classloader.JarClassLoader
构造
JarResource - Class in org.dromara.hutool.core.io.resource
Jar包资源对象
JarResource(URI) - Constructor for class org.dromara.hutool.core.io.resource.JarResource
构造
JarResource(URL) - Constructor for class org.dromara.hutool.core.io.resource.JarResource
构造
JarResource(URL, String) - Constructor for class org.dromara.hutool.core.io.resource.JarResource
构造
javaDefaultHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
JAVA自己带的算法
JDK_DATETIME_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
JDK中日期时间格式 FastDateFormat:EEE MMM dd HH:mm:ss zzz yyyy
JDK_DATETIME_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
JDK中日期时间格式:EEE MMM dd HH:mm:ss zzz yyyy
JdkProxyUtil - Class in org.dromara.hutool.core.reflect
JDK的Proxy相关工具类封装
JdkProxyUtil() - Constructor for class org.dromara.hutool.core.reflect.JdkProxyUtil
 
JdkServiceLoaderUtil - Class in org.dromara.hutool.core.spi
SPI机制中的服务加载工具类,流程如下 1、创建接口,并创建实现类 2、ClassPath/META-INF/services下创建与接口全限定类名相同的文件 3、文件内容填写实现类的全限定类名 相关介绍见:https://www.jianshu.com/p/3a3edbcd8f24
JdkServiceLoaderUtil() - Constructor for class org.dromara.hutool.core.spi.JdkServiceLoaderUtil
 
JdkUtil - Class in org.dromara.hutool.core.util
JDK相关工具类,包括判断JDK版本等
工具部分方法来自fastjson2的JDKUtils
JdkUtil() - Constructor for class org.dromara.hutool.core.util.JdkUtil
 
JNDIUtil - Class in org.dromara.hutool.core.util
JNDI工具类
JNDI是Java Naming and Directory Interface(JAVA命名和目录接口)的英文简写,
它是为JAVA应用程序提供命名和目录访问服务的API(Application Programing Interface,应用程序编程接口)。
JNDIUtil() - Constructor for class org.dromara.hutool.core.util.JNDIUtil
 
join(T[], CharSequence) - Static method in class org.dromara.hutool.core.array.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(T[], CharSequence, String, String) - Static method in class org.dromara.hutool.core.array.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(T[], CharSequence, UnaryOperator<T>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
先处理数组元素,再以 conjunction 为分隔符将数组转换为字符串
join(Object, CharSequence) - Static method in class org.dromara.hutool.core.array.ArrayUtil
以 conjunction 为分隔符将数组转换为字符串
join(Iterable<T>, CharSequence, Function<T, ? extends CharSequence>) - Static method in class org.dromara.hutool.core.collection.CollUtil
以 conjunction 为分隔符将集合转换为字符串
join(Iterable<T>, CharSequence) - Static method in class org.dromara.hutool.core.collection.CollUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(Iterable<T>, CharSequence, String, String) - Static method in class org.dromara.hutool.core.collection.CollUtil
以 conjunction 为分隔符将集合转换为字符串
join(Iterator<T>, CharSequence) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(Iterator<T>, CharSequence, String, String) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(Iterator<T>, CharSequence, Function<T, ? extends CharSequence>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
以 conjunction 为分隔符将集合转换为字符串
如果集合元素为数组、IterableIterator,则递归组合其为字符串
join(String, String) - Method in class org.dromara.hutool.core.map.MapBuilder
将map转成字符串
join(String, String, boolean) - Method in class org.dromara.hutool.core.map.MapBuilder
将map转成字符串
join(Map<K, V>, String, String, String...) - Static method in class org.dromara.hutool.core.map.MapUtil
将map转成字符串
join(Map<K, V>, String, String, boolean, String...) - Static method in class org.dromara.hutool.core.map.MapUtil
将map转成字符串
join(Map<K, V>, String, String, Predicate<Map.Entry<K, V>>, String...) - Static method in class org.dromara.hutool.core.map.MapUtil
将map转成字符串
join(Stream<T>, CharSequence) - Static method in class org.dromara.hutool.core.stream.StreamUtil
将Stream中所有元素以指定分隔符,合并为一个字符串,对象默认调用toString方法
join(Stream<T>, CharSequence, Function<T, ? extends CharSequence>) - Static method in class org.dromara.hutool.core.stream.StreamUtil
将Stream中所有元素以指定分隔符,合并为一个字符串
join() - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
返回拼接后的字符串
join(CharSequence) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
返回拼接后的字符串
join(CharSequence, CharSequence, CharSequence) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
返回拼接后的字符串
join(CharSequence, Object...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
以 conjunction 为分隔符将多个对象转换为字符串
join(CharSequence, Iterable<T>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
以 conjunction 为分隔符将多个对象转换为字符串
joinIgnoreNull(String, String) - Method in class org.dromara.hutool.core.map.MapBuilder
将map转成字符串
joinIgnoreNull(Map<K, V>, String, String, String...) - Static method in class org.dromara.hutool.core.map.MapUtil
将map转成字符串,忽略null的键和值
joining(CharSequence) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
提供任意对象的Join操作的Collector实现,对象默认调用toString方法
joining(CharSequence, Function<T, ? extends CharSequence>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
提供任意对象的Join操作的Collector实现
joining(CharSequence, CharSequence, CharSequence, Function<T, ? extends CharSequence>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
提供任意对象的Join操作的Collector实现
jsHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
JS算法
justAfter() - Static method in interface org.dromara.hutool.core.func.SerBinaryOperator
just after
justBefore() - Static method in interface org.dromara.hutool.core.func.SerBinaryOperator
just before
JVM_BOOLEAN - Static variable in class org.dromara.hutool.core.reflect.ClassDescUtil
boolean(Z).
JVM_BYTE - Static variable in class org.dromara.hutool.core.reflect.ClassDescUtil
byte(B).
JVM_CHAR - Static variable in class org.dromara.hutool.core.reflect.ClassDescUtil
char(C).
JVM_DOUBLE - Static variable in class org.dromara.hutool.core.reflect.ClassDescUtil
double(D).
JVM_FLOAT - Static variable in class org.dromara.hutool.core.reflect.ClassDescUtil
float(F).
JVM_INT - Static variable in class org.dromara.hutool.core.reflect.ClassDescUtil
int(I).
JVM_LONG - Static variable in class org.dromara.hutool.core.reflect.ClassDescUtil
long(J).
JVM_SHORT - Static variable in class org.dromara.hutool.core.reflect.ClassDescUtil
short(S).
JVM_VERSION - Static variable in class org.dromara.hutool.core.util.JdkUtil
JDK版本
JVM_VOID - Static variable in class org.dromara.hutool.core.reflect.ClassDescUtil
void(V).

K

KBeanConverter - Class in org.dromara.hutool.core.convert.impl
Kotlin Bean转换器,支持: Map =》 Bean Bean =》 Bean ValueProvider =》 Bean
KBeanConverter() - Constructor for class org.dromara.hutool.core.convert.impl.KBeanConverter
 
KCallable - Class in org.dromara.hutool.core.reflect.kotlin
kotlin.reflect.KCallable方法包装调用类
KCallable() - Constructor for class org.dromara.hutool.core.reflect.kotlin.KCallable
 
KClassImpl - Class in org.dromara.hutool.core.reflect.kotlin
kotlin.reflect.jvm.internal.KClassImpl包装
KClassImpl() - Constructor for class org.dromara.hutool.core.reflect.kotlin.KClassImpl
 
KClassUtil - Class in org.dromara.hutool.core.reflect.kotlin
Kotlin反射包装相关工具类
KClassUtil() - Constructor for class org.dromara.hutool.core.reflect.kotlin.KClassUtil
 
KetamaHash - Class in org.dromara.hutool.core.codec.hash
Ketama算法,用于在一致性Hash中快速定位服务器位置
KetamaHash() - Constructor for class org.dromara.hutool.core.codec.hash.KetamaHash
 
key - Variable in class org.dromara.hutool.core.cache.impl.CacheObj
key - Variable in class org.dromara.hutool.core.lang.mutable.MutableEntry
keyLockMap - Variable in class org.dromara.hutool.core.cache.impl.AbstractCache
写的时候每个key一把锁,降低锁的粒度
keyLockMap - Variable in class org.dromara.hutool.core.cache.SimpleCache
写的时候每个key一把锁,降低锁的粒度
KeyManagerUtil - Class in org.dromara.hutool.core.net.ssl
KeyManager相关工具
此工具用于读取和使用数字证书、对称密钥等相关信息
KeyManagerUtil() - Constructor for class org.dromara.hutool.core.net.ssl.KeyManagerUtil
 
keys() - Method in class org.dromara.hutool.core.cache.SimpleCache
获取所有键
keys() - Method in class org.dromara.hutool.core.map.TableMap
获取所有键,可重复,不可修改
keySet() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
返回所有键
keySet(Collection<Map<K, ?>>) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取指定Map列表中所有的Key
keySet() - Method in class org.dromara.hutool.core.map.BeanMap
 
keySet() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
keySet() - Method in class org.dromara.hutool.core.map.LinkedForestMap
返回当前实例中全部的key组成的Set集合
keySet() - Method in class org.dromara.hutool.core.map.MapProxy
 
keySet() - Method in class org.dromara.hutool.core.map.MapWrapper
 
keySet() - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
keySet() - Method in class org.dromara.hutool.core.map.TableMap
 
KParameter - Class in org.dromara.hutool.core.reflect.kotlin
kotlin.reflect.KParameter实例表示类
通过反射获取Kotlin中KParameter相关属性值
KParameter(Object) - Constructor for class org.dromara.hutool.core.reflect.kotlin.KParameter
构造

L

LambdaFactory - Class in org.dromara.hutool.core.func
以类似反射的方式动态创建Lambda,在性能上有一定优势,同时避免每次调用Lambda时创建匿名内部类
LambdaInfo - Class in org.dromara.hutool.core.func
存放lambda信息
此类是SerializedLambda信息的扩充和补充类,包括: 实例化后的对象方法参数类型,一般用于方法引用
LambdaInfo(Executable, SerializedLambda) - Constructor for class org.dromara.hutool.core.func.LambdaInfo
构造
LambdaTreeNodeConfig<T,R> - Class in org.dromara.hutool.core.tree
树配置属性相关(使用Lambda语法) 避免对字段名称硬编码
LambdaTreeNodeConfig() - Constructor for class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
 
LambdaUtil - Class in org.dromara.hutool.core.func
Lambda相关工具类
LambdaUtil() - Constructor for class org.dromara.hutool.core.func.LambdaUtil
 
last(SerSupplier<T>...) - Static method in interface org.dromara.hutool.core.func.SerSupplier
last
lastAccess - Variable in class org.dromara.hutool.core.cache.impl.CacheObj
上次访问时间
lastIndexOf(T[], Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
返回数组中指定元素最后的所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(T[], Object, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
返回数组中指定元素最后的所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(Object) - Method in class org.dromara.hutool.core.array.ArrayWrapper
返回数组中指定最后的所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(long[], long) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素最后的所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(int[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素最后的所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(short[], short) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素最后的所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(char[], char) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素最后的所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(byte[], byte) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素最后的所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(double[], double) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素最后的所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(float[], float) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素最后的所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(boolean[], boolean) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
返回数组中指定元素最后的所在位置,未找到返回PrimitiveArrayUtil.INDEX_NOT_FOUND
lastIndexOf(Collection<T>, Predicate<? super T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取匹配规则定义中匹配到元素的最后位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
lastIndexOf(List<T>, Predicate<? super T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
获取匹配规则定义中匹配到元素的最后位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
lastIndexOf(Object) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
lastIndexOf(String, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
找到指定正则匹配到第一个字符串的位置
lastIndexOf(Pattern, CharSequence) - Static method in class org.dromara.hutool.core.regex.ReUtil
找到指定模式匹配到最后一个字符串的位置
lastIndexOf(CharSequence, CharSequence, int, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定范围内查找字符串
fromIndex 为搜索起始位置,从后往前计数
lastIndexOfIgnoreCase(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定范围内查找字符串,忽略大小写
lastIndexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
指定范围内查找字符串,忽略大小写
fromIndex 为搜索起始位置,从后往前计数
lastIndexOfSeparator(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得最后一个文件路径分隔符的位置
lastIndexOfSub(T[], T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
查找最后一个子数组的开始位置
lastIndexOfSub(T[], int, T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
查找最后一个子数组的开始位置
lastModifiedTime(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
指定文件最后修改时间
lastModifiedTime(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
指定路径文件最后修改时间
lastMonth() - Static method in class org.dromara.hutool.core.date.DateUtil
上个月
lastWeek() - Static method in class org.dromara.hutool.core.date.DateUtil
上周
LazyFunLoader<T> - Class in org.dromara.hutool.core.lang.loader
函数式懒加载加载器
传入用于生成对象的函数,在对象需要使用时调用生成对象,然后抛弃此生成对象的函数。
LazyFunLoader(Supplier<T>) - Constructor for class org.dromara.hutool.core.lang.loader.LazyFunLoader
构造
LazyLoader<T> - Class in org.dromara.hutool.core.lang.loader
懒加载加载器
在load方法被调用前,对象未被加载,直到被调用后才开始加载
此加载器常用于对象比较庞大而不一定被使用的情况,用于减少启动时资源占用问题
此加载器使用双重检查(Double-Check)方式检查对象是否被加载,避免多线程下重复加载或加载丢失问题
LazyLoader() - Constructor for class org.dromara.hutool.core.lang.loader.LazyLoader
 
le(T, T) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
c1是否小于或等于c2,通过调用compare(c1, c2) <= 0完成
leapDays(int) - Static method in class org.dromara.hutool.core.date.chinese.LunarInfo
传回农历 y年闰月的天数,如果本年无闰月,返回0,区分大小月
leapMonth(int) - Static method in class org.dromara.hutool.core.date.chinese.LunarInfo
传回农历 y年闰哪个月 1-12 , 没闰传回 0
此方法会返回润N月中的N,如二月、闰二月都返回2
left - Variable in class org.dromara.hutool.core.lang.tuple.Pair
左值(第一个值)
length(Object) - Static method in class org.dromara.hutool.core.array.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() - Method in class org.dromara.hutool.core.array.ArrayWrapper
获取数组长度
length() - Method in class org.dromara.hutool.core.io.buffer.FastBuffer
获取缓冲总长度
length() - Method in class org.dromara.hutool.core.io.ByteOrderMark
获取BOM头byte数
length(InputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
获取流长度,对于文件流,会调用FileInputStream.available()方法,对于其他流,返回-1
对于网络流,available可能为分段大小,所以返回-1
length() - Method in interface org.dromara.hutool.core.lang.range.Segment
片段长度,默认计算方法为abs(Segment.getEndIndex() - Segment.getEndIndex())
length() - Method in class org.dromara.hutool.core.text.CharArray
 
length(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
获取字符串的长度,如果为null返回0
length() - Method in class org.dromara.hutool.core.text.StrJoiner
长度
长度计算方式为prefix + suffix + content
此方法结果与toString().length()一致。
length(Object) - Static method in class org.dromara.hutool.core.util.ObjUtil
计算对象长度,支持类型包括: null:默认返回0; 数组:返回数组长度; CharSequence:返回CharSequence.length()Collection:返回Collection.size()IteratorIterable:可迭代的元素数量; Enumeration:返回可迭代的元素数量;
LengthFinder - Class in org.dromara.hutool.core.text.finder
固定长度查找器
给定一个长度,查找的位置为from + length,一般用于分段截取
LengthFinder(int) - Constructor for class org.dromara.hutool.core.text.finder.LengthFinder
构造
lengthOfMonth(int, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定月份的总天数
lengthOfYear(int) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定年份的总天数
lessThan(T) - Static method in interface org.dromara.hutool.core.lang.range.Bound
{x | x < max}
lessThan(T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRange
{x | -∞ < x < upperBound}
LF - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:换行符 '\n'
LF - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:换行符 "\n"
LFUCache<K,V> - Class in org.dromara.hutool.core.cache.impl
LFU(least frequently used) 最少使用率缓存
根据使用次数来判定对象是否被持续缓存
使用率是通过访问次数计算的。
LFUCache(int) - Constructor for class org.dromara.hutool.core.cache.impl.LFUCache
构造
LFUCache(int, long) - Constructor for class org.dromara.hutool.core.cache.impl.LFUCache
构造
LFUFileCache - Class in org.dromara.hutool.core.cache.file
使用LFU缓存文件,以解决频繁读取文件引起的性能问题
LFUFileCache(int) - Constructor for class org.dromara.hutool.core.cache.file.LFUFileCache
构造
最大文件大小为缓存容量的一半
默认无超时
LFUFileCache(int, int) - Constructor for class org.dromara.hutool.core.cache.file.LFUFileCache
构造
默认无超时
LFUFileCache(int, int, long) - Constructor for class org.dromara.hutool.core.cache.file.LFUFileCache
构造
likeValueOf(Class<E>, Object) - Static method in class org.dromara.hutool.core.util.EnumUtil
模糊匹配转换为枚举,给定一个值,匹配枚举中定义的所有字段名(包括name属性),一旦匹配到返回这个枚举对象,否则返回null
limit - Variable in class org.dromara.hutool.core.io.stream.LimitedInputStream
 
limit(long) - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回截取后面一些元素的流 这是一个短路状态中间操作
limitByteLength(CharSequence, Charset, int, int, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截断字符串,使用其按照指定编码为字节后不超过maxBytes长度
此方法用于截取总bytes数不超过指定长度,如果字符出没有超出原样输出,如果超出了,则截取掉超出部分,并可选添加..., 但是添加“...”后总长度也不超过限制长度。
limitByteLengthUtf8(CharSequence, int, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截断字符串,使用UTF8编码为字节后不超过maxBytes长度
LimitedInputStream - Class in org.dromara.hutool.core.io.stream
限制读取最大长度的FilterInputStream 实现
LimitedInputStream(InputStream, long) - Constructor for class org.dromara.hutool.core.io.stream.LimitedInputStream
构造
LimitedInputStream(InputStream, long, boolean) - Constructor for class org.dromara.hutool.core.io.stream.LimitedInputStream
构造
limitLength(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
限制字符串长度,如果超过指定长度,截取指定长度并在末尾加"..."
LineCounter - Class in org.dromara.hutool.core.io.stream
行数计数器
LineCounter(InputStream, int) - Constructor for class org.dromara.hutool.core.io.stream.LineCounter
构造
lineEnd(ByteBuffer) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
一行的末尾位置,查找位置时位移ByteBuffer到结束位置
lineEnd(ByteBuffer, int) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
一行的末尾位置,查找位置时位移ByteBuffer到结束位置
支持的换行符如下: 1.
LineInputStream - Class in org.dromara.hutool.core.io.stream
行读取器,类似于BufferedInputStream,支持多行转义,规则如下:
支持'\n'和'\r\n'两种换行符,不支持'\r'换行符 如果想读取转义符,必须定义为'\\' 多行转义后的换行符和空格都会被忽略 例子: a=1\ 2 读出后就是a=12
LineInputStream(InputStream) - Constructor for class org.dromara.hutool.core.io.stream.LineInputStream
构造
LineIter - Class in org.dromara.hutool.core.collection.iter
将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) - Constructor for class org.dromara.hutool.core.collection.iter.LineIter
构造
LineIter(Reader) - Constructor for class org.dromara.hutool.core.collection.iter.LineIter
构造
lineIter(Reader) - Static method in class org.dromara.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) - Static method in class org.dromara.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() - Static method in class org.dromara.hutool.core.lang.Console
返回当前行号 (不支持Lambda、内部类、递归内使用)
LineReader - Class in org.dromara.hutool.core.io
行读取器,类似于BufferedInputStream,支持多行转义,规则如下:
支持'\n'和'\r\n'两种换行符,不支持'\r'换行符 如果想读取转义符,必须定义为'\\' 多行转义后的换行符和空格都会被忽略 例子: a=1\ 2 读出后就是a=12
LineReader(InputStream, Charset) - Constructor for class org.dromara.hutool.core.io.LineReader
构造
LineReader(Reader) - Constructor for class org.dromara.hutool.core.io.LineReader
构造
LineReadWatcher - Class in org.dromara.hutool.core.io.file
行处理的Watcher实现
LineReadWatcher(RandomAccessFile, Charset, SerConsumer<String>) - Constructor for class org.dromara.hutool.core.io.file.LineReadWatcher
构造
LineSeparator - Enum in org.dromara.hutool.core.io.file
换行符枚举
换行符包括: Mac系统换行符:"\r" Linux系统换行符:"\n" Windows系统换行符:"\r\n"
Linked<T extends Linked<T>> - Interface in org.dromara.hutool.core.collection.queue
An element that is linked on the Deque.
LinkedDeque<E extends Linked<E>> - Class in org.dromara.hutool.core.collection.queue
Linked list implementation of the Deque interface where the link pointers are tightly integrated with the element.
LinkedDeque() - Constructor for class org.dromara.hutool.core.collection.queue.LinkedDeque
 
LinkedForestMap<K,V> - Class in org.dromara.hutool.core.map
ForestMap的基本实现。
LinkedForestMap(boolean) - Constructor for class org.dromara.hutool.core.map.LinkedForestMap
构建LinkedForestMap
LinkedForestMap.EntryNodeWrapper<K,V,N extends TreeEntry<K,V>> - Class in org.dromara.hutool.core.map
Map.Entry包装类
LinkedForestMap.TreeEntryNode<K,V> - Class in org.dromara.hutool.core.map
树节点
linkNodes(K, K) - Method in interface org.dromara.hutool.core.map.ForestMap
为集合中的指定的节点建立父子关系
linkNodes(K, K, BiConsumer<TreeEntry<K, V>, TreeEntry<K, V>>) - Method in interface org.dromara.hutool.core.map.ForestMap
为集合中的指定的节点建立父子关系
linkNodes(K, K, BiConsumer<TreeEntry<K, V>, TreeEntry<K, V>>) - Method in class org.dromara.hutool.core.map.LinkedForestMap
为指定的节点建立父子关系,若parentKeychildKey对应节点不存在,则会创建一个对应的值为null的空节点
list - Variable in class org.dromara.hutool.core.collection.partition.Partition
被分区的列表
list() - Static method in class org.dromara.hutool.core.map.concurrent.Weighers
A weigher where the value is a List and its selector is the number of elements.
list(String, boolean) - Static method in class org.dromara.hutool.core.net.Ipv4Util
智能获取指定区间内的所有IP地址
list(String, int, boolean) - Static method in class org.dromara.hutool.core.net.Ipv4Util
根据 IP地址 和 掩码位数 获取 子网所有ip地址
list(String, String) - Static method in class org.dromara.hutool.core.net.Ipv4Util
获得 指定区间内 所有ip地址
list(long, long) - Static method in class org.dromara.hutool.core.net.Ipv4Util
得到指定区间内的所有IP地址
listener - Variable in class org.dromara.hutool.core.cache.impl.AbstractCache
缓存监听
listener(BiConsumer<K, V>) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap.Builder
Specifies an optional listener that is registered for notification when an entry is evicted.
listFileNames(ZipFile, String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
获取Zip文件中指定目录下的所有文件,只显示文件,不显示目录
此方法并不会关闭ZipFile
listFileNames(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
获得指定目录下所有文件
不会扫描子目录
如果用户传入相对路径,则是相对classpath的路径
如:"test/aaa"表示"${classpath}/test/aaa"
listIterator() - Method in class org.dromara.hutool.core.collection.ListWrapper
 
listIterator(int) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
ListNode - Class in org.dromara.hutool.core.bean.path.node
列表节点 [num0,num1,num2...]模式或者['key0','key1']模式
ListNode(String) - Constructor for class org.dromara.hutool.core.bean.path.node.ListNode
列表节点
ListServiceLoader<S> - Class in org.dromara.hutool.core.spi
列表类型的服务加载器,用于替换JDK提供的ServiceLoader
相比JDK,增加了: 可选服务存储位置(默认位于META-INF/services/)。
ListServiceLoader(String, Class<S>, ClassLoader, Charset) - Constructor for class org.dromara.hutool.core.spi.ListServiceLoader
构造
ListUtil - Class in org.dromara.hutool.core.collection
List相关工具类
ListUtil() - Constructor for class org.dromara.hutool.core.collection.ListUtil
 
ListValueMap<K,V> - Class in org.dromara.hutool.core.map.multi
值作为集合List的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
ListValueMap(Supplier<Map<K, Collection<V>>>) - Constructor for class org.dromara.hutool.core.map.multi.ListValueMap
基于mapFactory创建一个值为List的多值映射集合
ListValueMap(Map<K, Collection<V>>) - Constructor for class org.dromara.hutool.core.map.multi.ListValueMap
基于指定Map创建一个值为List的多值映射集合
ListValueMap() - Constructor for class org.dromara.hutool.core.map.multi.ListValueMap
基于HashMap创建一个值为List的多值映射集合
ListWrapper<E> - Class in org.dromara.hutool.core.collection
列表包装类
提供列表包装,用于在执行列表方法前后自定义处理逻辑
ListWrapper(List<E>) - Constructor for class org.dromara.hutool.core.collection.ListWrapper
构造
LiteralSegment - Class in org.dromara.hutool.core.text.placeholder.segment
字符串模板-固定文本 Segment
LiteralSegment(String) - Constructor for class org.dromara.hutool.core.text.placeholder.segment.LiteralSegment
构造
load(File) - Static method in class org.dromara.hutool.core.classloader.JarClassLoader
加载Jar到ClassPath
load(Class<T>) - Static method in class org.dromara.hutool.core.spi.JdkServiceLoaderUtil
加载服务
load(Class<T>, ClassLoader) - Static method in class org.dromara.hutool.core.spi.JdkServiceLoaderUtil
加载服务
load() - Method in class org.dromara.hutool.core.spi.ListServiceLoader
 
load() - Method in class org.dromara.hutool.core.spi.MapServiceLoader
加载或重新加载全部服务
load() - Method in interface org.dromara.hutool.core.spi.ServiceLoader
加载服务
LOAD_EXTERNAL_DTD - Static variable in class org.dromara.hutool.core.xml.XmlFeatures
忽略外部DTD
loadAllTo(Properties, String, ClassLoader, Charset, boolean) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
加载指定名称的所有配置文件内容到Properties
loadClass(String) - Static method in class org.dromara.hutool.core.classloader.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) - Static method in class org.dromara.hutool.core.classloader.ClassLoaderUtil
加载类,通过传入类的字符串,返回其对应的类名,使用默认ClassLoader
扩展Class.forName(String, boolean, ClassLoader)方法,支持以下几类类名的加载: 1、原始类型,例如:int 2、数组类型,例如:int[]、Long[]、String[] 3、内部类,例如:java.lang.Thread.State会被转为java.lang.Thread$State加载
loadClass(String, boolean, ClassLoader) - Static method in class org.dromara.hutool.core.classloader.ClassLoaderUtil
加载类,通过传入类的字符串,返回其对应的类名
此方法支持缓存,第一次被加载的类之后会读取缓存中的类
加载失败的原因可能是此类不存在或其关联引用类不存在
扩展Class.forName(String, boolean, ClassLoader)方法,支持以下几类类名的加载: 1、原始类型,例如:int 2、数组类型,例如:int[]、Long[]、String[] 3、内部类,例如:java.lang.Thread.State会被转为java.lang.Thread$State加载
loadClass(File, String) - Static method in class org.dromara.hutool.core.classloader.ClassLoaderUtil
加载外部类
loadClass(String) - Method in class org.dromara.hutool.core.reflect.ClassScanner
加载类
Loader<T> - Interface in org.dromara.hutool.core.lang.loader
对象加载抽象接口
通过实现此接口自定义实现对象的加载方式,例如懒加载机制、多线程加载等
loadFirst(Class<T>) - Static method in class org.dromara.hutool.core.spi.JdkServiceLoaderUtil
加载第一个服务,如果用户定义了多个接口实现类,只获取第一个。
loadFirstAvailable(Class<T>) - Static method in class org.dromara.hutool.core.spi.JdkServiceLoaderUtil
loadFirstAvailable(Class<S>) - Static method in class org.dromara.hutool.core.spi.SpiUtil
加载第一个可用服务,如果用户定义了多个接口实现类,只获取第一个不报错的服务
loadFirstAvailable(ServiceLoader<S>) - Static method in class org.dromara.hutool.core.spi.SpiUtil
加载第一个可用服务,如果用户定义了多个接口实现类,只获取第一个不报错的服务
loadJar(File) - Static method in class org.dromara.hutool.core.classloader.JarClassLoader
加载Jar到ClassPath
loadJar(URLClassLoader, File) - Static method in class org.dromara.hutool.core.classloader.JarClassLoader
加载Jar文件到指定loader中
loadJarToSystemClassLoader(File) - Static method in class org.dromara.hutool.core.classloader.JarClassLoader
加载Jar文件到System ClassLoader中
loadList(Class<T>) - Static method in class org.dromara.hutool.core.spi.JdkServiceLoaderUtil
加载服务 并已list列表返回
loadList(Class<T>, ClassLoader) - Static method in class org.dromara.hutool.core.spi.JdkServiceLoaderUtil
加载服务 并已list列表返回
loadList(Class<T>) - Static method in class org.dromara.hutool.core.spi.SpiUtil
加载服务
loadList(Class<T>, ClassLoader) - Static method in class org.dromara.hutool.core.spi.SpiUtil
加载服务
loadTo(Properties, Resource, Charset) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
加载配置文件内容到Properties
需要注意的是,如果资源文件的扩展名是.xml,会调用Properties.loadFromXML(InputStream) 读取。
LOCAL_IP - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
localhost默认解析的ip地址
LOCAL_IP - Static variable in class org.dromara.hutool.core.net.NetUtil
本地IP
LOCAL_IP_NUM - Static variable in interface org.dromara.hutool.core.net.Ipv4Pool
localhost默认解析的ip地址的数值形式
localAddressList(Predicate<InetAddress>) - Static method in class org.dromara.hutool.core.net.NetUtil
获取所有满足过滤条件的本地IP地址对象
localAddressList(Predicate<NetworkInterface>, Predicate<InetAddress>) - Static method in class org.dromara.hutool.core.net.NetUtil
获取所有满足过滤条件的本地IP地址对象
locale - Variable in class org.dromara.hutool.core.date.format.SimpleDateBasic
The locale.
LocaleComparator - Class in org.dromara.hutool.core.comparator
自定义语言环境 String 比较,可为自然语言文本构建搜索和排序例程。
LocaleComparator(boolean, Locale) - Constructor for class org.dromara.hutool.core.comparator.LocaleComparator
构造
LocaleConverter - Class in org.dromara.hutool.core.convert.impl
Locale对象转换器
只提供String转换支持
LocaleConverter() - Constructor for class org.dromara.hutool.core.convert.impl.LocaleConverter
 
localIps() - Static method in class org.dromara.hutool.core.net.Ipv6Util
获得本机的IPv6地址列表
返回的IP列表有序,按照系统设备顺序
localIps() - Static method in class org.dromara.hutool.core.net.NetUtil
获得本机的IP地址列表(包括Ipv4和Ipv6)
返回的IP列表有序,按照系统设备顺序
localIpv4s() - Static method in class org.dromara.hutool.core.net.NetUtil
获得本机的IPv4地址列表
返回的IP列表有序,按照系统设备顺序
LocalPortGenerator - Class in org.dromara.hutool.core.net
本地端口生成器
用于生成本地可用(未被占用)的端口号
注意:多线程甚至单线程访问时可能会返回同一端口(例如获取了端口但是没有使用)
LocalPortGenerator(int) - Constructor for class org.dromara.hutool.core.net.LocalPortGenerator
构造
LocalTimeUtil - Class in org.dromara.hutool.core.date
针对 LocalTime 封装的一些工具方法
LocalTimeUtil() - Constructor for class org.dromara.hutool.core.date.LocalTimeUtil
 
lock - Variable in class org.dromara.hutool.core.cache.impl.ReentrantCache
一些特殊缓存,例如使用了LinkedHashMap的缓存,由于get方法也会改变Map的结构,导致无法使用读写锁
lock - Variable in class org.dromara.hutool.core.cache.impl.StampedCache
乐观锁,此处使用乐观锁解决读多写少的场景
get时乐观读,再检查是否修改,修改则转入悲观读重新读一遍,可以有效解决在写时阻塞大量读操作的情况。
lock() - Method in class org.dromara.hutool.core.thread.lock.NoLock
 
lockInterruptibly() - Method in class org.dromara.hutool.core.thread.lock.NoLock
 
LockUtil - Class in org.dromara.hutool.core.thread.lock
锁相关工具
LockUtil() - Constructor for class org.dromara.hutool.core.thread.lock.LockUtil
 
log() - Static method in class org.dromara.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
log(Object) - Static method in class org.dromara.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
如果传入打印对象为Throwable对象,那么同时打印堆栈
log(Object, Object...) - Static method in class org.dromara.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
如果传入打印对象为Throwable对象,那么同时打印堆栈
log(String, Object...) - Static method in class org.dromara.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
当传入template无"{}"时,被认为非模板,直接打印多个参数以空格分隔
log(Throwable, String, Object...) - Static method in class org.dromara.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
log() - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
返回叠加调用Console.log(Object)打印出结果的流
LONG - Static variable in class org.dromara.hutool.core.date.format.FastDateFormat
LONG locale dependent date or time style.
longestCommonSubstring(String, String) - Static method in class org.dromara.hutool.core.text.TextSimilarity
最长公共子串,采用动态规划算法。
longestCommonSubstringLength(String, String) - Static method in class org.dromara.hutool.core.text.TextSimilarity
求公共子串,采用动态规划算法。
longToBytes(long) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
longToIpv4(long) - Static method in class org.dromara.hutool.core.net.Ipv4Util
根据 ip的long值 获取 ip字符串,即:xxx.xxx.xxx.xxx
longToIpv4(long) - Static method in class org.dromara.hutool.core.net.NetUtil
根据long值获取ip v4地址
longValue() - Method in class org.dromara.hutool.core.codec.Number128
 
longValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
 
longValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
 
longValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
 
longValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
 
longValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
 
longValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
 
lookup(Class<?>) - Method in class org.dromara.hutool.core.reflect.lookup.ConstructorLookupFactory
 
lookup(Class<?>) - Method in interface org.dromara.hutool.core.reflect.lookup.LookupFactory
jdk8中如果直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup在调用findSpecial和unreflectSpecial 时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。
lookup() - Static method in class org.dromara.hutool.core.reflect.lookup.LookupUtil
jdk8中如果直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup在调用findSpecial和unreflectSpecial 时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。
lookup(Class<?>) - Static method in class org.dromara.hutool.core.reflect.lookup.LookupUtil
jdk8中如果直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup在调用findSpecial和unreflectSpecial 时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。
lookup(Class<?>) - Method in class org.dromara.hutool.core.reflect.lookup.MethodLookupFactory
 
LookupFactory - Interface in org.dromara.hutool.core.reflect.lookup
MethodHandles.Lookup方法工厂,用于创建MethodHandles.Lookup对象
MethodHandles.Lookup是一个方法句柄查找对象,用于在指定类中查找符合给定方法名称、方法类型的方法句柄。
LookupReplacer - Class in org.dromara.hutool.core.text.replacer
查找替换器,通过查找指定关键字,替换对应的值
LookupReplacer(String[]...) - Constructor for class org.dromara.hutool.core.text.replacer.LookupReplacer
构造
LookupUtil - Class in org.dromara.hutool.core.reflect.lookup
MethodHandles.Lookup工具
MethodHandles.Lookup是一个方法句柄查找对象,用于在指定类中查找符合给定方法名称、方法类型的方法句柄。
LookupUtil() - Constructor for class org.dromara.hutool.core.reflect.lookup.LookupUtil
 
loopFiles(String, FileFilter) - Static method in class org.dromara.hutool.core.io.file.FileUtil
递归遍历目录以及子目录中的所有文件
如果提供file为文件,直接返回过滤结果
loopFiles(File, FileFilter) - Static method in class org.dromara.hutool.core.io.file.FileUtil
递归遍历目录以及子目录中的所有文件
如果提供file为文件,直接返回过滤结果
loopFiles(File, int, FileFilter) - Static method in class org.dromara.hutool.core.io.file.FileUtil
递归遍历目录以及子目录中的所有文件
如果提供file为文件,直接返回过滤结果
loopFiles(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
递归遍历目录以及子目录中的所有文件
如果用户传入相对路径,则是相对classpath的路径
如:"test/aaa"表示"${classpath}/test/aaa"
loopFiles(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
递归遍历目录以及子目录中的所有文件
loopFiles(Path, FileFilter) - Static method in class org.dromara.hutool.core.io.file.PathUtil
递归遍历目录以及子目录中的所有文件
如果提供path为文件,直接返回过滤结果
loopFiles(Path, int, FileFilter) - Static method in class org.dromara.hutool.core.io.file.PathUtil
递归遍历目录以及子目录中的所有文件
如果提供path为文件,直接返回过滤结果
loopFiles(Path, int, boolean, FileFilter) - Static method in class org.dromara.hutool.core.io.file.PathUtil
递归遍历目录以及子目录中的所有文件
如果提供path为文件,直接返回过滤结果
lowerAt(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
小写对应下标字母
例如: str = NAME,index = 1, return NaME
lowerFirst(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
小写首字母
例如:str = Name, return name
LRUCache<K,V> - Class in org.dromara.hutool.core.cache.impl
LRU (least recently used)最近最久未使用缓存
根据使用时间来判定对象是否被持续缓存
当对象被访问时放入缓存,当缓存满了,最久未被使用的对象将被移除。
LRUCache(int) - Constructor for class org.dromara.hutool.core.cache.impl.LRUCache
构造
默认无超时
LRUCache(int, long) - Constructor for class org.dromara.hutool.core.cache.impl.LRUCache
构造
LRUFileCache - Class in org.dromara.hutool.core.cache.file
使用LRU缓存文件,以解决频繁读取文件引起的性能问题
LRUFileCache(int) - Constructor for class org.dromara.hutool.core.cache.file.LRUFileCache
构造
最大文件大小为缓存容量的一半
默认无超时
LRUFileCache(int, int) - Constructor for class org.dromara.hutool.core.cache.file.LRUFileCache
构造
默认无超时
LRUFileCache(int, int, long) - Constructor for class org.dromara.hutool.core.cache.file.LRUFileCache
构造
ls(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
列出指定路径下的目录和文件
给定的绝对路径不能是压缩包中的路径
lt(T, T) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
c1是否大小于c2,通过调用compare(c1, c2) < 0完成
LT - Static variable in class org.dromara.hutool.core.xml.XmlConstants
字符串常量:XML 小于号转义 "&lt;" -> "<"
Luhn - Class in org.dromara.hutool.core.codec
Luhn算法,也称为“模10”算法,是一种简单的校验和(Checksum)算法,在ISO/IEC 7812-1中定义,校验步骤如下: 从右边第1个数字(校验数字)开始偶数位乘以2,如果小于10,直接返回,否则将个位数和十位数相加 把步骤1种获得的乘积的各位数字与原号码中未乘2的各位数字相加 如果步骤2得到的总和模10为0,则校验通过
Luhn() - Constructor for class org.dromara.hutool.core.codec.Luhn
 
LunarFestival - Class in org.dromara.hutool.core.date.chinese
节假日(农历)封装
由于
LunarFestival() - Constructor for class org.dromara.hutool.core.date.chinese.LunarFestival
 
LunarInfo - Class in org.dromara.hutool.core.date.chinese
阴历(农历)信息
LunarInfo() - Constructor for class org.dromara.hutool.core.date.chinese.LunarInfo
 

M

MAC_ADDRESS - Static variable in class org.dromara.hutool.core.regex.PatternPool
MAC地址正则
MAC_ADDRESS - Static variable in interface org.dromara.hutool.core.regex.RegexPool
MAC地址正则
MacAddressUtil - Class in org.dromara.hutool.core.net
MAC地址(硬件地址)相关工具类
MacAddressUtil() - Constructor for class org.dromara.hutool.core.net.MacAddressUtil
 
mainName(File) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
返回主文件名
mainName(String) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
返回主文件名
ManifestUtil - Class in org.dromara.hutool.core.io
Jar包中manifest.mf文件获取和解析工具类 来自Jodd
ManifestUtil() - Constructor for class org.dromara.hutool.core.io.ManifestUtil
 
map(Object, Class<R>, Function<?, ? extends R>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
按照指定规则,将一种类型的数组转换为另一种类型
map(Iterable<T>, Function<? super T, ? extends R>) - Static method in class org.dromara.hutool.core.collection.CollUtil
通过func自定义一个规则,此规则将原集合中的元素转换成新的元素,生成新的列表返回
例如提供的是一个Bean列表,通过Function接口实现获取某个字段值,返回这个字段值组成的新列表
默认忽略映射后null的情况
map(Iterable<T>, Function<? super T, ? extends R>, boolean) - Static method in class org.dromara.hutool.core.collection.CollUtil
通过func自定义一个规则,此规则将原集合中的元素转换成新的元素,生成新的列表返回
例如提供的是一个Bean列表,通过Function接口实现获取某个字段值,返回这个字段值组成的新列表
map(UnaryOperator<T>) - Method in interface org.dromara.hutool.core.lang.mutable.Mutable
根据操作修改值
map(SerFunction<? super T, ? extends U>) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里的值存在,就执行传入的操作(SerFunction.applying(Object))并返回一个包裹了该操作返回值的Opt 如果不存在,返回一个空的Opt
map() - Static method in class org.dromara.hutool.core.map.concurrent.Weighers
A weigher where the value is a Map and its selector is the number of entries.
map() - Method in class org.dromara.hutool.core.map.MapBuilder
创建后的map
map(Map<K, V>, BiFunction<K, V, R>) - Static method in class org.dromara.hutool.core.map.MapUtil
通过biFunction自定义一个规则,此规则将原Map中的元素转换成新的元素,生成新的Map返回
变更过程通过传入的 BiFunction 实现来返回一个值可以为不同类型的 Map
map(Function<? super T, ? extends R>) - Method in class org.dromara.hutool.core.stream.EasyStream
返回与指定函数将元素作为参数执行的结果组成的流 这是一个无状态中间操作
map(Function<? super Map.Entry<K, V>, ? extends R>) - Method in class org.dromara.hutool.core.stream.EntryStream
返回与指定函数将元素作为参数执行的结果组成的流 这是一个无状态中间操作
map(BiFunction<? super K, ? super V, ? extends N>) - Method in class org.dromara.hutool.core.stream.EntryStream
将实例转为根据键值对生成的单对象Stream实例
map(Function<? super T, ? extends R>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
返回与指定函数将元素作为参数执行的结果组成的流 这是一个无状态中间操作
MapBuilder<K,V> - Class in org.dromara.hutool.core.map
Map创建类
MapBuilder(Map<K, V>) - Constructor for class org.dromara.hutool.core.map.MapBuilder
链式Map创建类
MapConverter - Class in org.dromara.hutool.core.convert.impl
Map 转换器,通过预定义key和value的类型,实现: Map 转 Map,key和value类型自动转换 Bean 转 Map,字段和字段值类型自动转换
MapConverter(Converter) - Constructor for class org.dromara.hutool.core.convert.impl.MapConverter
构造
MapGetUtil - Class in org.dromara.hutool.core.map
Map的getXXX封装,提供针对通用型的value按照所需类型获取值
MapGetUtil() - Constructor for class org.dromara.hutool.core.map.MapGetUtil
 
mapIdx(BiFunction<? super T, Integer, ? extends R>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
返回与指定函数将元素作为参数执行的结果组成的流,操作带下标
MapJoiner - Class in org.dromara.hutool.core.map
Map拼接器,可以拼接包括Map、Entry列表等。
MapJoiner(StrJoiner, String) - Constructor for class org.dromara.hutool.core.map.MapJoiner
构造
mapKeys(Function<? super K, ? extends N>) - Method in class org.dromara.hutool.core.stream.EntryStream
将键映射为另一类型
mapMerger(BinaryOperator<V>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
用户合并map的BinaryOperator,传入合并前需要对value进行的操作
mapMulti(BiConsumer<? super T, ? super Consumer<R>>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
扩散流操作,可能影响流元素个数,将原有流元素执行mapper操作,返回多个流所有元素组成的流,操作带一个方法,调用该方法可增加元素 这是一个无状态中间操作
mapNonNull(Function<? super T, ? extends R>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
返回 元素 转换后 并且不为 null 的 新元素组成的流
这是一个无状态中间操作
// 等价于先调用map再调用nonNull .nonNull().map(...).nonNull()...
MapProxy - Class in org.dromara.hutool.core.map
Map代理,提供各种getXXX方法,并提供默认值支持
MapProxy(Map<?, ?>) - Constructor for class org.dromara.hutool.core.map.MapProxy
构造
MapServiceLoader<S> - Class in org.dromara.hutool.core.spi
键值对服务加载器,使用Properties加载并存储服务
服务文件默认位于"META-INF/hutool/"下,文件名为服务接口类全名。
MapServiceLoader(String, Class<S>, ClassLoader, Charset) - Constructor for class org.dromara.hutool.core.spi.MapServiceLoader
构造
mapToArray(T[], Function<? super T, ? extends R>, IntFunction<R[]>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
按照指定规则,将一种类型的数组元素转换为另一种类型,并保存为数组
MapToBeanCopier<T> - Class in org.dromara.hutool.core.bean.copier
Map属性拷贝到Bean中的拷贝器
MapToBeanCopier(Map<?, ?>, T, Type, CopyOptions) - Constructor for class org.dromara.hutool.core.bean.copier.MapToBeanCopier
构造
mapToDouble(ToDoubleFunction<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
EasyStream.map(Function)一样,只不过函数的返回值必须为double类型 这是一个无状态中间操作
mapToInt(ToIntFunction<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
EasyStream.map(Function)一样,只不过函数的返回值必须为int类型 这是一个无状态中间操作
mapToList(T[], Function<? super T, ? extends R>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
按照指定规则,将一种类型的数组元素转换为另一种类型,并保存为 List
mapToLong(ToLongFunction<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
EasyStream.map(Function)一样,只不过函数的返回值必须为long类型 这是一个无状态中间操作
MapToMapCopier - Class in org.dromara.hutool.core.bean.copier
Map属性拷贝到Map中的拷贝器
MapToMapCopier(Map, Map, Type, CopyOptions) - Constructor for class org.dromara.hutool.core.bean.copier.MapToMapCopier
构造
mapToSet(T[], Function<? super T, ? extends R>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
按照指定规则,将一种类型的数组元素转换为另一种类型,并保存为 Set
mapToXml(Map<?, ?>, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Map转换为XML
mapToXml(Map<?, ?>, String, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Map转换为XML
mapToXmlStr(Map<?, ?>) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, boolean) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Map转换为XML格式的字符串
omitXmlDeclarationtrue时,表示忽略xml Declaration,即 {@code
mapToXmlStr(Map<?, ?>, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String, String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Map转换为XML格式的字符串
mapToXmlStr(Map<?, ?>, String, String, boolean) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Map转换为XML格式的字符串
omitXmlDeclarationtrue时,表示忽略xml Declaration,即删掉 {@code
mapToXmlStr(Map<?, ?>, String, String, boolean, boolean) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Map转换为XML格式的字符串
omitXmlDeclarationtrue时,表示忽略xml Declaration,即删掉 {@code
mapToXmlStr(Map<?, ?>, String, String, Charset, boolean, boolean) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将Map转换为XML格式的字符串
omitXmlDeclarationtrue时,表示忽略xml Declaration,即删掉 {@code
MapTree<T> - Class in org.dromara.hutool.core.tree
通过转换器将你的实体转化为TreeNodeMap节点实体 属性都存在此处,属性有序,可支持排序
MapTree() - Constructor for class org.dromara.hutool.core.tree.MapTree
构造
MapTree(TreeNodeConfig) - Constructor for class org.dromara.hutool.core.tree.MapTree
构造
MapUtil - Class in org.dromara.hutool.core.map
Map相关工具类
MapUtil() - Constructor for class org.dromara.hutool.core.map.MapUtil
 
MapValueProvider - Class in org.dromara.hutool.core.bean.copier.provider
Map值提供者
MapValueProvider(Map) - Constructor for class org.dromara.hutool.core.bean.copier.provider.MapValueProvider
构造
mapValues(Function<? super V, ? extends N>) - Method in class org.dromara.hutool.core.stream.EntryStream
将值映射为另一类型
MapWrapper<K,V> - Class in org.dromara.hutool.core.map
Map包装类,通过包装一个已有Map实现特定功能。
MapWrapper(Supplier<Map<K, V>>) - Constructor for class org.dromara.hutool.core.map.MapWrapper
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
MapWrapper(Map<K, V>) - Constructor for class org.dromara.hutool.core.map.MapWrapper
构造
mark(int) - Method in class org.dromara.hutool.core.compress.InflaterInputStream
 
mark(int) - Method in class org.dromara.hutool.core.io.FastStringReader
 
mark(int) - Method in class org.dromara.hutool.core.io.ReaderWrapper
 
mark(int) - Method in class org.dromara.hutool.core.io.stream.EmptyInputStream
 
markSupported() - Method in class org.dromara.hutool.core.compress.InflaterInputStream
 
markSupported() - Method in class org.dromara.hutool.core.io.FastStringReader
 
markSupported() - Method in class org.dromara.hutool.core.io.ReaderWrapper
 
markSupported() - Method in class org.dromara.hutool.core.io.stream.EmptyInputStream
 
MASK_8BITS - Static variable in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Mask used to extract 8 bits, used in decoding bytes
MaskBit - Class in org.dromara.hutool.core.net
掩码位和掩码之间的Map对应
MaskBit() - Constructor for class org.dromara.hutool.core.net.MaskBit
 
masking(CharSequence, MaskingUtil.MaskingType) - Static method in class org.dromara.hutool.core.data.MaskingUtil
脱敏,使用默认的脱敏策略 MaskingUtil.masking("100", MaskingUtil.DesensitizedType.USER_ID)) = "0" MaskingUtil.masking("段正淳", MaskingUtil.DesensitizedType.CHINESE_NAME)) = "段**" MaskingUtil.masking("51343620000320711X", MaskingUtil.DesensitizedType.ID_CARD)) = "5***************1X" MaskingUtil.masking("09157518479", MaskingUtil.DesensitizedType.FIXED_PHONE)) = "0915*****79" MaskingUtil.masking("18049531999", MaskingUtil.DesensitizedType.MOBILE_PHONE)) = "180****1999" MaskingUtil.masking("北京市海淀区马连洼街道289号", MaskingUtil.DesensitizedType.ADDRESS)) = "北京市海淀区马********" MaskingUtil.masking("duandazhi-jack@gmail.com.cn", MaskingUtil.DesensitizedType.EMAIL)) = "d*************@gmail.com.cn" MaskingUtil.masking("1234567890", MaskingUtil.DesensitizedType.PASSWORD)) = "**********" MaskingUtil.masking("苏D40000", MaskingUtil.DesensitizedType.CAR_LICENSE)) = "苏D4***0" MaskingUtil.masking("11011111222233333256", MaskingUtil.DesensitizedType.BANK_CARD)) = "1101 **** **** **** 3256" MaskingUtil.masking("192.168.1.1", MaskingUtil.DesensitizedType.IPV4)) = "192.*.*.*"
MaskingUtil - Class in org.dromara.hutool.core.data
数据脱敏(Data Masking)工具类,对某些敏感信息(比如,身份证号、手机号、卡号、姓名、地址、邮箱等 )屏蔽敏感数据。
MaskingUtil() - Constructor for class org.dromara.hutool.core.data.MaskingUtil
 
MaskingUtil.MaskingType - Enum in org.dromara.hutool.core.data
支持的脱敏类型枚举
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.ArrayConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.CastConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.ClassConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.CollectionConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.DateConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.EmptyBeanConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.EntryConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.EnumConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.KBeanConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.MapConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.NumberConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.PrimitiveConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.RecordConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.TimeZoneConverter
 
match(Type, Class<?>, Object) - Method in class org.dromara.hutool.core.convert.impl.ZoneIdConverter
 
match(Type, Class<?>, Object) - Method in interface org.dromara.hutool.core.convert.MatcherConverter
判断需要转换的对象是否匹配当前转换器,满足则转换,否则跳过
match(Type, Object) - Method in interface org.dromara.hutool.core.convert.MatcherConverter
判断需要转换的对象是否匹配当前转换器,满足则转换,否则跳过
match(byte[]) - Method in enum org.dromara.hutool.core.io.file.FileMagicNumber
是否匹配bytes
match(String, String) - Method in class org.dromara.hutool.core.text.AntPathMatcher
给定路径是否匹配表达式
match(String) - Method in class org.dromara.hutool.core.text.dfa.WordTree
获得第一个匹配的关键字
match(String) - Method in class org.dromara.hutool.core.text.placeholder.StrMatcher
匹配并提取匹配到的内容
matchAll(String) - Method in class org.dromara.hutool.core.text.dfa.WordTree
找出所有匹配的关键字
matchAll(String, int) - Method in class org.dromara.hutool.core.text.dfa.WordTree
找出所有匹配的关键字
matchAll(String, int, boolean, boolean) - Method in class org.dromara.hutool.core.text.dfa.WordTree
找出所有匹配的关键字
假如被检查文本是"abab"
密集匹配原则:假如关键词有 ab,b,将匹配 [ab,b,ab]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[a, ab]
matchAllWords(String) - Method in class org.dromara.hutool.core.text.dfa.WordTree
找出所有匹配的关键字
matchAllWords(String, int) - Method in class org.dromara.hutool.core.text.dfa.WordTree
找出所有匹配的关键字
matchAllWords(String, int, boolean, boolean) - Method in class org.dromara.hutool.core.text.dfa.WordTree
找出所有匹配的关键字
假如被检查文本是"abab"
密集匹配原则:假如关键词有 ab,b,将匹配 [ab,b,ab,b]
贪婪匹配(最长匹配)原则:假如关键字a,ab,最长匹配将匹配[ab]
MatcherConverter - Interface in org.dromara.hutool.core.convert
带有匹配的转换器
判断目标对象是否满足条件,满足则转换,否则跳过
实现此接口同样可以不判断断言而直接转换
matches(String, String) - Static method in class org.dromara.hutool.core.net.Ipv4Util
检测指定 IP 地址是否匹配通配符 wildcard
matches(String) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
根据 占位变量 和 对应位置解析值 构造 Map
matches(String, Supplier<T>) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
根据 占位变量 和 对应位置解析值 构造 map 或者 bean 实例
matches(String) - Method in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate
将 占位符位置的值 按顺序解析为 字符串列表
matchesByKey(String, BiConsumer<String, String>) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
根据 策略 和 默认值 获得最终的 value,由消费者处理该 value
matchesByKey(String, BiConsumer<String, String>, boolean, Function<AbstractPlaceholderSegment, String>) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
根据 策略 和 默认值 获得最终的 value,由消费者处理该 value
matchesIndexed(String) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
将 占位符位置的值 按 占位符下标值 解析为 字符串列表
matchesIndexed(String, IntFunction<String>) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
将 占位符位置的值 按 占位符下标值 解析为 字符串列表 例如,模板中为 "This is between {1} and {2}",格式化结果为 "This is between 666 and 999", 由于其最大下标为 2, 则解析结果中固定有 3 个元素,解析结果为 [null, "666", "999"]
matchesIndexed(String, BiConsumer<Integer, String>, IntFunction<String>) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
根据 下标 和 下标占位符位置的值,自行提取结果值 例如,模板中为 "This is between {1} and {2}",格式化结果为 "This is between 666 and 999", 由于其最大下标为 2, 则解析结果中固定有 3 个元素,解析结果为 [null, "666", "999"]
matchesIndexedToArray(String) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
将 占位符位置的值 按 占位符下标值 解析为 字符串数组
matchesIndexedToArray(String, IntFunction<String>) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
将 占位符位置的值 按 占位符下标值 解析为 字符串数组
matchesRawByKey(String, BiConsumer<String, String>) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
原始数据的解析方法 不对 占位符 和 解析得到的值 做任何处理,由用户抉择
matchesRawBySegment(String, BiConsumer<AbstractPlaceholderSegment, String>) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
原始数据的解析方法 不对 占位符 和 解析得到的值 做任何处理,由用户抉择
matchesSequence(String) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
将 占位符位置的值 按顺序解析为 字符串列表
matchesSequence(String) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
将 占位符位置的值 按顺序解析为 字符串列表
matchesSequenceToArray(String) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
将 占位符位置的值 按顺序解析为 字符串数组
matchesToArray(String) - Method in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate
将 占位符位置的值 按顺序解析为 字符串数组
matchIndex(Predicate<T>, T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
返回数组中第一个匹配规则的值的位置
matchIndex(int, Predicate<E>, E...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
返回数组中第一个匹配规则的值的位置
matchIndex(Predicate<E>) - Method in class org.dromara.hutool.core.array.ArrayWrapper
返回数组中第一个匹配规则的值的位置
matchIndex(int, Predicate<E>) - Method in class org.dromara.hutool.core.array.ArrayWrapper
返回数组中第一个匹配规则的值的位置
matchLastIndex(Predicate<E>) - Method in class org.dromara.hutool.core.array.ArrayWrapper
返回数组中最后一个匹配规则的值的位置(从后向前查找)
matchLastIndex(int, Predicate<E>) - Method in class org.dromara.hutool.core.array.ArrayWrapper
返回数组中最后一个匹配规则的值的位置(从后向前查找)
matchStart(String, String) - Method in class org.dromara.hutool.core.text.AntPathMatcher
前置部分匹配
matchStrings(String, Map<String, String>) - Method in class org.dromara.hutool.core.text.AntPathMatcher.AntPathStringMatcher
Main entry point.
matchWord(String) - Method in class org.dromara.hutool.core.text.dfa.WordTree
获得第一个匹配的关键字
MathUtil - Class in org.dromara.hutool.core.math
数学相关方法工具类
此工具类与NumberUtil属于一类工具,NumberUtil偏向于简单数学计算的封装,MathUtil偏向复杂数学计算
MathUtil() - Constructor for class org.dromara.hutool.core.math.MathUtil
 
max(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
取最大值
max(T[], Comparator<T>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
取最大值
max(long...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最大值
max(int...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最大值
max(short...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最大值
max(char...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最大值
max(byte...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最大值
max(double...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最大值
max(float...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最大值
max(Collection<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
取最大值
max(T, T) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
取两个值中的最大值,大小相同返回第一个值
max(boolean) - Static method in class org.dromara.hutool.core.date.LocalTimeUtil
获取最大时间,提供参数是否将毫秒归零 如果truncateMillisecondfalse,返回时间最大值,为:23:59:59,999 如果truncateMillisecondtrue,返回时间最大值,为:23:59:59,000
max(Comparator<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
获取最大值
MAX_DATA_CENTER_ID - Static variable in class org.dromara.hutool.core.data.id.Snowflake
最大支持数据中心节点数0~31,一共32个
MAX_HMS - Static variable in class org.dromara.hutool.core.date.LocalTimeUtil
只有时分秒的最大时间
MAX_NODE_ID - Static variable in class org.dromara.hutool.core.data.id.SeataSnowflake
节点ID的最大值,1023
MAX_WORKER_ID - Static variable in class org.dromara.hutool.core.data.id.Snowflake
最大支持机器节点数0~31,一共32个
MAX_YEAR - Static variable in class org.dromara.hutool.core.date.chinese.LunarInfo
支持的最大年限
maxAttempts(long) - Method in class org.dromara.hutool.core.thread.RetryableTask
最大重试次数
maxBy(Comparator<? super T>) - Static method in interface org.dromara.hutool.core.func.SerBinaryOperator
Returns a SerBinaryOperator which returns the greater of two elements according to the specified Comparator.
maxFileSize - Variable in class org.dromara.hutool.core.cache.file.AbstractFileCache
缓存的最大文件大小,文件大于此大小时将不被缓存
maxFileSize() - Method in class org.dromara.hutool.core.cache.file.AbstractFileCache
 
maximumWeightedCapacity(long) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap.Builder
Specifies the maximum weighted capacity to coerce the map to and may exceed it temporarily.
maxSize() - Method in interface org.dromara.hutool.core.collection.BoundedCollection
获取集合最大允许容量
maxSize() - Method in class org.dromara.hutool.core.collection.BoundedList
 
maxSize() - Method in class org.dromara.hutool.core.collection.queue.BoundedPriorityQueue
 
MEDIUM - Static variable in class org.dromara.hutool.core.date.format.FastDateFormat
MEDIUM locale dependent date or time style.
MemorySafeLinkedBlockingQueue<E> - Class in org.dromara.hutool.core.collection.queue
内存安全的LinkedBlockingQueue,可以解决OOM问题。
MemorySafeLinkedBlockingQueue(long) - Constructor for class org.dromara.hutool.core.collection.queue.MemorySafeLinkedBlockingQueue
构造
MemorySafeLinkedBlockingQueue(Collection<? extends E>, long) - Constructor for class org.dromara.hutool.core.collection.queue.MemorySafeLinkedBlockingQueue
构造
mercatorToWgs84(double, double) - Static method in class org.dromara.hutool.core.data.CoordinateUtil
墨卡托投影 转为 WGS84 坐标
merge(Map<K, X>, Map<K, Y>, BiFunction<X, Y, V>) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
合并两个相同key类型的map
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.BiMap
 
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.MapWrapper
 
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.TransMap
 
merge(Iterable<K>, Iterable<V>) - Static method in class org.dromara.hutool.core.stream.EntryStream
根据键与值的集合创建键值对流,若两集合在相同下标的位置找不到对应的键或值,则使用null填充。
merge(StrJoiner) - Method in class org.dromara.hutool.core.text.StrJoiner
合并一个StrJoiner 到当前的StrJoiner
合并规则为,在尾部直接追加,当存在StrJoiner.prefix时,如果StrJoiner.wrapElementfalse,则去除之。
MetaAnnotatedElement<T extends AnnotationMapping<Annotation>> - Class in org.dromara.hutool.core.annotation.elements
注解元素映射,用于包装一个AnnotatedElement,然后将被包装的元素上, 直接声明的注解以及这些注解的元组全部解析为ResolvedAnnotationMapping
MetaAnnotatedElement(AnnotatedElement, BiFunction<T, Annotation, T>) - Constructor for class org.dromara.hutool.core.annotation.elements.MetaAnnotatedElement
解析注解属性
MethodHandleUtil - Class in org.dromara.hutool.core.reflect.method
方法句柄MethodHandle封装工具类
方法句柄是一个有类型的,可以直接执行的指向底层方法、构造器、field等的引用,可以简单理解为函数指针,它是一种更加底层的查找、调整和调用方法的机制。
MethodHandleUtil() - Constructor for class org.dromara.hutool.core.reflect.method.MethodHandleUtil
 
MethodInvoker - Class in org.dromara.hutool.core.reflect.method
方法调用器,通过反射调用方法。
MethodInvoker(Method) - Constructor for class org.dromara.hutool.core.reflect.method.MethodInvoker
构造
MethodLookupFactory - Class in org.dromara.hutool.core.reflect.lookup
jdk11中直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup只能对接口类型才会权限获取方法的方法句柄MethodHandle。
MethodLookupFactory() - Constructor for class org.dromara.hutool.core.reflect.lookup.MethodLookupFactory
构造
MethodMatcherUtil - Class in org.dromara.hutool.core.reflect.method
方法匹配器工具类,用于基于各种预设条件创建方法匹配器。
MethodMatcherUtil() - Constructor for class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
 
MethodNameUtil - Class in org.dromara.hutool.core.reflect.method
方法名相关工具,如生成Getter和Setter方法,获取其字段名等。
MethodNameUtil() - Constructor for class org.dromara.hutool.core.reflect.method.MethodNameUtil
 
MethodReflect - Class in org.dromara.hutool.core.reflect.method
方法反射相关操作类。
MethodReflect(Class<?>) - Constructor for class org.dromara.hutool.core.reflect.method.MethodReflect
构造
methodType(Executable) - Static method in class org.dromara.hutool.core.reflect.method.MethodTypeUtil
获取指定ExecutableMethodType
此方法主要是读取方法或构造中的方法列表,主要为: 方法:[返回类型, 参数1类型, 参数2类型, ...]
MethodTypeUtil - Class in org.dromara.hutool.core.reflect.method
MethodType相关工具类
MethodTypeUtil() - Constructor for class org.dromara.hutool.core.reflect.method.MethodTypeUtil
 
MethodUtil - Class in org.dromara.hutool.core.reflect.method
反射中Method相关工具类,包括方法获取和方法执行
MethodUtil() - Constructor for class org.dromara.hutool.core.reflect.method.MethodUtil
 
MetroHash<R extends MetroHash<R>> - Interface in org.dromara.hutool.core.codec.hash.metro
Apache 发布的MetroHash算法接口,是一组用于非加密用例的最先进的哈希函数。
metroHash128(byte[], long) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
MetroHash 算法128-bit实现
MetroHash128 - Class in org.dromara.hutool.core.codec.hash.metro
Apache 发布的MetroHash算法的128位实现,是一组用于非加密用例的最先进的哈希函数。
MetroHash128(long) - Constructor for class org.dromara.hutool.core.codec.hash.metro.MetroHash128
使用指定种子构造
metroHash64(byte[], long) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
MetroHash 算法64-bit实现
MetroHash64 - Class in org.dromara.hutool.core.codec.hash.metro
Apache 发布的MetroHash算法的64位实现,是一组用于非加密用例的最先进的哈希函数。
MetroHash64(long) - Constructor for class org.dromara.hutool.core.codec.hash.metro.MetroHash64
使用指定种子构造
middle - Variable in class org.dromara.hutool.core.lang.tuple.Triple
中值
millisecond() - Method in class org.dromara.hutool.core.date.DateTime
获得指定日期的毫秒数部分
millisecond(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期的毫秒数部分
min(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
取最小值
min(T[], Comparator<T>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
取最小值
min(long...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最小值
min(int...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最小值
min(short...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最小值
min(char...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最小值
min(byte...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最小值
min(double...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最小值
min(float...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
取最小值
min(Collection<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
取最小值
min(T, T) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
取两个值中的最小值,大小相同返回第一个值
min(Comparator<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
获取最小值
minBy(Comparator<? super T>) - Static method in interface org.dromara.hutool.core.func.SerBinaryOperator
Returns a SerBinaryOperator which returns the lesser of two elements according to the specified Comparator.
minChunkLen - Variable in class org.dromara.hutool.core.io.buffer.FastBuffer
一个缓冲区的最小字节数
minute() - Method in class org.dromara.hutool.core.date.DateTime
获得指定日期的分钟数部分
例如:10:04:15.250 =》 4
minute(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期的分钟数部分
例如:10:04:15.250 =》 4
missCount - Variable in class org.dromara.hutool.core.cache.impl.AbstractCache
丢失数,即未命中缓存计数
mixHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
混合hash算法,输出64位的值
mkdir(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建文件夹,如果存在直接返回此文件夹
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
mkdir(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建文件夹,会递归自动创建其不存在的父文件夹,如果存在直接返回此文件夹
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
mkdir(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
创建所给目录及其父目录
mkdirsSafely(File, int, long) - Static method in class org.dromara.hutool.core.io.file.FileUtil
安全地级联创建目录 (确保并发环境下能创建成功) 并发环境下,假设 test 目录不存在,如果线程A mkdirs "test/A" 目录,线程B mkdirs "test/B"目录, 其中一个线程可能会失败,进而导致以下代码抛出 FileNotFoundException 异常 file.getParentFile().mkdirs(); // 父目录正在被另一个线程创建中,返回 false file.createNewFile(); // 抛出 IO 异常,因为该线程无法感知到父目录已被创建
mkParentDirs(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建所给文件或目录的父目录
mkParentDirs(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建父文件夹,如果存在直接返回此文件夹
mkParentDirs(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
创建所给文件或目录的父目录
MOBILE - Static variable in class org.dromara.hutool.core.regex.PatternPool
移动电话
MOBILE - Static variable in interface org.dromara.hutool.core.regex.RegexPool
移动电话
eg: 中国大陆: +86 180 4953 1399,2位区域码标示+13位数字
MOBILE_HK - Static variable in class org.dromara.hutool.core.regex.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 - Static variable in interface org.dromara.hutool.core.regex.RegexPool
中国香港移动电话 eg: 中国香港: +852 5100 4810, 三位区域码+10位数字, 中国香港手机号码8位数
MOBILE_MO - Static variable in class org.dromara.hutool.core.regex.PatternPool
中国澳门移动电话 eg: 中国台湾: +853 68 00000, 三位区域码 +号码以数字6开头 + 7位数字, 中国台湾手机号码8位数 中国澳门 +853 Macao 国际域名缩写:MO
MOBILE_MO - Static variable in interface org.dromara.hutool.core.regex.RegexPool
中国澳门移动电话 eg: 中国澳门: +853 68 00000, 三位区域码 +号码以数字6开头 + 7位数字, 中国台湾手机号码8位数
MOBILE_TW - Static variable in class org.dromara.hutool.core.regex.PatternPool
中国台湾移动电话 eg: 中国台湾: +886 09 60 000000, 三位区域码+号码以数字09开头 + 8位数字, 中国台湾手机号码10位数 中国台湾 +886 Taiwan 国际域名缩写:TW
MOBILE_TW - Static variable in interface org.dromara.hutool.core.regex.RegexPool
中国台湾移动电话 eg: 中国台湾: +886 09 60 000000, 三位区域码+号码以数字09开头 + 8位数字, 中国台湾手机号码10位数
mobilePhone(String) - Static method in class org.dromara.hutool.core.data.MaskingUtil
【手机号码】前三位,后4位,其他隐藏,比如135****2210
ModifierType - Enum in org.dromara.hutool.core.reflect
修饰符枚举
ModifierUtil - Class in org.dromara.hutool.core.reflect
修饰符工具类
ModifierUtil() - Constructor for class org.dromara.hutool.core.reflect.ModifierUtil
 
modify(Calendar, int, DateModifier.ModifyType) - Static method in class org.dromara.hutool.core.date.DateModifier
修改日期
modify(Calendar, int, DateModifier.ModifyType, boolean) - Static method in class org.dromara.hutool.core.date.DateModifier
修改日期,取起始值或者结束值
可选是否归零毫秒。
modulus - Variable in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Writes to the buffer only occur after every 3/5 reads when encoding, and every 4/8 reads when decoding.
Money - Class in org.dromara.hutool.core.math
单币种货币类,处理货币算术、币种和取整。
Money() - Constructor for class org.dromara.hutool.core.math.Money
缺省构造器。
Money(long, int) - Constructor for class org.dromara.hutool.core.math.Money
构造器。
Money(long, int, Currency) - Constructor for class org.dromara.hutool.core.math.Money
构造器。
Money(String) - Constructor for class org.dromara.hutool.core.math.Money
构造器。
Money(String, Currency) - Constructor for class org.dromara.hutool.core.math.Money
构造器。
Money(String, Currency, RoundingMode) - Constructor for class org.dromara.hutool.core.math.Money
构造器。
Money(double) - Constructor for class org.dromara.hutool.core.math.Money
构造器。
Money(double, Currency) - Constructor for class org.dromara.hutool.core.math.Money
构造器。
Money(BigDecimal) - Constructor for class org.dromara.hutool.core.math.Money
构造器。
Money(BigDecimal, RoundingMode) - Constructor for class org.dromara.hutool.core.math.Money
构造器。
Money(BigDecimal, Currency) - Constructor for class org.dromara.hutool.core.math.Money
构造器。
Money(BigDecimal, Currency, RoundingMode) - Constructor for class org.dromara.hutool.core.math.Money
构造器。
MONEY - Static variable in class org.dromara.hutool.core.regex.PatternPool
货币
MONEY - Static variable in interface org.dromara.hutool.core.regex.RegexPool
货币
month() - Method in class org.dromara.hutool.core.date.DateTime
获得月份,从0开始计数
month(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得月份,从0开始计数
Month - Enum in org.dromara.hutool.core.date
月份枚举
与Calendar中的月份int值对应
monthBaseOne() - Method in class org.dromara.hutool.core.date.DateTime
获取月,从1开始计数
monthDays(int, int) - Static method in class org.dromara.hutool.core.date.chinese.LunarInfo
传回农历 y年m月的总天数,区分大小月
monthEnum() - Method in class org.dromara.hutool.core.date.DateTime
获得月份
monthEnum(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得月份
monthStartFromOne() - Method in class org.dromara.hutool.core.date.DateTime
获得月份,从1开始计数
由于Calendar 中的月份按照0开始计数,导致某些需求容易误解,因此如果想用1表示一月,2表示二月则调用此方法
Morse - Class in org.dromara.hutool.core.codec
莫尔斯电码的编码和解码实现
参考:https://github.com/TakWolf/Java-MorseCoder
Morse() - Constructor for class org.dromara.hutool.core.codec.Morse
构造
Morse(char, char, char) - Constructor for class org.dromara.hutool.core.codec.Morse
构造
move(List<T>, T, int) - Static method in class org.dromara.hutool.core.collection.ListUtil
将元素移动到指定列表的新位置。
move(File, File, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
移动文件或目录到目标中,例如: 如果src为文件,target为目录,则移动到目标目录下,存在同名文件则按照是否覆盖参数执行。
move() - Method in class org.dromara.hutool.core.io.file.PathMover
移动文件或目录到目标中,例如: 如果src和target为同一文件或目录,直接返回target。
move(Path, Path, boolean) - Static method in class org.dromara.hutool.core.io.file.PathUtil
移动文件或目录到目标中,例如: 如果src和target为同一文件或目录,直接返回target。
move(CharSequence, int, int, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
循环位移指定位置的字符串为指定距离
当moveLength大于0向右位移,小于0向左位移,0不位移
当moveLength大于字符串长度时采取循环位移策略,即位移到头后从头(尾)位移,例如长度为10,位移13则表示位移3
moveContent() - Method in class org.dromara.hutool.core.io.file.PathMover
移动文件或目录内容到目标中,例如: 如果src为文件,target为目录,则移动到目标目录下,存在同名文件则按照是否覆盖参数执行。
moveContent(Path, Path, boolean) - Static method in class org.dromara.hutool.core.io.file.PathUtil
移动文件或目录内容到目标中,例如: 如果src为文件,target为目录,则移动到目标目录下,存在同名文件则按照是否覆盖参数执行。
moveToBack(E) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
Moves the element to the back of the deque so that it becomes the last element.
moveToFront(E) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
Moves the element to the front of the deque so that it becomes the first element.
MoveVisitor - Class in org.dromara.hutool.core.io.file.visitor
文件移动操作的FileVisitor实现,用于递归遍历移动目录和文件,此类非线程安全
此类在遍历源目录并移动过程中会自动创建目标目录中不存在的上级目录。
MoveVisitor(Path, Path, CopyOption...) - Constructor for class org.dromara.hutool.core.io.file.visitor.MoveVisitor
构造
mul(Number...) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
mul(String...) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供精确的乘法运算
如果传入多个值为null或者空,则返回0
multi(SerBiConsumer<T, U>...) - Static method in interface org.dromara.hutool.core.func.SerBiConsumer
multi
multi(SerConsumer<T>...) - Static method in interface org.dromara.hutool.core.func.SerConsumer
multi
multi(SerRunnable...) - Static method in interface org.dromara.hutool.core.func.SerRunnable
multi
multiAnd(SerPredicate<T>...) - Static method in interface org.dromara.hutool.core.func.SerPredicate
multi
MultiFileResource - Class in org.dromara.hutool.core.io.resource
多文件组合资源
此资源为一个利用游标自循环资源,只有调用MultiResource.next() 方法才会获取下一个资源,使用完毕后调用MultiResource.reset()方法重置游标
MultiFileResource(Collection<File>) - Constructor for class org.dromara.hutool.core.io.resource.MultiFileResource
构造
MultiFileResource(File...) - Constructor for class org.dromara.hutool.core.io.resource.MultiFileResource
构造
MultiFileResource(Path...) - Constructor for class org.dromara.hutool.core.io.resource.MultiFileResource
构造
multiOr(SerPredicate<T>...) - Static method in interface org.dromara.hutool.core.func.SerPredicate
multi
multiple(int, int) - Static method in class org.dromara.hutool.core.math.MathUtil
最小公倍数
multiply(long) - Method in class org.dromara.hutool.core.math.Money
货币乘法。
multiply(double) - Method in class org.dromara.hutool.core.math.Money
货币乘法。
multiply(BigDecimal) - Method in class org.dromara.hutool.core.math.Money
货币乘法。
multiply(BigDecimal, RoundingMode) - Method in class org.dromara.hutool.core.math.Money
货币乘法。
multiplyBy(long) - Method in class org.dromara.hutool.core.math.Money
货币累乘。
multiplyBy(double) - Method in class org.dromara.hutool.core.math.Money
货币累乘。
multiplyBy(BigDecimal) - Method in class org.dromara.hutool.core.math.Money
货币累乘。
multiplyBy(BigDecimal, RoundingMode) - Method in class org.dromara.hutool.core.math.Money
货币累乘。
MultiResource - Class in org.dromara.hutool.core.io.resource
多资源组合资源
此资源为一个利用游标自循环资源,只有调用MultiResource.next() 方法才会获取下一个资源,使用完毕后调用MultiResource.reset()方法重置游标
MultiResource(Resource...) - Constructor for class org.dromara.hutool.core.io.resource.MultiResource
构造
MultiResource(Collection<Resource>) - Constructor for class org.dromara.hutool.core.io.resource.MultiResource
构造
MultiStrFinder - Class in org.dromara.hutool.core.text.finder
多字符串查询器 底层思路 使用 AC 自动机实现
设计思路见:https://zhuanlan.zhihu.com/p/368184958
MultiStrFinder(Collection<String>) - Constructor for class org.dromara.hutool.core.text.finder.MultiStrFinder
构建多字符串查询器
MultiStrFinder.Node - Class in org.dromara.hutool.core.text.finder
AC 自动机节点
MultiValueMap<K,V> - Interface in org.dromara.hutool.core.map.multi
一个键对应多个值的集合Map实现,提供针对键对应的值集合中的元素而非值集合本身的一些快捷操作, 本身可作为一个值为Collection类型的Map使用。
murmur128(byte[]) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
MurmurHash算法128-bit实现
murmur32(byte[]) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
MurmurHash算法32-bit实现
murmur64(byte[]) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
MurmurHash算法64-bit实现
MurmurHash - Class in org.dromara.hutool.core.codec.hash
Murmur3 32bit、64bit、128bit 哈希算法实现
此算法来自于:...
MurmurHash() - Constructor for class org.dromara.hutool.core.codec.hash.MurmurHash
 
Mutable<T> - Interface in org.dromara.hutool.core.lang.mutable
提供可变值类型接口
相较于OptOptional,该所有实现类中的方法都不区分值是否为null, 因此在使用前需要自行判断值是否为null, 确保不会因为null值而抛出NullPointerException的情况。
MutableBool - Class in org.dromara.hutool.core.lang.mutable
可变 boolean 类型
MutableBool() - Constructor for class org.dromara.hutool.core.lang.mutable.MutableBool
构造,默认值0
MutableBool(boolean) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableBool
构造
MutableBool(String) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableBool
构造
MutableByte - Class in org.dromara.hutool.core.lang.mutable
可变 byte 类型
MutableByte() - Constructor for class org.dromara.hutool.core.lang.mutable.MutableByte
构造,默认值0
MutableByte(byte) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableByte
构造
MutableByte(Number) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableByte
构造
MutableByte(String) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableByte
构造
MutableDouble - Class in org.dromara.hutool.core.lang.mutable
可变 double 类型
MutableDouble() - Constructor for class org.dromara.hutool.core.lang.mutable.MutableDouble
构造,默认值0
MutableDouble(double) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableDouble
构造
MutableDouble(Number) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableDouble
构造
MutableDouble(String) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableDouble
构造
MutableEntry<K,V> - Class in org.dromara.hutool.core.lang.mutable
可变键和值的Map.Entry实现,可以修改键和值
MutableEntry(K, V) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableEntry
构造
MutableFloat - Class in org.dromara.hutool.core.lang.mutable
可变 float 类型
MutableFloat() - Constructor for class org.dromara.hutool.core.lang.mutable.MutableFloat
构造,默认值0
MutableFloat(float) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableFloat
构造
MutableFloat(Number) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableFloat
构造
MutableFloat(String) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableFloat
构造
MutableInt - Class in org.dromara.hutool.core.lang.mutable
可变 int 类型
MutableInt() - Constructor for class org.dromara.hutool.core.lang.mutable.MutableInt
构造,默认值0
MutableInt(int) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableInt
构造
MutableInt(Number) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableInt
构造
MutableInt(String) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableInt
构造
MutableLong - Class in org.dromara.hutool.core.lang.mutable
可变 long 类型
MutableLong() - Constructor for class org.dromara.hutool.core.lang.mutable.MutableLong
构造,默认值0
MutableLong(long) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableLong
构造
MutableLong(Number) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableLong
构造
MutableLong(String) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableLong
构造
MutableObj<T> - Class in org.dromara.hutool.core.lang.mutable
可变Object
MutableObj() - Constructor for class org.dromara.hutool.core.lang.mutable.MutableObj
构造,空值
MutableObj(T) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableObj
构造
MutablePair<L,R> - Class in org.dromara.hutool.core.lang.mutable
可变二元组对象
MutablePair(L, R) - Constructor for class org.dromara.hutool.core.lang.mutable.MutablePair
构造
MutableShort - Class in org.dromara.hutool.core.lang.mutable
可变 short 类型
MutableShort() - Constructor for class org.dromara.hutool.core.lang.mutable.MutableShort
构造,默认值0
MutableShort(short) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableShort
构造
MutableShort(Number) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableShort
构造
MutableShort(String) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableShort
构造
MutableTriple<L,M,R> - Class in org.dromara.hutool.core.lang.mutable
可变三元组对象
MutableTriple(L, M, R) - Constructor for class org.dromara.hutool.core.lang.mutable.MutableTriple
构造

N

name - Variable in class org.dromara.hutool.core.io.resource.UrlResource
资源名称
name() - Method in interface org.dromara.hutool.core.lang.EnumItem
枚举名称
NAME_GBK - Static variable in class org.dromara.hutool.core.util.CharsetUtil
GBK
NAME_ISO_8859_1 - Static variable in class org.dromara.hutool.core.util.CharsetUtil
ISO-8859-1
NAME_US_ASCII - Static variable in class org.dromara.hutool.core.util.CharsetUtil
US_ASCII
NAME_UTF_8 - Static variable in class org.dromara.hutool.core.util.CharsetUtil
UTF-8
NamedInheritableThreadLocal<T> - Class in org.dromara.hutool.core.thread.threadlocal
带有Name标识的 InheritableThreadLocal,调用toString返回name
NamedInheritableThreadLocal(String) - Constructor for class org.dromara.hutool.core.thread.threadlocal.NamedInheritableThreadLocal
构造
NamedPlaceholderSegment - Class in org.dromara.hutool.core.text.placeholder.segment
字符串模板-有前后缀的变量占位符 Segment 例如,"{1}", "{name}", "#{id}"
NamedPlaceholderSegment(String, String) - Constructor for class org.dromara.hutool.core.text.placeholder.segment.NamedPlaceholderSegment
构造
NamedPlaceholderStrTemplate - Class in org.dromara.hutool.core.text.placeholder.template
有前后缀的字符串模板 例如,"{1}", "{name}", "#{id}"
NamedPlaceholderStrTemplate(String, int, String, String, char, String, UnaryOperator<String>) - Constructor for class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
 
NamedPlaceholderStrTemplate.Builder - Class in org.dromara.hutool.core.text.placeholder.template
构造器
NamedThreadFactory - Class in org.dromara.hutool.core.thread
线程创建工厂类,此工厂可选配置: 1.
NamedThreadFactory(String, boolean) - Constructor for class org.dromara.hutool.core.thread.NamedThreadFactory
构造
NamedThreadFactory(String, ThreadGroup, boolean) - Constructor for class org.dromara.hutool.core.thread.NamedThreadFactory
构造
NamedThreadFactory(String, ThreadGroup, boolean, Thread.UncaughtExceptionHandler) - Constructor for class org.dromara.hutool.core.thread.NamedThreadFactory
构造
NamedThreadLocal<T> - Class in org.dromara.hutool.core.thread.threadlocal
带有Name标识的 ThreadLocal,调用toString返回name
NamedThreadLocal(String) - Constructor for class org.dromara.hutool.core.thread.threadlocal.NamedThreadLocal
构造
NameNode - Class in org.dromara.hutool.core.bean.path.node
处理名称节点或序号节点,如: name 1
NameNode(String) - Constructor for class org.dromara.hutool.core.bean.path.node.NameNode
构造
nameToClass(String, boolean, ClassLoader) - Static method in class org.dromara.hutool.core.reflect.ClassDescUtil
类名称转类 "boolean" => boolean.class "java.util.Map[][]" => java.util.Map[][].class
nameToDesc(String) - Static method in class org.dromara.hutool.core.reflect.ClassDescUtil
类名称转描述 java.util.Map[][] => "[[Ljava/util/Map;"
nameUUIDFromBytes(byte[]) - Static method in class org.dromara.hutool.core.data.id.UUID
根据指定的字节数组获取类型 3 UUIDv3(基于名称的·使用MD5哈希加密)UUID 的静态工厂。
NamingCase - Class in org.dromara.hutool.core.text
命名规则封装,主要是针对驼峰风格命名、连接符命名等的封装
NamingCase() - Constructor for class org.dromara.hutool.core.text.NamingCase
 
nanoId() - Static method in class org.dromara.hutool.core.data.id.IdUtil
获取随机NanoId
nanoId(int) - Static method in class org.dromara.hutool.core.data.id.IdUtil
获取随机NanoId
NanoId - Class in org.dromara.hutool.core.data.id
NanoId,一个小型、安全、对 URL友好的唯一字符串 ID 生成器,特点: 安全:它使用加密、强大的随机 API,并保证符号的正确分配 体积小:只有 258 bytes 大小(压缩后)、无依赖 紧凑:它使用比 UUID (A-Za-z0-9_~)更多的符号 此实现的逻辑基于JavaScript的NanoId实现,见:https://github.com/ai/nanoid
NanoId() - Constructor for class org.dromara.hutool.core.data.id.NanoId
 
nanosToMillis(long) - Static method in class org.dromara.hutool.core.date.DateUtil
纳秒转毫秒
nanosToSeconds(long) - Static method in class org.dromara.hutool.core.date.DateUtil
纳秒转秒,保留小数
natural() - Static method in class org.dromara.hutool.core.comparator.CompareUtil
获取自然排序器,即默认排序器 如需对null友好操作如下 Comparator.nullsLast(CompareUtil.natural()) Comparator.nullsFirst(CompareUtil.natural())
naturalReverse() - Static method in class org.dromara.hutool.core.comparator.CompareUtil
获取反序排序器,即默认自然排序的反序排序器 如需对null友好操作如下 Comparator.nullsLast(CompareUtil.naturalReverse()) Comparator.nullsFirst(CompareUtil.naturalReverse())
NavigatePageInfo - Class in org.dromara.hutool.core.lang.page
导航分页信息类
根据提供的总页数、每页记录数、导航页码数等信息,生成导航数组。
NavigatePageInfo(int, int, int) - Constructor for class org.dromara.hutool.core.lang.page.NavigatePageInfo
构造
NBSP - Static variable in class org.dromara.hutool.core.xml.XmlConstants
字符串常量:XML 不间断空格转义 "&nbsp;" -> " "
negate(Predicate<T>) - Static method in class org.dromara.hutool.core.func.PredicateUtil
反向条件
negate() - Method in interface org.dromara.hutool.core.func.SerBiPredicate
Returns a predicate that represents the logical negation of this predicate.
negate() - Method in interface org.dromara.hutool.core.func.SerPredicate
Returns a predicate that represents the logical negation of this predicate.
negate() - Method in interface org.dromara.hutool.core.lang.range.Bound
对当前边界取反
negate() - Method in enum org.dromara.hutool.core.lang.range.BoundType
对边界类型取反
negate(Boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
取相反值
negate(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
取相反值
negative - Variable in class org.dromara.hutool.core.text.finder.TextFinder
是否反向查找
NegativeRingException(String) - Constructor for exception org.dromara.hutool.core.map.multi.DirectedWeightGraph.NegativeRingException
构造
netCat(String, int, boolean, ByteBuffer) - Static method in class org.dromara.hutool.core.net.NetUtil
简易的使用Socket发送数据
netCat(String, int, byte[]) - Static method in class org.dromara.hutool.core.net.NetUtil
使用普通Socket发送数据
NetUtil - Class in org.dromara.hutool.core.net
网络相关工具
NetUtil() - Constructor for class org.dromara.hutool.core.net.NetUtil
 
newArray(Class<?>, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
新建一个空数组
newArray(int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
新建一个Object类型空数组
newBlockingQueue(int, boolean) - Static method in class org.dromara.hutool.core.collection.CollUtil
新建BlockingQueue
在队列为空时,获取元素的线程会等待队列变为非空。
newCompletionService() - Static method in class org.dromara.hutool.core.thread.ThreadUtil
新建一个CompletionService,调用其submit方法可以异步执行多个任务,最后调用take方法按照完成的顺序获得其结果。
newCompletionService(ExecutorService) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
新建一个CompletionService,调用其submit方法可以异步执行多个任务,最后调用take方法按照完成的顺序获得其结果。
newCondition() - Method in class org.dromara.hutool.core.thread.lock.NoLock
 
newCountDownLatch(int) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
新建一个CountDownLatch,一个同步辅助类,在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。
newCyclicBarrier(int) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
新建一个CycleBarrier 循环栅栏,一个同步辅助类
示例:7个同学,集齐7个龙珠,7个同学一起召唤神龙;前后集齐了2次 {@code AtomicInteger times = new AtomicInteger(); CyclicBarrier barrier = new CyclicBarrier(7, ()->{ System.out.println(""); System.out.println(""); System.out.println("【循环栅栏业务处理】7个子线程 都收集了一颗龙珠,七颗龙珠已经收集齐全,开始召唤神龙。"
newDecoder(Charset, CodingErrorAction) - Static method in class org.dromara.hutool.core.util.CharsetUtil
创建一个新的CharsetDecoder实例,配置指定的字符集和错误处理行为。
newEncoder(Charset, CodingErrorAction) - Static method in class org.dromara.hutool.core.util.CharsetUtil
创建一个新的CharsetEncoder实例,配置指定的字符集和错误处理策略。
newerThan(File, File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
给定文件或目录的最后修改时间是否晚于给定时间
newerThan(File, long) - Static method in class org.dromara.hutool.core.io.file.FileUtil
给定文件或目录的最后修改时间是否晚于给定时间
newExecutor() - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获得一个新的线程池,默认的策略如下: 1.
newExecutor(int) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
新建一个线程池,默认的策略如下: 1.
newExecutor(int, int) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获得一个新的线程池
如果maximumPoolSize >= corePoolSize,在没有新任务加入的情况下,多出的线程将最多保留60s
newExecutor(int, int, int) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获得一个新的线程池,并指定最大任务队列大小
如果maximumPoolSize >= corePoolSize,在没有新任务加入的情况下,多出的线程将最多保留60s
newExecutorByBlockingCoefficient(float) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获得一个新的线程池
传入阻塞系数,线程池的大小计算公式为:CPU可用核心数 / (1 - 阻塞因子)
Blocking Coefficient(阻塞系数) = 阻塞时间/(阻塞时间+使用CPU的时间)
计算密集型任务的阻塞系数为0,而IO密集型任务的阻塞系数则接近于1。
newFIFOCache(int, long) - Static method in class org.dromara.hutool.core.cache.CacheUtil
创建FIFO(first in first out) 先进先出缓存.
newFIFOCache(int) - Static method in class org.dromara.hutool.core.cache.CacheUtil
创建FIFO(first in first out) 先进先出缓存.
newFile(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建File对象,相当于调用new File(),不做任何处理
相对于项目路径,如`project:.
newFixedExecutor(int, String, boolean) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获取一个新的线程池,默认的策略如下
1.
newFixedExecutor(int, int, String, boolean) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获取一个新的线程池,默认的策略如下
1.
newFixedExecutor(int, int, String, RejectedExecutionHandler) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获得一个新的线程池,默认策略如下
1.
newHashMap() - Static method in class org.dromara.hutool.core.map.MapUtil
新建一个HashMap
newHashMap(int, boolean) - Static method in class org.dromara.hutool.core.map.MapUtil
新建一个HashMap
newHashMap(int) - Static method in class org.dromara.hutool.core.map.MapUtil
新建一个HashMap
newHashMap(boolean) - Static method in class org.dromara.hutool.core.map.MapUtil
新建一个HashMap
newIdentityMap(int) - Static method in class org.dromara.hutool.core.map.MapUtil
创建键不重复Map
newInstance(Class<?>, ValueProvider<String>) - Static method in class org.dromara.hutool.core.bean.RecordUtil
实例化Record类
newInstance(String) - Static method in class org.dromara.hutool.core.reflect.ConstructorUtil
实例化对象
类必须有空构造函数
newInstance(Class<T>, Object...) - Static method in class org.dromara.hutool.core.reflect.ConstructorUtil
实例化对象
newInstance(Class<T>, Map<String, ?>) - Static method in class org.dromara.hutool.core.reflect.kotlin.KClassUtil
实例化Kotlin对象
newInstance(Class<T>, ValueProvider<String>) - Static method in class org.dromara.hutool.core.reflect.kotlin.KClassUtil
实例化Kotlin对象
newInstanceIfPossible(Class<T>) - Static method in class org.dromara.hutool.core.reflect.ConstructorUtil
尝试遍历并调用此类的所有构造方法,直到构造成功并返回 对于某些特殊的接口,按照其默认实现实例化,例如: Map -》 HashMap Collction -》 ArrayList List -》 ArrayList Set -》 HashSet
newLFUCache(int, long) - Static method in class org.dromara.hutool.core.cache.CacheUtil
创建LFU(least frequently used) 最少使用率缓存.
newLFUCache(int) - Static method in class org.dromara.hutool.core.cache.CacheUtil
创建LFU(least frequently used) 最少使用率缓存.
newLRUCache(int, long) - Static method in class org.dromara.hutool.core.cache.CacheUtil
创建LRU (least recently used)最近最久未使用缓存.
newLRUCache(int) - Static method in class org.dromara.hutool.core.cache.CacheUtil
创建LRU (least recently used)最近最久未使用缓存.
newMoneyWithSameCurrency(long) - Method in class org.dromara.hutool.core.math.Money
创建一个币种相同,具有指定金额的货币对象。
newNamedThreadFactory(String, boolean) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
创建线程工厂
newNamedThreadFactory(String, ThreadGroup, boolean) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
创建线程工厂
newNamedThreadFactory(String, ThreadGroup, boolean, Thread.UncaughtExceptionHandler) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
创建线程工厂
newNoCache() - Static method in class org.dromara.hutool.core.cache.CacheUtil
创建无缓存实现.
newPhaser(int) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
新建一个Phaser,一个同步辅助类,jdk1.7提供,可以完全替代CountDownLatch;
newProxyInstance(ClassLoader, InvocationHandler, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.JdkProxyUtil
创建动态代理对象
动态代理对象的创建原理是:
假设创建的代理对象名为 $Proxy0 1、根据传入的interfaces动态生成一个类,实现interfaces中的接口
2、通过传入的classloder将刚生成的类加载到jvm中。
newProxyInstance(InvocationHandler, Class<?>...) - Static method in class org.dromara.hutool.core.reflect.JdkProxyUtil
创建动态代理对象
newSafeConcurrentHashMap() - Static method in class org.dromara.hutool.core.map.MapUtil
newSafeConcurrentHashMap(int) - Static method in class org.dromara.hutool.core.map.MapUtil
newSafeConcurrentHashMap(Map<K, V>) - Static method in class org.dromara.hutool.core.map.MapUtil
传入一个Map将其转化为SafeConcurrentHashMap类型
newSimpleFormat(String) - Static method in class org.dromara.hutool.core.date.DateUtil
创建SimpleDateFormat,注意此对象非线程安全!
newSimpleFormat(String, Locale, TimeZone) - Static method in class org.dromara.hutool.core.date.DateUtil
创建SimpleDateFormat,注意此对象非线程安全!
newSingleExecutor() - Static method in class org.dromara.hutool.core.thread.ThreadUtil
获得一个新的线程池,只有单个线程,策略如下: 1.
newThread(Runnable) - Method in class org.dromara.hutool.core.thread.NamedThreadFactory
 
newThread(Runnable, String) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
创建新线程,非守护线程,正常优先级,线程组与当前线程的线程组一致
newThread(Runnable, String, boolean) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
创建新线程
newTimedCache(long, long) - Static method in class org.dromara.hutool.core.cache.CacheUtil
创建定时缓存,通过定时任务自动清除过期缓存对象
newTimedCache(long) - Static method in class org.dromara.hutool.core.cache.CacheUtil
创建定时缓存.
newTreeMap(Comparator<? super K>) - Static method in class org.dromara.hutool.core.map.MapUtil
新建TreeMap,Key有序的Map
newTreeMap(Map<K, V>, Comparator<? super K>) - Static method in class org.dromara.hutool.core.map.MapUtil
新建TreeMap,Key有序的Map
newWeakCache(long) - Static method in class org.dromara.hutool.core.cache.CacheUtil
创建弱引用缓存.
next() - Method in class org.dromara.hutool.core.bean.path.BeanPath
 
next() - Method in class org.dromara.hutool.core.cache.impl.CacheObjIterator
 
next() - Method in class org.dromara.hutool.core.cache.impl.CacheValuesIterator
 
next() - Method in class org.dromara.hutool.core.collection.iter.ArrayIter
 
next() - Method in class org.dromara.hutool.core.collection.iter.ComputeIter
 
next() - Method in class org.dromara.hutool.core.collection.iter.CopiedIter
 
next() - Method in class org.dromara.hutool.core.collection.iter.EnumerationIter
 
next() - Method in class org.dromara.hutool.core.collection.iter.FilterIter
 
next() - Method in class org.dromara.hutool.core.collection.iter.IterChain
 
next() - Method in class org.dromara.hutool.core.collection.iter.NodeListIter
 
next() - Method in class org.dromara.hutool.core.collection.iter.PartitionIter
 
next() - Method in class org.dromara.hutool.core.collection.iter.TransIter
 
next() - Static method in class org.dromara.hutool.core.data.id.ObjectId
获取一个objectId【没有下划线】。
next(boolean) - Static method in class org.dromara.hutool.core.data.id.ObjectId
获取一个objectId
next() - Method in class org.dromara.hutool.core.data.id.ObjectIdGenerator
 
next() - Method in class org.dromara.hutool.core.data.id.SeataSnowflake
获取下一个雪花ID
next() - Method in class org.dromara.hutool.core.data.id.Snowflake
下一个ID
next() - Method in class org.dromara.hutool.core.data.id.ULIDGenerator
 
next() - Method in class org.dromara.hutool.core.data.id.UUIDGenerator
 
next() - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
next() - Method in interface org.dromara.hutool.core.lang.generator.Generator
生成新的对象
next() - Method in class org.dromara.hutool.core.lang.generator.ObjectGenerator
 
next() - Method in class org.dromara.hutool.core.lang.range.Range
 
next() - Method in class org.dromara.hutool.core.tree.HierarchyIterator
获取下一个节点
nextBytes() - Static method in class org.dromara.hutool.core.data.id.ObjectId
获取一个objectId的bytes表现形式
nextElement() - Method in class org.dromara.hutool.core.collection.iter.IteratorEnumeration
 
nextMonotonic(long) - Method in class org.dromara.hutool.core.data.id.ULID
获取下一个有序的ULID
nextMonth() - Static method in class org.dromara.hutool.core.date.DateUtil
下个月
nextPage() - Method in class org.dromara.hutool.core.lang.page.PageInfo
下一页,即当前页码+1
当超过末页时,此方法指向的页码值始终为PageInfo.getPageCount() + 1,即最后一页后的空白页。
nextPoint(DirectedWeightGraph.Edge<T>) - Method in class org.dromara.hutool.core.map.multi.DirectedWeightGraph.Path
生成下一跳
nextStr() - Method in class org.dromara.hutool.core.data.id.SeataSnowflake
下一个ID(字符串形式)
nextStr() - Method in class org.dromara.hutool.core.data.id.Snowflake
下一个ID(字符串形式)
nextWeek() - Static method in class org.dromara.hutool.core.date.DateUtil
下周
NFA - Class in org.dromara.hutool.core.text.dfa
基于非确定性有穷自动机(NFA) 实现的多模匹配工具
NFA() - Constructor for class org.dromara.hutool.core.text.dfa.NFA
默认构造
NFA(String...) - Constructor for class org.dromara.hutool.core.text.dfa.NFA
构造函数 并 初始化词库
NioUtil - Class in org.dromara.hutool.core.io
NIO相关工具封装,主要针对Channel读写、拷贝等封装
NioUtil() - Constructor for class org.dromara.hutool.core.io.NioUtil
 
NoCache<K,V> - Class in org.dromara.hutool.core.cache.impl
无缓存实现,用于快速关闭缓存
NoCache() - Constructor for class org.dromara.hutool.core.cache.impl.NoCache
 
Node - Interface in org.dromara.hutool.core.bean.path.node
Bean路径节点接口
node() - Method in class org.dromara.hutool.core.data.id.UUID
与此 UUID 相关的节点值。
Node() - Constructor for class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
 
Node<T> - Interface in org.dromara.hutool.core.tree
节点接口,提供节点相关的的方法定义
NodeBeanFactory<T> - Interface in org.dromara.hutool.core.bean.path
BeanPath节点对应的Bean工厂,提供Bean的创建、获取和设置接口
NodeFactory - Class in org.dromara.hutool.core.bean.path.node
节点简单工厂
NodeFactory() - Constructor for class org.dromara.hutool.core.bean.path.node.NodeFactory
 
nodeIndex - Variable in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
 
NodeListIter - Class in org.dromara.hutool.core.collection.iter
包装 NodeListIterator 此 iterator 不支持 NodeListIter.remove() 方法。
NodeListIter(NodeList) - Constructor for class org.dromara.hutool.core.collection.iter.NodeListIter
构造, 根据给定NodeList 创建NodeListIterator
NodeParser<T,E> - Interface in org.dromara.hutool.core.tree.parser
树节点解析器 可以参考DefaultNodeParser
NoLock - Class in org.dromara.hutool.core.thread.lock
无锁实现
NoLock() - Constructor for class org.dromara.hutool.core.thread.lock.NoLock
 
none() - Static method in interface org.dromara.hutool.core.annotation.RepeatableAnnotationCollector
空实现
None() - Constructor for class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.None
 
none(Predicate<T>...) - Static method in class org.dromara.hutool.core.func.PredicateUtil
用于组合多个方法匹配器的方法匹配器,即所有条件都为false时,才返回true,也可理解为,任一条件为true时,返回false
noneLowerBound() - Static method in interface org.dromara.hutool.core.lang.range.Bound
{x | x > -∞}
noneMatch(Predicate<Method>...) - Static method in class org.dromara.hutool.core.reflect.method.MethodMatcherUtil
用于组合多个方法匹配器的方法匹配器,仅当所有方法匹配器均匹配失败时才认为方法匹配。
noneMatch(BiPredicate<? super K, ? super V>) - Method in class org.dromara.hutool.core.stream.EntryStream
所有键值对是否都不符合条件
noneMatch(Predicate<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
判断是否没有元素满足给定断言
noneUpperBound() - Static method in interface org.dromara.hutool.core.lang.range.Bound
{x | x < +∞}
nonNull() - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
过滤掉空元素
nonNullKey() - Method in class org.dromara.hutool.core.stream.EntryStream
过滤流中键值对本身,或键值对的键为null的元素
nonNullKeyValue() - Method in class org.dromara.hutool.core.stream.EntryStream
过滤流中键值对本身、键值对中的值或键为null的元素
nonNullValue() - Method in class org.dromara.hutool.core.stream.EntryStream
过滤流中键值对本身,或键值对的值为null的元素
noNullElements(T[], Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定数组是否不包含null元素,如果数组为空或 null将被认为不包含 并使用指定的函数获取错误信息返回
 Assert.noNullElements(array, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return ");
  });
 
noNullElements(T[], String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定数组是否不包含null元素,如果数组为空或 null将被认为不包含
 Assert.noNullElements(array, "The array must not have null elements");
 
noNullElements(T[]) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定数组是否不包含null元素,如果数组为空或 null将被认为不包含
 Assert.noNullElements(array);
 
NoReadWriteLock - Class in org.dromara.hutool.core.thread.lock
无锁的读写锁实现
NoReadWriteLock() - Constructor for class org.dromara.hutool.core.thread.lock.NoReadWriteLock
 
NoResourceException - Exception in org.dromara.hutool.core.io.resource
资源文件或资源不存在异常
NoResourceException() - Constructor for exception org.dromara.hutool.core.io.resource.NoResourceException
构造
NoResourceException(Throwable) - Constructor for exception org.dromara.hutool.core.io.resource.NoResourceException
构造
NoResourceException(String) - Constructor for exception org.dromara.hutool.core.io.resource.NoResourceException
构造
NoResourceException(String, Object...) - Constructor for exception org.dromara.hutool.core.io.resource.NoResourceException
构造
NoResourceException(String, Throwable) - Constructor for exception org.dromara.hutool.core.io.resource.NoResourceException
构造
NoResourceException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.io.resource.NoResourceException
构造
NoResourceException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.io.resource.NoResourceException
构造
NORM_DATE_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyy-MM-dd
NORM_DATE_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 DateTimeFormatter:yyyy-MM-dd
NORM_DATE_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式:yyyy-MM-dd
NORM_DATETIME_COMMA_MS_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601日期时间格式,精确到毫秒 FastDateFormat:yyyy-MM-dd HH:mm:ss,SSS
NORM_DATETIME_COMMA_MS_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 DateTimeFormatter:yyyy-MM-dd HH:mm:ss,SSS
NORM_DATETIME_COMMA_MS_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601日期时间格式,精确到毫秒:yyyy-MM-dd HH:mm:ss,SSS
NORM_DATETIME_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期时间格式,精确到秒 FastDateFormat:yyyy-MM-dd HH:mm:ss
NORM_DATETIME_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期时间格式,精确到秒 DateTimeFormatter:yyyy-MM-dd HH:mm:ss
NORM_DATETIME_MINUTE_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期时间格式,精确到分 FastDateFormat:yyyy-MM-dd HH:mm
NORM_DATETIME_MINUTE_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 DateTimeFormatter:yyyy-MM-dd HH:mm
NORM_DATETIME_MINUTE_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期时间格式,精确到分:yyyy-MM-dd HH:mm
NORM_DATETIME_MS_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期时间格式,精确到毫秒 FastDateFormat:yyyy-MM-dd HH:mm:ss.SSS
NORM_DATETIME_MS_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期时间格式,精确到毫秒 DateTimeFormatter:yyyy-MM-dd HH:mm:ss.SSS
NORM_DATETIME_MS_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期时间格式,精确到毫秒:yyyy-MM-dd HH:mm:ss.SSS
NORM_DATETIME_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期时间格式,精确到秒:yyyy-MM-dd HH:mm:ss
NORM_MONTH_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
年月格式 FastDateFormat:yyyy-MM
NORM_MONTH_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
年月格式 DateTimeFormatter:yyyy-MM
NORM_MONTH_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
年月格式:yyyy-MM
NORM_TIME_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
标准时间格式 FastDateFormat:HH:mm:ss
NORM_TIME_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 DateTimeFormatter:HH:mm:ss
NORM_TIME_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
标准时间格式:HH:mm:ss
NORM_YEAR_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
年格式:yyyy
normalize(String) - Static method in class org.dromara.hutool.core.io.file.FileNameUtil
修复路径
如果原路径尾部有分隔符,则保留为标准分隔符(/),否则不保留 1.
normalize(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
修复路径
如果原路径尾部有分隔符,则保留为标准分隔符(/),否则不保留 1.
normalize(String) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
标准化URL字符串,包括: 自动补齐“http://”头 去除开头的\或者/ 替换\为/
normalize(String, boolean) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
标准化URL字符串,包括: 自动补齐“http://”头 去除开头的\或者/ 替换\为/
normalize(String, boolean, boolean) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
标准化URL字符串,包括: 自动补齐“http://”头 去除开头的\或者/ 替换\为/ 如果replaceSlash为true,则替换多个/为一个
normalize(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
对字符串归一化处理,如 "Á" 可以使用 "u00C1"或 "u0041u0301"表示,实际测试中两个字符串并不equals
因此使用此方法归一为一种表示形式,默认按照W3C通常建议的,在NFC中交换文本。
normalizeQuery(String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlQueryUtil
标准化参数字符串,即URL中?
normalizeV6Address(Inet6Address) - Static method in class org.dromara.hutool.core.net.Ipv6Util
规范IPv6地址,转换scope名称为scope id,如: fe80:0:0:0:894:aeec:f37d:23e1%en0 | fe80:0:0:0:894:aeec:f37d:23e1%5 地址后的“%5” 叫做 scope id.
NOT_FOUND_ELEMENT_INDEX - Static variable in interface org.dromara.hutool.core.stream.WrappedStream
代表不存在的下标, 或者未找到元素时的下标
NOT_FOUND_INDEX - Static variable in class org.dromara.hutool.core.annotation.ResolvedAnnotationMapping
不存在的属性对应的默认下标
notBlank(T, Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
检查给定字符串是否为空白(null、空串或只包含空白符),为空抛出自定义异常。
notBlank(T, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
检查给定字符串是否为空白(null、空串或只包含空白符),为空抛出 IllegalArgumentException
 Assert.notBlank(name, "Name must not be blank");
 
notBlank(T) - Static method in class org.dromara.hutool.core.lang.Assert
检查给定字符串是否为空白(null、空串或只包含空白符),为空抛出 IllegalArgumentException
 Assert.notBlank(name);
 
notContain(CharSequence, T, Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定字符串是否不被另一个字符串包含(即是否为子串),并使用指定的函数获取错误信息返回
如果非子串,返回子串,如果是子串,则抛出IllegalArgumentException异常。
notContain(String, String, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定字符串是否不被另一个字符串包含(即是否为子串)
如果非子串,返回子串,如果是子串,则抛出IllegalArgumentException异常。
notContain(String, String) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定字符串是否不被另一个字符串包含(即是否为子串),即subString是否不是textToSearch的子串。
notContains(Class<E>, String) - Static method in class org.dromara.hutool.core.util.EnumUtil
判断某个值是不存在枚举中
notEmpty(T[], Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定数组是否包含元素,数组必须不为 null 且至少包含一个元素 并使用指定的函数获取错误信息返回
 Assert.notEmpty(array, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
notEmpty(T[], String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定数组是否包含元素,数组必须不为 null 且至少包含一个元素
 Assert.notEmpty(array, "The array must have elements");
 
notEmpty(T[]) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定数组是否包含元素,数组必须不为 null 且至少包含一个元素
 Assert.notEmpty(array, "The array must have elements");
 
notEmpty(T, Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定集合非空 并使用指定的函数获取错误信息返回
 Assert.notEmpty(collection, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
notEmpty(T, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定集合非空
 Assert.notEmpty(collection, "Collection must have elements");
 
notEmpty(T) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定集合非空
 Assert.notEmpty(collection);
 
notEmpty(T, Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定Map非空 并使用指定的函数获取错误信息返回
 Assert.notEmpty(map, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
notEmpty(T, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定Map非空
 Assert.notEmpty(map, "Map must have entries");
 
notEmpty(T) - Static method in class org.dromara.hutool.core.lang.Assert
断言给定Map非空
 Assert.notEmpty(map, "Map must have entries");
 
notEmpty(T, Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
检查给定字符串是否为空,为空抛出自定义异常,并使用指定的函数获取错误信息返回。
notEmpty(T, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
检查给定字符串是否为空,为空抛出 IllegalArgumentException
 Assert.notEmpty(name, "Name must not be empty");
 
notEmpty(T) - Static method in class org.dromara.hutool.core.lang.Assert
检查给定字符串是否为空,为空抛出 IllegalArgumentException
 Assert.notEmpty(name);
 
notEquals(Object, Object) - Static method in class org.dromara.hutool.core.lang.Assert
断言两个对象是否不相等,如果两个对象相等 抛出IllegalArgumentException 异常
   Assert.notEquals(obj1,obj2);
 
notEquals(Object, Object, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言两个对象是否不相等,如果两个对象相等 抛出IllegalArgumentException 异常
   Assert.notEquals(obj1,obj2,"obj1 must be not equals obj2");
 
notEquals(Object, Object, Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
断言两个对象是否不相等,如果两个对象相等,抛出指定类型异常,并使用指定的函数获取错误信息返回
notEquals(Object, Object) - Static method in class org.dromara.hutool.core.util.ObjUtil
比较两个对象是否不相等
nothing() - Static method in interface org.dromara.hutool.core.func.SerBiConsumer
什么也不做,用于一些需要传入lambda的方法占位使用
nothing() - Static method in interface org.dromara.hutool.core.func.SerConsumer
nothing
notNull(T, Supplier<X>) - Static method in class org.dromara.hutool.core.lang.Assert
断言对象是否不为null ,如果为null 抛出指定类型异常 并使用指定的函数获取错误信息返回
 Assert.notNull(clazz, ()->{
      // to query relation message
      return new IllegalArgumentException("relation message to return");
  });
 
notNull(T, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
断言对象是否不为null ,如果为null 抛出IllegalArgumentException Assert.notNull(clazz, "The class must not be null");
notNull(T) - Static method in class org.dromara.hutool.core.lang.Assert
断言对象是否不为null ,如果为null 抛出IllegalArgumentException 异常 Assert.notNull(clazz);
now() - Static method in class org.dromara.hutool.core.date.DateTime
现在的时间
now() - Static method in class org.dromara.hutool.core.date.DateUtil
当前时间,转换为DateTime对象
now() - Static method in class org.dromara.hutool.core.date.SystemClock
 
now() - Static method in class org.dromara.hutool.core.date.TimeUtil
当前时间,默认时区
nowDate() - Static method in class org.dromara.hutool.core.date.SystemClock
 
NULL - Static variable in class org.dromara.hutool.core.text.StrValidator
字符串常量:"null"
注意:{@code "null" !
NullComparator<T> - Class in org.dromara.hutool.core.comparator
null友好的比较器包装,如果nullGreater,则null > non-null,否则反之。
NullComparator(boolean, Comparator<? super T>) - Constructor for class org.dromara.hutool.core.comparator.NullComparator
构造
nullGreater - Variable in class org.dromara.hutool.core.comparator.NullComparator
是否null最大,排在最后
nullIfEmpty(T) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
当给定字符串为空字符串时,转换为null
nullSafeClose(Closeable) - Static method in class org.dromara.hutool.core.io.IoUtil
关闭
关闭失败抛出IOException异常
nullToEmpty(String[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
数组元素中的null转换为""
nullToZero(Integer) - Static method in class org.dromara.hutool.core.math.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(Long) - Static method in class org.dromara.hutool.core.math.NumberUtil
如果给定值为0,返回1,否则返回原值
nullToZero(Double) - Static method in class org.dromara.hutool.core.math.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(Float) - Static method in class org.dromara.hutool.core.math.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(Short) - Static method in class org.dromara.hutool.core.math.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(Byte) - Static method in class org.dromara.hutool.core.math.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(BigInteger) - Static method in class org.dromara.hutool.core.math.NumberUtil
如果给定值为null,返回0,否则返回原值
nullToZero(BigDecimal) - Static method in class org.dromara.hutool.core.math.NumberUtil
如果给定值为null,返回0,否则返回原值
NullType - Class in org.dromara.hutool.core.reflect
空类型表示
NullWrapperBean<T> - Class in org.dromara.hutool.core.bean
为了解决反射过程中,需要传递null参数,但是会丢失参数类型而设立的包装类
NullWrapperBean(Class<T>) - Constructor for class org.dromara.hutool.core.bean.NullWrapperBean
 
Number128 - Class in org.dromara.hutool.core.codec
128位数字表示,分为: 最高有效位(Most Significant Bit),64 bit(8 bytes) 最低有效位(Least Significant Bit),64 bit(8 bytes)
Number128(long, long) - Constructor for class org.dromara.hutool.core.codec.Number128
构造
NumberConverter - Class in org.dromara.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() - Constructor for class org.dromara.hutool.core.convert.impl.NumberConverter
 
NumberParser - Class in org.dromara.hutool.core.math
数字解析器
用于将字符串解析为对应的数字类型,支持包括: 0开头的忽略开头的0 空串返回0 NaN返回0 其它情况按照10进制转换 .123形式返回0.123(按照小于0的小数对待) 构造时可选是否将NaN转为0,默认为true。
NumberParser(Locale, boolean) - Constructor for class org.dromara.hutool.core.math.NumberParser
构造
NUMBERS - Static variable in class org.dromara.hutool.core.regex.PatternPool
数字
NUMBERS - Static variable in interface org.dromara.hutool.core.regex.RegexPool
数字
numberToChinese(double, boolean) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
将阿拉伯数字转为中文表达方式
numberToSimple(Number) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
将阿拉伯数字转为精简表示形式,例如: 1200 -》 1.2k
numberToWord(Number) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
将阿拉伯数字转为英文表达方式
NumberUtil - Class in org.dromara.hutool.core.math
数字工具类
对于精确值计算应该使用 BigDecimal
JDK7中BigDecimal(double val)构造方法的结果有一定的不可预知性,例如: new BigDecimal(0.1)和 BigDecimal.valueOf(0.1) 表示的不是0.1而是0.1000000000000000055511151231257827021181583404541015625 这是因为0.1无法准确的表示为double。
NumberUtil() - Constructor for class org.dromara.hutool.core.math.NumberUtil
 
NumberValidator - Class in org.dromara.hutool.core.math
数字检查器
NumberValidator() - Constructor for class org.dromara.hutool.core.math.NumberValidator
 
NumericEntityUnescaper - Class in org.dromara.hutool.core.text.escape
形如'的反转义器
NumericEntityUnescaper() - Constructor for class org.dromara.hutool.core.text.escape.NumericEntityUnescaper
 

O

obj - Variable in class org.dromara.hutool.core.cache.impl.CacheObj
值对象
obj - Variable in class org.dromara.hutool.core.lang.selector.WeightObj
对象
ObjectCreator<T> - Interface in org.dromara.hutool.core.reflect.creator
对象创建器,用于自定义创建指定类型、指定参数的对象
也叫对象初始化器。
ObjectFactory<T> - Interface in org.dromara.hutool.core.pool
对象工厂接口,用于自定义对象创建、验证和销毁
来自:https://github.com/DanielYWoo/fast-object-pool/
ObjectGenerator<T> - Class in org.dromara.hutool.core.lang.generator
对象生成器,通过指定对象的Class类型,调用next方法时生成新的对象。
ObjectGenerator(Class<T>) - Constructor for class org.dromara.hutool.core.lang.generator.ObjectGenerator
构造
objectId() - Static method in class org.dromara.hutool.core.data.id.IdUtil
创建MongoDB ID生成策略实现
ObjectId由以下几部分组成: 1.
ObjectId - Class in org.dromara.hutool.core.data.id
MongoDB ID生成策略实现
ObjectId由以下几部分组成: 1.
ObjectId() - Constructor for class org.dromara.hutool.core.data.id.ObjectId
 
ObjectIdGenerator - Class in org.dromara.hutool.core.data.id
ObjectId生成器
ObjectIdGenerator() - Constructor for class org.dromara.hutool.core.data.id.ObjectIdGenerator
 
ObjectPool<T> - Interface in org.dromara.hutool.core.pool
对象池接口,提供: ObjectPool.borrowObject() 对象借出。
ObjUtil - Class in org.dromara.hutool.core.util
对象工具类,包括判空、克隆、序列化等操作
原数组相关操作见:ArrayUtil.hasBlank(CharSequence...)
ObjUtil() - Constructor for class org.dromara.hutool.core.util.ObjUtil
 
of(AnnotatedElement, Predicate<Annotation>) - Static method in class org.dromara.hutool.core.annotation.elements.CombinationAnnotatedElement
创建CombinationAnnotationElement
of(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
创建一个分层注解元素
of(AnnotatedElement, BiFunction<Set<AnnotatedElement>, AnnotatedElement, AnnotatedElement>) - Static method in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
创建一个分层注解元素
of(Class<E>, int) - Static method in class org.dromara.hutool.core.array.ArrayWrapper
创建ArrayWrapper,创建一个指定长度的空数组
of(A) - Static method in class org.dromara.hutool.core.array.ArrayWrapper
包装数组为ArrayWrapper
of(Object, T, CopyOptions) - Static method in class org.dromara.hutool.core.bean.copier.BeanCopier
创建BeanCopier
of(Object, T, Type, CopyOptions) - Static method in class org.dromara.hutool.core.bean.copier.BeanCopier
创建BeanCopier
of() - Static method in class org.dromara.hutool.core.bean.copier.CopyOptions
创建拷贝选项
of(Class<?>, boolean, String...) - Static method in class org.dromara.hutool.core.bean.copier.CopyOptions
创建拷贝选项
of(Class<?>, Object...) - Static method in class org.dromara.hutool.core.bean.DynaBean
创建一个DynaBean
of(Object) - Static method in class org.dromara.hutool.core.bean.DynaBean
创建一个DynaBean
of(String) - Static method in class org.dromara.hutool.core.bean.path.BeanPath
创建Bean路径
of(String, NodeBeanFactory<T>) - Static method in class org.dromara.hutool.core.bean.path.BeanPath
创建Bean路径
of(long, boolean) - Static method in interface org.dromara.hutool.core.codec.hash.metro.MetroHash
创建 MetroHash对象
of(long) - Static method in class org.dromara.hutool.core.codec.hash.metro.MetroHash128
创建 MetroHash128对象
of(long) - Static method in class org.dromara.hutool.core.codec.hash.metro.MetroHash64
创建 MetroHash64对象
of(char[]) - Static method in class org.dromara.hutool.core.codec.Hashids
根据参数值,创建Hashids,使用默认Hashids.DEFAULT_ALPHABET作为字母表,不限制最小长度
of(char[], int) - Static method in class org.dromara.hutool.core.codec.Hashids
根据参数值,创建Hashids,使用默认Hashids.DEFAULT_ALPHABET作为字母表
of(char[], char[], int) - Static method in class org.dromara.hutool.core.codec.Hashids
根据参数值,创建Hashids
of(PercentCodec) - Static method in class org.dromara.hutool.core.codec.PercentCodec.Builder
从已知PercentCodec创建PercentCodec,会复制给定PercentCodec的安全字符
of(CharSequence) - Static method in class org.dromara.hutool.core.codec.PercentCodec.Builder
创建PercentCodec,使用指定字符串中的字符作为安全字符
of(Collection<? extends E>...) - Static method in class org.dromara.hutool.core.collection.CollectionOperation
创建运算对象
of(T...) - Static method in class org.dromara.hutool.core.collection.ListUtil
新建一个ArrayList
如果提供的初始化数组为空,新建默认初始长度的List
替换之前的:CollUtil.newArrayList()
of(boolean) - Static method in class org.dromara.hutool.core.collection.ListUtil
新建一个List
如果提供的初始化数组为空,新建默认初始长度的List
of(boolean, Iterable<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
新建一个List
提供的参数为null时返回空ArrayList
of(boolean, Enumeration<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
新建一个List
提供的参数为null时返回空ArrayList
of(boolean, Iterator<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
新建一个List
提供的参数为null时返回空ArrayList
of(Iterable<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
of(Iterator<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
of(Enumeration<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
新建一个ArrayList
提供的参数为null时返回空ArrayList
of(boolean) - Static method in class org.dromara.hutool.core.collection.set.SetUtil
新建一个List
如果提供的初始化数组为空,新建默认初始长度的List
of(T...) - Static method in class org.dromara.hutool.core.collection.set.SetUtil
新建一个HashSet
of(Iterable<T>) - Static method in class org.dromara.hutool.core.collection.set.SetUtil
新建一个HashSet
of(boolean, Iterable<T>) - Static method in class org.dromara.hutool.core.collection.set.SetUtil
新建一个HashSet
提供的参数为null时返回空HashSet
of(boolean, Iterator<T>) - Static method in class org.dromara.hutool.core.collection.set.SetUtil
新建一个HashSet
of(boolean, Enumeration<T>) - Static method in class org.dromara.hutool.core.collection.set.SetUtil
新建一个HashSet
of(Map<T, Boolean>) - Static method in class org.dromara.hutool.core.collection.set.SetUtil
新建一个SetFromMap
of(Comparator<E>) - Static method in class org.dromara.hutool.core.comparator.ComparatorChain
构建 ComparatorChain
of(Comparator<E>, boolean) - Static method in class org.dromara.hutool.core.comparator.ComparatorChain
构建 ComparatorChain
of(Comparator<E>...) - Static method in class org.dromara.hutool.core.comparator.ComparatorChain
构建 ComparatorChain
of(List<Comparator<E>>) - Static method in class org.dromara.hutool.core.comparator.ComparatorChain
构建 ComparatorChain
of(List<Comparator<E>>, BitSet) - Static method in class org.dromara.hutool.core.comparator.ComparatorChain
构建 ComparatorChain
of(InputStream, OutputStream, boolean) - Static method in class org.dromara.hutool.core.compress.Deflate
创建Deflate
of(InputStream, OutputStream) - Static method in class org.dromara.hutool.core.compress.Gzip
创建Gzip
of(File, Charset) - Static method in class org.dromara.hutool.core.compress.ZipReader
创建ZipReader
of(InputStream, Charset) - Static method in class org.dromara.hutool.core.compress.ZipReader
创建ZipReader
of(File, Charset) - Static method in class org.dromara.hutool.core.compress.ZipWriter
创建ZipWriter
of(OutputStream, Charset) - Static method in class org.dromara.hutool.core.compress.ZipWriter
创建ZipWriter
of(String) - Static method in class org.dromara.hutool.core.data.CIN
创建CIN
of(String) - Static method in class org.dromara.hutool.core.data.CIN10
创建并验证台湾、澳门、香港身份证号码
of() - Static method in class org.dromara.hutool.core.data.id.ULID
创建一个新的ULID,使用当前系统时间戳和随机数
of(long) - Static method in class org.dromara.hutool.core.data.id.ULID
创建一个新的ULID,使用指定系统时间戳和随机数
of(long, Random) - Static method in class org.dromara.hutool.core.data.id.ULID
创建一个新的ULID,使用指定系统时间戳和指定随机对象
of(long, byte[]) - Static method in class org.dromara.hutool.core.data.id.ULID
创建一个新的ULID,使用指定系统时间戳和指定填充数
of(String) - Static method in class org.dromara.hutool.core.data.id.ULID
解析一个Crockford`s Base32的ULID
of(byte[]) - Static method in class org.dromara.hutool.core.data.id.ULID
从bytes解析ULID
of(String) - Static method in class org.dromara.hutool.core.data.VIN
创建VIN
of(long, BetweenFormatter.Level) - Static method in class org.dromara.hutool.core.date.BetweenFormatter
创建 BetweenFormatter
of(long, BetweenFormatter.Level, int) - Static method in class org.dromara.hutool.core.date.BetweenFormatter
创建 BetweenFormatter
of(Date, Date) - Static method in class org.dromara.hutool.core.date.DateBetween
创建
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
of(Date, Date, boolean) - Static method in class org.dromara.hutool.core.date.DateBetween
创建
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
of() - Static method in class org.dromara.hutool.core.date.DateBuilder
创建并返回一个DateBuilder实例。
of(int) - Static method in enum org.dromara.hutool.core.date.DateField
Calendar相关值转换为DatePart枚举对象
of(long) - Static method in class org.dromara.hutool.core.date.DateTime
转换时间戳为 DateTime,默认时区
of(Date) - Static method in class org.dromara.hutool.core.date.DateTime
转换JDK date为 DateTime,如果传入为原生对象,使用默认时区
of(Calendar) - Static method in class org.dromara.hutool.core.date.DateTime
转换 Calendar 为 DateTime,使用Calendar中指定的时区
of(String, String) - Static method in class org.dromara.hutool.core.date.DateTime
构造
of(ChronoUnit) - Static method in enum org.dromara.hutool.core.date.DateUnit
单位兼容转换,将ChronoUnit转换为对应的DateUnit
of(String...) - Static method in class org.dromara.hutool.core.date.format.parser.PatternsDateParser
创建 PatternsDateParser
of(String...) - Static method in class org.dromara.hutool.core.date.format.parser.RegexDateParser
根据给定的正则列表,创建RegexListDateParser
of(Pattern...) - Static method in class org.dromara.hutool.core.date.format.parser.RegexDateParser
根据给定的正则列表,创建RegexListDateParser
of(int) - Static method in enum org.dromara.hutool.core.date.Month
Calendar月份相关值转换为Month枚举对象
未找到返回null
of(String) - Static method in enum org.dromara.hutool.core.date.Month
解析别名为Month对象,别名如:jan或者JANUARY,不区分大小写
of(Month) - Static method in enum org.dromara.hutool.core.date.Month
Month转换为Month对象
of(int) - Static method in enum org.dromara.hutool.core.date.Quarter
将 季度int转换为Season枚举对象
of() - Static method in class org.dromara.hutool.core.date.StopWatch
创建计时任务(秒表)
of(String) - Static method in class org.dromara.hutool.core.date.StopWatch
创建计时任务(秒表)
of(Instant, ZoneId) - Static method in class org.dromara.hutool.core.date.TimeUtil
InstantLocalDateTime
instant是一个无时区的时间戳,在转换为本地时间时,需指定这个时间戳所在时区
如果所在时区与当前时区不同,会转换时间
of(Instant, TimeZone) - Static method in class org.dromara.hutool.core.date.TimeUtil
InstantLocalDateTime
instant是一个无时区的时间戳,在转换为本地时间时,需指定这个时间戳所在时区
如果所在时区与当前时区不同,会转换时间
of(long) - Static method in class org.dromara.hutool.core.date.TimeUtil
毫秒转LocalDateTime,使用默认时区 注意:此方法使用默认时区,如果非UTC,会产生时间偏移
of(long, ZoneId) - Static method in class org.dromara.hutool.core.date.TimeUtil
毫秒转LocalDateTime,根据时区不同,结果会产生时间偏移
of(long, TimeZone) - Static method in class org.dromara.hutool.core.date.TimeUtil
毫秒转LocalDateTime,结果会产生时间偏移
of(Date) - Static method in class org.dromara.hutool.core.date.TimeUtil
DateLocalDateTime,使用默认时区
如果为DateTime且提供了时区信息,则按照给定的时区转换为默认时区
of(TemporalAccessor) - Static method in class org.dromara.hutool.core.date.TimeUtil
TemporalAccessorLocalDateTime,使用默认时区
of(int) - Static method in enum org.dromara.hutool.core.date.Week
Calendar星期相关值转换为Week枚举对象
of(String) - Static method in enum org.dromara.hutool.core.date.Week
解析别名为Week对象,别名如:sun或者SUNDAY,不区分大小写
参考:https://github.com/sisyphsu/dateparser/blob/master/src/main/java/com/github/sisyphsu/dateparser/DateParser.java#L319
of(DayOfWeek) - Static method in enum org.dromara.hutool.core.date.Week
DayOfWeek星期相关值转换为Week枚举对象
of(Function<B, C>, Function<A, ? extends B>) - Static method in class org.dromara.hutool.core.func.ComposeFunction
两个函数的叠加函数.
of(byte[]) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
创建新Buffer
of(CharSequence, Charset) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
从字符串创建新Buffer
of() - Static method in class org.dromara.hutool.core.io.copy.FileChannelCopier
创建FileChannel 拷贝器
of(long) - Static method in class org.dromara.hutool.core.io.copy.FileChannelCopier
创建FileChannel 拷贝器
of(File, Charset) - Static method in class org.dromara.hutool.core.io.file.FileReader
创建 FileReader
of(File) - Static method in class org.dromara.hutool.core.io.file.FileReader
创建 FileReader, 编码:FileWrapper.DEFAULT_CHARSET
of(String) - Static method in class org.dromara.hutool.core.io.file.FileSystemUtil
创建 FileSystem
of(File, Charset) - Static method in class org.dromara.hutool.core.io.file.FileWriter
创建 FileWriter
of(File) - Static method in class org.dromara.hutool.core.io.file.FileWriter
创建 FileWriter, 编码:FileWrapper.DEFAULT_CHARSET
of(Path, Path, boolean) - Static method in class org.dromara.hutool.core.io.file.PathCopier
创建文件或目录拷贝器
of(Path, Path, CopyOption[]) - Static method in class org.dromara.hutool.core.io.file.PathCopier
创建文件或目录拷贝器
of(Path) - Static method in class org.dromara.hutool.core.io.file.PathDeleter
创建文件或目录移动器
of(Path, Path, boolean) - Static method in class org.dromara.hutool.core.io.file.PathMover
创建文件或目录移动器
of(Path, Path, CopyOption[]) - Static method in class org.dromara.hutool.core.io.file.PathMover
创建文件或目录移动器
of(String, String...) - Static method in class org.dromara.hutool.core.io.file.PathUtil
拼接多个路径
of(Path, Path...) - Static method in class org.dromara.hutool.core.io.file.PathUtil
拼接多个路径,
of() - Static method in class org.dromara.hutool.core.io.resource.ResourceFinder
构建新的ResourceFinder,使用当前环境的类加载器
of(ClassLoader) - Static method in class org.dromara.hutool.core.io.resource.ResourceFinder
构建新的ResourceFinder
of(InputStream, int) - Static method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
根据输入流的总长度创建一个FastByteArrayOutputStream对象
如果输入流的长度不确定,且
of(InputStream, boolean) - Static method in class org.dromara.hutool.core.io.stream.StreamReader
创建读取器
of(OutputStream, boolean) - Static method in class org.dromara.hutool.core.io.stream.StreamWriter
创建写出器
of(CharSequence, Charset) - Static method in class org.dromara.hutool.core.io.stream.StrInputStream
创建StrInputStream
of(long, DataUnit) - Static method in class org.dromara.hutool.core.io.unit.DataSize
获得指定DataUnit对应的DataSize
of(BigDecimal, DataUnit) - Static method in class org.dromara.hutool.core.io.unit.DataSize
获得指定DataUnit对应的DataSize
of(Watcher...) - Static method in class org.dromara.hutool.core.io.watch.watchers.WatcherChain
创建观察者链WatcherChain
of(WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
创建WatchServiceWrapper
of(URL, WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听
of(URL, int, WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听
of(URI, WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听
of(URI, int, WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听
of(File, WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听
of(File, int, WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听
of(String, WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听
of(String, int, WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听
of(Path, WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听
of(Path, int, WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听
of(int) - Static method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitBackgroundColor
根据code查找对应的Ansi4BitBackgroundColor
of(int) - Static method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitColor
根据code查找对应的Ansi4BitColor
of(Supplier<T>) - Static method in class org.dromara.hutool.core.lang.builder.GenericBuilder
通过Supplier创建GenericBuilder
of() - Static method in class org.dromara.hutool.core.lang.ConsoleTable
创建ConsoleTable对象
of(boolean) - Static method in class org.dromara.hutool.core.lang.intern.InternUtil
创建字符串规范化器
of(boolean) - Static method in interface org.dromara.hutool.core.lang.mutable.Mutable
创建一个MutableBool对象
of(byte) - Static method in interface org.dromara.hutool.core.lang.mutable.Mutable
创建一个MutableByte对象
of(float) - Static method in interface org.dromara.hutool.core.lang.mutable.Mutable
创建一个MutableFloat对象
of(int) - Static method in interface org.dromara.hutool.core.lang.mutable.Mutable
创建一个MutableInt对象
of(long) - Static method in interface org.dromara.hutool.core.lang.mutable.Mutable
创建一个MutableLong对象
of(double) - Static method in interface org.dromara.hutool.core.lang.mutable.Mutable
创建一个MutableDouble对象
of(short) - Static method in interface org.dromara.hutool.core.lang.mutable.Mutable
创建一个MutableShort对象
of(T) - Static method in interface org.dromara.hutool.core.lang.mutable.Mutable
创建一个MutableObj对象
of(K, V) - Static method in class org.dromara.hutool.core.lang.mutable.MutableEntry
创建MutableEntry
of(T) - Static method in class org.dromara.hutool.core.lang.mutable.MutableObj
构建MutableObj
of(L, R) - Static method in class org.dromara.hutool.core.lang.mutable.MutablePair
构建MutablePair对象
of(L, M, R) - Static method in class org.dromara.hutool.core.lang.mutable.MutableTriple
构建MutableTriple对象
of(T) - Static method in class org.dromara.hutool.core.lang.Opt
返回一个包裹里元素不可能为空的Opt
of(Optional<? extends T>) - Static method in class org.dromara.hutool.core.lang.Opt
根据 Optional 构造 Opt
of(int, int) - Static method in class org.dromara.hutool.core.lang.page.PageInfo
创建PageInfo,默认当前页是1
of(ReferenceType, T) - Static method in class org.dromara.hutool.core.lang.ref.ReferenceUtil
获得引用
of(ReferenceType, T, ReferenceQueue<T>) - Static method in class org.dromara.hutool.core.lang.ref.ReferenceUtil
获得引用
of() - Static method in class org.dromara.hutool.core.lang.selector.SmoothWeightSelector
创建平滑加权获取器
of() - Static method in class org.dromara.hutool.core.lang.selector.WeightRandomSelector
创建权重随机获取器
of(L, R) - Static method in class org.dromara.hutool.core.lang.tuple.Pair
构建Pair对象
of(L, M, R) - Static method in class org.dromara.hutool.core.lang.tuple.Triple
构建Triple对象
of(Object...) - Static method in class org.dromara.hutool.core.lang.tuple.Tuple
构建Tuple对象
of(String) - Static method in class org.dromara.hutool.core.lang.Version
解析版本字符串为Version对象
of(Object) - Static method in class org.dromara.hutool.core.map.BeanMap
构建BeanMap
of() - Static method in class org.dromara.hutool.core.map.Dict
创建Dict
of(K, V) - Static method in class org.dromara.hutool.core.map.MapBuilder
创建Builder,默认HashMap实现
of() - Static method in class org.dromara.hutool.core.map.MapBuilder
创建Builder,默认HashMap实现
of(boolean) - Static method in class org.dromara.hutool.core.map.MapBuilder
创建Builder
of(Map<K, V>) - Static method in class org.dromara.hutool.core.map.MapBuilder
创建Builder
of(String, String) - Static method in class org.dromara.hutool.core.map.MapJoiner
构建一个MapJoiner
of(StrJoiner, String) - Static method in class org.dromara.hutool.core.map.MapJoiner
构建一个MapJoiner
of(Map<?, ?>) - Static method in class org.dromara.hutool.core.map.MapProxy
创建代理Map
此类对Map做一次包装,提供各种getXXX方法
of(K, V) - Static method in class org.dromara.hutool.core.map.MapUtil
将单一键值对转换为Map
of(K, V, boolean) - Static method in class org.dromara.hutool.core.map.MapUtil
将单一键值对转换为Map
of(Object[]) - Static method in class org.dromara.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) - Static method in class org.dromara.hutool.core.map.TolerantMap
构建TolerantMap
of() - Static method in class org.dromara.hutool.core.math.ChineseNumberFormatter
获取 NumberChineseFormatter 默认对象
of(Locale) - Static method in class org.dromara.hutool.core.math.NumberParser
构建NumberParser
of(Locale, boolean) - Static method in class org.dromara.hutool.core.math.NumberParser
构建NumberParser
of(Proxy) - Static method in class org.dromara.hutool.core.net.ProxySocketFactory
创建代理SocketFactory
of() - Static method in class org.dromara.hutool.core.net.ssl.SSLContextBuilder
创建 SSLContextBuilder
of(UrlBuilder) - Static method in class org.dromara.hutool.core.net.url.UrlBuilder
使用UrlBuilder构建UrlBuilder
of(URI, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlBuilder
使用URI构建UrlBuilder
of(String) - Static method in class org.dromara.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,默认使用UTF-8编码
注意:此方法如果提供的URL为非网络协议,自动尝试使用文件协议
of(String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,规则如下:
如果url用户传入的URL没有做编码,则charset设置为null,此时URL不会解码,在build时也不会编码。
of(URL, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlBuilder
使用URL构建UrlBuilder
of(String, String, int, String, String, String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlBuilder
构建UrlBuilder
of(String, String, int, UrlPath, UrlQuery, String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlBuilder
构建UrlBuilder
of() - Static method in class org.dromara.hutool.core.net.url.UrlBuilder
创建空的UrlBuilder
of() - Static method in class org.dromara.hutool.core.net.url.UrlPath
构建UrlPath
of(CharSequence, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlPath
构建UrlPath
of(String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlQuery
构建UrlQuery
of(String, Charset, boolean) - Static method in class org.dromara.hutool.core.net.url.UrlQuery
构建UrlQuery
of(String, Charset, boolean, UrlQuery.EncodeMode) - Static method in class org.dromara.hutool.core.net.url.UrlQuery
构建UrlQuery
of() - Static method in class org.dromara.hutool.core.net.url.UrlQuery
构建UrlQuery
of(UrlQuery.EncodeMode) - Static method in class org.dromara.hutool.core.net.url.UrlQuery
构建UrlQuery
of(Map<? extends CharSequence, ?>) - Static method in class org.dromara.hutool.core.net.url.UrlQuery
构建UrlQuery
of(Map<? extends CharSequence, ?>, UrlQuery.EncodeMode) - Static method in class org.dromara.hutool.core.net.url.UrlQuery
构建UrlQuery
of(String, char[]) - Static method in class org.dromara.hutool.core.net.UserPassAuthenticator
创建账号密码形式的Authenticator 实现。
of() - Static method in class org.dromara.hutool.core.pool.partition.PartitionPoolConfig
创建PartitionPoolConfig
of() - Static method in class org.dromara.hutool.core.pool.PoolConfig
创建PoolConfig
of(Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassMember
静态工厂方法,用于创建ClassMember对象
of(String) - Static method in class org.dromara.hutool.core.reflect.creator.DefaultObjectCreator
创建默认的对象实例化器
of(Class<T>, Object...) - Static method in class org.dromara.hutool.core.reflect.creator.DefaultObjectCreator
创建默认的对象实例化器
of(Class<T>) - Static method in class org.dromara.hutool.core.reflect.creator.PossibleObjectCreator
创建默认的对象实例化器
of(Field) - Static method in class org.dromara.hutool.core.reflect.FieldInvoker
创建字段调用器
of(Class<?>) - Static method in class org.dromara.hutool.core.reflect.FieldReflect
创建FieldReflect
of(Method) - Static method in class org.dromara.hutool.core.reflect.method.MethodInvoker
创建方法调用器
of(Class<?>) - Static method in class org.dromara.hutool.core.reflect.method.MethodReflect
获取反射对象
of(Class<S>) - Static method in class org.dromara.hutool.core.spi.ListServiceLoader
构建KVServiceLoader
of(Class<S>, ClassLoader) - Static method in class org.dromara.hutool.core.spi.ListServiceLoader
构建KVServiceLoader
of(String, Class<S>, ClassLoader) - Static method in class org.dromara.hutool.core.spi.ListServiceLoader
构建KVServiceLoader
of(Class<S>) - Static method in class org.dromara.hutool.core.spi.MapServiceLoader
构建KVServiceLoader
of(Class<S>, ClassLoader) - Static method in class org.dromara.hutool.core.spi.MapServiceLoader
构建KVServiceLoader
of(String, Class<S>, ClassLoader) - Static method in class org.dromara.hutool.core.spi.MapServiceLoader
构建KVServiceLoader
of(T) - Static method in class org.dromara.hutool.core.stream.EasyStream
返回包含单个元素的串行流
of(T...) - Static method in class org.dromara.hutool.core.stream.EasyStream
返回包含指定元素的串行流,若输入数组为null或空,则返回一个空的串行流
of(Iterable<T>) - Static method in class org.dromara.hutool.core.stream.EasyStream
通过实现了Iterable接口的对象创建串行流,若输入对象为null,则返回一个空的串行流
of(Iterable<T>, boolean) - Static method in class org.dromara.hutool.core.stream.EasyStream
通过传入的Iterable创建流,若输入对象为null,则返回一个空的串行流
of(Stream<T>) - Static method in class org.dromara.hutool.core.stream.EasyStream
通过传入的Stream创建流,若输入对象为null,则返回一个空的串行流
of(Map<K, V>) - Static method in class org.dromara.hutool.core.stream.EntryStream
根据一个Map集合中的键值对创建一个串行流, 对流的操作不会影响到入参的map实例本身
of(Iterable<? extends Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.stream.EntryStream
根据一个Map.Entry类型的Iterable创建一个串行流, 对流的操作不会影响到入参的entries实例本身。
of(Iterable<T>, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class org.dromara.hutool.core.stream.EntryStream
根据一个Collection集合中创建一个串行流
of(Stream<? extends Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.stream.EntryStream
包装一个已有的流,若入参为空则返回一个空的串行流。
of(Spliterator<T>, Predicate<? super T>) - Static method in class org.dromara.hutool.core.stream.spliterators.DropWhileSpliterator
创建
of(T, Predicate<? super T>, UnaryOperator<T>) - Static method in class org.dromara.hutool.core.stream.spliterators.IterateSpliterator
 
of(T...) - Static method in class org.dromara.hutool.core.stream.StreamUtil
 
of(Iterable<T>) - Static method in class org.dromara.hutool.core.stream.StreamUtil
Iterable转换为Stream,默认非并行
of(Iterable<T>, boolean) - Static method in class org.dromara.hutool.core.stream.StreamUtil
of(File) - Static method in class org.dromara.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(Path) - Static method in class org.dromara.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(File, Charset) - Static method in class org.dromara.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(Path, Charset) - Static method in class org.dromara.hutool.core.stream.StreamUtil
按行读取文件为Stream
of(T, UnaryOperator<T>, int) - Static method in class org.dromara.hutool.core.stream.StreamUtil
通过函数创建Stream
of(int, Function<String, Number>) - Static method in class org.dromara.hutool.core.text.bloom.FuncFilter
创建FuncFilter
of(String...) - Static method in class org.dromara.hutool.core.text.dfa.WordTree
通过预定义的关键词构造单词树
of(Collection<String>) - Static method in class org.dromara.hutool.core.text.finder.MultiStrFinder
创建多字符串查询器
of(CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.finder.StrFinder
创建查找器,构造后须调用TextFinder.setText(CharSequence) 设置被查找的文本
of(String) - Static method in class org.dromara.hutool.core.text.placeholder.segment.SinglePlaceholderSegment
创建SinglePlaceholderSegment
of(StrTemplate.Feature...) - Static method in enum org.dromara.hutool.core.text.placeholder.StrTemplate.Feature
计算 总的策略值
of(String) - Static method in class org.dromara.hutool.core.text.placeholder.StrTemplate
创建 单占位符模板对象的 Builder 例如,"{}", "?"
of(Map<String, String>) - Static method in class org.dromara.hutool.core.text.replacer.HighMultiReplacer
生成一个HighMultiReplacer对象
of(StrJoiner) - Static method in class org.dromara.hutool.core.text.StrJoiner
根据已有StrJoiner配置新建一个新的StrJoiner
of(CharSequence) - Static method in class org.dromara.hutool.core.text.StrJoiner
使用指定分隔符创建StrJoiner
of(CharSequence, CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.StrJoiner
使用指定分隔符创建StrJoiner
of(int) - Static method in class org.dromara.hutool.core.text.StrRepeater
创建StrRepeater
of() - Static method in class org.dromara.hutool.core.thread.ExecutorBuilder
创建ExecutorBuilder,开始构建
of() - Static method in class org.dromara.hutool.core.thread.ratelimiter.RateLimiterConfig
创建限流配置
of() - Static method in class org.dromara.hutool.core.thread.ThreadFactoryBuilder
创建ThreadFactoryBuilder
of(SerFunction<T, R>, SerFunction<T, R>, R, SerFunction<T, List<T>>, SerBiConsumer<T, List<T>>) - Static method in class org.dromara.hutool.core.tree.BeanTree
构建BeanTree
of(T) - Static method in class org.dromara.hutool.core.tree.TreeBuilder
创建Tree构建器
of(T, TreeNodeConfig) - Static method in class org.dromara.hutool.core.tree.TreeBuilder
创建Tree构建器
of(Node) - Static method in class org.dromara.hutool.core.xml.XmlMapper
创建XmlMapper
of(InputSource) - Static method in class org.dromara.hutool.core.xml.XmlSaxReader
创建XmlSaxReader,使用全局SAXParserFactory
of(SAXParserFactory, InputSource) - Static method in class org.dromara.hutool.core.xml.XmlSaxReader
创建XmlSaxReader
of(Node) - Static method in class org.dromara.hutool.core.xml.XmlWriter
构建XmlWriter
of(Source) - Static method in class org.dromara.hutool.core.xml.XmlWriter
构建XmlWriter
ofAll(URL, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
ofAll(URL, int, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
ofAll(URI, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
ofAll(URI, int, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
ofAll(File, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
ofAll(File, int, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
ofAll(String, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
ofAll(String, int, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
ofAll(Path, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
ofAll(Path, int, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听所有事件
ofArray(Iterable<T>, Class<T>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
将集合转为数组,如果集合为null,则返回空的数组(元素个数为0)
ofBlankAble(T) - Static method in class org.dromara.hutool.core.lang.Opt
返回一个包裹里元素可能为空的Opt,额外判断了空字符串的情况
ofBytes(long) - Static method in class org.dromara.hutool.core.io.unit.DataSize
获得对应bytes的DataSize
ofCharBuffer(int) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
ofCopyOnWrite(Collection<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
新建一个CopyOnWriteArrayList
ofCopyOnWrite(T...) - Static method in class org.dromara.hutool.core.collection.ListUtil
新建一个CopyOnWriteArrayList
ofDate(TemporalAccessor) - Static method in class org.dromara.hutool.core.date.TimeUtil
TemporalAccessorLocalDate,使用默认时区
ofEmptyAble(R) - Static method in class org.dromara.hutool.core.lang.Opt
返回一个包裹里List集合可能为空的Opt,额外判断了集合内元素为空的情况
ofEntries(Map.Entry<String, Object>...) - Static method in class org.dromara.hutool.core.map.Dict
根据给定的Entry数组创建Dict对象
ofEntries(Map.Entry<K, V>...) - Static method in class org.dromara.hutool.core.map.MapUtil
根据给定的Pair数组创建Map对象
ofEntries(Iterable<Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.map.MapUtil
将Entry集合转换为HashMap
ofEntries(Iterator<Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.map.MapUtil
将Entry集合转换为HashMap
ofException(Runnable, long, Duration, Runnable, Class<? extends Throwable>...) - Static method in class org.dromara.hutool.core.thread.RetryUtil
根据异常信息进行重试 没有返回值,重试执行方法
ofException(Supplier<T>, long, Duration, Supplier<T>, Class<? extends Throwable>...) - Static method in class org.dromara.hutool.core.thread.RetryUtil
根据异常信息进行重试 有返回值,重试执行方法
offer(E) - Method in class org.dromara.hutool.core.collection.queue.BoundedPriorityQueue
加入元素,当队列满时,淘汰末尾元素
offer(E, long, TimeUnit) - Method in class org.dromara.hutool.core.collection.queue.CheckedLinkedBlockingQueue
 
offer(E) - Method in class org.dromara.hutool.core.collection.queue.CheckedLinkedBlockingQueue
 
offer(Object) - Method in class org.dromara.hutool.core.collection.queue.DiscardingQueue
 
offer(E) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
offerFirst(E) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
offerLast(E) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
offset(CoordinateUtil.Coordinate) - Method in class org.dromara.hutool.core.data.CoordinateUtil.Coordinate
当前坐标偏移指定坐标
offset(DateField, int) - Method in class org.dromara.hutool.core.date.DateTime
调整日期和时间
如果此对象为可变对象,返回自身,否则返回新对象,设置是否可变对象见DateTime.setMutable(boolean)
offset(Date, DateField, int) - Static method in class org.dromara.hutool.core.date.DateUtil
获取指定日期偏移指定时间后的时间,生成的偏移日期不影响原日期
offset(T, long, TemporalUnit) - Static method in class org.dromara.hutool.core.date.TemporalUtil
日期偏移,根据field不同加不同值(偏移会修改传入的对象)
offset(T, DayOfWeek, boolean) - Method in class org.dromara.hutool.core.date.TemporalUtil
偏移到指定的周几
offset(LocalDateTime, long, TemporalUnit) - Static method in class org.dromara.hutool.core.date.TimeUtil
日期偏移,根据field不同加不同值(偏移会修改传入的对象)
offset - Variable in class org.dromara.hutool.core.io.buffer.FastBuffer
当前缓冲偏移量
offset() - Method in class org.dromara.hutool.core.io.buffer.FastBuffer
获取当前缓冲偏移量
offsetDay(Date, int) - Static method in class org.dromara.hutool.core.date.DateUtil
偏移天
offsetHour(Date, int) - Static method in class org.dromara.hutool.core.date.DateUtil
偏移小时
offsetMillisecond(Date, int) - Static method in class org.dromara.hutool.core.date.DateUtil
偏移毫秒数
offsetMinute(Date, int) - Static method in class org.dromara.hutool.core.date.DateUtil
偏移分钟
offsetMonth(Date, int) - Static method in class org.dromara.hutool.core.date.DateUtil
偏移月
offsetNew(DateField, int) - Method in class org.dromara.hutool.core.date.DateTime
调整日期和时间
返回调整后的新DateTime,不影响原对象
offsetSecond(Date, int) - Static method in class org.dromara.hutool.core.date.DateUtil
偏移秒数
offsetWeek(Date, int) - Static method in class org.dromara.hutool.core.date.DateUtil
偏移周
offsetYear(Date, int) - Static method in class org.dromara.hutool.core.date.DateUtil
偏移年
ofGigabytes(long) - Static method in class org.dromara.hutool.core.io.unit.DataSize
获得对应gigabytes的DataSize
ofHttp(String) - Static method in class org.dromara.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,当传入的URL没有协议时,按照http协议对待,编码默认使用UTF-8
ofHttp(String, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,当传入的URL没有协议时,按照http协议对待。
ofHttpWithoutEncode(String) - Static method in class org.dromara.hutool.core.net.url.UrlBuilder
使用URL字符串构建UrlBuilder,当传入的URL没有协议时,按照http协议对待
此方法不对URL编码
ofIter(Iterator<T>) - Static method in class org.dromara.hutool.core.stream.StreamUtil
Iterator 转换为 Stream
ofIter(Iterator<T>, boolean) - Static method in class org.dromara.hutool.core.stream.StreamUtil
Iterator 转换为 Stream
ofJar(String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
获取对应URL路径的jar文件,支持包括file://xxx这类路径
来自:org.springframework.core.io.support.PathMatchingResourcePatternResolver#getJarFile
ofKilobytes(long) - Static method in class org.dromara.hutool.core.io.unit.DataSize
获得对应kilobytes的DataSize
ofKvs(Object...) - Static method in class org.dromara.hutool.core.map.Dict
根据给定的键值对数组创建Dict对象,传入参数必须为key,value,key,value...
ofKvs(boolean, Object...) - Static method in class org.dromara.hutool.core.map.MapUtil
根据给定的键值对数组创建HashMap对象,传入参数必须为key,value,key,value...
ofLinked(T...) - Static method in class org.dromara.hutool.core.collection.ListUtil
新建一个LinkedList
如果提供的初始化数组为空,新建默认初始长度的List
ofLinked(T...) - Static method in class org.dromara.hutool.core.collection.set.SetUtil
新建一个LinkedHashSet
ofMatch(SerFunction<T, R>, SerFunction<T, R>, SerPredicate<T>, SerFunction<T, List<T>>, SerBiConsumer<T, List<T>>) - Static method in class org.dromara.hutool.core.tree.BeanTree
构建BeanTree
ofMegabytes(long) - Static method in class org.dromara.hutool.core.io.unit.DataSize
获得对应megabytes的DataSize
ofModify(URL, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
ofModify(URL, int, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
ofModify(URI, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
ofModify(URI, int, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
ofModify(File, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
ofModify(File, int, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
ofModify(String, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
ofModify(String, int, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
ofModify(Path, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
ofModify(Path, int, Watcher) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
创建并初始化监听,监听修改事件
ofNamed(String) - Static method in class org.dromara.hutool.core.text.placeholder.StrTemplate
创建 有前缀和后缀的占位符模板对象的 Builder 例如,"{0}", "{name}", "#{name}"
ofNullable(T) - Static method in class org.dromara.hutool.core.lang.Opt
返回一个包裹里元素可能为空的Opt
ofPattern(String) - Static method in class org.dromara.hutool.core.date.TimeUtil
通过日期时间字符串构建DateTimeFormatter
ofPredicate(Runnable, long, Duration, Supplier<Void>, BiPredicate<Void, Throwable>) - Static method in class org.dromara.hutool.core.thread.RetryUtil
根据自定义结果进行重试 没有返回值,重试执行方法
ofPredicate(Supplier<T>, long, Duration, Supplier<T>, BiPredicate<T, Throwable>) - Static method in class org.dromara.hutool.core.thread.RetryUtil
根据异常信息进行重试 有返回值,重试执行方法
ofString() - Static method in class org.dromara.hutool.core.lang.intern.InternUtil
创建JDK默认实现的字符串规范化器
ofTerabytes(long) - Static method in class org.dromara.hutool.core.io.unit.DataSize
获得对应terabytes的DataSize
ofTry(SerSupplier<T>) - Static method in class org.dromara.hutool.core.lang.Opt
 
ofUTC(Instant) - Static method in class org.dromara.hutool.core.date.TimeUtil
InstantLocalDateTime,使用UTC时区
此方法自动将一个UTC时间转换为本地时间,如传入00:00,则结果为08:00
ofUTC(long) - Static method in class org.dromara.hutool.core.date.TimeUtil
毫秒转LocalDateTime,使用UTC时区
ofUtf8(CharSequence) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
从字符串创建新Buffer,使用UTF-8编码
ofUtf8(CharSequence) - Static method in class org.dromara.hutool.core.io.stream.StrInputStream
创建StrInputStream
ofWeak() - Static method in class org.dromara.hutool.core.lang.intern.InternUtil
创建WeakHshMap实现的字符串规范化器
ofZoned(TemporalAccessor, ZoneId) - Static method in class org.dromara.hutool.core.date.TimeUtil
on(Supplier<T>) - Static method in class org.dromara.hutool.core.lang.loader.LazyFunLoader
静态工厂方法,提供语义性与编码便利性
onClose(Runnable) - Method in interface org.dromara.hutool.core.stream.WrappedStream
在流关闭时执行操作
onCreate(WatchEvent<?>, WatchKey) - Method in interface org.dromara.hutool.core.io.watch.Watcher
文件创建时执行的方法
onCreate(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.DelayWatcher
 
onCreate(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.SimpleWatcher
 
onCreate(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.WatcherChain
 
onDelete(WatchEvent<?>, WatchKey) - Method in interface org.dromara.hutool.core.io.watch.Watcher
文件删除时执行的方法
onDelete(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.DelayWatcher
 
onDelete(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.SimpleWatcher
 
onDelete(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.WatcherChain
 
oneByOneHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
一次一个hash
onModify(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.file.LineReadWatcher
 
onModify(WatchEvent<?>, WatchKey) - Method in interface org.dromara.hutool.core.io.watch.Watcher
文件修改时执行的方法
文件修改可能触发多次
onModify(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.DelayWatcher
 
onModify(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.SimpleWatcher
 
onModify(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.WatcherChain
 
onOverflow(WatchEvent<?>, WatchKey) - Method in interface org.dromara.hutool.core.io.watch.Watcher
事件丢失或出错时执行的方法
onOverflow(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.DelayWatcher
 
onOverflow(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.SimpleWatcher
 
onOverflow(WatchEvent<?>, WatchKey) - Method in class org.dromara.hutool.core.io.watch.watchers.WatcherChain
 
onRemove(K, V) - Method in interface org.dromara.hutool.core.cache.CacheListener
对象移除回调
onRemove(K, V) - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
对象移除回调。
OpcZipOutputStream - Class in org.dromara.hutool.core.compress
Excel兼容的ZIP64 OutputStream实现
来自并见: https://github.com/rzymek/opczip
OpcZipOutputStream(OutputStream) - Constructor for class org.dromara.hutool.core.compress.OpcZipOutputStream
构造
open(T, T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRange
构建一个开区间,即{x | lowerBound < x < upperBound}
openClose(T, T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRange
构建一个左闭右开区间,即{x | lowerBound < x <= upperBound}
Opt<T> - Class in org.dromara.hutool.core.lang
复制jdk16中的Optional,以及自己进行了一点调整和新增,比jdk8中的Optional多了几个实用的函数
详细见:
OptConverter - Class in org.dromara.hutool.core.convert.impl
Opt对象转换器
OptConverter() - Constructor for class org.dromara.hutool.core.convert.impl.OptConverter
 
OptionalConverter - Class in org.dromara.hutool.core.convert.impl
Optional对象转换器
OptionalConverter() - Constructor for class org.dromara.hutool.core.convert.impl.OptionalConverter
 
or(PercentCodec) - Method in class org.dromara.hutool.core.codec.PercentCodec.Builder
增加安全字符到当前的PercentCodec
or(Iterable<Predicate<T>>) - Static method in class org.dromara.hutool.core.func.PredicateUtil
多个条件转换为”或“复合条件,即任意一个条件都为true时,返回true
or(Predicate<T>...) - Static method in class org.dromara.hutool.core.func.PredicateUtil
多个条件转换为”或“复合条件,即任意一个条件都为true时,返回true
or(SerBiPredicate<? super T, ? super U>) - Method in interface org.dromara.hutool.core.func.SerBiPredicate
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
or(SerPredicate<? super T>) - Method in interface org.dromara.hutool.core.func.SerPredicate
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
or(SerSupplier<? extends Opt<? extends T>>) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里元素的值存在,就返回本身,如果不存在,则使用传入的操作执行后获得的 Opt
or(boolean...) - Static method in class org.dromara.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) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
返回字符串 searchStr 在字符串 str 中第 ordinal 次出现的位置。
orElse(T) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里元素的值存在,则返回该值,否则返回传入的other
orElseGet(SerSupplier<? extends T>) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里元素的值存在,则返回该值,否则返回传入的操作执行后的返回值
orElseOpt(SerSupplier<? extends T>) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里元素的值存在,则返回该值,否则返回传入的操作执行后的返回值
orElseRun(Runnable) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里元素的值存在,则返回该值,否则执行传入的操作
orElseThrow() - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里的值存在,则返回该值,否则抛出 NoSuchElementException
orElseThrow(SerSupplier<? extends X>) - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里的值存在,则返回该值,否则执行传入的操作,获取异常类型的返回值并抛出 往往是一个包含无参构造器的异常 例如传入IllegalStateException::new
org.dromara.hutool.core - package org.dromara.hutool.core
Hutool核心方法及数据结构包
org.dromara.hutool.core.annotation - package org.dromara.hutool.core.annotation
注解包,提供增强型注解和注解工具类,处理包括:
注解元素(AnnotatedElement)上的注解。
org.dromara.hutool.core.annotation.elements - package org.dromara.hutool.core.annotation.elements
AnnotatedElement对象实现
org.dromara.hutool.core.array - package org.dromara.hutool.core.array
提供数组相关封装
org.dromara.hutool.core.bean - package org.dromara.hutool.core.bean
Bean相关操作,包括Bean信息描述,Bean路径表达式、动态Bean、Bean工具等
org.dromara.hutool.core.bean.copier - package org.dromara.hutool.core.bean.copier
Bean拷贝实现,包括拷贝选项等
org.dromara.hutool.core.bean.copier.provider - package org.dromara.hutool.core.bean.copier.provider
Bean值提供者方式封装
org.dromara.hutool.core.bean.path - package org.dromara.hutool.core.bean.path
Bean路径,通过路径表达式查找或设置对象或子对象中的值
org.dromara.hutool.core.bean.path.node - package org.dromara.hutool.core.bean.path.node
Bean路径节点
org.dromara.hutool.core.cache - package org.dromara.hutool.core.cache
提供简易的缓存实现,此模块参考了jodd工具中的Cache模块
org.dromara.hutool.core.cache.file - package org.dromara.hutool.core.cache.file
提供针对文件的缓存实现
org.dromara.hutool.core.cache.impl - package org.dromara.hutool.core.cache.impl
提供各种缓存实现
org.dromara.hutool.core.classloader - package org.dromara.hutool.core.classloader
类加载相关封装和工具
org.dromara.hutool.core.codec - package org.dromara.hutool.core.codec
编码解码封装编码封装
org.dromara.hutool.core.codec.binary - package org.dromara.hutool.core.codec.binary
BaseN编码解码,提供将bytes和baseN的编码转换功能。
org.dromara.hutool.core.codec.hash - package org.dromara.hutool.core.codec.hash
提供Hash算法的封装
org.dromara.hutool.core.codec.hash.metro - package org.dromara.hutool.core.codec.hash.metro
MetroHash算法实现
参考:https://github.com/postamar/java-metrohash
org.dromara.hutool.core.collection - package org.dromara.hutool.core.collection
集合以及Iterator封装,包括集合工具CollUtil,Iterator和Iterable工具IterUtil
org.dromara.hutool.core.collection.iter - package org.dromara.hutool.core.collection.iter
IteratorIterable相关封装
org.dromara.hutool.core.collection.partition - package org.dromara.hutool.core.collection.partition
列表分区或分段
org.dromara.hutool.core.collection.queue - package org.dromara.hutool.core.collection.queue
队列Queue相关封装
org.dromara.hutool.core.collection.set - package org.dromara.hutool.core.collection.set
Set相关封装
org.dromara.hutool.core.comparator - package org.dromara.hutool.core.comparator
各种比较器(Comparator)实现和封装
org.dromara.hutool.core.compress - package org.dromara.hutool.core.compress
压缩解压封装
org.dromara.hutool.core.convert - package org.dromara.hutool.core.convert
万能类型转换器以及各种类型转换的实现类,其中Convert为转换器入口,提供各种toXXX方法和convert方法
转换器是典型的策略模式应用,可自定义转换策略。
org.dromara.hutool.core.convert.impl - package org.dromara.hutool.core.convert.impl
各种类型转换的实现类,其都为Converter接口的实现,用于将未知的Object类型转换为指定类型
org.dromara.hutool.core.convert.impl.stringer - package org.dromara.hutool.core.convert.impl.stringer
针对对象转换为String的封装
org.dromara.hutool.core.data - package org.dromara.hutool.core.data
数据相关封装和工具类
在Hutool中,“数据”是指社会属性的内容
如ID、电话、统一社会信用代码、密码、坐标系、数据脱敏等。
org.dromara.hutool.core.data.id - package org.dromara.hutool.core.data.id
提供各种ID生成
org.dromara.hutool.core.date - package org.dromara.hutool.core.date
日期封装,日期的核心为DateTime类,DateUtil提供日期操作的入口
org.dromara.hutool.core.date.chinese - package org.dromara.hutool.core.date.chinese
农历相关类汇总,包括农历月、天干地支、农历节日、24节气等
规范参考:org.dromara.hutool.core.date.format - package org.dromara.hutool.core.date.format
提供线程安全的日期格式的格式化和解析实现
org.dromara.hutool.core.date.format.parser - package org.dromara.hutool.core.date.format.parser
提供日期解析相关封装,主要包括: DateParser / \ FastDateParser RegisterDateParser (根据日期格式解析) (根据注册的模式匹配解析)
org.dromara.hutool.core.exception - package org.dromara.hutool.core.exception
特殊异常封装,同时提供异常工具ExceptionUtil
org.dromara.hutool.core.func - package org.dromara.hutool.core.func
函数封装
接口灵感来自于ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
org.dromara.hutool.core.io - package org.dromara.hutool.core.io
IO相关封装和工具类,包括Inputstream和OutputStream实现类,工具包括流工具IoUtil、文件工具FileUtil和Buffer工具BufferUtil
org.dromara.hutool.core.io.buffer - package org.dromara.hutool.core.io.buffer
Buffer相关工具封装
org.dromara.hutool.core.io.checksum - package org.dromara.hutool.core.io.checksum
IO校验相关库和工具
org.dromara.hutool.core.io.checksum.crc16 - package org.dromara.hutool.core.io.checksum.crc16
CRC16相关算法封装为Checksum
org.dromara.hutool.core.io.copy - package org.dromara.hutool.core.io.copy
IO流拷贝相关封装相关封装
org.dromara.hutool.core.io.file - package org.dromara.hutool.core.io.file
对文件读写的封装,包括文件拷贝、文件读取、文件写出、行处理等
org.dromara.hutool.core.io.file.visitor - package org.dromara.hutool.core.io.file.visitor
FileVisitor功能性实现,包括递归删除、拷贝等
org.dromara.hutool.core.io.resource - package org.dromara.hutool.core.io.resource
针对ClassPath和文件中资源读取的封装,主要入口为工具类ResourceUtil
org.dromara.hutool.core.io.stream - package org.dromara.hutool.core.io.stream
InputStream和OutputStream相关方法和类封装
org.dromara.hutool.core.io.unit - package org.dromara.hutool.core.io.unit
数据单位相关封装,包括DataUnit数据单位和DataSize数据大小
org.dromara.hutool.core.io.watch - package org.dromara.hutool.core.io.watch
基于JDK7+ WatchService的文件和目录监听封装,支持多级目录
org.dromara.hutool.core.io.watch.watchers - package org.dromara.hutool.core.io.watch.watchers
文件监听中的观察者实现类,包括延迟处理、处理链等
org.dromara.hutool.core.lang - package org.dromara.hutool.core.lang
语言特性包,包括大量便捷的数据结构,包括: ANSI:ANSI编码 Builder:构建器 Caller:查找调用者 Copier:拷贝(复制) Generator:生成器 Getter:getXXX抽象 Intern:规范化表示形式 Loader:加载器的抽象 Mutable:可变值对象封装 Range:区间和边界封装 Tuple:元组
org.dromara.hutool.core.lang.ansi - package org.dromara.hutool.core.lang.ansi
命令行终端中ANSI 转义序列相关封装,如ANSI颜色等
org.dromara.hutool.core.lang.builder - package org.dromara.hutool.core.lang.builder
建造者工具
用于建造特定对象或结果,建造者模式的抽象。
org.dromara.hutool.core.lang.caller - package org.dromara.hutool.core.lang.caller
调用者接口及实现。
org.dromara.hutool.core.lang.copier - package org.dromara.hutool.core.lang.copier
拷贝抽象实现,通过抽象拷贝,可以实现文件、流、Buffer之间的拷贝实现
org.dromara.hutool.core.lang.generator - package org.dromara.hutool.core.lang.generator
提供生成器接口及相关封装
org.dromara.hutool.core.lang.getter - package org.dromara.hutool.core.lang.getter
getXXX方法的接口和抽象实现
org.dromara.hutool.core.lang.intern - package org.dromara.hutool.core.lang.intern
规范化表示形式封装
所谓规范化,即当两个对象equals时,规范化的对象则可以实现==
此包中的相关封装类似于 String#intern()
org.dromara.hutool.core.lang.loader - package org.dromara.hutool.core.lang.loader
加载器的抽象接口和实现,包括懒加载的实现等
org.dromara.hutool.core.lang.mutable - package org.dromara.hutool.core.lang.mutable
提供可变值对象的封装,用于封装int、long等不可变值,使其可变
org.dromara.hutool.core.lang.page - package org.dromara.hutool.core.lang.page
提供分页信息封装,主要包括: PageInfo: 提供分页信息。
org.dromara.hutool.core.lang.range - package org.dromara.hutool.core.lang.range
提供区间和边界封装,主要包括: Bound: 提供边界的抽象表示,包括边界范围、开闭区间等。
org.dromara.hutool.core.lang.ref - package org.dromara.hutool.core.lang.ref
引用工具封装,主要针对Reference 工具化封装
主要封装包括: 1.
org.dromara.hutool.core.lang.selector - package org.dromara.hutool.core.lang.selector
org.dromara.hutool.core.lang.tuple - package org.dromara.hutool.core.lang.tuple
元组相关封装,包括: 类似Python元组的Tuple 三元组Triple
org.dromara.hutool.core.lang.wrapper - package org.dromara.hutool.core.lang.wrapper
提供包装对象的抽象
通过包装接口,实现装饰模式或代理模式,以增强或目标对象功能。
org.dromara.hutool.core.map - package org.dromara.hutool.core.map
Map相关封装,提供特殊Map实现以及Map工具MapUtil
org.dromara.hutool.core.map.concurrent - package org.dromara.hutool.core.map.concurrent
并发Map工具类
org.dromara.hutool.core.map.multi - package org.dromara.hutool.core.map.multi
多参数类型的Map实现,包括集合类型值的MultiValueMap和Table
MultiValueMap:一个键对应多个值的集合的实现,类似于树的结构。
org.dromara.hutool.core.map.reference - package org.dromara.hutool.core.map.reference
弱引用Map实现
org.dromara.hutool.core.math - package org.dromara.hutool.core.math
提供数学计算相关封装,包括排列组合等,入口为MathUtil
org.dromara.hutool.core.net - package org.dromara.hutool.core.net
网络相关工具
org.dromara.hutool.core.net.ssl - package org.dromara.hutool.core.net.ssl
SSL相关封装
org.dromara.hutool.core.net.url - package org.dromara.hutool.core.net.url
URL相关工具
org.dromara.hutool.core.pool - package org.dromara.hutool.core.pool
对象池封装实现
整体参考了: https://github.com/DanielYWoo/fast-object-pool/ https://github.com/apache/commons-pool
org.dromara.hutool.core.pool.partition - package org.dromara.hutool.core.pool.partition
基于分区的对象池实现,参考:https://github.com/DanielYWoo/fast-object-pool
org.dromara.hutool.core.reflect - package org.dromara.hutool.core.reflect
提供反射相关功能对象和类
org.dromara.hutool.core.reflect.creator - package org.dromara.hutool.core.reflect.creator
对象实例化器,对象创建器
org.dromara.hutool.core.reflect.kotlin - package org.dromara.hutool.core.reflect.kotlin
Kotlin反射相关封装,需引入: kotlin-stdlib kotlin-reflect
org.dromara.hutool.core.reflect.lookup - package org.dromara.hutool.core.reflect.lookup
MethodHandles.Lookup 创建封装,以根据不同的条件查找MethodHandles
jdk8中如果直接调用MethodHandles.lookup()获取到的MethodHandles.Lookup在调用findSpecial和unreflectSpecial 时会出现权限不够问题,抛出"no private access for invokespecial"异常,因此针对JDK8及JDK9+分别封装lookup方法。
org.dromara.hutool.core.reflect.method - package org.dromara.hutool.core.reflect.method
提供方法相关封装
org.dromara.hutool.core.regex - package org.dromara.hutool.core.regex
正则表达式相关封装
org.dromara.hutool.core.spi - package org.dromara.hutool.core.spi
服务提供接口SPI(Service Provider interface)机制相关封装,包括: ListServiceLoader,提供列表形式的服务定义 MapServiceLoader,提供键值对形式的服务定义
org.dromara.hutool.core.stream - package org.dromara.hutool.core.stream
Java8的stream相关封装
org.dromara.hutool.core.stream.spliterators - package org.dromara.hutool.core.stream.spliterators
spliterator实现
org.dromara.hutool.core.text - package org.dromara.hutool.core.text
提供文本相关操作的封装,还包括Unicode工具UnicodeUtil
org.dromara.hutool.core.text.bloom - package org.dromara.hutool.core.text.bloom
布隆过滤,提供一些Hash算法的布隆过滤
org.dromara.hutool.core.text.dfa - package org.dromara.hutool.core.text.dfa
DFA全称为:Deterministic Finite Automaton,即确定有穷自动机。
org.dromara.hutool.core.text.escape - package org.dromara.hutool.core.text.escape
提供各种转义和反转义实现
org.dromara.hutool.core.text.finder - package org.dromara.hutool.core.text.finder
文本查找实现,包括: 查找文本中的字符(正向、反向) 查找文本中的匹配字符(正向、反向) 查找文本中的字符串(正向、反向) 查找文本中匹配正则的字符串(正向)
org.dromara.hutool.core.text.placeholder - package org.dromara.hutool.core.text.placeholder
字符串占位符相关封装,包括占位符替换变量和解析变量
org.dromara.hutool.core.text.placeholder.segment - package org.dromara.hutool.core.text.placeholder.segment
占位符节点
org.dromara.hutool.core.text.placeholder.template - package org.dromara.hutool.core.text.placeholder.template
字符串模板
org.dromara.hutool.core.text.replacer - package org.dromara.hutool.core.text.replacer
文本替换类抽象及实现
org.dromara.hutool.core.text.split - package org.dromara.hutool.core.text.split
字符串切分封装和工具类
org.dromara.hutool.core.thread - package org.dromara.hutool.core.thread
提供线程及高并发封装,入口为ThreadUtil
org.dromara.hutool.core.thread.lock - package org.dromara.hutool.core.thread.lock
锁的实现
org.dromara.hutool.core.thread.ratelimiter - package org.dromara.hutool.core.thread.ratelimiter
限流器实现,几种策略包括: 令牌桶(Token Bucket) 漏桶(Leaky Bucket) 固定窗口(Fixed Window) 滑动窗口(Sliding Window) 概念见:https://www.explainthis.io/zh-hans/swe/rate-limiter
org.dromara.hutool.core.thread.threadlocal - package org.dromara.hutool.core.thread.threadlocal
ThreadLocal相关封装
org.dromara.hutool.core.tree - package org.dromara.hutool.core.tree
提供通用树生成,特点: 1、每个字段可自定义
2、支持排序 树深度配置,自定义转换器等
3、支持额外属性扩展
4、贴心 许多属性,特性都有默认值处理
5、使用简单 可一行代码生成树
6、代码简洁轻量无额外依赖
org.dromara.hutool.core.tree.parser - package org.dromara.hutool.core.tree.parser
节点解析器封装
org.dromara.hutool.core.util - package org.dromara.hutool.core.util
提供各种工具方法,按照归类入口为XXXUtil,如字符串工具StrUtil等
org.dromara.hutool.core.xml - package org.dromara.hutool.core.xml
XML相关工具封装
orOfWrap(Boolean...) - Static method in class org.dromara.hutool.core.util.BooleanUtil
Boolean数组所有元素 或 的结果 注意:null 元素 被当作 false 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 BooleanUtil.or(Boolean.FALSE, null) = Boolean.FALSE
orToInt(ModifierType...) - Static method in enum org.dromara.hutool.core.reflect.ModifierType
多个修饰符做“或”操作,表示存在任意一个修饰符
orToInt(int...) - Static method in enum org.dromara.hutool.core.reflect.ModifierType
多个修饰符做“或”操作,表示存在任意一个修饰符
OTHER_UNESCAPE - Static variable in class org.dromara.hutool.core.text.escape.XmlUnescape
issue#1118,新增&apos;反转义
outOfChina(double, double) - Static method in class org.dromara.hutool.core.data.CoordinateUtil
判断坐标是否在国外
火星坐标系 (GCJ-02)只对国内有效,国外无需转换
override - Variable in class org.dromara.hutool.core.bean.copier.CopyOptions
是否覆盖目标值,如果不覆盖,会先读取目标对象的值,为null则写,否则忽略。

P

padAfter(CharSequence, int, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之 padAfter(null, *, *);//null padAfter("1", 3, '0');//"100" padAfter("123", 2, '0');//"23" padAfter("123", -1, '0')//"" 空串
padAfter(CharSequence, int, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
补充字符串以满足最小长度 padAfter(null, *, *);//null padAfter("1", 3, "ABC");//"1AB" padAfter("123", 2, "ABC");//"23"
padLeft(List<T>, int, T) - Static method in class org.dromara.hutool.core.collection.CollUtil
填充List,以达到最小长度
padPre(CharSequence, int, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
补充字符串以满足指定长度,如果提供的字符串大于指定长度,截断之 同:leftPad (org.apache.commons.lang3.leftPad) padPre(null, *, *);//null padPre("1", 3, "ABC");//"AB1" padPre("123", 2, "ABC");//"12" padPre("1039", -1, "0");//"103"
padPre(CharSequence, int, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
补充字符串以满足最小长度,如果提供的字符串大于指定长度,截断之 同:leftPad (org.apache.commons.lang3.leftPad) padPre(null, *, *);//null padPre("1", 3, '0');//"001" padPre("123", 2, '0');//"12"
padRight(Collection<T>, int, T) - Static method in class org.dromara.hutool.core.collection.CollUtil
填充List,以达到最小长度
page(List<T>, int, int) - Static method in class org.dromara.hutool.core.collection.ListUtil
对指定List分页取值
page(List<T>, PageInfo) - Static method in class org.dromara.hutool.core.collection.ListUtil
对指定List分页取值
page(List<T>, int, Consumer<List<T>>) - Static method in class org.dromara.hutool.core.collection.ListUtil
对指定List进行分页,逐页返回数据
PageInfo - Class in org.dromara.hutool.core.lang.page
分页信息,通过提供的总数、页码、每页记录数等信息,计算总页数等信息
来自:https://bbs.csdn.net/topics/360010907
PageInfo(int, int) - Constructor for class org.dromara.hutool.core.lang.page.PageInfo
构造
Pair<L,R> - Class in org.dromara.hutool.core.lang.tuple
不可变二元组对象
Pair(L, R) - Constructor for class org.dromara.hutool.core.lang.tuple.Pair
构造
PairConverter - Class in org.dromara.hutool.core.convert.impl
Pair 转换器,支持以下类型转为Pair Map Map.Entry 带分隔符的字符串,支持分隔符:=, Bean,包含getLeftgetRight方法
PairConverter(Converter) - Constructor for class org.dromara.hutool.core.convert.impl.PairConverter
构造
parallel(boolean) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
更改流的并行状态
parallel() - Method in interface org.dromara.hutool.core.stream.WrappedStream
将流转换为并行
parallelAllOfGet(CompletableFuture<T>...) - Static method in class org.dromara.hutool.core.thread.AsyncUtil
获取所有任务的返回值,并行执行,重载方法
parallelAllOfGet(List<CompletableFuture<T>>) - Static method in class org.dromara.hutool.core.thread.AsyncUtil
获取所有任务的返回值,并行执行
parallelAllOfGet(CompletableFuture<T>[], Function<Exception, T>) - Static method in class org.dromara.hutool.core.thread.AsyncUtil
获取所有任务的返回值,并行执行,可以为异常任务添加异常处理方法
parallelAllOfGet(List<CompletableFuture<T>>, Function<Exception, T>) - Static method in class org.dromara.hutool.core.thread.AsyncUtil
获取所有任务的返回值,并行执行,可以为异常任务添加异常处理方法,重载方法
parallelStream() - Method in class org.dromara.hutool.core.collection.ListWrapper
 
parallelStream() - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
parallelStream() - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
parallelStream() - Method in class org.dromara.hutool.core.lang.tuple.Tuple
将元组转成并行流
ParameterizedTypeImpl - Class in org.dromara.hutool.core.reflect
ParameterizedType 接口实现,用于重新定义泛型类型
ParameterizedTypeImpl(Type[], Type, Type) - Constructor for class org.dromara.hutool.core.reflect.ParameterizedTypeImpl
构造
parse(CharSequence, boolean, PositionDateParser) - Static method in class org.dromara.hutool.core.date.CalendarUtil
使用指定DateParser解析字符串为Calendar
parse(CharSequence, DateFormat) - Static method in class org.dromara.hutool.core.date.DateUtil
构建DateTime对象
parse(CharSequence, PositionDateParser) - Static method in class org.dromara.hutool.core.date.DateUtil
构建DateTime对象
parse(CharSequence, PositionDateParser, boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
构建DateTime对象
parse(CharSequence, DateTimeFormatter) - Static method in class org.dromara.hutool.core.date.DateUtil
构建DateTime对象
parse(CharSequence, String) - Static method in class org.dromara.hutool.core.date.DateUtil
将特定格式的日期转换为Date对象
parse(CharSequence, String, Locale) - Static method in class org.dromara.hutool.core.date.DateUtil
将特定格式的日期转换为Date对象
parse(CharSequence) - Static method in class org.dromara.hutool.core.date.DateUtil
将日期字符串转换为DateTime对象,在转换过程中,如果字符串中有时区信息,表示是指定时区的时间
此时此方法会将时区转换为当前时区,时间戳会根据时区变化。
parse(CharSequence) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
parse(CharSequence, ParsePosition) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
parse(CharSequence, ParsePosition, Calendar) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
parse(CharSequence, String) - Static method in class org.dromara.hutool.core.date.format.GlobalCustomFormat
使用自定义格式解析日期
parse(CharSequence) - Method in interface org.dromara.hutool.core.date.format.parser.DateParser
将日期字符串解析并转换为 Date 对象
parse(CharSequence) - Method in class org.dromara.hutool.core.date.format.parser.DefaultRegexDateParser
解析日期,此方法线程安全
parse(CharSequence) - Method in class org.dromara.hutool.core.date.format.parser.FastDateParser
 
parse(CharSequence, ParsePosition) - Method in class org.dromara.hutool.core.date.format.parser.FastDateParser
 
parse(CharSequence, ParsePosition, Calendar) - Method in class org.dromara.hutool.core.date.format.parser.FastDateParser
 
parse(CharSequence) - Method in class org.dromara.hutool.core.date.format.parser.PatternsDateParser
 
parse(CharSequence, ParsePosition) - Method in interface org.dromara.hutool.core.date.format.parser.PositionDateParser
将日期字符串解析并转换为 Date 对象
等价于 DateFormat.parse(String, ParsePosition)
parse(CharSequence, ParsePosition, Calendar) - Method in interface org.dromara.hutool.core.date.format.parser.PositionDateParser
根据给定格式更新Calendar
解析成功后,ParsePosition.getIndex()更新成转换到的位置
失败则ParsePosition.getErrorIndex()更新到解析失败的位置
parse(CharSequence) - Method in class org.dromara.hutool.core.date.format.parser.RegexDateParser
 
parse(CharSequence) - Method in class org.dromara.hutool.core.date.format.parser.RegisterDateParser
 
parse(CharSequence) - Method in class org.dromara.hutool.core.date.format.parser.TimeParser
 
parse(CharSequence, DateTimeFormatter) - Static method in class org.dromara.hutool.core.date.TimeUtil
解析日期时间字符串为LocalDateTime,格式支持日期时间、日期、时间
如果formatter为null,则使用DateTimeFormatter.ISO_LOCAL_DATE_TIME
parse(CharSequence, String) - Static method in class org.dromara.hutool.core.date.TimeUtil
解析日期时间字符串为LocalDateTime
parse(CharSequence) - Static method in class org.dromara.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) - Static method in class org.dromara.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) - Static method in class org.dromara.hutool.core.io.unit.DataSizeUtil
解析数据大小字符串,转换为bytes大小
parse(T) - Static method in class org.dromara.hutool.core.map.Dict
将PO对象转为Dict
parse(CharSequence, Charset) - Method in class org.dromara.hutool.core.net.url.UrlPath
解析path
parse(String, Charset) - Method in class org.dromara.hutool.core.net.url.UrlQuery
解析URL中的查询字符串
parse(String, Charset, boolean) - Method in class org.dromara.hutool.core.net.url.UrlQuery
解析URL中的查询字符串
parse(TreeNode<T>, MapTree<T>) - Method in class org.dromara.hutool.core.tree.parser.DefaultNodeParser
 
parse(T, MapTree<E>) - Method in interface org.dromara.hutool.core.tree.parser.NodeParser
 
parse(String) - Static method in class org.dromara.hutool.core.util.CharsetUtil
解析字符串编码为Charset对象,解析失败返回系统默认编码
parse(String, Charset) - Static method in class org.dromara.hutool.core.util.CharsetUtil
解析字符串编码为Charset对象,解析失败返回默认编码
parseBean(T) - Method in class org.dromara.hutool.core.map.Dict
将值对象转换为Dict
类名会被当作表名,小写第一个字母
parseBean(T, boolean, boolean) - Method in class org.dromara.hutool.core.map.Dict
将值对象转换为Dict
类名会被当作表名,小写第一个字母
parseBigInteger(String) - Method in class org.dromara.hutool.core.math.NumberParser
解析为BigInteger,支持16进制、10进制和8进制,如果传入空白串返回null
from Apache Common Lang
parseBigInteger(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
创建BigInteger,支持16进制、10进制和8进制,如果传入空白串返回null
from Apache Common Lang
parseByISO(CharSequence) - Static method in class org.dromara.hutool.core.date.TimeUtil
解析日期时间字符串为LocalDateTime,支持: DateTimeFormatter.ISO_LOCAL_DATE_TIME yyyy-MM-dd'T'HH:mm:ss格式,例如:2007-12-03T10:15:30 yyyy-MM-dd HH:mm:ss
parseByPatterns(CharSequence, String...) - Static method in class org.dromara.hutool.core.date.CalendarUtil
通过给定的日期格式解析日期时间字符串。
parseByPatterns(CharSequence, Locale, String...) - Static method in class org.dromara.hutool.core.date.CalendarUtil
通过给定的日期格式解析日期时间字符串。
parseByPatterns(CharSequence, Locale, boolean, String...) - Static method in class org.dromara.hutool.core.date.CalendarUtil
通过给定的日期格式解析日期时间字符串。
parseByPatterns(String, String...) - Static method in class org.dromara.hutool.core.date.DateUtil
通过给定的日期格式解析日期时间字符串。
parseCookies(String) - Static method in class org.dromara.hutool.core.net.NetUtil
解析Cookie信息
parseCrockford(String) - Static method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
解析Crockford`s Base32值
parseDate(CharSequence, DateTimeFormatter) - Static method in class org.dromara.hutool.core.date.TimeUtil
解析日期时间字符串为LocalDate,格式支持日期
parseDate(CharSequence, String) - Static method in class org.dromara.hutool.core.date.TimeUtil
解析日期字符串为LocalDate
parseDateByISO(CharSequence) - Static method in class org.dromara.hutool.core.date.TimeUtil
解析日期时间字符串为LocalDate,仅支持yyyy-MM-dd'T'HH:mm:ss格式,例如:2007-12-03T10:15:30
parseDouble(String) - Method in class org.dromara.hutool.core.math.NumberParser
解析转换数字字符串为long型数字,规则如下: 1、0开头的忽略开头的0 2、空串返回0 3、其它情况按照10进制转换 4、.123形式返回0.123(按照小于0的小数对待) 5、NaN返回0
parseDouble(String, Double) - Static method in class org.dromara.hutool.core.math.NumberUtil
解析转换数字字符串为 Double 规则如下: 1、0开头的忽略开头的0 2、空串返回0 3、其它情况按照10进制转换 4、.123形式返回0.123(按照小于0的小数对待)
parseDouble(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
解析转换数字字符串为long型数字,规则如下: 1、0开头的忽略开头的0 2、空串返回0 3、其它情况按照10进制转换 4、.123形式返回0.123(按照小于0的小数对待) 5、NaN返回0
parseFloat(String) - Method in class org.dromara.hutool.core.math.NumberParser
解析转换数字字符串为long型数字,规则如下: 1、0开头的忽略开头的0 2、空串返回0 3、其它情况按照10进制转换 4、.123形式返回0.123(按照小于0的小数对待)
parseFloat(String, Float) - Static method in class org.dromara.hutool.core.math.NumberUtil
解析转换数字字符串为 Float 规则如下: 1、0开头的忽略开头的0 2、空串返回0 3、其它情况按照10进制转换 4、.123形式返回0.123(按照小于0的小数对待)
parseFloat(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
解析转换数字字符串为long型数字,规则如下: 1、0开头的忽略开头的0 2、空串返回0 3、其它情况按照10进制转换 4、.123形式返回0.123(按照小于0的小数对待)
parseFromChinese(String) - Static method in class org.dromara.hutool.core.math.ChineseNumberParser
把中文转换为数字 如 二百二十 -》 220
一百一十二 -》 112 一千零一十二 -》 1012
parseFromChineseMoney(String) - Static method in class org.dromara.hutool.core.math.ChineseNumberParser
中文大写数字金额转换为数字,返回结果以元为单位的BigDecimal类型数字
如: “陆万柒仟伍佰伍拾陆元叁角贰分”返回“67556.32” “叁角贰分”返回“0.32”
parseFromChineseNumber(String) - Static method in class org.dromara.hutool.core.math.ChineseNumberParser
把中文转换为数字
一百一十二 -》 112 一千零一十二 -》 1012 十二点二三 -》 12.23 三点一四一五九二六五四 -》 3.141592654
parseInt(String) - Method in class org.dromara.hutool.core.math.NumberParser
解析转换数字字符串为int型数字,规则如下: 1、0x开头的视为16进制数字 2、0开头的忽略开头的0 3、其它情况按照10进制转换 4、空串返回0 5、.123形式返回0(按照小于0的小数对待) 6、123.56截取小数点之前的数字,忽略小数部分 7、科学计数法抛出NumberFormatException异常
parseInt(char[], int) - Method in class org.dromara.hutool.core.math.NumberParser
转换char数组为一个int值,此方法拷贝自Integer.parseInt(String, int)
拷贝的原因是直接转换char[]避免创建String对象造成的多余拷贝
此方法自动跳过首尾空白符
parseInt(String, Integer) - Static method in class org.dromara.hutool.core.math.NumberUtil
解析转换数字字符串为 Integer 规则如下: 1、0x开头的视为16进制数字 2、0开头的忽略开头的0 3、其它情况按照10进制转换 4、空串返回0 5、.123形式返回0(按照小于0的小数对待) 6、123.56截取小数点之前的数字,忽略小数部分 7、解析失败返回默认值
parseInt(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
解析转换数字字符串为int型数字,规则如下: 1、0x开头的视为16进制数字 2、0开头的忽略开头的0 3、其它情况按照10进制转换 4、空串返回0 5、.123形式返回0(按照小于0的小数对待) 6、123.56截取小数点之前的数字,忽略小数部分 7、科学计数法抛出NumberFormatException异常
parseInt(char[], int) - Static method in class org.dromara.hutool.core.math.NumberUtil
转换char数组为一个int值,此方法拷贝自Integer.parseInt(String, int)
拷贝的原因是直接转换char[]避免创建String对象造成的多余拷贝。
parseLong(String) - Method in class org.dromara.hutool.core.math.NumberParser
解析转换数字字符串为long型数字,规则如下: 1、0x开头的视为16进制数字 2、0开头的忽略开头的0 3、空串返回0 4、其它情况按照10进制转换 5、.123形式返回0(按照小于0的小数对待) 6、123.56截取小数点之前的数字,忽略小数部分
parseLong(String, Long) - Static method in class org.dromara.hutool.core.math.NumberUtil
解析转换数字字符串为 Long 规则如下: 1、0x开头的视为16进制数字 2、0开头的忽略开头的0 3、其它情况按照10进制转换 4、空串返回0 5、.123形式返回0(按照小于0的小数对待) 6、123.56截取小数点之前的数字,忽略小数部分 7、解析失败返回默认值
parseLong(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
解析转换数字字符串为long型数字,规则如下: 1、0x开头的视为16进制数字 2、0开头的忽略开头的0 3、空串返回0 4、其它情况按照10进制转换 5、.123形式返回0(按照小于0的小数对待) 6、123.56截取小数点之前的数字,忽略小数部分
parseLongFromChineseNumber(char[], int, int) - Static method in class org.dromara.hutool.core.math.ChineseNumberParser
把中文整数转换为数字 如 二百二十 220
一百一十二 -》 112 一千零一十二 -》 1012
parseNumber(String) - Method in class org.dromara.hutool.core.math.NumberParser
将指定字符串转换为Number 对象
此方法不支持科学计数法 空白符和NaN转换为0 0x开头使用16进制解析为Long类型 需要注意的是,在不同Locale下,数字的表示形式也是不同的,例如:
德国、荷兰、比利时、丹麦、意大利、罗马尼亚和欧洲大多地区使用`,`区分小数
也就是说,在这些国家地区,1.20表示120,而非1.2。
parseNumber(String, Number) - Static method in class org.dromara.hutool.core.math.NumberUtil
将指定字符串转换为Number 此方法不支持科学计数法
parseNumber(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
将指定字符串转换为Number 对象
此方法不支持科学计数法 需要注意的是,在不同Locale下,数字的表示形式也是不同的,例如:
德国、荷兰、比利时、丹麦、意大利、罗马尼亚和欧洲大多地区使用`,`区分小数
也就是说,在这些国家地区,1.20表示120,而非1.2。
parseNumber(String, Locale) - Static method in class org.dromara.hutool.core.math.NumberUtil
将指定字符串转换为Number 对象
此方法不支持科学计数法 需要注意的是,在不同Locale下,数字的表示形式也是不同的,例如:
德国、荷兰、比利时、丹麦、意大利、罗马尼亚和欧洲大多地区使用`,`区分小数
也就是说,在这些国家地区,1.20表示120,而非1.2。
parseObject(String, ParsePosition) - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
parsePattern() - Method in class org.dromara.hutool.core.date.format.FastDatePrinter
Returns a list of Rules given a pattern.
parseSegments(String) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate
将 模板 解析为 Segment 列表
parseSegments(String) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
 
parseSegments(String) - Method in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate
 
parseToken(String, int[]) - Method in class org.dromara.hutool.core.date.format.FastDatePrinter
Performs the parsing of tokens.
parseToLocalDateTime(CharSequence) - Method in class org.dromara.hutool.core.date.format.parser.RegexDateParser
解析日期,结果为LocalDateTime
parseToOffsetDateTime(CharSequence) - Method in class org.dromara.hutool.core.date.format.parser.RegexDateParser
解析日期,结果为OffsetDateTime
parseXml(String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将String类型的XML转换为XML文档
partition(Collection<T>, int) - Static method in class org.dromara.hutool.core.collection.CollUtil
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表
partition(List<T>, int) - Static method in class org.dromara.hutool.core.collection.ListUtil
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
Partition<T> - Class in org.dromara.hutool.core.collection.partition
列表分区或分段
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
Partition(List<T>, int) - Constructor for class org.dromara.hutool.core.collection.partition.Partition
列表分区
partition(Map<K, V>, int) - Static method in class org.dromara.hutool.core.map.MapUtil
将一个Map按照固定大小拆分成多个子Map
partition(Predicate<T>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
根据给定判断条件分组
partition(Predicate<T>, Supplier<C>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
根据给定判断条件分组
partition(Predicate<T>, Collector<T, ?, R>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
根据给定判断条件分组
PartitionIter<T> - Class in org.dromara.hutool.core.collection.iter
分批迭代工具,可以分批处理数据 比如调用其他客户的接口,传入的入参有限,需要分批 比如mysql/oracle用in语句查询,超过1000可以分批 比如数据库取出游标,可以把游标里的数据一批一批处理
PartitionIter(Iterator<T>, int) - Constructor for class org.dromara.hutool.core.collection.iter.PartitionIter
创建分组对象
PartitionObjectPool<T> - Class in org.dromara.hutool.core.pool.partition
分区对象池实现
来自:https://github.com/DanielYWoo/fast-object-pool/blob/master/src/main/java/cn/danielw/fop/ObjectPool.java
PartitionObjectPool(PartitionPoolConfig, ObjectFactory<T>) - Constructor for class org.dromara.hutool.core.pool.partition.PartitionObjectPool
构造
PartitionPoolable<T> - Class in org.dromara.hutool.core.pool.partition
分区可池化对象,此对象会同时持有原始对象和所在的分区
PartitionPoolable(T, PoolPartition<T>) - Constructor for class org.dromara.hutool.core.pool.partition.PartitionPoolable
构造
PartitionPoolConfig - Class in org.dromara.hutool.core.pool.partition
分局对象池配置
PartitionPoolConfig() - Constructor for class org.dromara.hutool.core.pool.partition.PartitionPoolConfig
 
partitionSize - Variable in class org.dromara.hutool.core.collection.iter.PartitionIter
实际每批大小
partValue(int, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
把给定的总数平均分成N份,返回每份的个数
当除以分数有余数时每份+1
partValue(int, int, boolean) - Static method in class org.dromara.hutool.core.math.NumberUtil
把给定的总数平均分成N份,返回每份的个数
如果isPlusOneWhenHasRem为true,则当除以分数有余数时每份+1,否则丢弃余数部分
PasswdStrength - Class in org.dromara.hutool.core.data
PasswdStrength() - Constructor for class org.dromara.hutool.core.data.PasswdStrength
 
PasswdStrength.CHAR_TYPE - Enum in org.dromara.hutool.core.data
字符类型枚举
PasswdStrength.PASSWD_LEVEL - Enum in org.dromara.hutool.core.data
密码强度等级枚举
password(String) - Static method in class org.dromara.hutool.core.data.MaskingUtil
【密码】密码的全部字符都用*代替,比如:******
Path() - Constructor for class org.dromara.hutool.core.map.multi.DirectedWeightGraph.Path
构造
Path(DirectedWeightGraph.Edge<T>) - Constructor for class org.dromara.hutool.core.map.multi.DirectedWeightGraph.Path
构造
PATH - Static variable in class org.dromara.hutool.core.net.url.RFC3986
path = segment / "/"
PATH_SEPARATOR - Static variable in class org.dromara.hutool.core.io.file.FileUtil
多个PATH之间的分隔符
在Unix和Linux下 是':'; 在Windows下是 ';'
PathConverter - Class in org.dromara.hutool.core.convert.impl
字符串转换器
PathConverter() - Constructor for class org.dromara.hutool.core.convert.impl.PathConverter
 
PathCopier - Class in org.dromara.hutool.core.io.file
文件复制封装
PathCopier(Path, Path, CopyOption[]) - Constructor for class org.dromara.hutool.core.io.file.PathCopier
构造
PathDeleter - Class in org.dromara.hutool.core.io.file
文件删除封装
PathDeleter(Path) - Constructor for class org.dromara.hutool.core.io.file.PathDeleter
构造
pathEndsWith(File, String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
判断文件路径是否有指定后缀,忽略大小写
常用语判断扩展名
pathEquals(File, File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
文件路径是否相同
取两个文件的绝对路径比较,在Windows下忽略大小写,在Linux下不忽略。
PathMover - Class in org.dromara.hutool.core.io.file
文件移动封装
PathMover(Path, Path, CopyOption[]) - Constructor for class org.dromara.hutool.core.io.file.PathMover
构造
pathPrefix - Variable in class org.dromara.hutool.core.spi.AbsServiceLoader
路径前缀
PathUtil - Class in org.dromara.hutool.core.io.file
NIO中Path对象操作封装
PathUtil() - Constructor for class org.dromara.hutool.core.io.file.PathUtil
 
pattern - Variable in class org.dromara.hutool.core.date.format.SimpleDateBasic
The pattern
PatternFinder - Class in org.dromara.hutool.core.text.finder
正则查找器
通过传入正则表达式,查找指定字符串中匹配正则的开始和结束位置
PatternFinder(String, boolean) - Constructor for class org.dromara.hutool.core.text.finder.PatternFinder
构造
PatternFinder(Pattern) - Constructor for class org.dromara.hutool.core.text.finder.PatternFinder
构造
PatternPool - Class in org.dromara.hutool.core.regex
常用正则表达式集合,更多正则见:
https://any86.github.io/any-rule/
PatternPool() - Constructor for class org.dromara.hutool.core.regex.PatternPool
 
PatternsDateParser - Class in org.dromara.hutool.core.date.format.parser
通过给定的日期格式解析日期时间字符串。
PatternsDateParser(String...) - Constructor for class org.dromara.hutool.core.date.format.parser.PatternsDateParser
构造
PCHAR - Static variable in class org.dromara.hutool.core.net.url.RFC3986
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
peek() - Method in class org.dromara.hutool.core.collection.queue.DiscardingQueue
 
peek() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
peek(byte[], int, int) - Method in class org.dromara.hutool.core.io.CircularByteBuffer
Returns, whether the next bytes in the buffer are exactly those, given by sourceBuffer, offset, and length.
peek(Consumer<T>) - Method in interface org.dromara.hutool.core.lang.mutable.Mutable
检查并操作值
peek(Consumer<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回与指定函数将元素作为参数执行后组成的流。
peekFirst() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
peekIdx(BiConsumer<? super T, Integer>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
返回与指定函数将元素作为参数执行后组成的流。
peekKey(Consumer<? super K>) - Method in class org.dromara.hutool.core.stream.EntryStream
检查键
peekLast() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
peekValue(Consumer<? super V>) - Method in class org.dromara.hutool.core.stream.EntryStream
检查值
PERCENT - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:百分号 '%'
PercentCodec - Class in org.dromara.hutool.core.codec
百分号编码(Percent-encoding), 也称作URL编码(URL encoding)。
PercentCodec() - Constructor for class org.dromara.hutool.core.codec.PercentCodec
构造
[a-zA-Z0-9]默认不被编码
PercentCodec(BitSet) - Constructor for class org.dromara.hutool.core.codec.PercentCodec
构造
PercentCodec.Builder - Class in org.dromara.hutool.core.codec
PercentCodec构建器
由于PercentCodec本身应该是只读对象,因此将此对象的构建放在Builder中
PeriodConverter - Class in org.dromara.hutool.core.convert.impl
Period对象转换器
PeriodConverter() - Constructor for class org.dromara.hutool.core.convert.impl.PeriodConverter
 
PhantomObj<T> - Class in org.dromara.hutool.core.lang.ref
虚引用对象,在GC时发现虚引用对象,会将PhantomReference插入ReferenceQueue
PhantomObj(T, ReferenceQueue<? super T>) - Constructor for class org.dromara.hutool.core.lang.ref.PhantomObj
构造
PhoneUtil - Class in org.dromara.hutool.core.data
电话号码工具类,包括: 手机号码 400、800号码 座机号码
PhoneUtil() - Constructor for class org.dromara.hutool.core.data.PhoneUtil
 
PI - Static variable in class org.dromara.hutool.core.data.CoordinateUtil
坐标转换参数:π
Pid - Enum in org.dromara.hutool.core.data.id
进程ID单例封装
第一次访问时调用ManagementFactory.getRuntimeMXBean()获取PID信息,之后直接使用缓存值
ping(String) - Static method in class org.dromara.hutool.core.net.NetUtil
检测IP地址是否能ping通
ping(String, int) - Static method in class org.dromara.hutool.core.net.NetUtil
检测IP地址是否能ping通
PinyinComparator - Class in org.dromara.hutool.core.comparator
按照GBK拼音顺序对给定的汉字字符串排序
PinyinComparator() - Constructor for class org.dromara.hutool.core.comparator.PinyinComparator
构造,null最大,排在最后
PinyinComparator(boolean) - Constructor for class org.dromara.hutool.core.comparator.PinyinComparator
构造
pjwHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
PJW算法
placeholder - Variable in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate.Builder
单占位符 例如:"?"
placeholder(String) - Method in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate.Builder
设置 占位符
placeholder - Variable in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate
占位符,默认为: StrPool.EMPTY_JSON
PlaceholderParser - Class in org.dromara.hutool.core.text.placeholder
一个简单的占位符解析器。
PlaceholderParser(UnaryOperator<String>, String, String) - Constructor for class org.dromara.hutool.core.text.placeholder.PlaceholderParser
创建一个占位符解析器,默认转义符为"\"
PlaceholderParser(UnaryOperator<String>, String, String, char) - Constructor for class org.dromara.hutool.core.text.placeholder.PlaceholderParser
创建一个占位符解析器
placeholderSegments - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate
所有占位符
PLATE_NUMBER - Static variable in class org.dromara.hutool.core.regex.PatternPool
中国车牌号码(兼容新能源车牌)
PLATE_NUMBER - Static variable in interface org.dromara.hutool.core.regex.RegexPool
中国车牌号码(兼容新能源车牌)
PLUS - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:加号 '+'
poll() - Method in class org.dromara.hutool.core.collection.queue.DiscardingQueue
 
poll() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
poll() - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
 
poll(long, TimeUnit) - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
 
pollFirst() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
pollLast() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
Poolable<T> - Interface in org.dromara.hutool.core.pool
池化对象
PoolConfig - Class in org.dromara.hutool.core.pool
对象池配置,提供基本的配置项,包括: 最小池大小(初始大小) 最大池大小 最长等待时间 最长空闲时间
PoolConfig() - Constructor for class org.dromara.hutool.core.pool.PoolConfig
 
PoolException - Exception in org.dromara.hutool.core.pool
对象池异常
PoolException(Throwable) - Constructor for exception org.dromara.hutool.core.pool.PoolException
构造
PoolException(String) - Constructor for exception org.dromara.hutool.core.pool.PoolException
构造
PoolException(String, Object...) - Constructor for exception org.dromara.hutool.core.pool.PoolException
构造
PoolException(String, Throwable) - Constructor for exception org.dromara.hutool.core.pool.PoolException
构造
PoolException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.pool.PoolException
构造
PoolException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.pool.PoolException
构造
PoolPartition<T> - Class in org.dromara.hutool.core.pool.partition
对象池分区
一个分区实际为一个小的对象池,持有一个阻塞队列。
PoolPartition(PoolConfig, BlockingQueue<Poolable<T>>, ObjectFactory<T>) - Constructor for class org.dromara.hutool.core.pool.partition.PoolPartition
构造
pop() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
popPart(Stack<T>, int) - Static method in class org.dromara.hutool.core.collection.CollUtil
切取部分数据
切取后的栈将减少这些元素
popPart(Deque<T>, int) - Static method in class org.dromara.hutool.core.collection.CollUtil
切取部分数据
切取后的栈将减少这些元素
PORT_RANGE_MAX - Static variable in class org.dromara.hutool.core.net.NetUtil
默认最大端口,65535
PORT_RANGE_MIN - Static variable in class org.dromara.hutool.core.net.NetUtil
默认最小端口,1024
pos - Variable in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
Position where next character should be written in the buffer.
PositionDateParser - Interface in org.dromara.hutool.core.date.format.parser
带有ParsePosition的日期解析接口,用于解析日期字符串为 Date 对象
Thanks to Apache Commons Lang 3.5
PossibleObjectCreator<T> - Class in org.dromara.hutool.core.reflect.creator
尝试方式对象实例化器
通过判断类型或调用可能的构造,构建对象,支持: 原始类型 接口或抽象类型 枚举 数组 使用默认参数的构造方法 对于接口或抽象类型,构造其默认实现: Map -》 HashMap Collction -》 ArrayList List -》 ArrayList Set -》 HashSet
PossibleObjectCreator(Class<T>) - Constructor for class org.dromara.hutool.core.reflect.creator.PossibleObjectCreator
构造
postVisitDirectory(Path, IOException) - Method in class org.dromara.hutool.core.io.file.visitor.DelVisitor
访问目录结束后删除目录,当执行此方法时,子文件或目录都已访问(删除)完毕
理论上当执行到此方法时,目录下已经被清空了
pow(Number, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供精确的幂运算
pow(BigDecimal, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供精确的幂运算
如果n为负数,则返回1/a的-n次方,默认四舍五入
pow(BigDecimal, int, int, RoundingMode) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供精确的幂运算
如果n为负数,则返回1/a的-n次方,默认四舍五入
PredicateDateParser - Interface in org.dromara.hutool.core.date.format.parser
通过判断字符串的匹配,解析为日期
通过实现Predicate.test(Object)方法判断字符串是否符合此解析器的规则,如果符合,则调用DateParser.parse(CharSequence)完成解析。
PredicateUnaryOperator<T> - Interface in org.dromara.hutool.core.func
断言与一元操作符的组合
此接口用于组合断言和操作,如果Predicate.test(Object)true,则执行Function.apply(Object),否则不执行
PredicateUtil - Class in org.dromara.hutool.core.func
一些Predicate相关封装
PredicateUtil() - Constructor for class org.dromara.hutool.core.func.PredicateUtil
 
prefix - Variable in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate.Builder
占位符前缀,默认为 NamedPlaceholderStrTemplate.DEFAULT_PREFIX 不能为空字符串
prefix(String) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate.Builder
设置 占位符前缀
prefix - Variable in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
占位符前缀,默认为: NamedPlaceholderStrTemplate.DEFAULT_PREFIX
prepend(Iterable<? extends Map.Entry<K, V>>) - Method in class org.dromara.hutool.core.stream.EntryStream
将输入元素转为流,返回一个前半段为新流,后半段为当前流的新EasyStream实例
prepend(Iterable<? extends T>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
将输入元素转为流,返回一个前半段为新流,后半段为当前流的新实例
prependIfMissing(CharSequence, CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为开头,则在前面添加起始字符串
不忽略大小写
prependIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
prependIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
忽略大小写
prettyPrint() - Method in class org.dromara.hutool.core.date.StopWatch
生成所有任务的一个任务花费时间表,单位纳秒
prettyPrint(TimeUnit) - Method in class org.dromara.hutool.core.date.StopWatch
生成所有任务的一个任务花费时间表
previousPage() - Method in class org.dromara.hutool.core.lang.page.PageInfo
上一页,即当前页码-1,直到第一页则始终为第一页
preVisitDirectory(Path, BasicFileAttributes) - Method in class org.dromara.hutool.core.compress.ZipCopyVisitor
 
preVisitDirectory(Path, BasicFileAttributes) - Method in class org.dromara.hutool.core.io.file.visitor.CopyVisitor
 
preVisitDirectory(Path, BasicFileAttributes) - Method in class org.dromara.hutool.core.io.file.visitor.MoveVisitor
 
PrimitiveArrayUtil - Class in org.dromara.hutool.core.array
原始类型数组工具类
PrimitiveArrayUtil() - Constructor for class org.dromara.hutool.core.array.PrimitiveArrayUtil
 
PrimitiveConverter - Class in org.dromara.hutool.core.convert.impl
原始类型转换器
支持类型为:
byte short int long float double char boolean
PrimitiveConverter() - Constructor for class org.dromara.hutool.core.convert.impl.PrimitiveConverter
 
print(Object) - Static method in class org.dromara.hutool.core.lang.Console
同 System.out.print()方法,打印控制台日志
print(Object, Object...) - Static method in class org.dromara.hutool.core.lang.Console
同 System.out.println()方法,打印控制台日志
如果传入打印对象为Throwable对象,那么同时打印堆栈
print(String, Object...) - Static method in class org.dromara.hutool.core.lang.Console
同 System.out.print()方法,打印控制台日志
print() - Method in class org.dromara.hutool.core.lang.ConsoleTable
打印到控制台
printProgress(char, int) - Static method in class org.dromara.hutool.core.lang.Console
打印进度条
printProgress(char, int, double) - Static method in class org.dromara.hutool.core.lang.Console
打印进度条
process(FoundWord) - Method in interface org.dromara.hutool.core.text.dfa.SensitiveProcessor
敏感词过滤处理
processMultiple(int, int) - Static method in class org.dromara.hutool.core.math.MathUtil
可以用于计算双色球、大乐透注数的方法
比如大乐透35选5可以这样调用processMultiple(7,5); 就是数学中的:C75=7*6/2*1
progress - Variable in class org.dromara.hutool.core.io.copy.IoCopier
进度条
progress(long, long) - Method in interface org.dromara.hutool.core.io.StreamProgress
进行中
PropDesc - Class in org.dromara.hutool.core.bean
属性描述,包括了字段、getter、setter和相应的方法执行
PropDesc(Field, Method, Method) - Constructor for class org.dromara.hutool.core.bean.PropDesc
构造
Getter和Setter方法设置为默认可访问
PropDesc(String, Method, Method) - Constructor for class org.dromara.hutool.core.bean.PropDesc
构造
Getter和Setter方法设置为默认可访问
PropertyComparator<T> - Class in org.dromara.hutool.core.comparator
Bean属性排序器
支持读取Bean多层次下的属性
PropertyComparator(String) - Constructor for class org.dromara.hutool.core.comparator.PropertyComparator
构造,默认null排在后(从小到大排序)
PropertyComparator(String, boolean) - Constructor for class org.dromara.hutool.core.comparator.PropertyComparator
构造
PropertyComparator(String, boolean, boolean) - Constructor for class org.dromara.hutool.core.comparator.PropertyComparator
构造
PropIgnore - Annotation Type in org.dromara.hutool.core.annotation
属性忽略注解,使用此注解的字段等会被忽略,主要用于Bean拷贝、Bean转Map等
此注解应用于字段时,忽略读取和设置属性值,应用于setXXX方法忽略设置值,应用于getXXX忽略读取值
propMap - Variable in class org.dromara.hutool.core.bean.path.AbstractBeanDesc
属性Map
ProxySocketFactory - Class in org.dromara.hutool.core.net
代理Socket工厂,用于创建代理Socket
来自commons-net的DefaultSocketFactory
ProxySocketFactory(Proxy) - Constructor for class org.dromara.hutool.core.net.ProxySocketFactory
构造
prune() - Method in interface org.dromara.hutool.core.cache.Cache
从缓存中清理过期对象,清理策略取决于具体实现
prune() - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
prune() - Method in class org.dromara.hutool.core.cache.impl.ReentrantCache
 
prune() - Method in class org.dromara.hutool.core.cache.impl.StampedCache
 
pruneCache() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
清理实现
子类实现此方法时无需加锁
pruneCache() - Method in class org.dromara.hutool.core.cache.impl.FIFOCache
先进先出的清理策略
先遍历缓存清理过期的缓存对象,如果清理后还是满的,则删除第一个缓存对象
pruneCache() - Method in class org.dromara.hutool.core.cache.impl.LFUCache
清理过期对象。
pruneCache() - Method in class org.dromara.hutool.core.cache.impl.LRUCache
只清理超时对象,LRU的实现会交给LinkedHashMap
pruneCache() - Method in class org.dromara.hutool.core.cache.impl.TimedCache
清理过期对象
PunyCode - Class in org.dromara.hutool.core.codec
Punycode是一个根据RFC 3492标准而制定的编码系统,主要用于把域名从地方语言所采用的Unicode编码转换成为可用于DNS系统的编码 参考:https://blog.csdn.net/a19881029/article/details/18262671
PunyCode() - Constructor for class org.dromara.hutool.core.codec.PunyCode
 
PURE_DATE_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMdd
PURE_DATE_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 DateTimeFormatter:yyyyMMdd
PURE_DATE_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式:yyyyMMdd
PURE_DATETIME_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMddHHmmss
PURE_DATETIME_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 DateTimeFormatter:yyyyMMddHHmmss
PURE_DATETIME_MS_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:yyyyMMddHHmmssSSS
PURE_DATETIME_MS_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 DateTimeFormatter:yyyyMMddHHmmssSSS
see https://stackoverflow.com/questions/22588051/is-java-time-failing-to-parse-fraction-of-second jdk8 bug at: https://bugs.openjdk.java.net/browse/JDK-8031085
PURE_DATETIME_MS_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式:yyyyMMddHHmmssSSS
PURE_DATETIME_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式:yyyyMMddHHmmss
PURE_TIME_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 FastDateFormat:HHmmss
PURE_TIME_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式 DateTimeFormatter:HHmmss
PURE_TIME_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
标准日期格式:HHmmss
push(E) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
push(K, V) - Method in class org.dromara.hutool.core.stream.EntryStream
向当前流末尾追加元素
push(T...) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
与给定元素组成的流合并,成为新的流
put(K, V) - Method in interface org.dromara.hutool.core.cache.Cache
将对象加入到缓存,使用默认失效时长
put(K, V, long) - Method in interface org.dromara.hutool.core.cache.Cache
将对象加入到缓存,使用指定失效时长
如果缓存空间满了,Cache.prune() 将被调用以获得空间来存放新对象
put(K, V) - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
put(K, V) - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
put(K, V, long) - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
put(K, V, long) - Method in class org.dromara.hutool.core.cache.impl.ReentrantCache
 
put(K, V, long) - Method in class org.dromara.hutool.core.cache.impl.StampedCache
 
put(K, V) - Method in class org.dromara.hutool.core.cache.SimpleCache
放入缓存
put(E) - Method in class org.dromara.hutool.core.collection.queue.CheckedLinkedBlockingQueue
 
put(Object) - Static method in class org.dromara.hutool.core.lang.Singleton
将已有对象放入单例中,其Class做为键
put(String, Object) - Static method in class org.dromara.hutool.core.lang.Singleton
将已有对象放入单例中,key做为键
put(String, Object) - Method in class org.dromara.hutool.core.map.BeanMap
 
put(K, V) - Method in class org.dromara.hutool.core.map.BiMap
 
put(K, V) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
put(K, TreeEntry<K, V>) - Method in interface org.dromara.hutool.core.map.ForestMap
添加一个节点,效果等同于 putNode(key, node.getValue()) 若key对应节点不存在,则以传入的键值创建一个新的节点; 若key对应节点存在,则将该节点的值替换为node指定的值;
put(K, V) - Method in class org.dromara.hutool.core.map.MapBuilder
链式Map创建
put(boolean, K, V) - Method in class org.dromara.hutool.core.map.MapBuilder
链式Map创建
put(boolean, K, Supplier<V>) - Method in class org.dromara.hutool.core.map.MapBuilder
链式Map创建
put(Object, Object) - Method in class org.dromara.hutool.core.map.MapProxy
 
put(K, V) - Method in class org.dromara.hutool.core.map.MapWrapper
 
put(K, Collection<V>) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
更新键对应的值集合
注意:该操作将移除键对应的旧值集合,若仅需向值集合追加应值,则应使用MultiValueMap.putAllValues(Object, Collection)
put(R, C, V) - Method in class org.dromara.hutool.core.map.multi.RowKeyTable
 
put(R, C, V) - Method in interface org.dromara.hutool.core.map.multi.Table
为表格指定行列赋值,如果不存在,创建之,存在则替换之,返回原值
put(K, V) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
put(K, V) - Method in class org.dromara.hutool.core.map.TableMap
 
put(K, V) - Method in class org.dromara.hutool.core.map.TransMap
 
put(L, M, R) - Method in class org.dromara.hutool.core.map.TripleTable
加入值
putAll(Map<? extends String, ?>) - Method in class org.dromara.hutool.core.map.BeanMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.dromara.hutool.core.map.BiMap
 
putAll(Map<? extends K, ? extends TreeEntry<K, V>>) - Method in interface org.dromara.hutool.core.map.ForestMap
批量添加节点,若节点具有父节点或者子节点,则一并在当前实例中引入该关系
putAll(Map<K, V>) - Method in class org.dromara.hutool.core.map.MapBuilder
链式Map创建
putAll(Map<?, ?>) - Method in class org.dromara.hutool.core.map.MapProxy
 
putAll(Map<K, V>, Iterable<V>, Function<V, K>) - Static method in class org.dromara.hutool.core.map.MapUtil
将列表按照给定的键生成器规则和值生成器规则,加入到给定的Map中
putAll(Map<K, V>, Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class org.dromara.hutool.core.map.MapUtil
将列表按照给定的键生成器规则和值生成器规则,加入到给定的Map中
putAll(Map<K, V>, Iterator<V>, Function<V, K>) - Static method in class org.dromara.hutool.core.map.MapUtil
将列表按照给定的键生成器规则和值生成器规则,加入到给定的Map中
putAll(Map<K, V>, Iterator<T>, Function<T, K>, Function<T, V>) - Static method in class org.dromara.hutool.core.map.MapUtil
将列表按照给定的键生成器规则和值生成器规则,加入到给定的Map中
putAll(Map<? extends K, ? extends V>) - Method in class org.dromara.hutool.core.map.MapWrapper
 
putAll(Map<? extends K, ? extends Collection<V>>) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
更新全部键的值集合
注意:该操作将移除键对应的旧值集合,若仅需向值集合追加应值,则应使用MultiValueMap.putAllValues(Object, Collection)
putAll(Table<? extends R, ? extends C, ? extends V>) - Method in interface org.dromara.hutool.core.map.multi.Table
批量加入
putAll(Map<? extends K, ? extends V>) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.dromara.hutool.core.map.TableMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.dromara.hutool.core.map.TransMap
 
putAllNode(C, Function<V, K>, Function<V, K>, boolean) - Method in interface org.dromara.hutool.core.map.ForestMap
批量添加节点
putAllValues(K, Collection<V>) - Method in class org.dromara.hutool.core.map.multi.AbsCollValueMap
将集合中的全部元素对追加到指定键对应的值集合中,效果等同于: coll.forEach(t -> map.putValue(key, t))
putAllValues(Map<? extends K, ? extends Collection<V>>) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
将集合中的全部键值对追加到当前实例中,效果等同于: for (Entry<K, Collection<V>> entry : m.entrySet()) { K key = entry.getKey(); Collection<V> coll = entry.getValues(); for (V val : coll) { map.putValue(key, val) } }
putAllValues(K, Collection<V>) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
将集合中的全部元素对追加到指定键对应的值集合中,效果等同于: for (V val : coll) { map.putValue(key, val) }
putEdge(T, T, long) - Method in class org.dromara.hutool.core.map.multi.DirectedWeightGraph
添加边
putEdge(T, T) - Method in class org.dromara.hutool.core.map.multi.Graph
添加边
putExtra(String, Object) - Method in class org.dromara.hutool.core.tree.MapTree
扩展属性
putExtra(String, Object) - Method in class org.dromara.hutool.core.tree.TreeBuilder
扩展属性
putFileType(String, String) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
增加文件类型映射
如果已经存在将覆盖之前的映射
putFormatter(String, Function<Date, String>) - Static method in class org.dromara.hutool.core.date.format.GlobalCustomFormat
加入日期格式化规则
putIfAbsent(K, V) - Method in class org.dromara.hutool.core.map.BiMap
 
putIfAbsent(K, V) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
putIfAbsent(K, V) - Method in class org.dromara.hutool.core.map.MapWrapper
 
putIfAbsent(K, V) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
putIfAbsent(K, V) - Method in class org.dromara.hutool.core.map.TransMap
 
putLinkedNodes(K, V, K, V) - Method in interface org.dromara.hutool.core.map.ForestMap
同时添加父子节点: 若parentKeychildKey对应的节点不存在,则会根据键值创建一个对应的节点; 若parentKeychildKey对应的节点存在,则会更新对应节点的值; 该操作等同于: putNode(parentKey, parentValue); putNode(childKey, childValue); linkNodes(parentKey, childKey);
putLinkedNodes(K, K, V) - Method in interface org.dromara.hutool.core.map.ForestMap
添加子节点,并为子节点指定父节点: 若parentKeychildKey对应的节点不存在,则会根据键值创建一个对应的节点; 若parentKeychildKey对应的节点存在,则会更新对应节点的值;
putLinkedNodes(K, V, K, V) - Method in class org.dromara.hutool.core.map.LinkedForestMap
同时添加父子节点: 若parentKeychildKey对应的节点不存在,则会根据键值创建一个对应的节点; 若parentKeychildKey对应的节点存在,则会更新对应节点的值; 该操作等同于: TreeEntry<K, V> parent = putNode(parentKey, parentValue); TreeEntry<K, V> child = putNode(childKey, childValue); linkNodes(parentKey, childKey);
putLinkedNodes(K, K, V) - Method in class org.dromara.hutool.core.map.LinkedForestMap
添加子节点,并为子节点指定父节点: 若parentKeychildKey对应的节点不存在,则会根据键值创建一个对应的节点; 若parentKeychildKey对应的节点存在,则会更新对应节点的值;
putNextEntry(ZipEntry) - Method in class org.dromara.hutool.core.compress.OpcZipOutputStream
 
putNode(K, V) - Method in interface org.dromara.hutool.core.map.ForestMap
添加一个节点 若key对应节点不存在,则以传入的键值创建一个新的节点; 若key对应节点存在,则将该节点的值替换为node指定的值;
putNode(K, V) - Method in class org.dromara.hutool.core.map.LinkedForestMap
添加一个节点 若key对应节点不存在,则以传入的键值创建一个新的节点; 若key对应节点存在,则将该节点的值替换为node指定的值;
putParser(String, Function<CharSequence, Date>) - Static method in class org.dromara.hutool.core.date.format.GlobalCustomFormat
加入日期解析规则
putProperty(String, Object) - Method in class org.dromara.hutool.core.map.BeanMap
设置Path表达式对应的值
putPropertyDescriptorMap(Class<?>, Map<String, PropertyDescriptor>, boolean) - Method in enum org.dromara.hutool.core.bean.BeanInfoCache
加入缓存
putStringer(Class<?>, Function<Object, String>) - Method in class org.dromara.hutool.core.convert.impl.StringConverter
加入自定义对象类型的toString规则
putValue(K, V) - Method in class org.dromara.hutool.core.map.multi.AbsCollValueMap
向指定键对应的值集合追加值,效果等同于: map.computeIfAbsent(key, k -> new Collection()).add(value)
putValue(K, V) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
向指定键对应的值集合追加值,效果等同于: Collection<V> coll = map.get(key); if(null == coll) { coll.add(value); map.put(coll); } else { coll.add(value); }
putValues(K, V...) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
将数组中的全部元素追加到指定的值集合中,效果等同于: for (V val : values) { map.putValue(key, val) }
putWithoutLock(K, V, long) - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
加入元素,无锁

Q

quarter() - Method in class org.dromara.hutool.core.date.DateTime
获得当前日期所属季度,从1开始计数
quarter(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期所属季度,从1开始计数
Quarter - Enum in org.dromara.hutool.core.date
季度枚举
quarterEnum() - Method in class org.dromara.hutool.core.date.DateTime
获得当前日期所属季度
quarterEnum(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期所属季度
QUERY - Static variable in class org.dromara.hutool.core.net.url.RFC3986
query = pchar / "/" / "?"
QUERY_PARAM_NAME - Static variable in class org.dromara.hutool.core.net.url.RFC3986
query中的key
key不能包含"&" 和 "="
QUERY_PARAM_NAME_STRICT - Static variable in class org.dromara.hutool.core.net.url.RFC3986
query中的key编码器,严格模式,key中不能包含任何分隔符。
QUERY_PARAM_VALUE - Static variable in class org.dromara.hutool.core.net.url.RFC3986
query中的value
value不能包含"&",可以包含 "="
QUERY_PARAM_VALUE_STRICT - Static variable in class org.dromara.hutool.core.net.url.RFC3986
query中的value编码器,严格模式,value中不能包含任何分隔符。
queue - Variable in class org.dromara.hutool.core.tree.HierarchyIterator
当前待遍历的节点
QUOTE - Static variable in class org.dromara.hutool.core.xml.XmlConstants
字符串常量:XML 双引号转义 "&quot;" -> "\""

R

RADIUS - Static variable in class org.dromara.hutool.core.data.CoordinateUtil
地球半径(Krasovsky 1940)
RADIXS_34 - Static variable in class org.dromara.hutool.core.codec.RadixUtil
34进制字符串,不包含 IO 字符 对于需要补齐的,自己可以随机填充IO字符 26个字母:abcdefghijklmnopqrstuvwxyz
RADIXS_59 - Static variable in class org.dromara.hutool.core.codec.RadixUtil
59进制字符串,不包含 IOl 字符
RADIXS_SHUFFLE_34 - Static variable in class org.dromara.hutool.core.codec.RadixUtil
打乱后的34进制
RADIXS_SHUFFLE_59 - Static variable in class org.dromara.hutool.core.codec.RadixUtil
打乱后的59进制
RadixUtil - Class in org.dromara.hutool.core.codec
进制转换工具类,可以转换为任意进制 把一个十进制整数根据自己定义的进制规则进行转换
from:https://gitee.com/loolly/hutool/pulls/260 主要应用一下情况: 根据ID生成邀请码,并且尽可能的缩短。
RadixUtil() - Constructor for class org.dromara.hutool.core.codec.RadixUtil
 
RandomAccessAvgPartition<T> - Class in org.dromara.hutool.core.collection.partition
列表分区或分段(可随机访问列表)
通过传入分区个数,将指定列表分区为不同的块,每块区域的长度均匀分布(个数差不超过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) - Constructor for class org.dromara.hutool.core.collection.partition.RandomAccessAvgPartition
列表分区
RandomAccessPartition<T> - Class in org.dromara.hutool.core.collection.partition
列表分区或分段(可随机访问列表)
通过传入分区长度,将指定列表分区为不同的块,每块区域的长度相同(最后一块可能小于长度)
分区是在原List的基础上进行的,返回的分区是不可变的抽象列表,原列表元素变更,分区中元素也会变更。
RandomAccessPartition(List<T>, int) - Constructor for class org.dromara.hutool.core.collection.partition.RandomAccessPartition
构造
randomBigDecimal() - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数[0, 1)
randomBigDecimal(BigDecimal) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数 [0,limit)
randomBigDecimal(BigDecimal, BigDecimal) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomBoolean() - Static method in class org.dromara.hutool.core.util.RandomUtil
获得随机Boolean值
randomBytes(int) - Static method in class org.dromara.hutool.core.util.RandomUtil
随机bytes
randomBytes(int, Random) - Static method in class org.dromara.hutool.core.util.RandomUtil
随机bytes
randomChar() - Static method in class org.dromara.hutool.core.util.RandomUtil
随机字母或数字,小写
randomChar(String) - Static method in class org.dromara.hutool.core.util.RandomUtil
随机字符
randomChinese() - Static method in class org.dromara.hutool.core.util.RandomUtil
随机汉字('一'-'鿿')
randomCreditCode() - Static method in class org.dromara.hutool.core.data.CreditCodeUtil
获取一个随机的统一社会信用代码
randomDate(Date, DateField, int, int) - Static method in class org.dromara.hutool.core.util.RandomUtil
以给定日期为基准,随机产生一个日期
randomDay(int, int) - Static method in class org.dromara.hutool.core.util.RandomUtil
以当天为基准,随机产生一个日期
randomDouble(double, double) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomDouble(double, double, int, RoundingMode) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomDouble() - Static method in class org.dromara.hutool.core.util.RandomUtil
获得随机数[0, 1)
randomDouble(int, RoundingMode) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomDouble(double) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数 [0,limit)
randomDouble(double, int, RoundingMode) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomEle(List<T>) - Static method in class org.dromara.hutool.core.util.RandomUtil
随机获得列表中的元素
randomEle(List<T>, int) - Static method in class org.dromara.hutool.core.util.RandomUtil
随机获得列表中的元素
randomEle(T[]) - Static method in class org.dromara.hutool.core.util.RandomUtil
随机获得数组中的元素
randomEle(T[], int) - Static method in class org.dromara.hutool.core.util.RandomUtil
随机获得数组中的元素
randomEles(List<T>, int) - Static method in class org.dromara.hutool.core.util.RandomUtil
随机获得列表中的一定量元素
randomEleSet(Collection<T>, int) - Static method in class org.dromara.hutool.core.util.RandomUtil
随机获得列表中的一定量的不重复元素,返回Set
randomFloat() - Static method in class org.dromara.hutool.core.util.RandomUtil
获得随机数[0, 1)
randomFloat(float) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数 [0,limit)
randomFloat(float, float) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数[min, max)
randomInt() - Static method in class org.dromara.hutool.core.util.RandomUtil
获得随机数int值
randomInt(int) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数 [0,limit)
randomInt(int, int) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomInt(int, int, boolean, boolean) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomInts(int) - Static method in class org.dromara.hutool.core.util.RandomUtil
创建指定长度的随机索引
randomLong() - Static method in class org.dromara.hutool.core.util.RandomUtil
获得随机数
randomLong(long) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数 [0,limit)
randomLong(long, long) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数[min, max)
randomLong(long, long, boolean, boolean) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得指定范围内的随机数
randomNanoId() - Static method in class org.dromara.hutool.core.data.id.NanoId
生成伪随机的NanoId字符串,长度为默认的NanoId.DEFAULT_SIZE,使用密码安全的伪随机生成器
randomNanoId(int) - Static method in class org.dromara.hutool.core.data.id.NanoId
生成伪随机的NanoId字符串
randomNanoId(Random, char[], int) - Static method in class org.dromara.hutool.core.data.id.NanoId
生成伪随机的NanoId字符串
randomNumber() - Static method in class org.dromara.hutool.core.util.RandomUtil
随机数字,数字为0~9单个数字
randomNumbers(int) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得一个只包含数字的字符串
randomPick(List<T>, int) - Static method in class org.dromara.hutool.core.util.RandomUtil
随机获得列表中的一定量的元素,返回List
此方法与RandomUtil.randomEles(List, int) 不同点在于,不会获取重复位置的元素
randomPickInts(int, int[]) - Static method in class org.dromara.hutool.core.util.RandomUtil
生成从种子中获取随机数字
RandomSelector<T> - Class in org.dromara.hutool.core.lang.selector
随机选择器
RandomSelector() - Constructor for class org.dromara.hutool.core.lang.selector.RandomSelector
构造
RandomSelector(Iterable<T>) - Constructor for class org.dromara.hutool.core.lang.selector.RandomSelector
构造
randomString(int) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得一个随机的字符串(只包含数字和大小写字母)
randomString(String, int) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得一个随机的字符串
randomStringLower(int) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得一个随机的字符串(只包含数字和小写字母)
randomStringLowerWithoutStr(int, String) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得一个随机的字符串(只包含数字和小写字母) 并排除指定字符串
randomStringUpper(int) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得一个随机的字符串(只包含数字和大写字符)
randomStringWithoutStr(int, String) - Static method in class org.dromara.hutool.core.util.RandomUtil
获得一个随机的字符串(只包含数字和字母) 并排除指定字符串
RandomUtil - Class in org.dromara.hutool.core.util
随机工具类
RandomUtil() - Constructor for class org.dromara.hutool.core.util.RandomUtil
 
randomUUID() - Static method in class org.dromara.hutool.core.data.id.IdUtil
获取随机UUID
randomUUID() - Static method in class org.dromara.hutool.core.data.id.UUID
获取类型 4 UUIDv4(伪随机生成的)UUID 的静态工厂。
randomUUID(boolean) - Static method in class org.dromara.hutool.core.data.id.UUID
获取类型 4 UUIDv4(伪随机生成的)UUID 的静态工厂。
randomUUID(Random) - Static method in class org.dromara.hutool.core.data.id.UUID
获取类型 4 UUIDv4(伪随机生成的)UUID 的静态工厂。
randomUUID7() - Static method in class org.dromara.hutool.core.data.id.IdUtil
 
randomUUID7() - Static method in class org.dromara.hutool.core.data.id.UUID
获取随机生成的UUIDv7
【开源之夏】贡献内容,见:https://gitee.com/dromara/hutool/pulls/1263
range(Date, Date, DateField) - Static method in class org.dromara.hutool.core.date.DateUtil
创建日期范围生成器
Range<T> - Class in org.dromara.hutool.core.lang.range
范围生成器。
Range(T, Range.Stepper<T>) - Constructor for class org.dromara.hutool.core.lang.range.Range
构造
Range(T, T, Range.Stepper<T>) - Constructor for class org.dromara.hutool.core.lang.range.Range
构造
Range(T, T, Range.Stepper<T>, boolean, boolean) - Constructor for class org.dromara.hutool.core.lang.range.Range
构造
range(int) - Static method in class org.dromara.hutool.core.math.NumberUtil
生成一个从0开始的数字列表
range(int, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
生成一个数字列表
自动判定正序反序
range(int, int, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
生成一个数字列表
自动判定正序反序
Range.Stepper<T> - Interface in org.dromara.hutool.core.lang.range
步进接口,此接口用于实现如何对一个对象按照指定步进增加步进
步进接口可以定义以下逻辑: 1、步进规则,即对象如何做步进 2、步进大小,通过实现此接口,在实现类中定义一个对象属性,可灵活定义步进大小 3、限制range个数,通过实现此接口,在实现类中定义一个对象属性,可灵活定义limit,限制range个数
rangeConsume(Date, Date, DateField, Consumer<Date>) - Static method in class org.dromara.hutool.core.date.DateUtil
按日期范围遍历,执行 consumer
rangeContains(DateRange, DateRange) - Static method in class org.dromara.hutool.core.date.DateUtil
俩个时间区间取交集
rangeFunc(Date, Date, DateField, Function<Date, T>) - Static method in class org.dromara.hutool.core.date.DateUtil
按日期范围遍历,执行 function
RangeNode - Class in org.dromara.hutool.core.bean.path.node
[start:end:step] 模式节点
RangeNode(String) - Constructor for class org.dromara.hutool.core.bean.path.node.RangeNode
构造
rangeNotContains(DateRange, DateRange) - Static method in class org.dromara.hutool.core.date.DateUtil
俩个时间区间取差集(end - start)
RangeReplacerByChar - Class in org.dromara.hutool.core.text.replacer
区间字符串替换,指定区间,将区间中的所有字符去除,替换为指定的字符,字符重复次数为区间长度,即替换后字符串长度不变
此方法使用CharSequence.codePoints()完成拆分替换
RangeReplacerByChar(int, int, char, boolean) - Constructor for class org.dromara.hutool.core.text.replacer.RangeReplacerByChar
构造
RangeReplacerByStr - Class in org.dromara.hutool.core.text.replacer
区间字符串替换,指定区间,将区间中的所有字符去除,替换为指定的字符串,字符串只重复一次
此方法使用CharSequence.codePoints()完成拆分替换
RangeReplacerByStr(int, int, CharSequence, boolean) - Constructor for class org.dromara.hutool.core.text.replacer.RangeReplacerByStr
构造
rangeToList(Date, Date, DateField) - Static method in class org.dromara.hutool.core.date.DateUtil
根据步进单位获取起始日期时间和结束日期时间的时间区间集合
rangeToList(Date, Date, DateField, int) - Static method in class org.dromara.hutool.core.date.DateUtil
根据步进单位和步进获取起始日期时间和结束日期时间的时间区间集合
RateLimiter - Interface in org.dromara.hutool.core.thread.ratelimiter
限流接口
通过实现此接口以实现不同的限流策略,如令牌桶、分布式限流等
RateLimiterConfig - Class in org.dromara.hutool.core.thread.ratelimiter
限流通用配置
RateLimiterConfig() - Constructor for class org.dromara.hutool.core.thread.ratelimiter.RateLimiterConfig
 
raw - Variable in class org.dromara.hutool.core.io.ReaderWrapper
原始Reader
raw - Variable in class org.dromara.hutool.core.lang.wrapper.SimpleWrapper
原始对象
RE_KEYS - Static variable in class org.dromara.hutool.core.regex.ReUtil
正则中需要被转义的关键字
read() - Method in class org.dromara.hutool.core.compress.InflaterInputStream
 
read(byte[]) - Method in class org.dromara.hutool.core.compress.InflaterInputStream
 
read(byte[], int, int) - Method in class org.dromara.hutool.core.compress.InflaterInputStream
 
read(Consumer<ZipEntry>, int) - Method in class org.dromara.hutool.core.compress.ZipFileResource
 
read(Consumer<ZipEntry>) - Method in class org.dromara.hutool.core.compress.ZipReader
读取并处理Zip文件中的每一个ZipEntry
read(Consumer<ZipEntry>, int) - Method in interface org.dromara.hutool.core.compress.ZipResource
读取并处理Zip文件中的每一个ZipEntry
read(Consumer<ZipEntry>, int) - Method in class org.dromara.hutool.core.compress.ZipStreamResource
 
read(ZipFile, Consumer<ZipEntry>) - Static method in class org.dromara.hutool.core.compress.ZipUtil
读取并处理Zip文件中的每一个ZipEntry
read(ZipInputStream, Consumer<ZipEntry>) - Static method in class org.dromara.hutool.core.compress.ZipUtil
读取并处理Zip流中的每一个ZipEntry
read() - Method in class org.dromara.hutool.core.io.CircularByteBuffer
从buffer中读取下一个byte,同时移除这个bytes。
read(byte[], int, int) - Method in class org.dromara.hutool.core.io.CircularByteBuffer
Returns the given number of bytes from the buffer by storing them in the given byte array at the given offset.
read() - Method in class org.dromara.hutool.core.io.FastStringReader
读取单个字符
read(char[], int, int) - Method in class org.dromara.hutool.core.io.FastStringReader
将多个字符读取到提供的字符数组中
read(SerFunction<BufferedReader, T>) - Method in class org.dromara.hutool.core.io.file.FileReader
按照给定的readerHandler读取文件中的数据
read(String, Charset, SerFunction<BufferedReader, T>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
按照给定的readerHandler读取文件中的数据
read(File, Charset, SerFunction<BufferedReader, T>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
按照给定的readerHandler读取文件中的数据
read(InputStream, Charset) - Static method in class org.dromara.hutool.core.io.IoUtil
从流中读取内容,读取完毕后关闭流
read(InputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
从流中读取内容,读到输出流中,读取完毕后关闭流
read(InputStream, boolean) - Static method in class org.dromara.hutool.core.io.IoUtil
从流中读取内容,读到输出流中,读取完毕后可选是否关闭流
read(Reader) - Static method in class org.dromara.hutool.core.io.IoUtil
从Reader中读取String,读取完毕后关闭Reader
read(Reader, boolean) - Static method in class org.dromara.hutool.core.io.IoUtil
Reader中读取String
read(ReadableByteChannel, Charset) - Static method in class org.dromara.hutool.core.io.NioUtil
从流中读取内容,读取完毕后并不关闭流
read(ReadableByteChannel) - Static method in class org.dromara.hutool.core.io.NioUtil
从流中读取内容,读到输出流中
read(FileChannel, Charset) - Static method in class org.dromara.hutool.core.io.NioUtil
从FileChannel中读取内容
read() - Method in class org.dromara.hutool.core.io.ReaderWrapper
 
read(CharBuffer) - Method in class org.dromara.hutool.core.io.ReaderWrapper
 
read(char[]) - Method in class org.dromara.hutool.core.io.ReaderWrapper
 
read(char[], int, int) - Method in class org.dromara.hutool.core.io.ReaderWrapper
 
read() - Method in class org.dromara.hutool.core.io.stream.BOMInputStream
 
read() - Method in class org.dromara.hutool.core.io.stream.EmptyInputStream
 
read(byte[]) - Method in class org.dromara.hutool.core.io.stream.EmptyInputStream
 
read(byte[], int, int) - Method in class org.dromara.hutool.core.io.stream.EmptyInputStream
 
read() - Method in class org.dromara.hutool.core.io.stream.LimitedInputStream
 
read(byte[], int, int) - Method in class org.dromara.hutool.core.io.stream.LimitedInputStream
 
read(byte[], int, int) - Method in class org.dromara.hutool.core.io.stream.ReaderInputStream
 
read() - Method in class org.dromara.hutool.core.io.stream.ReaderInputStream
 
read() - Method in class org.dromara.hutool.core.io.stream.StreamReader
从流中读取内容,读到输出流中,读取完毕后可选是否关闭流
read(int) - Method in class org.dromara.hutool.core.io.stream.StreamReader
从流中读取内容,读到输出流中,读取完毕后可选是否关闭流
read(ContentHandler) - Method in class org.dromara.hutool.core.xml.XmlSaxReader
读取内容
ReadableBean - Annotation Type in org.dromara.hutool.core.annotation
标记可读Bean
即包含有可读字段的Bean使用此注解标记,如含有public的字段或getter方法
readableFileSize(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
可读的文件大小
readableFileSize(long) - Static method in class org.dromara.hutool.core.io.file.FileUtil
readableFileSize() - Method in class org.dromara.hutool.core.io.file.FileWrapper
可读的文件大小
readBySax(File, ContentHandler) - Static method in class org.dromara.hutool.core.xml.XmlUtil
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
readBySax(Reader, ContentHandler) - Static method in class org.dromara.hutool.core.xml.XmlUtil
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
readBySax(InputStream, ContentHandler) - Static method in class org.dromara.hutool.core.xml.XmlUtil
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
readBySax(InputSource, ContentHandler) - Static method in class org.dromara.hutool.core.xml.XmlUtil
使用Sax方式读取指定的XML
如果用户传入的contentHandler为DefaultHandler,则其接口都会被处理
readBytes(ByteBuffer) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
读取剩余部分bytes
readBytes(ByteBuffer, int) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
读取指定长度的bytes
如果长度不足,则读取剩余部分,此时buffer必须为读模式
readBytes(ByteBuffer, int, int) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
读取指定区间的数据
readBytes() - Method in class org.dromara.hutool.core.io.file.FileReader
读取文件所有数据
文件的长度不能超过 Integer.MAX_VALUE
readBytes(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
readBytes(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
readBytes(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
读取文件的所有内容为byte数组
readBytes(InputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
从流中读取bytes,读取完毕后关闭流
readBytes(InputStream, boolean) - Static method in class org.dromara.hutool.core.io.IoUtil
从流中读取bytes
readBytes(InputStream, int) - Static method in class org.dromara.hutool.core.io.IoUtil
读取指定长度的byte数组,不关闭流
readBytes() - Method in class org.dromara.hutool.core.io.resource.BytesResource
 
readBytes() - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
readBytes() - Method in interface org.dromara.hutool.core.io.resource.Resource
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
readBytes(String) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
读取Classpath下的资源为byte[]
readBytes() - Method in class org.dromara.hutool.core.io.stream.StreamReader
从流中读取bytes
readBytes(int) - Method in class org.dromara.hutool.core.io.stream.StreamReader
读取指定长度的byte数组
readBytes() - Method in class org.dromara.hutool.core.io.stream.SyncInputStream
读取流中所有bytes
ReaderInputStream - Class in org.dromara.hutool.core.io.stream
Reader作为InputStream使用的实现。
ReaderInputStream(Reader, Charset) - Constructor for class org.dromara.hutool.core.io.stream.ReaderInputStream
构造,使用指定的字符集和默认缓冲区大小
ReaderInputStream(Reader, Charset, int) - Constructor for class org.dromara.hutool.core.io.stream.ReaderInputStream
构造,使用指定的字符集和缓冲区大小
ReaderInputStream(Reader, CharsetEncoder) - Constructor for class org.dromara.hutool.core.io.stream.ReaderInputStream
构造,使用默认的缓冲区大小
ReaderInputStream(Reader, CharsetEncoder, int) - Constructor for class org.dromara.hutool.core.io.stream.ReaderInputStream
构造,允许指定缓冲区大小。
ReaderWrapper - Class in org.dromara.hutool.core.io
Reader 包装
ReaderWrapper(Reader) - Constructor for class org.dromara.hutool.core.io.ReaderWrapper
构造
ReaderWriterCopier - Class in org.dromara.hutool.core.io.copy
ReaderWriter 拷贝
ReaderWriterCopier() - Constructor for class org.dromara.hutool.core.io.copy.ReaderWriterCopier
构造
ReaderWriterCopier(int) - Constructor for class org.dromara.hutool.core.io.copy.ReaderWriterCopier
构造
ReaderWriterCopier(int, long) - Constructor for class org.dromara.hutool.core.io.copy.ReaderWriterCopier
构造
ReaderWriterCopier(int, long, StreamProgress) - Constructor for class org.dromara.hutool.core.io.copy.ReaderWriterCopier
构造
readHex(InputStream, int, boolean) - Static method in class org.dromara.hutool.core.io.IoUtil
读取16进制字符串
readLine(ByteBuffer, Charset) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
读取一行,如果buffer中最后一部分并非完整一行,则返回null
支持的换行符如下: 1.
readLine(RandomAccessFile, Charset, SerConsumer<String>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
单行处理文件内容
readLine(RandomAccessFile, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
单行处理文件内容
readLine() - Method in class org.dromara.hutool.core.io.LineReader
读取一行
readLine(Charset) - Method in class org.dromara.hutool.core.io.stream.LineInputStream
读取一行
readLine() - Method in class org.dromara.hutool.core.io.stream.LineInputStream
读取一行
readLines(T) - Method in class org.dromara.hutool.core.io.file.FileReader
从文件中读取每一行数据
readLines(T, Predicate<String>) - Method in class org.dromara.hutool.core.io.file.FileReader
从文件中读取每一行数据
readLines(SerConsumer<String>) - Method in class org.dromara.hutool.core.io.file.FileReader
按照行处理文件内容
readLines() - Method in class org.dromara.hutool.core.io.file.FileReader
从文件中读取每一行数据
readLines(String, Charset, T) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行数据
readLines(File, Charset, T) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行数据
readLines(URL, Charset, T) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行数据
readLines(URL, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行数据
readLines(String, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行数据
readLines(File, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行数据
readLines(File, Charset, SerConsumer<String>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
按行处理文件内容
readLines(RandomAccessFile, Charset, SerConsumer<String>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
按行处理文件内容
readLines(InputStream, Charset, T) - Static method in class org.dromara.hutool.core.io.IoUtil
从流中读取内容
readLines(Reader, T) - Static method in class org.dromara.hutool.core.io.IoUtil
从Reader中读取内容
readLines(InputStream, Charset, SerConsumer<String>) - Static method in class org.dromara.hutool.core.io.IoUtil
按行读取数据,针对每行的数据做处理
readLines(Reader, SerConsumer<String>) - Static method in class org.dromara.hutool.core.io.IoUtil
按行读取数据,针对每行的数据做处理
Reader自带编码定义,因此读取数据的编码跟随其编码。
readLock() - Method in class org.dromara.hutool.core.thread.lock.NoReadWriteLock
 
readObj(InputStream, Class<?>...) - Static method in class org.dromara.hutool.core.io.IoUtil
从流中读取对象,即对象的反序列化,读取后不关闭流 注意!!!
readObj(Class<?>...) - Method in class org.dromara.hutool.core.io.stream.StreamReader
从流中读取对象,即对象的反序列化 注意!!!
readStr(ByteBuffer, Charset) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
读取剩余部分并转为字符串
readStr(Charset) - Method in class org.dromara.hutool.core.io.resource.BytesResource
 
readStr() - Method in class org.dromara.hutool.core.io.resource.CharSequenceResource
读取为字符串
readStr(Charset) - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
readStr(Charset) - Method in interface org.dromara.hutool.core.io.resource.Resource
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
readStr(String, Charset) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
读取Classpath下的资源为字符串
readString() - Method in class org.dromara.hutool.core.io.file.FileReader
读取文件内容
readString(File, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
读取文件内容
readString(String, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
读取文件内容
readString(URL, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
读取文件内容
readTo(File) - Method in class org.dromara.hutool.core.compress.ZipReader
解压到指定目录中
readTo(File, Predicate<ZipEntry>) - Method in class org.dromara.hutool.core.compress.ZipReader
解压到指定目录中
readTo(InputStream, Predicate<Integer>) - Static method in class org.dromara.hutool.core.io.IoUtil
从流中读取内容,直到遇到给定token满足Predicate.test(Object)
readTo(Predicate<Integer>) - Method in class org.dromara.hutool.core.io.stream.StreamReader
从流中读取内容,直到遇到给定token满足Predicate.test(Object)
readToToken(InputStream, int) - Static method in class org.dromara.hutool.core.io.IoUtil
从流中读取内容,直到遇到给定token
readUtf8(String, SerFunction<BufferedReader, T>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
按照给定的readerHandler读取文件中的数据
readUtf8(File, SerFunction<BufferedReader, T>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
按照给定的readerHandler读取文件中的数据
readUtf8(InputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
从流中读取UTF8编码的内容
readUtf8(FileChannel) - Static method in class org.dromara.hutool.core.io.NioUtil
从FileChannel中读取UTF-8编码内容
readUtf8Lines(String, T) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行的UTF-8编码数据
readUtf8Lines(File, T) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行数据,数据编码为UTF-8
readUtf8Lines(URL, T) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行数据,编码为UTF-8
readUtf8Lines(URL) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行数据
readUtf8Lines(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行数据,编码为UTF-8
readUtf8Lines(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
从文件中读取每一行数据
readUtf8Lines(File, SerConsumer<String>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
按行处理文件内容,编码为UTF-8
readUtf8Lines(InputStream, T) - Static method in class org.dromara.hutool.core.io.IoUtil
从流中读取内容,使用UTF-8编码
readUtf8Lines(InputStream, SerConsumer<String>) - Static method in class org.dromara.hutool.core.io.IoUtil
按行读取UTF-8编码数据,针对每行的数据做处理
readUtf8Str(ByteBuffer) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
读取剩余部分并转为UTF-8编码字符串
readUtf8Str() - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
readUtf8Str() - Method in interface org.dromara.hutool.core.io.resource.Resource
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
readUtf8Str(String) - Static method in class org.dromara.hutool.core.io.resource.ResourceUtil
读取Classpath下的资源为字符串,使用UTF-8编码
readUtf8String(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
读取文件内容
readUtf8String(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
读取文件内容
readXml(String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
读取解析XML文件
如果给定内容以“<”开头,表示这是一个XML内容,直接读取,否则按照路径处理
路径可以为相对路径,也可以是绝对路径,相对路径相对于ClassPath
readXml(File) - Static method in class org.dromara.hutool.core.xml.XmlUtil
读取解析XML文件
readXml(InputStream) - Static method in class org.dromara.hutool.core.xml.XmlUtil
读取解析XML文件
编码在XML中定义
readXml(Reader) - Static method in class org.dromara.hutool.core.xml.XmlUtil
读取解析XML文件
readXml(InputSource, boolean) - Static method in class org.dromara.hutool.core.xml.XmlUtil
读取解析XML文件
编码在XML中定义
ready() - Method in class org.dromara.hutool.core.io.FastStringReader
 
ready() - Method in class org.dromara.hutool.core.io.ReaderWrapper
 
RecordBeanDesc - Class in org.dromara.hutool.core.bean
针对Reccord类的Bean描述
Bean描述包括Record自定义字段及对应方法,getter方法与字段名同名,不支持setter
RecordBeanDesc(Class<?>) - Constructor for class org.dromara.hutool.core.bean.RecordBeanDesc
构造
RecordConverter - Class in org.dromara.hutool.core.convert.impl
Record类的转换器,支持: Map =》 Record Bean =》 Record ValueProvider =》 Record
RecordConverter() - Constructor for class org.dromara.hutool.core.convert.impl.RecordConverter
 
RecordUtil - Class in org.dromara.hutool.core.bean
java.lang.Record 相关工具类封装
来自于FastJSON2的BeanUtils
RecordUtil() - Constructor for class org.dromara.hutool.core.bean.RecordUtil
 
reduce(T, BinaryOperator<T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
对元素进行聚合,并返回聚合后的值,相当于在for循环里写sum=sum+ints[i] 这是一个终端操作
求和、最小值、最大值、平均值和转换成一个String字符串均为聚合操作 例如这里对int进行求和可以写成: Integer sum = integers.reduce(0, (a, b) -> a+b); 或者写成: Integer sum = integers.reduce(0, Integer::sum);
reduce(BinaryOperator<T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
对元素进行聚合,并返回聚合后用 Optional包裹的值,相当于在for循环里写sum=sum+ints[i] 该操作相当于: {@code boolean foundAny = false; T result = null; for (T element : this unwrap) { if (!
reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
对元素进行聚合,并返回聚合后的值,并行流时聚合拿到的初始值不稳定 这是一个终端操作
reduceListMap() - Static method in class org.dromara.hutool.core.stream.CollectorUtil
聚合这种数据类型:Collection<Map<K,V>> => Map<K,List<V>> 其中key相同的value,会累加到List中
reduceListMap(Supplier<R>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
聚合这种数据类型:Collection<Map<K,V>> => Map<K,List<V>> 其中key相同的value,会累加到List中
ReentrantCache<K,V> - Class in org.dromara.hutool.core.cache.impl
使用ReentrantLock保护的缓存,读写都使用悲观锁完成,主要避免某些Map无法使用读写锁的问题
例如使用了LinkedHashMap的缓存,由于get方法也会改变Map的结构,因此读写必须加互斥锁
ReentrantCache() - Constructor for class org.dromara.hutool.core.cache.impl.ReentrantCache
 
Ref<T> - Interface in org.dromara.hutool.core.lang.ref
针对Reference的接口定义,用于扩展功能
例如提供自定义的无需回收对象
ReferenceConcurrentMap<K,V> - Class in org.dromara.hutool.core.map.reference
线程安全的ReferenceMap实现
ReferenceConcurrentMap(ConcurrentMap<Ref<K>, Ref<V>>) - Constructor for class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
构造
ReferenceConverter - Class in org.dromara.hutool.core.convert.impl
Reference转换器
ReferenceConverter(Converter) - Constructor for class org.dromara.hutool.core.convert.impl.ReferenceConverter
构造
ReferenceType - Enum in org.dromara.hutool.core.lang.ref
引用类型
ReferenceUtil - Class in org.dromara.hutool.core.lang.ref
引用工具类,主要针对Reference 工具化封装
主要封装包括: 1.
ReferenceUtil() - Constructor for class org.dromara.hutool.core.lang.ref.ReferenceUtil
 
ReflectUtil - Class in org.dromara.hutool.core.reflect
反射工具类 本工具类,v6.x进行了重构,原来ReflectUtil中的方法大部分被移动到了 FieldUtilMethodUtilModifierUtilConstructorUtil等中, 其他相关方法请参考org.dromara.hutool.core.reflect包下的类,相关类 常用方法变更 反射修改属性 ReflectUtil#setFieldValue(Object, String, Object) --p FieldUtil.setFieldValue(Object, String, Object) 修改private修饰可被外部访问 ReflectUtil.setAccessible(ReflectUtil.getMethodByName(Xxx.class, "xxxMethodName")) --p ReflectUtil.setAccessible(AccessibleObject) --p MethodUtil.getMethodByName(Class, String) 移除final属性 ReflectUtil.removeFinalModify(Field) --p ModifierUtil.removeFinalModify(Field)
ReflectUtil() - Constructor for class org.dromara.hutool.core.reflect.ReflectUtil
 
refreshLimit() - Method in class org.dromara.hutool.core.thread.ratelimiter.SemaphoreRateLimiter
刷新限制,用户可重写此方法,改变填充许可方式,如: 填满窗口,一般用于固定窗口(Fixed Window) 固定频率填充,如每个周期只填充1个,配合RateLimiterConfig.getRefreshPeriod(),可实现令牌桶(Token Bucket) 同样,用户可通过调用此方法手动刷新
注意:重写此方法前需判断许可是否已满
refreshLimit() - Method in class org.dromara.hutool.core.thread.ratelimiter.TokenBucketRateLimiter
 
refuse(Class<?>...) - Method in class org.dromara.hutool.core.io.stream.ValidateObjectInputStream
禁止反序列化的类,用于反序列化验证
RegexDateParser - Class in org.dromara.hutool.core.date.format.parser
使用正则列表方式的日期解析器
通过定义若干的日期正则,遍历匹配到给定正则后,按照正则方式解析为日期
RegexDateParser(List<Pattern>) - Constructor for class org.dromara.hutool.core.date.format.parser.RegexDateParser
构造
RegexPool - Interface in org.dromara.hutool.core.regex
常用正则表达式字符串池
regionMatches(byte[], int, byte[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
是否局部匹配,相当于对比以下子串是否相等 array1[offset1 : offset1 + length] || array2[offset2 : offset2 + length]
register(MatcherConverter) - Method in class org.dromara.hutool.core.convert.CompositeConverter
登记自定义转换器,符合MatcherConverter.match(Type, Class, Object)则使用其转换器
注意:如果单例使用,此方法会影响全局
register(Type, Converter) - Method in class org.dromara.hutool.core.convert.CompositeConverter
登记自定义转换器,登记的目标类型必须一致
注意:如果单例使用,此方法会影响全局
register(Type, Converter) - Method in class org.dromara.hutool.core.convert.RegisterConverter
登记自定义转换器,登记的目标类型必须一致
register(MatcherConverter) - Method in class org.dromara.hutool.core.convert.RegisterConverter
登记自定义转换器,符合MatcherConverter.match(Type, Class, Object)则使用其转换器
register(PredicateDateParser) - Method in class org.dromara.hutool.core.date.format.parser.RegisterDateParser
注册自定义的PredicateDateParser
通过此方法,用户可以自定义日期字符串的匹配和解析,通过循环匹配,找到合适的解析器,解析之。
register(Watchable) - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
注册单一的监听
register(Watchable, WatchService, WatchEvent.Kind<?>...) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
注册Watchable对象到WatchService服务
RegisterConverter - Class in org.dromara.hutool.core.convert
基于类型注册的转换器,提供两种注册方式,按照优先级依次为: 按照匹配注册,使用RegisterConverter.register(MatcherConverter)
RegisterConverter(Converter) - Constructor for class org.dromara.hutool.core.convert.RegisterConverter
构造
RegisterDateParser - Class in org.dromara.hutool.core.date.format.parser
基于注册的日期解析器,通过遍历列表,找到合适的解析器,然后解析为日期
默认的,可以调用RegisterDateParser.INSTANCE使用全局的解析器,亦或者通过构造自定义独立的注册解析器
RegisterDateParser() - Constructor for class org.dromara.hutool.core.date.format.parser.RegisterDateParser
构造
registerPath(Path, int) - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
递归将指定路径加入到监听中
如果提供的是目录,则监听目录本身和目录下的目录和文件,深度取决于maxDepth
registerPattern(Pattern) - Method in class org.dromara.hutool.core.date.format.parser.DefaultRegexDateParser
新增自定义日期正则
registerRegex(String) - Method in class org.dromara.hutool.core.date.format.parser.DefaultRegexDateParser
新增自定义日期正则
rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class org.dromara.hutool.core.thread.BlockPolicy
 
RejectPolicy - Enum in org.dromara.hutool.core.thread
线程拒绝策略枚举 如果设置了maxSize, 当总线程数达到上限, 会调用RejectedExecutionHandler进行处理,此枚举为JDK预定义的几种策略枚举表示
remove(T[], int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(long[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(int[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(short[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(char[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(byte[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(double[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(float[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(boolean[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(Object, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中对应位置的元素
copy from commons-lang
remove(K) - Method in interface org.dromara.hutool.core.cache.Cache
从缓存中移除对象
remove() - Method in class org.dromara.hutool.core.cache.impl.CacheObjIterator
从缓存中移除没有过期的当前值,此方法不支持
remove() - Method in class org.dromara.hutool.core.cache.impl.CacheValuesIterator
从缓存中移除没有过期的当前值,不支持此方法
remove(K) - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
remove(K) - Method in class org.dromara.hutool.core.cache.impl.ReentrantCache
 
remove(K) - Method in class org.dromara.hutool.core.cache.impl.StampedCache
 
remove(K) - Method in class org.dromara.hutool.core.cache.SimpleCache
移除缓存
remove(T) - Method in class org.dromara.hutool.core.codec.hash.ConsistentHash
移除节点的同时移除相应的虚拟节点
remove(T, Predicate<E>) - Static method in class org.dromara.hutool.core.collection.CollUtil
移除集合中满足条件的所有元素,此方法在原集合上直接修改
通过实现Predicate接口,完成元素的移除,可以实现以下功能: 1、移除指定对象,Predicate.test(Object)方法返回 true的对象将被使用Iterator.remove()方法移除。
remove() - Method in class org.dromara.hutool.core.collection.iter.ArrayIter
不允许操作数组元素
remove() - Method in class org.dromara.hutool.core.collection.iter.CopiedIter
此对象不支持移除元素
remove() - Method in class org.dromara.hutool.core.collection.iter.EnumerationIter
 
remove() - Method in class org.dromara.hutool.core.collection.iter.FilterIter
 
remove() - Method in class org.dromara.hutool.core.collection.iter.IterChain
 
remove(Iterator<E>, Predicate<E>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
移除集合中满足条件的所有元素,此方法在原集合上直接修改
通过实现Predicate接口,完成元素的移除,可以实现以下功能: 1、移除指定对象,Predicate.test(Object)方法返回 true的对象将被使用Iterator.remove()方法移除。
remove() - Method in class org.dromara.hutool.core.collection.iter.NodeListIter
remove() - Method in class org.dromara.hutool.core.collection.iter.TransIter
 
remove(Object) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
remove(int) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
remove() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
remove(Object) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
remove(Object) - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
remove(Object) - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
remove(Object) - Method in class org.dromara.hutool.core.collection.set.UniqueKeySet
 
remove() - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
remove() - Method in class org.dromara.hutool.core.lang.range.Range
 
remove(E) - Method in class org.dromara.hutool.core.lang.selector.WeightListRandomSelector
移除随机种子
remove(Class<?>) - Static method in class org.dromara.hutool.core.lang.Singleton
移除指定Singleton对象
remove(String) - Static method in class org.dromara.hutool.core.lang.Singleton
移除指定Singleton对象
remove(Object) - Method in class org.dromara.hutool.core.map.BeanMap
 
remove(Object) - Method in class org.dromara.hutool.core.map.BiMap
 
remove(Object, Object) - Method in class org.dromara.hutool.core.map.BiMap
 
remove(Object) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
remove(Object, Object) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
remove(Object) - Method in class org.dromara.hutool.core.map.LinkedForestMap
将指定节点从当前Map中删除 若存在父节点或子节点,则将其断开其与父节点或子节点的引用关系; 若同时存在父节点或子节点,则会在删除后将让子节点直接成为父节点的子节点,比如:
现有引用关系 a -> b -> c,删除 b 后,将有 a -> c
remove(Object) - Method in class org.dromara.hutool.core.map.MapProxy
 
remove(Object) - Method in class org.dromara.hutool.core.map.MapWrapper
 
remove(Object, Object) - Method in class org.dromara.hutool.core.map.MapWrapper
 
remove(R, C) - Method in class org.dromara.hutool.core.map.multi.RowKeyTable
 
remove(R, C) - Method in interface org.dromara.hutool.core.map.multi.Table
移除指定值
remove(Object) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
remove(Object, Object) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
remove(Object) - Method in class org.dromara.hutool.core.map.TableMap
移除指定的所有键和对应的所有值
remove(Object, Object) - Method in class org.dromara.hutool.core.map.TableMap
 
remove(Object) - Method in class org.dromara.hutool.core.map.TransMap
 
remove(Object, Object) - Method in class org.dromara.hutool.core.map.TransMap
 
remove(int) - Method in class org.dromara.hutool.core.map.TripleTable
移除值
remove(int, int) - Static method in class org.dromara.hutool.core.math.BitStatusUtil
删除一个状态
remove(CharSequence) - Method in class org.dromara.hutool.core.net.url.UrlQuery
移除键及对应所有的值
remove(String, int) - Static method in class org.dromara.hutool.core.regex.PatternPool
移除缓存
removeAll(Collection<?>) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
removeAll(Collection<?>) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
removeAll(Collection<?>) - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
removeAll(Collection<?>) - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
removeAll(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
移除字符串中所有给定字符串
例:removeAll("aa-bb-cc-dd", "-") =》 aabbccdd
removeAll(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
移除字符串中所有给定字符串,当某个字符串出现多次,则全部移除
例:removeAny("aa-bb-cc-dd", "a", "b") =》 --cc-dd
removeAll(CharSequence, char...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去除字符串中指定的多个字符,如有多个则全部去除
removeAllLineBreaks(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去除所有换行符,包括: 1.
removeAllPrefix(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去掉指定所有前缀,如: str=abcdef, prefix=ab => return cdef str=ababcdef, prefix=ab => return cdef str=ababcdef, prefix="" => return ababcdef str=ababcdef, prefix=null => return ababcdef
removeAllSuffix(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去掉指定所有后缀,如: str=11abab, suffix=ab => return 11 str=11ab, suffix=ab => return 11 str=11ab, suffix="" => return 11ab str=11ab, suffix=null => return 11ab
removeAllValues(K, Collection<V>) - Method in class org.dromara.hutool.core.map.multi.AbsCollValueMap
将一批值从指定键下的值集合中删除
removeAllValues(K, Collection<V>) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
将一批值从指定键下的值集合中删除
removeAny(T, E...) - Static method in class org.dromara.hutool.core.collection.CollUtil
去掉集合中的多个元素,此方法直接修改原集合
removeAny(T, K...) - Static method in class org.dromara.hutool.core.map.MapUtil
去掉Map中指定key的键值对,修改原Map
removeBlank(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
去除null或者""或者空白字符串 元素
removeBlank(T) - Static method in class org.dromara.hutool.core.collection.CollUtil
去除null或者""或者空白字符串 元素,此方法直接修改原集合
removeByIndex(int) - Method in class org.dromara.hutool.core.map.TableMap
移除指定位置的键值对
removeByValue(Map<K, V>, V) - Static method in class org.dromara.hutool.core.map.MapUtil
去除Map中值为指定值的键值对
注意:此方法在传入的Map上直接修改。
removeEdge(T, T) - Method in class org.dromara.hutool.core.map.multi.DirectedWeightGraph
删除边
removeEdge(T, T) - Method in class org.dromara.hutool.core.map.multi.Graph
移除边
removeEldestEntry(Map.Entry<K, V>) - Method in class org.dromara.hutool.core.map.FixedLinkedHashMap
 
removeEle(T[], T) - Static method in class org.dromara.hutool.core.array.ArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素
copy from commons-lang
removeEle(long[], long) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素
copy from commons-lang
removeEle(int[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素
copy from commons-lang
removeEle(short[], short) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素
copy from commons-lang
removeEle(char[], char) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素
copy from commons-lang
removeEle(byte[], byte) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素
copy from commons-lang
removeEle(double[], double) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素
copy from commons-lang
removeEle(float[], float) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素
copy from commons-lang
removeEle(boolean[], boolean) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
移除数组中指定的元素
只会移除匹配到的第一个元素
copy from commons-lang
removeEmpty(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
去除null或者"" 元素
removeEmpty(T) - Static method in class org.dromara.hutool.core.collection.CollUtil
去除null或者"" 元素,此方法直接修改原集合
removeEqual(T, String...) - Method in class org.dromara.hutool.core.map.Dict
与给定实体对比并去除相同的部分
此方法用于在更新操作时避免所有字段被更新,跳过不需要更新的字段 version from 2.0.0
removeFeatures(StrTemplate.Feature...) - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
从 策略值 中 删除策略 删除的策略 可以 不存在
removeFileType(String) - Static method in class org.dromara.hutool.core.io.file.FileTypeUtil
移除文件类型映射
removeFinalModify(Field) - Static method in class org.dromara.hutool.core.reflect.ModifierUtil
设置final的field字段可以被修改 只要不会被编译器内联优化的 final 属性就可以通过反射有效的进行修改 -- 修改后代码中可使用到新的值; 以下属性,编译器会内联优化,无法通过反射修改: 基本类型 byte, char, short, int, long, float, double, boolean Literal String 类型(直接双引号字符串) 以下属性,可以通过反射修改: 基本类型的包装类 Byte、Character、Short、Long、Float、Double、Boolean 字符串,通过 new String("")实例化 自定义java类
 //示例,移除final修饰符
      class JdbcDialects {private static final List<Number> dialects = new ArrayList<>();}
      Field field = ReflectUtil.getField(JdbcDialects.class, fieldName);
 		ReflectUtil.removeFinalModify(field);
 		ReflectUtil.setFieldValue(JdbcDialects.class, fieldName, dialects);
    
 

 JDK9+此方法抛出NoSuchFieldException异常,原因是除非开放,否则模块外无法访问属性
removeFirst() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
removeFirstOccurrence(Object) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
removeIf(Predicate<? super E>) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
removeIf(Predicate<? super E>) - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
removeIf(Predicate<? super E>) - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
removeIf(Predicate<? super T>) - Method in class org.dromara.hutool.core.collection.TransCollection
 
removeIf(Map<K, V>, Predicate<Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.map.MapUtil
去除Map中值为null的键值对
注意:此方法在传入的Map上直接修改。
removeLast() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
removeLastOccurrence(Object) - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
 
removeNew(String...) - Method in class org.dromara.hutool.core.map.Dict
过滤Map去除指定键值对,如果键不存在跳过
removeNull(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
去除 null 元素
removeNull(T) - Static method in class org.dromara.hutool.core.collection.CollUtil
去除null 元素,此方法直接修改原集合
removeNullValue(Map<K, V>) - Static method in class org.dromara.hutool.core.map.MapUtil
去除Map中值为null的键值对
注意:此方法在传入的Map上直接修改。
removePoint(T) - Method in class org.dromara.hutool.core.map.multi.DirectedWeightGraph
删除点
removePoint(T) - Method in class org.dromara.hutool.core.map.multi.Graph
移除节点,并删除该节点与其他节点之间连成的边
removePreAndLowerFirst(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, preLength=3 =》 return name
removePreAndLowerFirst(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, prefix=set =》 return name
removePrefix(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去掉指定前缀
removePrefix(CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去掉指定前缀
removePrefixIgnoreCase(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
忽略大小写去掉指定前缀
removeSafe(char) - Method in class org.dromara.hutool.core.codec.PercentCodec.Builder
移除安全字符
安全字符不被编码
removeSufAndLowerFirst(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去掉指定后缀,并小写首字母
removeSuffix(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去掉指定后缀
removeSuffixIgnoreCase(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
忽略大小写去掉指定后缀
removeValue(K, V) - Method in class org.dromara.hutool.core.map.multi.AbsCollValueMap
将值从指定键下的值集合中删除
removeValue(K, V) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
将值从指定键下的值集合中删除
removeValues(K, V...) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
将一批值从指定键下的值集合中删除
removeWithAddIf(T, T, Predicate<? super E>) - Static method in class org.dromara.hutool.core.collection.CollUtil
移除集合中的多个元素,并将结果存放到指定的集合 此方法直接修改原集合
removeWithAddIf(T, Predicate<? super E>) - Static method in class org.dromara.hutool.core.collection.CollUtil
移除集合中的多个元素,并将结果存放到生成的新集合中后返回
此方法直接修改原集合
removeWithoutLock(K) - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
移除key对应的对象,不加锁
rename(File, String, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
修改文件或目录的文件名,不变更路径,只是简单修改文件名,不保留扩展名。
rename(File, String, boolean, boolean) - Static method in class org.dromara.hutool.core.io.file.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
rename(Path, String, boolean) - Static method in class org.dromara.hutool.core.io.file.PathUtil
修改文件或目录的文件名,不变更路径,只是简单修改文件名
FileUtil.rename(file, "aaa.jpg", false) xx/xx.png =》xx/aaa.jpg FileUtil.rename(dir, "dir2", false) xx/xx/ =》xx/dir2/
renameKey(Map<K, V>, K, K) - Static method in class org.dromara.hutool.core.map.MapUtil
重命名键
实现方式为移除然后重新put,当旧的key不存在直接返回
当新的key存在,抛出IllegalArgumentException 异常
repeat(char, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
重复某个字符 repeat('e', 0) = "" repeat('e', 3) = "eee" repeat('e', -2) = ""
repeat(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
重复某个字符串
repeat(char) - Method in class org.dromara.hutool.core.text.StrRepeater
重复某个字符 repeat('e', 0) = "" repeat('e', 3) = "eee" repeat('e', -2) = ""
repeat(CharSequence) - Method in class org.dromara.hutool.core.text.StrRepeater
重复某个字符串
RepeatableAnnotationCollector - Interface in org.dromara.hutool.core.annotation
可重复注解收集器,用于从一个注解获得被它包含的可重复注解
RepeatableAnnotationCollector.AbstractCollector - Class in org.dromara.hutool.core.annotation
RepeatableAnnotationCollector的基本实现
RepeatableAnnotationCollector.Condition - Class in org.dromara.hutool.core.annotation
自定义判断条件的实现,当解析注解属性时,将根据给定的判断条件, 确定该属性中是否含有可重复注解,收集器将返回所有匹配的属性中的可重复注解。
RepeatableAnnotationCollector.Full - Class in org.dromara.hutool.core.annotation
全量实现,当注解中存在有属性为注解数组,且该数组对应的注解类型被Repeatable注解时, 认为该属性包含可重复注解。
RepeatableAnnotationCollector.None - Class in org.dromara.hutool.core.annotation
空实现
RepeatableAnnotationCollector.Standard - Class in org.dromara.hutool.core.annotation
标准实现,当注解中有且仅有一个名为value的属性时, 若该属性类型为注解数组,且该数组对应的注解类型被Repeatable注解, 则收集器将返回该属性中包括的可重复注解。
RepeatableMetaAnnotatedElement<T extends AnnotationMapping<Annotation>> - Class in org.dromara.hutool.core.annotation.elements
支持可重复注解的增强AnnotatedElement, 功能与MetaAnnotatedElement类似,但是存在下述差异: 限制以同一根注解延伸出的树结构上——而不是AnnotatedElement上——每种类型注解只能保留一个, 即当AnnotatedElement存在多个根注解有相同的元注解时,这些元注解会都会被扫描到; 支持扫描AnnotatedElement可重复注解,即当当前实例指定的RepeatableAnnotationCollector 支持从AnnotatedElement上直接声明的注解中获得可重复注解时, 则将会自动将其展开直到不为容器注解为止。
repeatAndJoin(CharSequence, int, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
重复某个字符串并通过分界符连接 repeatAndJoin("?"
repeatAndJoin(CharSequence, CharSequence) - Method in class org.dromara.hutool.core.text.StrRepeater
重复某个字符串并通过分界符连接 repeatAndJoin("?"
repeatByLength(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
重复某个字符串到指定长度 如果指定长度非指定字符串的整数倍,截断到固定长度 如果指定长度小于字符串本身的长度,截断之
repeatByLength(CharSequence) - Method in class org.dromara.hutool.core.text.StrRepeater
重复某个字符串到指定长度 如果指定长度非指定字符串的整数倍,截断到固定长度 如果指定长度小于字符串本身的长度,截断之
replace(T[], int, T...) - Static method in class org.dromara.hutool.core.array.ArrayUtil
从数组中的指定位置开始,按顺序使用新元素替换旧元素
如果 指定位置 为负数,那么生成一个新数组,其中新元素按顺序放在数组头部 如果 指定位置 大于等于 旧数组长度,那么生成一个新数组,其中新元素按顺序放在数组尾部 如果 指定位置 加上 新元素数量 大于 旧数组长度,那么生成一个新数组,指定位置之前是旧数组元素,指定位置及之后为新元素 否则,从已有数组中的指定位置开始,按顺序使用新元素替换旧元素,返回旧数组
replace(A, int, A) - Static method in class org.dromara.hutool.core.array.ArrayUtil
从数组中的指定位置开始,按顺序使用新元素替换旧元素
如果 指定位置 为负数,那么生成一个新数组,其中新元素按顺序放在数组头部 如果 指定位置 大于等于 旧数组长度,那么生成一个新数组,其中新元素按顺序放在数组尾部 如果 指定位置 加上 新元素数量 大于 旧数组长度,那么生成一个新数组,指定位置之前是旧数组元素,指定位置及之后为新元素 否则,从已有数组中的指定位置开始,按顺序使用新元素替换旧元素,返回旧数组
replace(int, A) - Method in class org.dromara.hutool.core.array.ArrayWrapper
从数组中的指定位置开始,按顺序使用新元素替换旧元素
如果 指定位置 为负数,那么生成一个新数组,其中新元素按顺序放在数组头部 如果 指定位置 大于等于 旧数组长度,那么生成一个新数组,其中新元素按顺序放在数组尾部 如果 指定位置 加上 新元素数量 大于 旧数组长度,那么生成一个新数组,指定位置之前是旧数组元素,指定位置及之后为新元素 否则,从已有数组中的指定位置开始,按顺序使用新元素替换旧元素,返回旧数组
replace(K, V) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
replace(K, V, V) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
replace(K, V, V) - Method in class org.dromara.hutool.core.map.MapWrapper
 
replace(K, V) - Method in class org.dromara.hutool.core.map.MapWrapper
 
replace(K, V) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
replace(K, V, V) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
replace(K, V, V) - Method in class org.dromara.hutool.core.map.TableMap
 
replace(K, V) - Method in class org.dromara.hutool.core.map.TableMap
替换指定key的所有值为指定值
replace(K, V, V) - Method in class org.dromara.hutool.core.map.TransMap
 
replace(K, V) - Method in class org.dromara.hutool.core.map.TransMap
 
replace(CharSequence, CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换字符串中的指定字符串
replace(CharSequence, CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换字符串中的指定字符串
replace(CharSequence, int, CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换字符串中的指定字符串
如果指定字符串出现多次,则全部替换
replace(CharSequence, Pattern, SerFunction<Matcher, String>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
replace(CharSequence, String, SerFunction<Matcher, String>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replace(CharSequence, int, StringBuilder) - Method in class org.dromara.hutool.core.text.escape.NumericEntityUnescaper
 
replace(CharSequence, int, StringBuilder) - Method in class org.dromara.hutool.core.text.replacer.HighMultiReplacer
 
replace(CharSequence, StringBuilder) - Method in class org.dromara.hutool.core.text.replacer.HighMultiReplacerV2.AhoCorasickAutomaton
 
replace(CharSequence, int, StringBuilder) - Method in class org.dromara.hutool.core.text.replacer.HighMultiReplacerV2
 
replace(CharSequence, int, StringBuilder) - Method in class org.dromara.hutool.core.text.replacer.LookupReplacer
 
replace(CharSequence, int, StringBuilder) - Method in class org.dromara.hutool.core.text.replacer.RangeReplacerByChar
 
replace(CharSequence, int, StringBuilder) - Method in class org.dromara.hutool.core.text.replacer.RangeReplacerByStr
 
replace(CharSequence, int, StringBuilder) - Method in class org.dromara.hutool.core.text.replacer.ReplacerChain
 
replace(CharSequence, int, StringBuilder) - Method in class org.dromara.hutool.core.text.replacer.SearchReplacer
 
replace(CharSequence, int, StringBuilder) - Method in class org.dromara.hutool.core.text.replacer.StrReplacer
抽象的字符串替换方法,通过传入原字符串和当前位置,执行替换逻辑,返回处理或替换的字符串长度部分。
replaceAll(UnaryOperator<E>) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.MapWrapper
 
replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class org.dromara.hutool.core.map.TableMap
 
replaceAll(CharSequence, String, String) - Static method in class org.dromara.hutool.core.regex.ReUtil
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串 例如:原字符串是:中文1234,我想把1234换成(1234),则可以: ReUtil.replaceAll("中文1234", "(\\d+)", "($1)")) 结果:中文(1234)
replaceAll(CharSequence, Pattern, String) - Static method in class org.dromara.hutool.core.regex.ReUtil
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
replaceAll(CharSequence, String, SerFunction<Matcher, String>) - Static method in class org.dromara.hutool.core.regex.ReUtil
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过Matcher提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
replaceAll(CharSequence, Pattern, SerFunction<Matcher, String>) - Static method in class org.dromara.hutool.core.regex.ReUtil
替换所有正则匹配的文本,并使用自定义函数决定如何替换
replaceFun可以通过Matcher提取出匹配到的内容的不同部分,然后经过重新处理、组装变成新的内容放回原位。
replaceAllValues(BiFunction<K, V, V>) - Method in class org.dromara.hutool.core.map.multi.AbsCollValueMap
根据条件替换所有值集合中的值,并以新值生成新的值集合,新集合中的值集合类型与当前实例的默认值集合类型保持一致
replaceAllValues(UnaryOperator<V>) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
根据条件替换所有值集合中的值,并以新值生成新的值集合,新集合中的值集合类型与当前实例的默认值集合类型保持一致
replaceAllValues(BiFunction<K, V, V>) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
根据条件替换所有值集合中的值,并以新值生成新的值集合,新集合中的值集合类型与当前实例的默认值集合类型保持一致
replaceAt(CharSequence, int, UnaryOperator<Character>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
按照给定逻辑替换指定位置的字符,如字符大小写转换等
replaceByCodePoint(CharSequence, int, int, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换指定字符串的指定区间内字符为固定字符,替换后字符串长度不变
如替换的区间长度为10,则替换后的字符重复10次
此方法使用CharSequence.codePoints()完成拆分替换
replaceByCodePoint(CharSequence, int, int, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换指定字符串的指定区间内字符为指定字符串,字符串只重复一次
此方法使用CharSequence.codePoints()完成拆分替换
replaceChars(CharSequence, String, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换字符字符数组中所有的字符为replacedStr
提供的chars为所有需要被替换的字符,例如:"\r\n",则"\r"和"\n"都会被替换,哪怕他们单独存在
replaceChars(CharSequence, char[], CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换字符字符数组中所有的字符为replacedStr
replaceFirst(Pattern, CharSequence, String) - Static method in class org.dromara.hutool.core.regex.ReUtil
替换匹配的第一个内容
replaceFirst(CharSequence, CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换字符串中第一个指定字符串
replaceIgnoreCase(CharSequence, CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换字符串中的指定字符串,忽略大小写
replaceLast(CharSequence, CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
替换字符串中最后一个指定字符串
replaceMap - Variable in class org.dromara.hutool.core.text.replacer.HighMultiReplacerV2.AhoCorasickAutomaton
 
ReplacerChain - Class in org.dromara.hutool.core.text.replacer
字符串替换链,用于组合多个字符串替换逻辑
ReplacerChain(StrReplacer...) - Constructor for class org.dromara.hutool.core.text.replacer.ReplacerChain
构造
RESERVED - Static variable in class org.dromara.hutool.core.net.url.RFC3986
reserved = gen-delims / sub-delims
see:https://www.ietf.org/rfc/rfc3986.html#section-2.2
reset() - Method in interface org.dromara.hutool.core.codec.hash.metro.MetroHash
重置,重置后可复用对象开启新的计算
reset() - Method in class org.dromara.hutool.core.codec.hash.metro.MetroHash128
 
reset() - Method in class org.dromara.hutool.core.codec.hash.metro.MetroHash64
 
reset() - Method in class org.dromara.hutool.core.collection.iter.ArrayIter
重置数组位置
reset() - Method in class org.dromara.hutool.core.collection.iter.NodeListIter
 
reset() - Method in interface org.dromara.hutool.core.collection.iter.ResettableIter
重置,重置后可重新遍历
reset() - Method in class org.dromara.hutool.core.compress.InflaterInputStream
 
reset() - Method in class org.dromara.hutool.core.date.DateBuilder
重置所有值为默认值
reset() - Method in class org.dromara.hutool.core.io.buffer.FastBuffer
复位缓冲
reset() - Method in class org.dromara.hutool.core.io.buffer.FastByteBuffer
 
reset() - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
 
reset() - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Ansi
 
reset() - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16CCITTFalse
 
reset() - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Checksum
 
reset() - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Modbus
 
reset() - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16USB
 
reset() - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16X25
 
reset() - Method in class org.dromara.hutool.core.io.checksum.CRC16
 
reset() - Method in class org.dromara.hutool.core.io.checksum.CRC8
 
reset() - Method in class org.dromara.hutool.core.io.FastStringReader
 
reset() - Method in class org.dromara.hutool.core.io.ReaderWrapper
 
reset() - Method in class org.dromara.hutool.core.io.resource.MultiResource
重置游标
reset() - Method in class org.dromara.hutool.core.io.stream.EmptyInputStream
 
reset() - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
复位
reset() - Method in class org.dromara.hutool.core.lang.range.Range
重置Range
reset() - Method in interface org.dromara.hutool.core.text.finder.Finder
复位查找器,用于重用对象
reset() - Method in class org.dromara.hutool.core.text.finder.PatternFinder
 
reset() - Method in class org.dromara.hutool.core.text.split.SplitIter
重置
reset() - Method in class org.dromara.hutool.core.thread.ConcurrencyTester
重置测试器,重置包括: 清空worker 重置计时器
reset() - Method in class org.dromara.hutool.core.tree.TreeBuilder
重置Builder,实现复用
ResettableIter<E> - Interface in org.dromara.hutool.core.collection.iter
支持重置的Iterator 接口
通过实现ResettableIter.reset(),重置此Iterator后可实现复用重新遍历
resize(T[], int, Class<?>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
生成一个新的重新设置大小的数组
调整大小后,按顺序拷贝原数组到新数组中,新长度更小则截断
resize(Object, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
生成一个新的重新设置大小的数组
调整大小后,按顺序拷贝原数组到新数组中,新长度更小则截断
resize(T[], int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
生成一个新的重新设置大小的数组
调整大小后,按顺序拷贝原数组到新数组中,新长度更小则截断原数组
resize(byte[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
resolve(T) - Static method in class org.dromara.hutool.core.func.LambdaUtil
解析lambda表达式,加了缓存。
resolveClass(ObjectStreamClass) - Method in class org.dromara.hutool.core.io.stream.ValidateObjectInputStream
只允许反序列化SerialObject class
ResolvedAnnotationMapping - Class in org.dromara.hutool.core.annotation
注解映射,用于包装并增强一个普通注解对象, 包装后的可以通过getResolvedXXX获得注解对象或属性值, 可以支持属性别名与属性覆写的属性解析机制。
resolvePath(WatchEvent<?>, WatchKey) - Static method in class org.dromara.hutool.core.io.watch.WatchUtil
获取触发事件中相对监听Path的完整路径
resolveRepeatableMethod(Annotation) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.AbstractCollector
解析获得注解中存放可重复注解的属性
resolveRepeatableMethod(Annotation) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.Condition
解析获得注解中存放可重复注解的属性
resolveRepeatableMethod(Annotation) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.Full
解析获得注解中存放可重复注解的属性
resolveRepeatableMethod(Annotation) - Method in class org.dromara.hutool.core.annotation.RepeatableAnnotationCollector.Standard
解析获得注解中存放可重复注解的属性
Resource - Interface in org.dromara.hutool.core.io.resource
资源接口定义
资源是数据表示的统称,我们可以将任意的数据封装为一个资源,然后读取其内容。
ResourceClassLoader<T extends Resource> - Class in org.dromara.hutool.core.classloader
资源类加载器,可以加载任意类型的资源类
ResourceClassLoader(ClassLoader, Map<String, T>) - Constructor for class org.dromara.hutool.core.classloader.ResourceClassLoader
构造
ResourceFinder - Class in org.dromara.hutool.core.io.resource
资源查找器
参考Spring的PathMatchingResourcePatternResolver,实现classpath资源查找,利用AntPathMatcher筛选资源。
ResourceFinder(ClassLoader) - Constructor for class org.dromara.hutool.core.io.resource.ResourceFinder
构造
ResourceUtil - Class in org.dromara.hutool.core.io.resource
Resource资源工具类
ResourceUtil() - Constructor for class org.dromara.hutool.core.io.resource.ResourceUtil
 
retainAll(Collection<?>) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
retainAll(Collection<?>) - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
retainAll(Collection<?>) - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
RetryableTask<T> - Class in org.dromara.hutool.core.thread
重试任务类
retryForExceptions(Runnable, Class<? extends Throwable>...) - Static method in class org.dromara.hutool.core.thread.RetryableTask
重试根据指定的异常,没有返回值
retryForExceptions(Supplier<T>, Class<? extends Throwable>...) - Static method in class org.dromara.hutool.core.thread.RetryableTask
重试根据指定的异常,有返回值
retryForPredicate(Runnable, BiPredicate<T, Throwable>) - Static method in class org.dromara.hutool.core.thread.RetryableTask
重试根据指定的策略,没有返回值
retryForPredicate(Supplier<T>, BiPredicate<T, Throwable>) - Static method in class org.dromara.hutool.core.thread.RetryableTask
重试根据指定的策略,没有返回值
RetryUtil - Class in org.dromara.hutool.core.thread
重试工具类 自定义功能请使用RetryableTask
RetryUtil() - Constructor for class org.dromara.hutool.core.thread.RetryUtil
 
returnObject(T) - Method in interface org.dromara.hutool.core.pool.ObjectPool
归还对象,流程如下: 检查对象可用性 不可用则销毁之 可用则入池
returnObject(T) - Method in class org.dromara.hutool.core.pool.partition.PartitionObjectPool
 
returnObject() - Method in class org.dromara.hutool.core.pool.partition.PartitionPoolable
归还对象
returnObject(T) - Method in class org.dromara.hutool.core.pool.partition.PoolPartition
归还对象
ReUtil - Class in org.dromara.hutool.core.regex
正则相关工具类
常用正则请见 Validator
ReUtil() - Constructor for class org.dromara.hutool.core.regex.ReUtil
 
reverse(T[], int, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
反转数组,会变更原数组
reverse(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
反转数组,会变更原数组
reverse(long[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(long[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(int[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(int[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(short[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(short[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(char[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(char[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(byte[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(byte[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(double[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(double[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(float[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(float[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(boolean[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(boolean[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
反转数组,会变更原数组
reverse(List<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
反序给定List,会在原List基础上直接修改
注意此方法不支持不可编辑的列表
reverse(Comparator<E>) - Static method in class org.dromara.hutool.core.comparator.CompareUtil
获取反序排序器,即默认排序器 如需对null友好操作如下 Comparator.nullsLast(CompareUtil.reverse()) Comparator.nullsFirst(CompareUtil.reverse())
reverse(Map<T, T>) - Static method in class org.dromara.hutool.core.map.MapUtil
Map的键和值互换 互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
reverse() - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
反转顺序
reverse(String) - Static method in class org.dromara.hutool.core.text.StrUtil
反转字符串
例如:abcd =》dcba
reverseNew(List<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
反序给定List,会创建一个新的List,原List数据不变
RFC3986 - Class in org.dromara.hutool.core.net.url
RFC3986() - Constructor for class org.dromara.hutool.core.net.url.RFC3986
 
right - Variable in class org.dromara.hutool.core.lang.tuple.Pair
右值(第二个值)
RingIndexUtil - Class in org.dromara.hutool.core.collection
集合索引环形获取工具类
RingIndexUtil() - Constructor for class org.dromara.hutool.core.collection.RingIndexUtil
 
ringNextInt(int, AtomicInteger) - Static method in class org.dromara.hutool.core.collection.RingIndexUtil
通过cas操作 实现对指定值内的回环累加
ringNextIntByObj(Object, AtomicInteger) - Static method in class org.dromara.hutool.core.collection.RingIndexUtil
通过cas操作 实现对指定值内的回环累加
ringNextLong(long, AtomicLong) - Static method in class org.dromara.hutool.core.collection.RingIndexUtil
通过cas操作 实现对指定值内的回环累加
此方法一般用于大量数据完成回环累加(如数据库中的值大于int最大值)
RomanNumberFormatter - Class in org.dromara.hutool.core.math
数字和罗马数字转换
RomanNumberFormatter() - Constructor for class org.dromara.hutool.core.math.RomanNumberFormatter
 
romanToInt(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
罗马数字转整数
romanToInt(String) - Static method in class org.dromara.hutool.core.math.RomanNumberFormatter
罗马数字转整数
root - Variable in class org.dromara.hutool.core.text.finder.MultiStrFinder
 
rootConverter - Variable in class org.dromara.hutool.core.convert.ConverterWithRoot
 
Rot - Class in org.dromara.hutool.core.codec
RotN(rotate by N places),回转N位密码,是一种简易的替换式密码,也是过去在古罗马开发的凯撒加密的一种变体。
Rot() - Constructor for class org.dromara.hutool.core.codec.Rot
 
rotatingHash(String, int) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
旋转hash
round(Calendar, DateField) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改日期为某个时间字段四舍五入时间
round(Date, DateField) - Static method in class org.dromara.hutool.core.date.DateUtil
修改日期为某个时间字段四舍五入时间
round(Number, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
round(Number, int, RoundingMode) - Static method in class org.dromara.hutool.core.math.NumberUtil
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
roundDown(Number, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
保留固定小数位数,舍去多余位数
roundHalfEven(Number, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
四舍六入五成双计算法 四舍六入五成双是一种比较精确比较科学的计数保留法,是一种数字修约规则。
rounding(BigDecimal, RoundingMode) - Method in class org.dromara.hutool.core.math.Money
对BigDecimal型的值按指定取整方式取整。
roundStr(String, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
roundStr(Number, int) - Static method in class org.dromara.hutool.core.math.NumberUtil
保留固定位数小数
采用四舍五入策略 RoundingMode.HALF_UP
例如保留2位小数:123.456789 =》 123.46
roundStr(String, int, RoundingMode) - Static method in class org.dromara.hutool.core.math.NumberUtil
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
roundStr(Number, int, RoundingMode) - Static method in class org.dromara.hutool.core.math.NumberUtil
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
rowKeySet() - Method in interface org.dromara.hutool.core.map.multi.Table
返回所有行的key,行的key不可重复
RowKeyTable<R,C,V> - Class in org.dromara.hutool.core.map.multi
将行的键作为主键的Table实现
此结构为: 行=(列=值)
RowKeyTable() - Constructor for class org.dromara.hutool.core.map.multi.RowKeyTable
构造
RowKeyTable(boolean) - Constructor for class org.dromara.hutool.core.map.multi.RowKeyTable
构造
RowKeyTable(Map<R, Map<C, V>>) - Constructor for class org.dromara.hutool.core.map.multi.RowKeyTable
构造
RowKeyTable(Map<R, Map<C, V>>, Builder<? extends Map<C, V>>) - Constructor for class org.dromara.hutool.core.map.multi.RowKeyTable
构造
rowMap() - Method in class org.dromara.hutool.core.map.multi.RowKeyTable
 
rowMap() - Method in interface org.dromara.hutool.core.map.multi.Table
返回行列对应的Map
rsHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
RS算法hash
run() - Method in interface org.dromara.hutool.core.func.SerRunnable
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
run() - Method in class org.dromara.hutool.core.io.file.LineReadWatcher
 
run() - Method in class org.dromara.hutool.core.io.watch.WatchMonitor
 
run() - Method in class org.dromara.hutool.core.thread.SemaphoreRunnable
 
run() - Method in class org.dromara.hutool.core.thread.SyncFinisher.Worker
 
running() - Method in interface org.dromara.hutool.core.func.SerRunnable
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
RuntimeUtil - Class in org.dromara.hutool.core.util
系统运行时工具类,用于执行系统命令的工具
RuntimeUtil() - Constructor for class org.dromara.hutool.core.util.RuntimeUtil
 

S

SafeConcurrentHashMap<K,V> - Class in org.dromara.hutool.core.map.concurrent
安全的ConcurrentHashMap实现
此类用于解决在JDK8中调用ConcurrentHashMap.computeIfAbsent(Object, Function)可能造成的死循环问题。
SafeConcurrentHashMap() - Constructor for class org.dromara.hutool.core.map.concurrent.SafeConcurrentHashMap
构造,默认初始大小(16)
SafeConcurrentHashMap(int) - Constructor for class org.dromara.hutool.core.map.concurrent.SafeConcurrentHashMap
构造
SafeConcurrentHashMap(Map<? extends K, ? extends V>) - Constructor for class org.dromara.hutool.core.map.concurrent.SafeConcurrentHashMap
构造
SafeConcurrentHashMap(int, float) - Constructor for class org.dromara.hutool.core.map.concurrent.SafeConcurrentHashMap
构造
SafeConcurrentHashMap(int, float, int) - Constructor for class org.dromara.hutool.core.map.concurrent.SafeConcurrentHashMap
构造
safeContains(Collection<?>, Object) - Static method in class org.dromara.hutool.core.collection.CollUtil
判断指定集合是否包含指定值,如果集合为空(null或者空),返回false,否则找到元素返回true
safeGet(String) - Method in class org.dromara.hutool.core.bean.DynaBean
获得字段对应值,获取异常返回null
safeSleep(Number) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
考虑Thread.sleep(long)方法有可能时间不足给定毫秒数,此方法保证sleep时间不小于给定的毫秒数
safeSleep(Duration) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
挂起当前线程
safeSleep(long) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
考虑Thread.sleep(long)方法有可能时间不足给定毫秒数,此方法保证sleep时间不小于给定的毫秒数
safeUnescape(String) - Static method in class org.dromara.hutool.core.text.escape.EscapeUtil
安全的unescape文本,当文本不是被escape的时候,返回原文。
SAXParserFactoryUtil - Class in org.dromara.hutool.core.xml
SAXParserFactoryUtil() - Constructor for class org.dromara.hutool.core.xml.SAXParserFactoryUtil
 
scan() - Method in class org.dromara.hutool.core.reflect.ClassScanner
扫描包路径下满足class过滤器条件的所有class文件
此方法首先扫描指定包名下的资源目录,如果未扫描到,则扫描整个classpath中所有加载的类
scan(boolean) - Method in class org.dromara.hutool.core.reflect.ClassScanner
扫描包路径下满足class过滤器条件的所有class文件
scanAllPackage() - Static method in class org.dromara.hutool.core.reflect.ClassScanner
扫描该包路径下所有class文件,包括其他加载的jar或者类
scanAllPackage(String, Predicate<Class<?>>) - Static method in class org.dromara.hutool.core.reflect.ClassScanner
扫描包路径下和所有在classpath中加载的类,满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理
scanAllPackageByAnnotation(String, Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.reflect.ClassScanner
扫描指定包路径下所有包含指定注解的类,包括其他加载的jar或者类
scanAllPackageBySuper(String, Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassScanner
扫描指定包路径下所有指定类或接口的子类或实现类,不包括指定父类本身,包括其他加载的jar或者类
scanner() - Static method in class org.dromara.hutool.core.lang.Console
创建从控制台读取内容的Scanner
scanPackage() - Static method in class org.dromara.hutool.core.reflect.ClassScanner
扫描classpath下所有class文件,如果classpath下已经有类,不再扫描其他加载的jar或者类
scanPackage(String) - Static method in class org.dromara.hutool.core.reflect.ClassScanner
扫描该包路径下所有class文件
scanPackage(String, Predicate<Class<?>>) - Static method in class org.dromara.hutool.core.reflect.ClassScanner
扫描包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理
scanPackage() - Static method in class org.dromara.hutool.core.reflect.ClassUtil
扫描该包路径下所有class文件
scanPackage(String) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
扫描该包路径下所有class文件
scanPackage(String, Predicate<Class<?>>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
扫描包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理,有可能是一个不完善的地方,以后需要进行修改
scanPackageByAnnotation(String, Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.reflect.ClassScanner
扫描指定包路径下所有包含指定注解的类
如果classpath下已经有类,不再扫描其他加载的jar或者类
scanPackageByAnnotation(String, Class<? extends Annotation>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
扫描指定包路径下所有包含指定注解的类
scanPackageBySuper(String, Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassScanner
扫描指定包路径下所有指定类或接口的子类或实现类,不包括指定父类本身
如果classpath下已经有类,不再扫描其他加载的jar或者类
scanPackageBySuper(String, Class<?>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
扫描指定包路径下所有指定类或接口的子类或实现类
schedule(Runnable, long) - Method in enum org.dromara.hutool.core.cache.GlobalPruneTimer
启动定时任务
schedule(ScheduledExecutorService, Runnable, long, long, boolean) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
开始执行一个定时任务,执行方式分fixedRate模式和fixedDelay模式。
schedule(ScheduledExecutorService, Runnable, long, long, TimeUnit, boolean) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
开始执行一个定时任务,执行方式分fixedRate模式和fixedDelay模式。
schedulePrune(long) - Method in class org.dromara.hutool.core.cache.impl.TimedCache
定时清理
scheduler - Variable in class org.dromara.hutool.core.thread.ratelimiter.TokenBucketRateLimiter
 
sdbmHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
SDBM算法
SearchReplacer - Class in org.dromara.hutool.core.text.replacer
查找替换器
查找给定的字符串,并全部替换为新的字符串,其它字符不变
SearchReplacer(int, CharSequence, CharSequence, boolean) - Constructor for class org.dromara.hutool.core.text.replacer.SearchReplacer
构造
SeataSnowflake - Class in org.dromara.hutool.core.data.id
Seata改进的雪花算法ID
改进主要是更换了节点和时间戳的位置,以实现在单节点中单调递增 来自:https://github.com/seata/seata/blob/2.x/common/src/main/java/io/seata/common/util/IdWorker.java 相关说明见: https://zhuanlan.zhihu.com/p/648460337 http://seata.io/zh-cn/blog/seata-snowflake-explain.html 符号位(1bit) - 节点标志ID(10bit)- 时间戳相对值(41bit) - 递增序号(12bit) (0) - (0000000000) - (0000000000 0000000000 0000000000 0000000000 0) - (000000000000)
SeataSnowflake() - Constructor for class org.dromara.hutool.core.data.id.SeataSnowflake
构造
SeataSnowflake(Long) - Constructor for class org.dromara.hutool.core.data.id.SeataSnowflake
构造
SeataSnowflake(Date, Long) - Constructor for class org.dromara.hutool.core.data.id.SeataSnowflake
构造
second() - Method in class org.dromara.hutool.core.date.DateTime
获得指定日期的秒数部分
second(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期的秒数部分
secondToTime(int) - Static method in class org.dromara.hutool.core.date.DateUtil
秒数转为时间格式(HH:mm:ss)
参考:https://github.com/iceroot
SecurityManagerCaller - Class in org.dromara.hutool.core.lang.caller
SecurityManager 方式获取调用者
SecurityManagerCaller() - Constructor for class org.dromara.hutool.core.lang.caller.SecurityManagerCaller
 
Segment<T extends Number> - Interface in org.dromara.hutool.core.lang.range
片段表示,用于表示文本、集合等数据结构的一个区间。
SEGMENT - Static variable in class org.dromara.hutool.core.net.url.RFC3986
SEGMENT_NZ_NC - Static variable in class org.dromara.hutool.core.net.url.RFC3986
segment-nz-nc = SEGMENT ; non-zero-length segment without any colon ":"
segments - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate
模板中的所有固定文本和占位符
select() - Method in class org.dromara.hutool.core.lang.selector.IncrementSelector
 
select() - Method in class org.dromara.hutool.core.lang.selector.RandomSelector
 
select() - Method in interface org.dromara.hutool.core.lang.selector.Selector
选择下一个对象
select() - Method in class org.dromara.hutool.core.lang.selector.SmoothWeightSelector
通过平滑加权方法获取列表中的当前对象
select() - Method in class org.dromara.hutool.core.lang.selector.WeightListRandomSelector
 
select() - Method in class org.dromara.hutool.core.lang.selector.WeightRandomSelector
下一个随机对象
select() - Method in class org.dromara.hutool.core.math.Arrangement
全排列选择(列表全部参与排列)
select(int) - Method in class org.dromara.hutool.core.math.Arrangement
排列选择(从列表中选择m个排列)
select(int) - Method in class org.dromara.hutool.core.math.Combination
组合选择(从列表中选择m个组合)
selectAll() - Method in class org.dromara.hutool.core.math.Arrangement
排列所有组合,即A(n, 1) + A(n, 2) + A(n, 3)...
selectAll() - Method in class org.dromara.hutool.core.math.Combination
全组合
selectNumberRule(int, int) - Method in class org.dromara.hutool.core.date.format.FastDatePrinter
Gets an appropriate rule for the padding required.
Selector<T> - Interface in org.dromara.hutool.core.lang.selector
选择器接口
用于抽象负载均衡策略中的选择方式
self() - Method in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
设置 转义符
self() - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate.Builder
 
self() - Method in class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate.Builder
 
semaphore - Variable in class org.dromara.hutool.core.thread.ratelimiter.SemaphoreRateLimiter
 
SemaphoreRateLimiter - Class in org.dromara.hutool.core.thread.ratelimiter
基于Semaphore 实现的限流器
SemaphoreRateLimiter(RateLimiterConfig) - Constructor for class org.dromara.hutool.core.thread.ratelimiter.SemaphoreRateLimiter
构造
SemaphoreRateLimiter(RateLimiterConfig, Semaphore) - Constructor for class org.dromara.hutool.core.thread.ratelimiter.SemaphoreRateLimiter
构造
SemaphoreRunnable - Class in org.dromara.hutool.core.thread
带有信号量控制的Runnable 接口抽象实现 通过设置信号量,可以限制可以访问某些资源(物理或逻辑的)线程数目。
SemaphoreRunnable(Runnable, Semaphore) - Constructor for class org.dromara.hutool.core.thread.SemaphoreRunnable
构造
sensitiveFilter(String) - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
处理过滤文本中的敏感词,默认替换成*
sensitiveFilter(String, boolean, SensitiveProcessor) - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
处理过滤文本中的敏感词,默认替换成*
SensitiveProcessor - Interface in org.dromara.hutool.core.text.dfa
 
SensitiveUtil - Class in org.dromara.hutool.core.text.dfa
敏感词工具类
SensitiveUtil() - Constructor for class org.dromara.hutool.core.text.dfa.SensitiveUtil
 
sequential() - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回一个串行流,该方法可以将并行流转换为串行流
SerBiConsumer<T,U> - Interface in org.dromara.hutool.core.func
SerBiConsumer
SerBiFunction<T,U,R> - Interface in org.dromara.hutool.core.func
SerBiFunction
SerBinaryOperator<T> - Interface in org.dromara.hutool.core.func
SerBinaryOperator
SerBiPredicate<T,U> - Interface in org.dromara.hutool.core.func
可序列化的BiPredicate
SerConsumer<T> - Interface in org.dromara.hutool.core.func
可序列化的Consumer
SerConsumer3<P1,P2,P3> - Interface in org.dromara.hutool.core.func
3参数Consumer
SerFunction<T,R> - Interface in org.dromara.hutool.core.func
可序列化的Function
serialize(T) - Static method in class org.dromara.hutool.core.io.SerializeUtil
序列化
对象必须实现Serializable接口
SerializeUtil - Class in org.dromara.hutool.core.io
序列化工具类
注意!
SerializeUtil() - Constructor for class org.dromara.hutool.core.io.SerializeUtil
 
SerPredicate<T> - Interface in org.dromara.hutool.core.func
可序列化的Predicate
SerRunnable - Interface in org.dromara.hutool.core.func
可序列化的Runnable
SerSupplier<R> - Interface in org.dromara.hutool.core.func
可序列化的Supplier
SerUnaryOperator<T> - Interface in org.dromara.hutool.core.func
可序列化的UnaryOperator
serviceClass - Variable in class org.dromara.hutool.core.spi.AbsServiceLoader
服务类
ServiceLoader<S> - Interface in org.dromara.hutool.core.spi
SPI服务加载接口
用户实现此接口用于制定不同的服务加载方式
set(String, Object) - Method in class org.dromara.hutool.core.bean.DynaBean
设置字段值
set(int, E) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
set(T) - Method in interface org.dromara.hutool.core.lang.mutable.Mutable
设置值
set(boolean) - Method in class org.dromara.hutool.core.lang.mutable.MutableBool
设置值
set(Boolean) - Method in class org.dromara.hutool.core.lang.mutable.MutableBool
 
set(byte) - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
设置值
set(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
 
set(double) - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
设置值
set(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
 
set(Map.Entry<K, V>) - Method in class org.dromara.hutool.core.lang.mutable.MutableEntry
 
set(float) - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
设置值
set(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
 
set(int) - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
设置值
set(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
 
set(long) - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
设置值
set(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
 
set(T) - Method in class org.dromara.hutool.core.lang.mutable.MutableObj
 
set(MutablePair<L, R>) - Method in class org.dromara.hutool.core.lang.mutable.MutablePair
 
set(short) - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
设置值
set(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
 
set(MutableTriple<L, M, R>) - Method in class org.dromara.hutool.core.lang.mutable.MutableTriple
 
set() - Static method in class org.dromara.hutool.core.map.concurrent.Weighers
A weigher where the value is a Set and its selector is the number of elements.
set(String, Object) - Method in class org.dromara.hutool.core.map.Dict
设置列
set(int, char) - Method in class org.dromara.hutool.core.text.CharArray
设置字符
set(int) - Method in enum org.dromara.hutool.core.text.placeholder.StrTemplate.Feature
在 策略值 中添加 当前策略
set(String, String) - Static method in class org.dromara.hutool.core.util.SystemUtil
设置系统属性,value为null表示移除此属性
SET_PREFIX - Static variable in class org.dromara.hutool.core.reflect.method.MethodNameUtil
setter方法前缀
setAccessible(T) - Static method in class org.dromara.hutool.core.reflect.ReflectUtil
设置方法为可访问(私有方法可以被外部调用)
注意此方法在jdk9+中抛出异常,须添加`--add-opens=java.base/java.lang=ALL-UNNAMED`启动参数
setAccessibleQuietly(T) - Static method in class org.dromara.hutool.core.reflect.ReflectUtil
设置方法为可访问(私有方法可以被外部调用),静默调用,抛出异常则跳过
注意此方法在jdk9+中抛出异常,须添加`--add-opens=java.base/java.lang=ALL-UNNAMED`启动参数
setAllowCoreThreadTimeOut(boolean) - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
设置线程执行超时后是否回收线程
setAm(boolean) - Method in class org.dromara.hutool.core.date.DateBuilder
设置是否为上午的状态。
setAmount(BigDecimal) - Method in class org.dromara.hutool.core.math.Money
设置本货币对象代表的金额数。
setAutoTransCamelCase(boolean) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置是否自动转换为驼峰方式
一般用于map转bean和bean转bean出现非驼峰格式时,在尝试转换失败的情况下,是否二次检查转为驼峰匹配。
setBeginAtSameTime(boolean) - Method in class org.dromara.hutool.core.thread.SyncFinisher
设置是否所有worker线程同时开始
setBetweenMs(long) - Method in class org.dromara.hutool.core.date.BetweenFormatter
设置 时长毫秒数
setBufferSize(int) - Method in class org.dromara.hutool.core.compress.ZipWriter
自定义压缩缓存大小,特定条件下调节性能
setCacheHash(boolean) - Method in class org.dromara.hutool.core.lang.tuple.Tuple
缓存Hash值,当为true时,此对象的hash值只被计算一次,常用于Tuple中的值不变时使用。
setCachePatterns(boolean) - Method in class org.dromara.hutool.core.text.AntPathMatcher
Specify whether to cache parsed pattern metadata for patterns passed into this matcher's AntPathMatcher.match(java.lang.String, java.lang.String) method.
setCapacity(long) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Sets the maximum weighted capacity of the map and eagerly evicts entries until it shrinks to the appropriate size.
setCapacity(int) - Method in class org.dromara.hutool.core.map.FixedLinkedHashMap
设置容量
setCapacity(int) - Method in class org.dromara.hutool.core.thread.ratelimiter.RateLimiterConfig
设置容量,可以是总容量,或者每个周期的容量
setCaseSensitive(boolean) - Method in class org.dromara.hutool.core.text.AntPathMatcher
设置是否大小写敏感,默认为true
setCent(long) - Method in class org.dromara.hutool.core.math.Money
设置货币的分值。
setCharFilter(Predicate<Character>) - Static method in class org.dromara.hutool.core.text.dfa.SensitiveUtil
设置字符过滤规则,通过定义字符串过滤规则,过滤不需要的字符
当accept为false时,此字符不参与匹配
setCharFilter(Predicate<Character>) - Method in class org.dromara.hutool.core.text.dfa.WordTree
设置字符过滤规则,通过定义字符串过滤规则,过滤不需要的字符
当accept为false时,此字符不参与匹配
setCharset(Charset) - Method in class org.dromara.hutool.core.io.file.FileWrapper
设置字符集编码
setCharset(Charset) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
设置编码,用于URLEncode和URLDecode
setCharset(Charset) - Method in class org.dromara.hutool.core.xml.XmlWriter
设置编码
setCheckArgs(boolean) - Method in class org.dromara.hutool.core.reflect.method.MethodInvoker
设置是否检查参数
1.
setChildren(List<MapTree<T>>) - Method in class org.dromara.hutool.core.tree.MapTree
设置子节点,设置后会覆盖所有原有子节点
setChildrenKey(String) - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
设置子点对应的名称
setChildrenKeyFun(SerFunction<T, List<T>>) - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
设置子节点名称方法
setClassLoader(ClassLoader) - Method in class org.dromara.hutool.core.reflect.ClassScanner
设置自定义的类加载器
setColloquialMode(boolean) - Method in class org.dromara.hutool.core.math.ChineseNumberFormatter
是否使用口语模式,此模式下的数字更加简化,如“一十一”会表示为“十一”
setComment(String) - Method in class org.dromara.hutool.core.compress.ZipWriter
设置注释
setComparator(int, Comparator<E>) - Method in class org.dromara.hutool.core.comparator.ComparatorChain
替换指定位置的比较器,保持原排序方式
setComparator(int, Comparator<E>, boolean) - Method in class org.dromara.hutool.core.comparator.ComparatorChain
替换指定位置的比较器,替换指定排序方式
setConverter(Converter) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置自定义类型转换器,默认使用全局万能转换器转换。
setConverter(Converter) - Method in class org.dromara.hutool.core.reflect.FieldInvoker
设置字段值转换器
setCopyPredicate(Predicate<T>) - Method in class org.dromara.hutool.core.lang.copier.SrcToTargetCopier
设置过滤器
setCorePoolSize(int) - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
设置初始池大小,默认0
setCurrentWeight(int) - Method in class org.dromara.hutool.core.lang.selector.SmoothWeightObj
setCurrentWeight 设置当前权重
setDaemon(boolean) - Method in class org.dromara.hutool.core.thread.ThreadFactoryBuilder
设置是否守护线程
setDay(int) - Method in class org.dromara.hutool.core.date.DateBuilder
设置日期对象中的日部分。
setDeep(Integer) - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
设置递归深度
setDelimiter(CharSequence) - Method in class org.dromara.hutool.core.text.StrJoiner
设置分隔符
setEditable(Class<?>) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性
setEmptyResult(String) - Method in class org.dromara.hutool.core.text.StrJoiner
设置当没有任何元素加入时,默认返回的字符串,默认""
setEncodeMode(UrlQuery.EncodeMode) - Method in class org.dromara.hutool.core.net.url.UrlQuery
设置编码模式
根据不同场景以及不同环境,对Query中的name和value采用不同的编码策略
setEncodeSpaceAsPlus(boolean) - Method in class org.dromara.hutool.core.codec.PercentCodec.Builder
是否将空格编码为+
如果为true,则将空格编码为"+",此项只在"application/x-www-form-urlencoded"中使用
如果为false,则空格编码为"%20",此项一般用于URL的Query部分(RFC3986规范)
setEnd(String) - Method in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
标记当前节点为 字符串尾节点
setEndIndex(int) - Method in class org.dromara.hutool.core.text.finder.TextFinder
设置查找的结束位置
如果从前向后查找,结束位置最大为text.length()
如果从后向前,结束位置为-1
setEvents(WatchKind...) - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
监听事件列表,见:StandardWatchEventKinds
setEvents(WatchEvent.Kind<?>...) - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
监听事件列表,见:StandardWatchEventKinds
setExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.dromara.hutool.core.thread.SyncFinisher
设置异常处理
setExtra(Map<String, Object>) - Method in class org.dromara.hutool.core.tree.TreeNode
设置扩展字段
setField(DateField, int) - Method in class org.dromara.hutool.core.date.DateTime
设置日期的某个部分
如果此对象为可变对象,返回自身,否则返回新对象,设置是否可变对象见DateTime.setMutable(boolean)
setField(int, int) - Method in class org.dromara.hutool.core.date.DateTime
设置日期的某个部分
如果此对象为可变对象,返回自身,否则返回新对象,设置是否可变对象见DateTime.setMutable(boolean)
setFieldEditor(UnaryOperator<MutableEntry<Object, Object>>) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置字段属性编辑器,用于自定义属性转换规则,例如驼峰转下划线等
此转换器只针对源端的字段做转换,请确认转换后与目标端字段一致
当转换后的字段名为null时忽略这个字段
需要注意的是,当使用ValueProvider作为数据提供者时,这个映射是相反的,即参数中key为目标Bean的名称,而返回值是提供者中的key,并且对值的修改无效
setFieldMapping(Map<?, ?>) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置拷贝属性的字段映射,用于不同的属性之前拷贝做对应表用
需要注意的是,当使用ValueProvider作为数据提供者时,这个映射是相反的,即fieldMapping中key为目标Bean的名称,而value是提供者中的key
setFields(SerSupplier<?>...) - Method in class org.dromara.hutool.core.map.Dict
通过lambda批量设置值
实际使用时,可以使用getXXX的方法引用来完成键值对的赋值: User user = GenericBuilder.of(User::new).with(User::setUsername, "hutool").build(); Dict.create().setFields(user::getNickname, user::getUsername);
setFieldValue(Object, String, Object) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
设置字段值
setFieldValue(Object, Field, Object) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
设置字段值,如果值类型必须与字段类型匹配,会自动转换对象类型
setFieldValue(Object, Field, Object, Converter) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
设置字段值,如果值类型必须与字段类型匹配,会自动转换对象类型
setFile(File) - Method in class org.dromara.hutool.core.io.file.FileWrapper
设置文件
setFirstDayOfWeek(Week) - Method in class org.dromara.hutool.core.date.DateTime
设置一周的第一天
JDK的Calendar中默认一周的第一天是周日,Hutool中将此默认值设置为周一
设置一周的第一天主要影响DateTime.weekOfMonth()DateTime.weekOfYear() 两个方法
setFirstPageNo(int) - Method in class org.dromara.hutool.core.lang.page.NavigatePageInfo
 
setFirstPageNo(int) - Method in class org.dromara.hutool.core.lang.page.PageInfo
设置首页编号,即以数字几为第一页标志
如设置0,则0表示第一页,1表示第二页
设置此参数后,须调用PageInfo.setPageNo(int) 重新设置当前页的页码
setFlushEveryBuffer(boolean) - Method in class org.dromara.hutool.core.io.copy.IoCopier
设置是否每次写出一个buffer内容就执行flush
setFormat(String) - Method in class org.dromara.hutool.core.convert.impl.CalendarConverter
设置日期格式
setFormat(String) - Method in class org.dromara.hutool.core.convert.impl.DateConverter
设置日期格式
setFormat(String) - Method in class org.dromara.hutool.core.convert.impl.TemporalAccessorConverter
设置日期格式
setFormat(String) - Method in class org.dromara.hutool.core.convert.impl.XMLGregorianCalendarConverter
设置日期格式
setForwardSort(int) - Method in class org.dromara.hutool.core.comparator.ComparatorChain
更改指定位置的排序方式为正序
setFragment(String) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
设置标识符,例如#后边的部分
SetFromMap<E> - Class in org.dromara.hutool.core.collection.set
基于Map的Set实现
SetFromMap(Map<E, Boolean>) - Constructor for class org.dromara.hutool.core.collection.set.SetFromMap
构造
setGlobalAuthenticator(String, char[]) - Static method in class org.dromara.hutool.core.net.NetUtil
设置全局验证
setGlobalAuthenticator(Authenticator) - Static method in class org.dromara.hutool.core.net.NetUtil
设置全局验证
setGlobalDefaultValue(UnaryOperator<String>) - Static method in class org.dromara.hutool.core.text.placeholder.StrTemplate
设置 全局默认值处理器,一旦修改,对所有模板对象都生效
setGlobalFeatures(StrTemplate.Feature...) - Static method in class org.dromara.hutool.core.text.placeholder.StrTemplate
设置 全局默认策略,一旦修改,对所有模板对象都生效 该值 是每个模板对象创建时的 策略初始值,因此,修改全局默认策略,不影响已经创建的模板对象
setHandler(RejectedExecutionHandler) - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
设置当线程阻塞(block)时的异常处理器,所谓线程阻塞即线程池和等待队列已满,无法处理线程时采取的策略 此处可以使用JDK预定义的几种策略,见RejectPolicy枚举
setHost(String) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
设置主机,例如127.0.0.1
setHour(int) - Method in class org.dromara.hutool.core.date.DateBuilder
设置日期对象中的小时数。
setId(T) - Method in class org.dromara.hutool.core.tree.MapTree
 
setId(T) - Method in interface org.dromara.hutool.core.tree.Node
设置ID
setId(E) - Method in class org.dromara.hutool.core.tree.TreeBuilder
设置ID
setId(T) - Method in class org.dromara.hutool.core.tree.TreeNode
 
setIdKey(String) - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
设置ID对应的名称
setIdKeyFun(SerFunction<T, R>) - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
设置ID方法
setIgnoreCase(boolean) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置是否忽略字段的大小写
setIgnoreElementError(boolean) - Method in class org.dromara.hutool.core.convert.impl.ArrayConverter
设置是否忽略元素转换错误
setIgnoreError(boolean) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置是否忽略字段的注入错误
setIgnoreLoadError(boolean) - Method in class org.dromara.hutool.core.reflect.ClassScanner
设置是否忽略所有错误
setIgnoreNull(String, Object) - Method in class org.dromara.hutool.core.map.Dict
设置列,当键或值为null时忽略
setIgnoreNullValue(boolean) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
setIgnoreProperties(String...) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值
setIgnoreProperties(SerFunction<P, R>...) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值,Lambda方式
setIndent(int) - Method in class org.dromara.hutool.core.xml.XmlWriter
设置缩进
setInitialize(boolean) - Method in class org.dromara.hutool.core.reflect.ClassScanner
设置是否在扫描到类时初始化类
setKeepAliveTime(long, TimeUnit) - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长
setKeepAliveTime(long) - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长,单位纳秒
setKeepTaskList(boolean) - Method in class org.dromara.hutool.core.date.StopWatch
设置是否在停止后保留任务,false 表示停止运行后不保留任务
setKey(K) - Method in class org.dromara.hutool.core.lang.mutable.MutableEntry
设置键
setKeyManagers(KeyManager...) - Method in class org.dromara.hutool.core.net.ssl.SSLContextBuilder
设置 JSSE key managers
setLastReturn(long) - Method in interface org.dromara.hutool.core.pool.Poolable
设置最后归还时间,在成功归还此对象时更新时间
setLastReturn(long) - Method in class org.dromara.hutool.core.pool.SimplePoolable
 
setLat(double) - Method in class org.dromara.hutool.core.data.CoordinateUtil.Coordinate
设置纬度
setLeastSigBits(long) - Method in class org.dromara.hutool.core.codec.Number128
设置最低有效位(Least Significant Bit),64 bit(8 bytes)
setLeft(L) - Method in class org.dromara.hutool.core.lang.mutable.MutablePair
设置左值
setLeft(L) - Method in class org.dromara.hutool.core.lang.mutable.MutableTriple
设置左值
setLeft(int, L) - Method in class org.dromara.hutool.core.map.TripleTable
修改指定index对应的左值
setLevel(int) - Method in class org.dromara.hutool.core.compress.ZipWriter
设置压缩级别,可选1~9,-1表示默认
setLevel(BetweenFormatter.Level) - Method in class org.dromara.hutool.core.date.BetweenFormatter
设置格式化级别
setLevelFormatter(Function<BetweenFormatter.Level, String>) - Method in class org.dromara.hutool.core.date.BetweenFormatter
设置级别格式化器
setListener(CacheListener<K, V>) - Method in interface org.dromara.hutool.core.cache.Cache
设置监听
setListener(CacheListener<K, V>) - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
设置监听
setListener(CacheListener<K, V>) - Method in class org.dromara.hutool.core.cache.impl.WeakCache
 
setLng(double) - Method in class org.dromara.hutool.core.data.CoordinateUtil.Coordinate
设置经度
setLocale(Locale) - Method in class org.dromara.hutool.core.date.format.parser.PatternsDateParser
设置Locale
setMaxDepth(int) - Method in class org.dromara.hutool.core.io.watch.WatchMonitor
当监听目录时,监听目录的最大深度
当设置值为1(或小于1)时,表示不递归监听子目录
例如设置: maxDepth <= 1 表示只监听当前目录 maxDepth = 2 表示监听当前目录以及下层目录 maxDepth = 3 表示监听当前目录以及下层
setMaxFreeMemory(int) - Method in class org.dromara.hutool.core.collection.queue.MemorySafeLinkedBlockingQueue
set the max free memory.
setMaxIdle(long) - Method in class org.dromara.hutool.core.pool.PoolConfig
设置最长空闲时间(在池中时间)
setMaxPoolSize(int) - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
设置最大池大小(允许同时执行的最大线程数)
setMaxReleaseCount(int) - Method in class org.dromara.hutool.core.thread.ratelimiter.RateLimiterConfig
设置在刷新周期内释放的最大数量,不能超过RateLimiterConfig.capacity
setMaxSize(int) - Method in class org.dromara.hutool.core.pool.PoolConfig
设置最大池大小
setMaxSizeDiff(int) - Method in class org.dromara.hutool.core.compress.ZipReader
设置检查ZipBomb文件差异倍数,-1表示不检查ZipBomb
setMaxWait(long) - Method in class org.dromara.hutool.core.pool.PoolConfig
设置最长等待时间,用于在借出对象时,等待最长时间。
setMethod(int) - Method in class org.dromara.hutool.core.compress.ZipWriter
设置压缩方式
setMiddle(M) - Method in class org.dromara.hutool.core.lang.mutable.MutableTriple
设置中值
setMiddle(int, M) - Method in class org.dromara.hutool.core.map.TripleTable
修改指定index对应的中值
setMillisecond(long) - Method in class org.dromara.hutool.core.date.DateBuilder
设置时间戳(毫秒)。
setMinimalDaysInFirstWeek(int) - Method in class org.dromara.hutool.core.date.DateTime
设置第一周最少天数
setMinSize(int) - Method in class org.dromara.hutool.core.pool.PoolConfig
设置最小(初始)池大小
setMinute(int) - Method in class org.dromara.hutool.core.date.DateBuilder
设置日期构建器中的分钟数。
setModifiers(WatchEvent.Modifier...) - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
设置监听选项,例如监听频率等,可设置项包括: 1、com.sun.nio.file.StandardWatchEventKinds 2、com.sun.nio.file.SensitivityWatchEventModifier
setMoneyMode(boolean) - Method in class org.dromara.hutool.core.math.ChineseNumberFormatter
是否使用金额模式,,如:壹拾贰圆
setMonth(int) - Method in class org.dromara.hutool.core.date.DateBuilder
设置月份,从1开始。
setMostSigBits(long) - Method in class org.dromara.hutool.core.codec.Number128
设置最高有效位(Most Significant Bit),64 bit(8 bytes)
setMutable(boolean) - Method in class org.dromara.hutool.core.date.DateTime
设置对象是否可变 如果为不可变对象,以下方法将返回新方法: DateTime.offset(DateField, int) DateTime.setField(DateField, int) DateTime.setField(int, int) 如果为不可变对象,DateTime.setTime(long)将抛出异常
setName(CharSequence) - Method in class org.dromara.hutool.core.tree.MapTree
 
setName(CharSequence) - Method in interface org.dromara.hutool.core.tree.Node
设置节点标签名称
setName(CharSequence) - Method in class org.dromara.hutool.core.tree.TreeBuilder
设置节点标签名称
setName(CharSequence) - Method in class org.dromara.hutool.core.tree.TreeNode
 
setNameKey(String) - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
设置节点名对应的名称
setNameKeyFun(SerFunction<T, CharSequence>) - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
设置节点名称方法
setNamePrefix(String) - Method in class org.dromara.hutool.core.thread.ThreadFactoryBuilder
设置线程名前缀,例如设置前缀为hutool-thread-,则线程名为hutool-thread-1之类。
setNegative(boolean) - Method in class org.dromara.hutool.core.text.finder.PatternFinder
 
setNegative(boolean) - Method in class org.dromara.hutool.core.text.finder.TextFinder
设置是否反向查找,true表示从后向前查找
setNegativeName(String) - Method in class org.dromara.hutool.core.math.ChineseNumberFormatter
设置负数的表示名称,如"负"
setNext(T) - Method in interface org.dromara.hutool.core.collection.queue.Linked
Sets the next element or null if there is no link.
setNs(int) - Method in class org.dromara.hutool.core.date.DateBuilder
设置纳秒数。
setNullMode(StrJoiner.NullMode) - Method in class org.dromara.hutool.core.text.StrJoiner
设置null元素处理逻辑
setObj(T) - Method in class org.dromara.hutool.core.lang.selector.WeightObj
设置对象
setOmitXmlDeclaration(boolean) - Method in class org.dromara.hutool.core.xml.XmlWriter
设置是否输出 xml Declaration
setOrAppend(T[], int, T) - Static method in class org.dromara.hutool.core.array.ArrayUtil
将元素值设置为数组的某个位置,当给定的index大于等于数组长度,则追加
setOrAppend(A, int, Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
将元素值设置为数组的某个位置,当给定的index大于等于数组长度,则追加
setOrAppend(int, E) - Method in class org.dromara.hutool.core.array.ArrayWrapper
将元素值设置为数组的某个位置,当给定的index大于等于数组长度,则追加
setOrAppend(List<T>, int, T) - Static method in class org.dromara.hutool.core.collection.ListUtil
设置或增加元素。
setOrPadding(A, int, Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
将元素值设置为数组的某个位置,当index小于数组的长度时,替换指定位置的值,否则追加null0直到到达index后,设置值
setOrPadding(A, int, E, E) - Static method in class org.dromara.hutool.core.array.ArrayUtil
将元素值设置为数组的某个位置,当index小于数组的长度时,替换指定位置的值,否则追加paddingValue直到到达index后,设置值
setOrPadding(int, E) - Method in class org.dromara.hutool.core.array.ArrayWrapper
将元素值设置为数组的某个位置,当index小于数组的长度时,替换指定位置的值,否则追加null0直到到达index后,设置值
setOrPadding(int, E, E) - Method in class org.dromara.hutool.core.array.ArrayWrapper
将元素值设置为数组的某个位置,当index小于数组的长度时,替换指定位置的值,否则追加paddingElement直到到达index后,设置值
setOrPadding(int, E, E, int) - Method in class org.dromara.hutool.core.array.ArrayWrapper
将元素值设置为数组的某个位置,当index小于数组的长度时,替换指定位置的值,否则追加paddingElement直到到达index后,设置值
setOrPadding(List<T>, int, T) - Static method in class org.dromara.hutool.core.collection.ListUtil
在指定位置设置元素。
setOrPadding(List<T>, int, T, T) - Static method in class org.dromara.hutool.core.collection.ListUtil
在指定位置设置元素。
setOrPadding(List<T>, int, T, T, int) - Static method in class org.dromara.hutool.core.collection.ListUtil
在指定位置设置元素。
setOverride(boolean) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置是否覆盖目标值,如果不覆盖,会先读取目标对象的值,为null则写,否则忽略。
setPageNo(int) - Method in class org.dromara.hutool.core.lang.page.NavigatePageInfo
 
setPageNo(int) - Method in class org.dromara.hutool.core.lang.page.PageInfo
设置当前页码,具体这个页码代表实际页,取决于PageInfo.setFirstPageNo(int)设置的值。
setParent(MapTree<T>) - Method in class org.dromara.hutool.core.tree.MapTree
设置父节点
setParentId(T) - Method in class org.dromara.hutool.core.tree.MapTree
 
setParentId(T) - Method in interface org.dromara.hutool.core.tree.Node
设置父节点ID
setParentId(E) - Method in class org.dromara.hutool.core.tree.TreeBuilder
设置父节点ID
setParentId(T) - Method in class org.dromara.hutool.core.tree.TreeNode
 
setParentIdKey(String) - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
设置父点对应的名称
setParentIdKeyFun(SerFunction<T, R>) - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
设置父ID方法
setParsePatterns(String...) - Method in class org.dromara.hutool.core.date.format.parser.PatternsDateParser
设置多个日期格式
setPartitionSize(int) - Method in class org.dromara.hutool.core.pool.partition.PartitionPoolConfig
设置分区大小
setPath(UrlPath) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
设置路径,例如/aa/bb/cc,将覆盖之前所有的path相关设置
setPathSeparator(String) - Method in class org.dromara.hutool.core.text.AntPathMatcher
设置路径分隔符
setPm(boolean) - Method in class org.dromara.hutool.core.date.DateBuilder
设置是否为下午的状态。
setPort(int) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
设置端口,默认-1
setPreferMonthFirst(boolean) - Method in class org.dromara.hutool.core.date.format.parser.DefaultRegexDateParser
当用户传入的月和日无法判定默认位置时,设置默认的日期格式为dd/mm还是mm/dd
setPreferMonthFirst(boolean) - Method in class org.dromara.hutool.core.date.format.parser.RegexDateParser
当用户传入的月和日无法判定默认位置时,设置默认的日期格式为dd/mm还是mm/dd
setPrefix(CharSequence) - Method in class org.dromara.hutool.core.text.StrJoiner
设置前缀
setPrevious(T) - Method in interface org.dromara.hutool.core.collection.queue.Linked
Sets the previous element or null if there is no link.
setPriority(int) - Method in class org.dromara.hutool.core.thread.ThreadFactoryBuilder
设置线程优先级
setPropertiesFilter(BiPredicate<Field, Object>) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
属性过滤器,断言通过的属性才会被复制
BiPredicate.test(Object, Object)返回true则属性通过,false不通过,抛弃之
setProperty(Object, String, Object) - Static method in class org.dromara.hutool.core.bean.BeanUtil
设置Bean中的属性值
setProperty(String, Object) - Method in class org.dromara.hutool.core.bean.DynaBean
设置属性值
setProtocol(String) - Method in class org.dromara.hutool.core.net.ssl.SSLContextBuilder
设置协议。
setPurgeListener(BiConsumer<Ref<? extends K>, Ref<? extends V>>) - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
设置对象回收清除监听
setQuery(UrlQuery) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
设置查询语句,例如a=1&b=2,将覆盖之前所有的query相关设置
setRefreshPeriod(Duration) - Method in class org.dromara.hutool.core.thread.ratelimiter.RateLimiterConfig
设置刷新周期,即每多少时间刷新一次,单位毫秒
setRemoveListener(Consumer<Map.Entry<K, V>>) - Method in class org.dromara.hutool.core.map.FixedLinkedHashMap
设置自定义移除监听
setReverseSort(int) - Method in class org.dromara.hutool.core.comparator.ComparatorChain
更改指定位置的排序方式为反序
setRight(R) - Method in class org.dromara.hutool.core.lang.mutable.MutablePair
设置右值
setRight(R) - Method in class org.dromara.hutool.core.lang.mutable.MutableTriple
设置右值
setRight(int, R) - Method in class org.dromara.hutool.core.map.TripleTable
修改指定index对应的右值
setSBCMode(boolean) - Method in class org.dromara.hutool.core.lang.ConsoleTable
设置是否使用全角模式
当包含中文字符时,输出的表格可能无法对齐,因此当设置为全角模式时,全部字符转为全角。
setScheme(String) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
设置协议,例如http
setSecond(int) - Method in class org.dromara.hutool.core.date.DateBuilder
设置日期时间对象中的秒数。
setSecureRandom(SecureRandom) - Method in class org.dromara.hutool.core.net.ssl.SSLContextBuilder
设置 SecureRandom
setSeparator(String) - Method in class org.dromara.hutool.core.date.BetweenFormatter
设置分隔符
setSimpleMode(boolean) - Method in class org.dromara.hutool.core.date.BetweenFormatter
是否为简化模式,此标记用于自定义是否输出各个位数中间为0的部分
如为true,输出 1小时3秒,为false输出 1小时0分3秒
setSrc(T) - Method in class org.dromara.hutool.core.lang.copier.SrcToTargetCopier
设置源
setStaticFieldValue(Field, Object) - Static method in class org.dromara.hutool.core.reflect.FieldUtil
设置静态(static)字段值
setStopOnDelete(boolean) - Method in class org.dromara.hutool.core.io.file.Tailer
设置删除文件后是否退出并抛出异常
setSuffix(CharSequence) - Method in class org.dromara.hutool.core.text.StrJoiner
设置后缀
setTarget(T) - Method in class org.dromara.hutool.core.lang.copier.SrcToTargetCopier
设置目标
setter - Variable in class org.dromara.hutool.core.bean.PropDesc
Setter方法
setText(CharSequence) - Method in class org.dromara.hutool.core.text.finder.PatternFinder
 
setText(CharSequence) - Method in class org.dromara.hutool.core.text.finder.TextFinder
设置被查找的文本
setThreadFactory(ThreadFactory) - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
设置线程工厂,用于自定义线程创建
setThreadFactory(ThreadFactory) - Method in class org.dromara.hutool.core.thread.ThreadFactoryBuilder
设置用于创建基础线程的线程工厂
setTime(long) - Method in class org.dromara.hutool.core.date.DateTime
 
setTimeout(Duration) - Method in class org.dromara.hutool.core.thread.ratelimiter.RateLimiterConfig
设置超时时间,即超过这个时间没有获取到许可,则返回false
setTimeZone(TimeZone) - Method in class org.dromara.hutool.core.date.DateTime
设置时区
setTransientSupport(boolean) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
设置是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
setTrimTokens(boolean) - Method in class org.dromara.hutool.core.text.AntPathMatcher
设置是否去除路径节点两边的空白符,默认为false
setTrustManagers(TrustManager...) - Method in class org.dromara.hutool.core.net.ssl.SSLContextBuilder
设置信任信息
setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.dromara.hutool.core.thread.ThreadFactoryBuilder
设置未捕获异常的处理方式
setUnitName(String) - Method in class org.dromara.hutool.core.math.ChineseNumberFormatter
设置金额单位名称,如:“元”或“圆”
setUnixsecond(long) - Method in class org.dromara.hutool.core.date.DateBuilder
设置Unix时间戳(秒)。
setUseJdkToStringStyle(boolean) - Static method in class org.dromara.hutool.core.date.DateTime
设置全局的,是否使用Date默认的toString()格式
如果为true,则调用toString()时返回"EEE MMM dd HH:mm:ss zzz yyyy"格式,
如果为false,则返回"yyyy-MM-dd HH:mm:ss",
默认为false
setUseTraditional(boolean) - Method in class org.dromara.hutool.core.math.ChineseNumberFormatter
是否使用繁体,即金额表示模式,如:壹拾贰圆叁角贰分
SetUtil - Class in org.dromara.hutool.core.collection.set
集合中的Set相关方法封装
SetUtil() - Constructor for class org.dromara.hutool.core.collection.set.SetUtil
 
setValue(Annotation, String, Object) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
设置新的注解的属性(字段)值
注意此方法在jdk9+中抛出异常,须添加`--add-opens=java.base/java.lang=ALL-UNNAMED`启动参数
setValue(T, Object) - Method in class org.dromara.hutool.core.bean.path.BeanPath
设置路径对应的值,如果路径节点为空,自动创建之
setValue(Object, Object, BeanPath<Object>) - Method in class org.dromara.hutool.core.bean.path.DefaultNodeBeanFactory
 
setValue(T, Object, BeanPath<T>) - Method in interface org.dromara.hutool.core.bean.path.NodeBeanFactory
设置节点值
setValue(Object, Object) - Method in class org.dromara.hutool.core.bean.PropDesc
设置Bean的字段值
首先调用字段对应的Setter方法,如果Setter方法不存在,则判断字段如果为public,则直接赋值字段值
此方法不检查任何注解,使用前需调用 PropDesc.isWritable(boolean) 检查是否可写
setValue(Object, Object, boolean, boolean) - Method in class org.dromara.hutool.core.bean.PropDesc
设置属性值,可以自动转换字段类型为目标类型
setValue(Object, Object, boolean, boolean, boolean) - Method in class org.dromara.hutool.core.bean.PropDesc
设置属性值,可以自动转换字段类型为目标类型
setValue(V) - Method in class org.dromara.hutool.core.lang.mutable.MutableEntry
设置值
setValue(V) - Method in class org.dromara.hutool.core.map.AbsEntry
 
setValue(TreeEntry<K, V>) - Method in class org.dromara.hutool.core.map.LinkedForestMap.EntryNodeWrapper
 
setValue(V) - Method in class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
设置节点的value
setValueByMap(Iterable<E>, Map<K, V>, Function<E, K>, BiConsumer<E, V>) - Static method in class org.dromara.hutool.core.collection.CollUtil
使用给定的map将集合中的元素进行属性或者值的重新设定
SetValueMap<K,V> - Class in org.dromara.hutool.core.map.multi
值作为集合Set(LinkedHashSet)的Map实现,通过调用putValue可以在相同key时加入多个值,多个值用集合表示
SetValueMap(Supplier<Map<K, Collection<V>>>) - Constructor for class org.dromara.hutool.core.map.multi.SetValueMap
基于mapFactory创建一个值为Set的多值映射集合
SetValueMap(Map<K, Collection<V>>) - Constructor for class org.dromara.hutool.core.map.multi.SetValueMap
基于HashMap创建一个值为Set的多值映射集合
SetValueMap() - Constructor for class org.dromara.hutool.core.map.multi.SetValueMap
基于HashMap创建一个值为Set的多值映射集合
setWatcher(Watcher) - Method in class org.dromara.hutool.core.io.watch.WatchMonitor
设置监听
多个监听请使用WatcherChain
setWeek(int) - Method in class org.dromara.hutool.core.date.DateBuilder
设置日期构建器的周数,ISO8601规范,1代表Monday,2代表Tuesday,以此类推。
setWeight(Comparable<?>) - Method in class org.dromara.hutool.core.tree.MapTree
 
setWeight(Comparable<?>) - Method in interface org.dromara.hutool.core.tree.Node
设置权重
setWeight(Comparable<?>) - Method in class org.dromara.hutool.core.tree.TreeBuilder
设置权重
setWeight(Comparable<?>) - Method in class org.dromara.hutool.core.tree.TreeNode
 
setWeightKey(String) - Method in class org.dromara.hutool.core.tree.TreeNodeConfig
设置权重对应的名称
setWeightKeyFun(SerFunction<T, Comparable<?>>) - Method in class org.dromara.hutool.core.tree.LambdaTreeNodeConfig
设置权重方法
setWithEndTag(boolean) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
是否path的末尾加 /
setWithEndTag(boolean) - Method in class org.dromara.hutool.core.net.url.UrlPath
是否path的末尾加 /
setWorkQueue(BlockingQueue<Runnable>) - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
设置队列,用于存在未执行的线程
可选队列有: 1.
setWrapElement(boolean) - Method in class org.dromara.hutool.core.text.StrJoiner
设置前缀和后缀是否包装每个元素
SetWrapper<E> - Class in org.dromara.hutool.core.collection.set
Set包装类
提供列表包装,用于在执行列表方法前后自定义处理逻辑
SetWrapper(Set<E>) - Constructor for class org.dromara.hutool.core.collection.set.SetWrapper
构造
setYear(int) - Method in class org.dromara.hutool.core.date.DateBuilder
设置年份。
setZone(TimeZone) - Method in class org.dromara.hutool.core.date.DateBuilder
设置时区。
setZoneOffset(int) - Method in class org.dromara.hutool.core.date.DateBuilder
设置时区偏移量。
setZoneOffsetSetted(boolean) - Method in class org.dromara.hutool.core.date.DateBuilder
设置时区偏移量是否已设置的状态。
ShiChen - Class in org.dromara.hutool.core.date.chinese
时辰转换器,支持宋以后的二十四时辰制度。
ShiChen() - Constructor for class org.dromara.hutool.core.date.chinese.ShiChen
 
SHORT - Static variable in class org.dromara.hutool.core.date.format.FastDateFormat
SHORT locale dependent date or time style.
shortSummary() - Method in class org.dromara.hutool.core.date.StopWatch
获取任务信息,类似于: StopWatch '[id]': running time = [total] ns
shortSummary(TimeUnit) - Method in class org.dromara.hutool.core.date.StopWatch
获取任务信息,类似于: StopWatch '[id]': running time = [total] [unit]
shortToBytes(short) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
short转byte数组
默认以小端序转换
shortValue() - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
 
shuffle(T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
打乱数组顺序,会变更原数组
使用Fisher–Yates洗牌算法,以线性时间复杂度打乱数组顺序
shuffle(T[], Random) - Static method in class org.dromara.hutool.core.array.ArrayUtil
打乱数组顺序,会变更原数组
使用Fisher–Yates洗牌算法,以线性时间复杂度打乱数组顺序
shuffle(int[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(int[], Random) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(long[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(long[], Random) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(double[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(double[], Random) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(float[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(float[], Random) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(boolean[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(boolean[], Random) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(byte[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(byte[], Random) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(char[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(char[], Random) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(short[]) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shuffle(short[], Random) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
打乱数组顺序,会变更原数组
shutdown() - Method in enum org.dromara.hutool.core.cache.GlobalPruneTimer
销毁全局定时器
shutdown() - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
shutdown(boolean) - Static method in class org.dromara.hutool.core.thread.GlobalThreadPool
关闭公共线程池
shutdownNow() - Method in enum org.dromara.hutool.core.cache.GlobalPruneTimer
销毁全局定时器
shutdownNow() - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
Simhash - Class in org.dromara.hutool.core.codec.hash
Simhash是一种局部敏感hash,用于海量文本去重。
Simhash() - Constructor for class org.dromara.hutool.core.codec.hash.Simhash
构造
Simhash(int, int) - Constructor for class org.dromara.hutool.core.codec.hash.Simhash
构造
similar(String, String) - Static method in class org.dromara.hutool.core.text.StrUtil
计算两个字符串的相似度
similar(String, String, int) - Static method in class org.dromara.hutool.core.text.StrUtil
计算两个字符串的相似度百分比
similar(String, String) - Static method in class org.dromara.hutool.core.text.TextSimilarity
利用莱文斯坦距离(Levenshtein distance)算法计算相似度,两个都是空串相似度为1,被认为是相同的串
比较方法为: 只比较两个字符串字母、数字、汉字部分,其他符号去除 计算出两个字符串最大子串,除以最长的字符串,结果即为相似度
similar(String, String, int) - Static method in class org.dromara.hutool.core.text.TextSimilarity
利用莱文斯坦距离(Levenshtein distance)算法计算相似度百分比
SIMPLE_MONTH_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
简单年月格式 FastDateFormat:yyyyMM
SIMPLE_MONTH_FORMATTER - Static variable in class org.dromara.hutool.core.date.DatePattern
简单年月格式 DateTimeFormatter:yyyyMM
SIMPLE_MONTH_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
简单年月格式:yyyyMM
SimpleBeanDesc - Class in org.dromara.hutool.core.bean
简单的Bean描述,只查找getter和setter方法,规则如下: 不匹配字段,只查找getXXX、isXXX、setXXX方法。
SimpleBeanDesc(Class<?>) - Constructor for class org.dromara.hutool.core.bean.SimpleBeanDesc
构造
SimpleCache<K,V> - Class in org.dromara.hutool.core.cache
简单缓存,无超时实现,默认使用WeakConcurrentMap实现缓存自动清理
SimpleCache() - Constructor for class org.dromara.hutool.core.cache.SimpleCache
构造,默认使用WeakHashMap实现缓存自动清理
SimpleCache(Map<Mutable<K>, V>) - Constructor for class org.dromara.hutool.core.cache.SimpleCache
构造 通过自定义Map初始化,可以自定义缓存实现。
SimpleCollector<T,A,R> - Class in org.dromara.hutool.core.stream
简单Collector接口实现
SimpleCollector(Supplier<A>, BiConsumer<A, T>, BinaryOperator<A>, Function<A, R>, Set<Collector.Characteristics>) - Constructor for class org.dromara.hutool.core.stream.SimpleCollector
构造
SimpleCollector(Supplier<A>, BiConsumer<A, T>, BinaryOperator<A>, Set<Collector.Characteristics>) - Constructor for class org.dromara.hutool.core.stream.SimpleCollector
构造
SimpleDateBasic - Class in org.dromara.hutool.core.date.format
抽象日期基本信息类,包括日期格式、时区、本地化等信息
SimpleDateBasic(String, TimeZone, Locale) - Constructor for class org.dromara.hutool.core.date.format.SimpleDateBasic
构造,内部使用
SimplePoolable<T> - Class in org.dromara.hutool.core.pool
简单可池化对象,此对象会同时持有原始对象和所在的分区
SimplePoolable(T) - Constructor for class org.dromara.hutool.core.pool.SimplePoolable
构造
SimpleScheduler<T> - Class in org.dromara.hutool.core.thread
简单单线程任务调度器
通过自定义Job定时执行任务,通过SimpleScheduler.getResult() 可以获取调取时的执行结果
SimpleScheduler(SimpleScheduler.Job<T>, long) - Constructor for class org.dromara.hutool.core.thread.SimpleScheduler
构造
SimpleScheduler(SimpleScheduler.Job<T>, long, long, boolean) - Constructor for class org.dromara.hutool.core.thread.SimpleScheduler
构造
SimpleScheduler.Job<T> - Interface in org.dromara.hutool.core.thread
带有结果计算的任务
用户实现此接口,通过Runnable.run()实现定时任务的内容,定时任务每次执行或多次执行都可以产生一个结果
这个结果存储在一个volatile的对象属性中,通过SimpleScheduler.Job.getResult()来读取这一阶段的结果。
simpleUUID() - Static method in class org.dromara.hutool.core.data.id.IdUtil
简化的UUID,去掉了横线
SimpleWatcher - Class in org.dromara.hutool.core.io.watch.watchers
空白WatchListener
用户继承此类后实现需要监听的方法
SimpleWatcher() - Constructor for class org.dromara.hutool.core.io.watch.watchers.SimpleWatcher
 
SimpleWrapper<T> - Class in org.dromara.hutool.core.lang.wrapper
简单包装对象
通过继承此类,可以直接使用被包装的对象,用于简化和统一封装。
SimpleWrapper(T) - Constructor for class org.dromara.hutool.core.lang.wrapper.SimpleWrapper
构造
SINGLE_QUOTE - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:单引号 '\''
SinglePlaceholderSegment - Class in org.dromara.hutool.core.text.placeholder.segment
字符串模板-单变量占位符 Segment 例如,"?"
SinglePlaceholderStrTemplate - Class in org.dromara.hutool.core.text.placeholder.template
单占位符字符串模板 例如,"?"
SinglePlaceholderStrTemplate(String, int, String, char, String, UnaryOperator<String>) - Constructor for class org.dromara.hutool.core.text.placeholder.template.SinglePlaceholderStrTemplate
 
SinglePlaceholderStrTemplate.Builder - Class in org.dromara.hutool.core.text.placeholder.template
构造器
Singleton - Class in org.dromara.hutool.core.lang
单例类
提供单例对象的统一管理,当调用get方法时,如果对象池中存在此对象,返回此对象,否则创建新对象返回
singleton() - Static method in class org.dromara.hutool.core.map.concurrent.Weighers
A weigher where a value has a selector of 1.
size() - Method in interface org.dromara.hutool.core.bean.BeanDesc
获取Bean属性数量
size() - Method in interface org.dromara.hutool.core.cache.Cache
缓存的对象数量
size() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
size() - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
size(Object) - Static method in class org.dromara.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(Iterable<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
返回 Iterable 对象的元素数量
size(Iterator<?>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
返回 Iterator 对象的元素数量
size() - Method in class org.dromara.hutool.core.collection.ListWrapper
 
size() - Method in class org.dromara.hutool.core.collection.partition.AvgPartition
 
size - Variable in class org.dromara.hutool.core.collection.partition.Partition
每个分区的长度
size() - Method in class org.dromara.hutool.core.collection.partition.Partition
 
size() - Method in class org.dromara.hutool.core.collection.queue.DiscardingQueue
 
size() - Method in class org.dromara.hutool.core.collection.queue.LinkedDeque
Beware that, unlike in most collections, this method is NOT a constant-time operation.
size() - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
size() - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
size() - Method in class org.dromara.hutool.core.collection.set.UniqueKeySet
 
size() - Method in class org.dromara.hutool.core.collection.TransCollection
 
size() - Method in class org.dromara.hutool.core.comparator.ComparatorChain
比较器链中比较器个数
size - Variable in class org.dromara.hutool.core.io.buffer.FastBuffer
缓冲字节数
size(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
计算目录或文件的总大小
当给定对象为文件时,直接调用 File.length()
当给定对象为目录时,遍历目录下的所有文件和目录,递归计算其大小,求和返回
此方法不包括目录本身的占用空间大小。
size(File, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
计算目录或文件的总大小
当给定对象为文件时,直接调用 File.length()
当给定对象为目录时,遍历目录下的所有文件和目录,递归计算其大小,求和返回
size() - Method in class org.dromara.hutool.core.io.resource.BytesResource
 
size() - Method in class org.dromara.hutool.core.io.resource.FileObjectResource
 
size() - Method in class org.dromara.hutool.core.io.resource.FileResource
 
size() - Method in class org.dromara.hutool.core.io.resource.HttpResource
 
size() - Method in class org.dromara.hutool.core.io.resource.InputStreamResource
 
size() - Method in class org.dromara.hutool.core.io.resource.MultiResource
 
size() - Method in interface org.dromara.hutool.core.io.resource.Resource
获取资源大小
size() - Method in class org.dromara.hutool.core.io.resource.UrlResource
 
size() - Method in class org.dromara.hutool.core.io.resource.VfsResource
获取VFS文件大小
size() - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
长度
size() - Method in class org.dromara.hutool.core.lang.tuple.Tuple
得到元组的大小
size() - Method in class org.dromara.hutool.core.map.BeanMap
 
size() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
size() - Method in class org.dromara.hutool.core.map.LinkedForestMap
获取当前实例中的节点个数
size() - Method in class org.dromara.hutool.core.map.MapProxy
 
size() - Method in class org.dromara.hutool.core.map.MapWrapper
 
size(K) - Method in interface org.dromara.hutool.core.map.multi.MultiValueMap
获取键对应值的数量,若键对应的值不存在,则返回0
size() - Method in interface org.dromara.hutool.core.map.multi.Table
表格大小,一般为单元格的个数
size() - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
size() - Method in class org.dromara.hutool.core.map.TableMap
 
size() - Method in class org.dromara.hutool.core.map.TripleTable
长度
size(URL) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
获取URL对应数据长度 如果URL为文件,转换为文件获取文件长度。
size() - Method in class org.dromara.hutool.core.spi.ListServiceLoader
 
size() - Method in class org.dromara.hutool.core.spi.MapServiceLoader
 
size() - Method in interface org.dromara.hutool.core.spi.ServiceLoader
服务总数
size - Variable in class org.dromara.hutool.core.text.bloom.AbstractFilter
容量
skip(long) - Method in class org.dromara.hutool.core.compress.InflaterInputStream
 
skip(long) - Method in class org.dromara.hutool.core.io.FastStringReader
跳过指定长度,返回跳过的字符数。
skip(long) - Method in class org.dromara.hutool.core.io.ReaderWrapper
 
skip(long) - Method in class org.dromara.hutool.core.io.stream.EmptyInputStream
 
skip(long) - Method in class org.dromara.hutool.core.io.stream.LimitedInputStream
 
skip(long) - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回丢弃前面n个元素后的剩余元素组成的流,如果当前元素个数小于n,则返回一个元素为空的流 这是一个有状态中间操作
SLASH - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:斜杠 '/'
SLASH - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:斜杠 "/"
sleep(Number, TimeUnit) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
挂起当前线程
sleep(Number) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
挂起当前线程
sleep(Duration) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
挂起当前线程
sleep(long) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
挂起当前线程
SmoothWeightObj<T> - Class in org.dromara.hutool.core.lang.selector
平滑权重对象
SmoothWeightObj(T, int) - Constructor for class org.dromara.hutool.core.lang.selector.SmoothWeightObj
构造
SmoothWeightObj(T, int, int) - Constructor for class org.dromara.hutool.core.lang.selector.SmoothWeightObj
构造
SmoothWeightSelector<T> - Class in org.dromara.hutool.core.lang.selector
平滑加权轮询选择器 来自:https://gitee.com/dromara/hutool/pulls/982/ 介绍:https://cloud.tencent.com/developer/beta/article/1680928 思路: 比如 A : 5 , B : 3 , C : 2 (服务器 A,B,C 对应权重分别是 5,3,2) ip: A,B,C weight: 5,3,2 (计算得到 totalWeight = 10) currentWeight: 0,0,0 (当前ip的初始权重都为0) 请求次数: | currentWeight = currentWeight + weight | 最大权重为 | 返回的ip为 | 最大的权重 - totalWeight,其余不变 1 | 5,3,2 (0,0,0 + 5,3,2) | 5 | A | -5,3,2 2 | 0,6,4 (-5,3,2 + 5,3,2) | 6 | B | 0,-4,4 3 | 5,-1,6 (0,-4,4 + 5,3,2) | 6 | C | 5,-1,-4 4 | 10,2,-2 (5,-1,-4 + 5,3,2) | 10 | A | 0,2,-2 5 | 5,5,0 | 5 | A | -5,5,0 6 | 0,8,2 | 8 | B | 0,-2,2 7 | 5,1,4 | 5 | A | -5,1,4 8 | 0,4,6 | 6 | C | 0,4,-4 9 | 5,7,-2 | 7 | B | 5,-3,-2 10 | 10,0,0 | 10 | A | 0,0,0 至此结束: 可以看到负载轮询的策略是: A,B,C,A,A,B,A,C,B,A,
SmoothWeightSelector() - Constructor for class org.dromara.hutool.core.lang.selector.SmoothWeightSelector
构造
SmoothWeightSelector(Iterable<? extends WeightObj<T>>) - Constructor for class org.dromara.hutool.core.lang.selector.SmoothWeightSelector
构造
Snowflake - Class in org.dromara.hutool.core.data.id
Twitter的Snowflake 算法
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
Snowflake() - Constructor for class org.dromara.hutool.core.data.id.Snowflake
构造,使用自动生成的工作节点ID和数据中心ID
Snowflake(long) - Constructor for class org.dromara.hutool.core.data.id.Snowflake
构造
Snowflake(long, long) - Constructor for class org.dromara.hutool.core.data.id.Snowflake
构造
Snowflake(long, long, boolean) - Constructor for class org.dromara.hutool.core.data.id.Snowflake
构造
Snowflake(Date, long, long, boolean) - Constructor for class org.dromara.hutool.core.data.id.Snowflake
 
Snowflake(Date, long, long, boolean, long) - Constructor for class org.dromara.hutool.core.data.id.Snowflake
 
SoftConcurrentMap<K,V> - Class in org.dromara.hutool.core.map.reference
线程安全的SoftMap实现
键和值都为Soft引用,即,在GC报告内存不足时会被GC回收
SoftConcurrentMap() - Constructor for class org.dromara.hutool.core.map.reference.SoftConcurrentMap
构造
SoftConcurrentMap(ConcurrentMap<Ref<K>, Ref<V>>) - Constructor for class org.dromara.hutool.core.map.reference.SoftConcurrentMap
构造
SoftObj<T> - Class in org.dromara.hutool.core.lang.ref
软引用对象,在GC报告内存不足时会被GC回收
SoftObj(T, ReferenceQueue<? super T>) - Constructor for class org.dromara.hutool.core.lang.ref.SoftObj
构造
SolarTerms - Class in org.dromara.hutool.core.date.chinese
24节气相关信息
SolarTerms() - Constructor for class org.dromara.hutool.core.date.chinese.SolarTerms
 
sort(Collection<T>, Comparator<? super T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
排序集合,排序不会修改原集合
sort(List<T>, Comparator<? super T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
针对List排序,排序会修改原List
sort(Map<K, V>, Comparator<? super K>) - Static method in class org.dromara.hutool.core.collection.CollUtil
排序Map
sort(List<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
针对List自然排序,排序会修改原List
sort(List<T>, Comparator<? super T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
针对List排序,排序会修改原List
sort(Comparator<? super E>) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
sort(Map<K, V>) - Static method in class org.dromara.hutool.core.map.MapUtil
排序已有Map,Key有序的Map,使用默认Key排序方式(字母顺序)
sort(Map<K, V>, Comparator<? super K>) - Static method in class org.dromara.hutool.core.map.MapUtil
排序已有Map,Key有序的Map
sortByEntry(Map<K, V>, Comparator<Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.collection.CollUtil
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
sortByKey(Comparator<? super K>) - Method in class org.dromara.hutool.core.stream.EntryStream
根据键排序
sortByPinyin(Collection<String>) - Static method in class org.dromara.hutool.core.collection.CollUtil
根据汉字的拼音顺序排序
sortByPinyin(List<String>) - Static method in class org.dromara.hutool.core.collection.CollUtil
根据汉字的拼音顺序排序
sortByPinyin(List<String>) - Static method in class org.dromara.hutool.core.collection.ListUtil
根据汉字的拼音顺序排序
sortByProperty(Collection<T>, String) - Static method in class org.dromara.hutool.core.collection.CollUtil
根据Bean的属性排序
sortByProperty(List<T>, String) - Static method in class org.dromara.hutool.core.collection.CollUtil
根据Bean的属性排序
sortByProperty(List<T>, String) - Static method in class org.dromara.hutool.core.collection.ListUtil
根据Bean的属性排序
sortByValue(Map<K, V>, boolean) - Static method in class org.dromara.hutool.core.map.MapUtil
按照值排序,可选是否倒序
sortByValue(Comparator<? super V>) - Method in class org.dromara.hutool.core.stream.EntryStream
根据值排序
sorted() - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回一个元素按自然顺序排序的流 如果此流的元素不是Comparable ,则在执行终端操作时可能会抛出 java.lang.ClassCastException 对于顺序流,排序是稳定的。
sorted(Comparator<? super T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回一个元素按指定的Comparator排序的流 如果此流的元素不是Comparable ,则在执行终端操作时可能会抛出java.lang.ClassCastException 对于顺序流,排序是稳定的。
sortEntryToList(Collection<Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.collection.CollUtil
将Set排序(根据Entry的值)
sortJoin(Map<?, ?>, String, String, boolean, String...) - Static method in class org.dromara.hutool.core.map.MapUtil
根据参数排序后拼接为字符串,常用于签名
sortPageAll(int, int, Comparator<T>, Collection<T>...) - Static method in class org.dromara.hutool.core.collection.CollUtil
将多个集合排序并显示不同的段落(分页)
采用BoundedPriorityQueue实现分页取局部
sortToMap(Collection<Map.Entry<K, V>>, Comparator<Map.Entry<K, V>>) - Static method in class org.dromara.hutool.core.collection.CollUtil
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
source - Variable in class org.dromara.hutool.core.annotation.elements.HierarchicalAnnotatedElements
被包装的AnnotatedElement对象
source - Variable in class org.dromara.hutool.core.bean.copier.AbsCopier
来源对象
SPACE - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:空格符 ' '
SPACE - Static variable in class org.dromara.hutool.core.text.CharSequenceUtil
字符串常量:空格符 " "
span(BoundedRange<T>) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
获得包含当前区间与指定区间的最小的区间
span(BoundedRange<T>, BoundedRange<T>) - Static method in class org.dromara.hutool.core.lang.range.BoundedRangeOperation
获得包含当前区间与指定区间的最小的区间
SpecialConverter - Class in org.dromara.hutool.core.convert
特殊类型转换器,如果不符合特殊类型,则返回null继续其它转换规则
对于特殊对象(如集合、Map、Enum、数组)等的转换器,实现转换
注意:此类中的转换器查找是通过遍历方式
SpecialConverter(Converter) - Constructor for class org.dromara.hutool.core.convert.SpecialConverter
构造
spendMs(long) - Static method in class org.dromara.hutool.core.date.DateUtil
计时,常用于记录某段代码的执行时间,单位:毫秒
spendNt(long) - Static method in class org.dromara.hutool.core.date.DateUtil
计时,常用于记录某段代码的执行时间,单位:纳秒
SpiException - Exception in org.dromara.hutool.core.spi
SPI异常
SpiException(Throwable) - Constructor for exception org.dromara.hutool.core.spi.SpiException
构造
SpiException(String) - Constructor for exception org.dromara.hutool.core.spi.SpiException
构造
SpiException(String, Object...) - Constructor for exception org.dromara.hutool.core.spi.SpiException
构造
SpiException(String, Throwable) - Constructor for exception org.dromara.hutool.core.spi.SpiException
构造
SpiException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.spi.SpiException
构造
SpiException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.spi.SpiException
构造
SpiUtil - Class in org.dromara.hutool.core.spi
服务提供接口SPI(Service Provider interface)相关工具类
SpiUtil() - Constructor for class org.dromara.hutool.core.spi.SpiUtil
 
splice(List<T>, int, int, T...) - Static method in class org.dromara.hutool.core.collection.ListUtil
通过删除或替换现有元素或者原地添加新的元素来修改列表,并以列表形式返回被修改的内容。
splice(int, int, T...) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
通过删除或替换现有元素或者原地添加新的元素来修改列表,并以列表形式返回被修改的内容。
split(byte[], int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
拆分byte数组为几个等份(最后一份按照剩余长度分配空间)
split(CharSequence, String) - Static method in class org.dromara.hutool.core.stream.EasyStream
拆分字符串,转换为串行流
split(int) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
按指定长度切分为双层流 形如:[1,2,3,4,5] -> [[1,2], [3,4], [5,6]]
split(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
切分字符串,如果分隔符不存在则返回原字符串
此方法不会去除切分字符串后每个元素两边的空格,不忽略空串
split(CharSequence, CharSequence, boolean, boolean) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
切分字符串,不忽略大小写 os
split(CharSequence, CharSequence, int, boolean, boolean) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
切分字符串,不忽略大小写
split(CharSequence, CharSequence, int, boolean, boolean, boolean) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
切分字符串
如果提供的字符串为null,则返回一个空的ArrayList
如果提供的字符串为"",则当ignoreEmpty时返回空的ArrayList,否则返回只有一个""元素的ArrayList
split(CharSequence, CharSequence, int, boolean, boolean, Function<String, R>) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
切分字符串
如果提供的字符串为null,则返回一个空的ArrayList
如果提供的字符串为"",则当ignoreEmpty时返回空的ArrayList,否则返回只有一个""元素的ArrayList
splitByBlank(CharSequence) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
使用空白符切分字符串
切分后的字符串两边不包含空白符,空串或空白符串并不做为元素之一
如果为空字符串或者null 则返回空集合
splitByBlank(CharSequence, int) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
使用空白符切分字符串
切分后的字符串两边不包含空白符,空串或空白符串并不做为元素之一
如果为空字符串或者null 则返回空集合
splitByBlankToArray(CharSequence, int) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
切分字符串为字符串数组
splitByLength(CharSequence, int) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
根据给定长度,将给定字符串截取为多个部分
splitByRegex(CharSequence, String, int, boolean, boolean) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
通过正则切分字符串,规则如下: 当提供的str为null时,返回new ArrayList(0) 当提供的str为""时,返回[""] 当提供的separatorRegex为empty(null or "")时,返回[str],即只有原串一个元素的数组
splitByRegex(CharSequence, Pattern, int, boolean, boolean) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
通过正则切分字符串,规则如下: 当提供的str为null时,返回new ArrayList(0) 当提供的str为""时,返回[""] 当提供的separatorRegex为empty(null or "")时,返回[str],即只有原串一个元素的数组
splitByRegexToArray(CharSequence, Pattern, int, boolean, boolean) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
通过正则切分字符串为字符串数组
spliterator() - Method in class org.dromara.hutool.core.collection.ListWrapper
 
spliterator() - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
spliterator() - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
spliterator() - Method in class org.dromara.hutool.core.collection.TransCollection
 
spliterator() - Method in class org.dromara.hutool.core.lang.tuple.Tuple
 
spliterator() - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回流的拆分器
SpliteratorUtil - Class in org.dromara.hutool.core.collection
Spliterator相关工具类
SpliteratorUtil() - Constructor for class org.dromara.hutool.core.collection.SpliteratorUtil
 
SplitIter - Class in org.dromara.hutool.core.text.split
字符串切分迭代器
此迭代器是字符串切分的懒模式实现,实例化后不完成切分,只有调用ComputeIter.hasNext()或遍历时才完成切分
此迭代器非线程安全
SplitIter(CharSequence, TextFinder, int, boolean) - Constructor for class org.dromara.hutool.core.text.split.SplitIter
构造
splitList(int) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
按指定长度切分为元素为list的流 形如:[1,2,3,4,5] -> [[1,2], [3,4], [5,6]]
splitPath(CharSequence) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
切分路径字符串
如果为空字符串或者null 则返回空集合

空路径会被忽略
splitPath(CharSequence, int) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
切分路径字符串
如果为空字符串或者null 则返回空集合
空路径会被忽略
splitTo(CharSequence, CharSequence, Class<T>) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
切分字符串,去除切分后每个元素两边的空白符,去除空白项,并转为结果类型
splitToArray(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
切分字符串,如果分隔符不存在则返回原字符串
此方法不会去除切分字符串后每个元素两边的空格,不忽略空串
splitTrim(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
切分字符串,去除切分后每个元素两边的空白符,去除空白项
SplitUtil - Class in org.dromara.hutool.core.text.split
字符串切分器,封装统一的字符串分割静态方法
SplitUtil() - Constructor for class org.dromara.hutool.core.text.split.SplitUtil
 
SqlDateUtil - Class in org.dromara.hutool.core.date
java.sql.*日期时间相关封装
考虑到JDK9+模块化后,java.sql并非默认引入模块,因此将相关内容单独封装为工具,避免类找不到问题。
SqlDateUtil() - Constructor for class org.dromara.hutool.core.date.SqlDateUtil
 
sqrt(long) - Static method in class org.dromara.hutool.core.math.MathUtil
平方根算法
推荐使用 Math.sqrt(double)
src - Variable in class org.dromara.hutool.core.lang.copier.SrcToTargetCopier
SrcToTargetCopier<T,C extends SrcToTargetCopier<T,C>> - Class in org.dromara.hutool.core.lang.copier
复制器抽象类
抽象复制器抽象了一个对象复制到另一个对象,通过实现Copier.copy()方法实现复制逻辑。
SrcToTargetCopier() - Constructor for class org.dromara.hutool.core.lang.copier.SrcToTargetCopier
 
SSL - Static variable in interface org.dromara.hutool.core.net.ssl.SSLProtocols
Supports some version of SSL; may support other versions
SSLContextBuilder - Class in org.dromara.hutool.core.net.ssl
SSLContext构建器,可以自定义:
协议(protocol),默认TLS KeyManager,默认空 TrustManager,默认null SecureRandom,默认null 构建后可获得SSLContext,通过调用SSLContext.getSocketFactory()获取SSLSocketFactory
SSLContextBuilder() - Constructor for class org.dromara.hutool.core.net.ssl.SSLContextBuilder
 
SSLContextUtil - Class in org.dromara.hutool.core.net.ssl
SSL(Secure Sockets Layer 安全套接字协议)中的SSLContext相关工具封装
SSLContextUtil() - Constructor for class org.dromara.hutool.core.net.ssl.SSLContextUtil
 
SSLProtocols - Interface in org.dromara.hutool.core.net.ssl
SSL或TLS协议
SSLv2 - Static variable in interface org.dromara.hutool.core.net.ssl.SSLProtocols
Supports SSL version 2 or later; may support other versions
SSLv3 - Static variable in interface org.dromara.hutool.core.net.ssl.SSLProtocols
Supports SSL version 3; may support other versions
StackTraceCaller - Class in org.dromara.hutool.core.lang.caller
通过StackTrace方式获取调用者。
StackTraceCaller() - Constructor for class org.dromara.hutool.core.lang.caller.StackTraceCaller
 
StackTraceElementConverter - Class in org.dromara.hutool.core.convert.impl
StackTraceElement 转换器
只支持Map方式转换
StackTraceElementConverter() - Constructor for class org.dromara.hutool.core.convert.impl.StackTraceElementConverter
 
stacktraceToOneLineString(Throwable) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
堆栈转为单行完整字符串
stacktraceToOneLineString(Throwable, int) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
堆栈转为单行完整字符串
stacktraceToString(Throwable) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
堆栈转为完整字符串
stacktraceToString(Throwable, int) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
堆栈转为完整字符串
stacktraceToString(Throwable, int, Map<Character, String>) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
堆栈转为完整字符串
StampedCache<K,V> - Class in org.dromara.hutool.core.cache.impl
使用StampedLock保护的缓存,使用读写乐观锁
StampedCache() - Constructor for class org.dromara.hutool.core.cache.impl.StampedCache
 
standard() - Static method in interface org.dromara.hutool.core.annotation.RepeatableAnnotationCollector
当注解中有且仅有一个名为value的属性时, 若该属性类型为注解数组,且该数组对应的注解类型被Repeatable注解, 则收集器将返回该属性中包括的可重复注解。
start() - Method in class org.dromara.hutool.core.date.StopWatch
开始默认的新任务
start(String) - Method in class org.dromara.hutool.core.date.StopWatch
开始指定名称的新任务
start() - Method in class org.dromara.hutool.core.io.file.Tailer
开始监听
start(boolean) - Method in class org.dromara.hutool.core.io.file.Tailer
开始监听
start() - Method in interface org.dromara.hutool.core.io.StreamProgress
开始
start(int) - Method in class org.dromara.hutool.core.text.finder.CharFinder
 
start(int) - Method in class org.dromara.hutool.core.text.finder.CharMatcherFinder
 
start(int) - Method in interface org.dromara.hutool.core.text.finder.Finder
返回开始位置,即起始字符位置(包含),未找到返回-1
start(int) - Method in class org.dromara.hutool.core.text.finder.LengthFinder
 
start(int) - Method in class org.dromara.hutool.core.text.finder.PatternFinder
 
start(int) - Method in class org.dromara.hutool.core.text.finder.StrFinder
 
start() - Method in class org.dromara.hutool.core.thread.SyncFinisher
开始工作
执行此方法后如果不再重复使用此对象,需调用SyncFinisher.stop()关闭回收资源。
start(boolean) - Method in class org.dromara.hutool.core.thread.SyncFinisher
开始工作
执行此方法后如果不再重复使用此对象,需调用SyncFinisher.stop()关闭回收资源。
startWith(T[], T[]) - Static method in class org.dromara.hutool.core.array.ArrayUtil
array数组是否以prefix开头,每个元素的匹配使用ObjUtil.equals(Object, Object)匹配。
startWith(boolean[], boolean...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
array数组是否以prefix开头 array和prefix为同一个数组(即array == prefix),返回true array或prefix为空数组(null或length为0的数组),返回true prefix长度大于array,返回false
startWith(byte[], byte...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
array数组是否以prefix开头 array和prefix为同一个数组(即array == prefix),返回true array或prefix为空数组(null或length为0的数组),返回true prefix长度大于array,返回false
startWith(char[], char...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
array数组是否以prefix开头 array和prefix为同一个数组(即array == prefix),返回true array或prefix为空数组(null或length为0的数组),返回true prefix长度大于array,返回false
startWith(double[], double...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
array数组是否以prefix开头 array和prefix为同一个数组(即array == prefix),返回true array或prefix为空数组(null或length为0的数组),返回true prefix长度大于array,返回false
startWith(float[], float...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
array数组是否以prefix开头 array和prefix为同一个数组(即array == prefix),返回true array或prefix为空数组(null或length为0的数组),返回true prefix长度大于array,返回false
startWith(int[], int...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
array数组是否以prefix开头 array和prefix为同一个数组(即array == prefix),返回true array或prefix为空数组(null或length为0的数组),返回true prefix长度大于array,返回false
startWith(long[], long...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
array数组是否以prefix开头 array和prefix为同一个数组(即array == prefix),返回true array或prefix为空数组(null或length为0的数组),返回true prefix长度大于array,返回false
startWith(short[], short...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
array数组是否以prefix开头 array和prefix为同一个数组(即array == prefix),返回true array或prefix为空数组(null或length为0的数组),返回true prefix长度大于array,返回false
startWith(CharSequence, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
字符串是否以给定字符开始
startWith(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
是否以指定字符串开头
startWith(CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
startWith(CharSequence, CharSequence, boolean, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
CharSequenceUtil.startWith("123", "123", false, true); -- false CharSequenceUtil.startWith("ABCDEF", "abc", true, true); -- true CharSequenceUtil.startWith("abc", "abc", true, true); -- false
startWithAny(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串是否以任何一个字符串开始
给定字符串和数组为空都返回false
startWithAnyIgnoreCase(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串是否以任何一个字符串开始(忽略大小写)
给定字符串和数组为空都返回false
startWithIgnoreCase(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
是否以指定字符串开头,忽略大小写
startWithIgnoreEquals(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
是否以指定字符串开头,忽略相等字符串的情况
state(boolean, Supplier<String>) - Static method in class org.dromara.hutool.core.lang.Assert
检查boolean表达式,当检查结果为false时抛出 IllegalStateException
state(boolean, String, Object...) - Static method in class org.dromara.hutool.core.lang.Assert
检查boolean表达式,当检查结果为false时抛出 IllegalStateException
state(boolean) - Static method in class org.dromara.hutool.core.lang.Assert
检查boolean表达式,当检查结果为false时抛出 IllegalStateException
StatefulException - Exception in org.dromara.hutool.core.exception
带有状态码的异常
StatefulException() - Constructor for exception org.dromara.hutool.core.exception.StatefulException
构造
StatefulException(Throwable) - Constructor for exception org.dromara.hutool.core.exception.StatefulException
构造
StatefulException(String) - Constructor for exception org.dromara.hutool.core.exception.StatefulException
构造
StatefulException(String, Object...) - Constructor for exception org.dromara.hutool.core.exception.StatefulException
构造
StatefulException(String, Throwable) - Constructor for exception org.dromara.hutool.core.exception.StatefulException
构造
StatefulException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.exception.StatefulException
构造
StatefulException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.exception.StatefulException
构造
StatefulException(int, String) - Constructor for exception org.dromara.hutool.core.exception.StatefulException
构造
StatefulException(int, Throwable) - Constructor for exception org.dromara.hutool.core.exception.StatefulException
构造
StatefulException(int, String, Throwable) - Constructor for exception org.dromara.hutool.core.exception.StatefulException
 
step(T, T, int) - Method in interface org.dromara.hutool.core.lang.range.Range.Stepper
增加步进
增加步进后的返回值如果为null则表示步进结束
用户需根据end参数自行定义边界,当达到边界时返回null表示结束,否则Range中边界对象无效,会导致无限循环
stop() - Method in class org.dromara.hutool.core.date.StopWatch
停止当前任务
stop() - Method in class org.dromara.hutool.core.io.file.Tailer
结束,此方法需在异步模式或
stop() - Method in class org.dromara.hutool.core.thread.SyncFinisher
结束线程池。
stop(boolean) - Method in class org.dromara.hutool.core.thread.SyncFinisher
结束线程池。
STOP_WORD - Static variable in class org.dromara.hutool.core.text.dfa.StopChar
不需要处理的词,如标点符号、空格等
StopChar - Class in org.dromara.hutool.core.text.dfa
过滤词及一些简单处理
StopChar() - Constructor for class org.dromara.hutool.core.text.dfa.StopChar
 
StopWatch - Class in org.dromara.hutool.core.date
秒表封装
此工具用于存储一组任务的耗时时间,并一次性打印对比。
StopWatch() - Constructor for class org.dromara.hutool.core.date.StopWatch
构造,不启动任何任务
StopWatch(String) - Constructor for class org.dromara.hutool.core.date.StopWatch
构造,不启动任何任务
StopWatch(String, boolean) - Constructor for class org.dromara.hutool.core.date.StopWatch
构造,不启动任何任务
StopWatch.TaskInfo - Class in org.dromara.hutool.core.date
存放任务名称和花费时间对象
store(Long) - Method in class org.dromara.hutool.core.codec.hash.Simhash
按照(frac, 《simhash, content》)索引进行存储
str(Object, Charset) - Static method in class org.dromara.hutool.core.text.StrUtil
将对象转为字符串 1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、char[]会直接构造String 3、对象数组会调用Arrays.toString方法
str(byte[], Charset) - Static method in class org.dromara.hutool.core.text.StrUtil
解码字节码
str(Byte[], Charset) - Static method in class org.dromara.hutool.core.text.StrUtil
解码字节码
str(ByteBuffer, Charset) - Static method in class org.dromara.hutool.core.text.StrUtil
将编码的byteBuffer数据转换为字符串
stream() - Method in class org.dromara.hutool.core.collection.ListWrapper
 
stream() - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
stream() - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
stream() - Method in class org.dromara.hutool.core.lang.Opt
如果包裹里元素的值存在,就返回一个包含该元素的 Stream, 否则返回一个空元素的 Stream 该方法能将 Opt 中的元素传递给 Stream {@code Stream> os = ..
stream() - Method in class org.dromara.hutool.core.lang.tuple.Tuple
将元组转成流
stream - Variable in class org.dromara.hutool.core.stream.AbstractEnhancedWrappedStream
原始流实例
StreamCopier - Class in org.dromara.hutool.core.io.copy
StreamCopier() - Constructor for class org.dromara.hutool.core.io.copy.StreamCopier
构造
StreamCopier(int) - Constructor for class org.dromara.hutool.core.io.copy.StreamCopier
构造
StreamCopier(int, long) - Constructor for class org.dromara.hutool.core.io.copy.StreamCopier
构造
StreamCopier(int, long, StreamProgress) - Constructor for class org.dromara.hutool.core.io.copy.StreamCopier
构造
StreamProgress - Interface in org.dromara.hutool.core.io
Stream进度条
提供流拷贝进度监测,如开始、结束触发,以及进度回调。
StreamReader - Class in org.dromara.hutool.core.io.stream
InputStream读取器
StreamReader(InputStream, boolean) - Constructor for class org.dromara.hutool.core.io.stream.StreamReader
构造
StreamUtil - Class in org.dromara.hutool.core.stream
Stream 工具类
StreamUtil() - Constructor for class org.dromara.hutool.core.stream.StreamUtil
 
StreamWriter - Class in org.dromara.hutool.core.io.stream
OutputStream写出器
StreamWriter(OutputStream, boolean) - Constructor for class org.dromara.hutool.core.io.stream.StreamWriter
构造
strFast(char[]) - Static method in class org.dromara.hutool.core.text.StrUtil
JDK8中,通过String(char[] value, boolean share)这个内部构造创建String对象。
StrFinder - Class in org.dromara.hutool.core.text.finder
字符串查找器
StrFinder(CharSequence, boolean) - Constructor for class org.dromara.hutool.core.text.finder.StrFinder
构造
StrFormatter - Class in org.dromara.hutool.core.text.placeholder
字符串格式化工具
StrFormatter() - Constructor for class org.dromara.hutool.core.text.placeholder.StrFormatter
 
StrictBeanDesc - Class in org.dromara.hutool.core.bean
严格的Bean信息描述做为BeanInfo替代方案,此对象持有JavaBean中的setters和getters等相关信息描述,
在获取Bean属性的时候,要求字段必须存在并严格匹配。
StrictBeanDesc(Class<?>) - Constructor for class org.dromara.hutool.core.bean.StrictBeanDesc
构造
STRING_CREATOR_JDK8 - Static variable in class org.dromara.hutool.core.func.FunctionPool
通过String(char[] value, boolean share)这个内部构造生成一个Lambda函数
此函数通过传入char[],实现zero-copy的String创建,效率很高。
StringConverter - Class in org.dromara.hutool.core.convert.impl
字符串转换器,提供各种对象转换为字符串的逻辑封装
StringConverter() - Constructor for class org.dromara.hutool.core.convert.impl.StringConverter
 
StringIntern - Class in org.dromara.hutool.core.lang.intern
JDK中默认的字符串规范化实现
StringIntern() - Constructor for class org.dromara.hutool.core.lang.intern.StringIntern
 
StringResource - Class in org.dromara.hutool.core.io.resource
字符串资源,字符串做为资源
StringResource(String) - Constructor for class org.dromara.hutool.core.io.resource.StringResource
构造,使用UTF8编码
StringResource(String, String) - Constructor for class org.dromara.hutool.core.io.resource.StringResource
构造,使用UTF8编码
StringResource(String, String, Charset) - Constructor for class org.dromara.hutool.core.io.resource.StringResource
构造
StrInputStream - Class in org.dromara.hutool.core.io.stream
基于字符串的InputStream
StrInputStream(CharSequence, Charset) - Constructor for class org.dromara.hutool.core.io.stream.StrInputStream
构造
strip(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去除两边的指定字符串 "aaa_STRIPPED_bbb", "a" -> "aa_STRIPPED_bbb" "aaa_STRIPPED_bbb", "" -> "aaa_STRIPPED_bbb"
strip(CharSequence, CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去除两边的指定字符串
两边字符如果存在,则去除,不存在不做处理 "aaa_STRIPPED_bbb", "a", "b" -> "aa_STRIPPED_bb" "aaa_STRIPPED_bbb", null, null -> "aaa_STRIPPED_bbb" "aaa_STRIPPED_bbb", "", "" -> "aaa_STRIPPED_bbb" "aaa_STRIPPED_bbb", "", "b" -> "aaa_STRIPPED_bb" "aaa_STRIPPED_bbb", null, "b" -> "aaa_STRIPPED_bb" "aaa_STRIPPED_bbb", "a", "" -> "aa_STRIPPED_bbb" "aaa_STRIPPED_bbb", "a", null -> "aa_STRIPPED_bbb" "a", "a", "a" -> ""
strip(CharSequence, CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去除两边的指定字符串
两边字符如果存在,则去除,不存在不做处理 "aaa_STRIPPED_bbb", "a", "b" -> "aa_STRIPPED_bb" "aaa_STRIPPED_bbb", null, null -> "aaa_STRIPPED_bbb" "aaa_STRIPPED_bbb", "", "" -> "aaa_STRIPPED_bbb" "aaa_STRIPPED_bbb", "", "b" -> "aaa_STRIPPED_bb" "aaa_STRIPPED_bbb", null, "b" -> "aaa_STRIPPED_bb" "aaa_STRIPPED_bbb", "a", "" -> "aa_STRIPPED_bbb" "aaa_STRIPPED_bbb", "a", null -> "aa_STRIPPED_bbb" "a", "a", "a" -> ""
stripAll(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去除两边所有的指定字符串 "aaa_STRIPPED_bbb", "a" -> "_STRIPPED_bbb" "aaa_STRIPPED_bbb", "a", "b" -> "_STRIPPED_" "aaa_STRIPPED_bbb", "" -> "aaa_STRIPPED_bbb"
stripAll(CharSequence, CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去除两边所有的指定字符串 "aaa_STRIPPED_bbb", "a", "b" -> "_STRIPPED_" "aaa_STRIPPED_bbb", null, null -> "aaa_STRIPPED_bbb" "aaa_STRIPPED_bbb", "", "" -> "aaa_STRIPPED_bbb" "aaa_STRIPPED_bbb", "", "b" -> "aaa_STRIPPED_" "aaa_STRIPPED_bbb", null, "b" -> "aaa_STRIPPED_" "aaa_STRIPPED_bbb", "a", "" -> "_STRIPPED_bbb" "aaa_STRIPPED_bbb", "a", null -> "_STRIPPED_bbb" // special test "aaaaaabbb", "aaa", null -> "bbb" "aaaaaaabbb", "aa", null -> "abbb" "aaaaaaaaa", "aaa", "aa" -> "" "a", "a", "a" -> ""
stripAll(CharSequence, CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去除两边所有的指定字符串 "aaa_STRIPPED_bbb", "a", "b" -> "_STRIPPED_" "aaa_STRIPPED_bbb", null, null -> "aaa_STRIPPED_bbb" "aaa_STRIPPED_bbb", "", "" -> "aaa_STRIPPED_bbb" "aaa_STRIPPED_bbb", "", "b" -> "aaa_STRIPPED_" "aaa_STRIPPED_bbb", null, "b" -> "aaa_STRIPPED_" "aaa_STRIPPED_bbb", "a", "" -> "_STRIPPED_bbb" "aaa_STRIPPED_bbb", "a", null -> "_STRIPPED_bbb" // special test "aaaaaabbb", "aaa", null -> "bbb" "aaaaaaabbb", "aa", null -> "abbb" "aaaaaaaaa", "aaa", "aa" -> "" "a", "a", "a" -> ""
stripIgnoreCase(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去除两边的指定字符串,忽略大小写
stripIgnoreCase(CharSequence, CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去除两边的指定字符串,忽略大小写
StrJoiner - Class in org.dromara.hutool.core.text
字符串连接器(拼接器),通过给定的字符串和多个元素,拼接为一个字符串
相较于StringJoiner提供更加灵活的配置,包括: 支持任意Appendable接口实现 支持每个元素单独wrap 支持自定义null的处理逻辑 支持自定义默认结果
StrJoiner(CharSequence) - Constructor for class org.dromara.hutool.core.text.StrJoiner
构造
StrJoiner(Appendable, CharSequence) - Constructor for class org.dromara.hutool.core.text.StrJoiner
构造
StrJoiner(CharSequence, CharSequence, CharSequence) - Constructor for class org.dromara.hutool.core.text.StrJoiner
构造
StrJoiner(Appendable, CharSequence, CharSequence, CharSequence) - Constructor for class org.dromara.hutool.core.text.StrJoiner
构造
StrJoiner.NullMode - Enum in org.dromara.hutool.core.text
null处理的模式
StrLengthComparator - Class in org.dromara.hutool.core.comparator
字符串长度比较器,短在前
StrLengthComparator() - Constructor for class org.dromara.hutool.core.comparator.StrLengthComparator
 
StrMatcher - Class in org.dromara.hutool.core.text.placeholder
字符串模式匹配,使用${XXXXX}作为变量,例如: pattern: ${name}-${age}-${gender}-${country}-${province}-${city}-${status} text: "小明-19-男-中国-河南-郑州-已婚" result: {name=小明, age=19, gender=男, country=中国, province=河南, city=郑州, status=已婚}
StrMatcher(String) - Constructor for class org.dromara.hutool.core.text.placeholder.StrMatcher
构造
StrongObj<T> - Class in org.dromara.hutool.core.lang.ref
弱引用对象,在GC时发现弱引用会回收其对象
StrongObj(T) - Constructor for class org.dromara.hutool.core.lang.ref.StrongObj
构造
StrPool - Interface in org.dromara.hutool.core.text
常用字符串常量定义
StrRegionMatcher - Class in org.dromara.hutool.core.text
字符串区域匹配器,用于匹配字串是头部匹配还是尾部匹配,亦或者是某个位置的匹配。
StrRegionMatcher(boolean, boolean, boolean) - Constructor for class org.dromara.hutool.core.text.StrRegionMatcher
构造
StrRegionMatcher(boolean, boolean, int) - Constructor for class org.dromara.hutool.core.text.StrRegionMatcher
构造
StrRepeater - Class in org.dromara.hutool.core.text
字符串或字符重复器
用于将给定字符串或字符赋值count次,然后拼接
StrRepeater(int) - Constructor for class org.dromara.hutool.core.text.StrRepeater
构造
StrReplacer - Class in org.dromara.hutool.core.text.replacer
抽象字符串替换类
通过实现replace方法实现局部替换逻辑
StrReplacer() - Constructor for class org.dromara.hutool.core.text.replacer.StrReplacer
 
StrStripper - Class in org.dromara.hutool.core.text
字符串裁剪器,用于裁剪字符串前后缀
强调去除两边或某一边的指定字符串,如果一边不存在,另一边不影响去除
StrStripper(CharSequence, CharSequence, boolean, boolean) - Constructor for class org.dromara.hutool.core.text.StrStripper
构造
StrTemplate - Class in org.dromara.hutool.core.text.placeholder
字符串模板 格式化 和 反解析 抽象父类
StrTemplate(String, char, String, UnaryOperator<String>, int) - Constructor for class org.dromara.hutool.core.text.placeholder.StrTemplate
构造
StrTemplate.AbstractBuilder<BuilderChild extends StrTemplate.AbstractBuilder<BuilderChild,TemplateChild>,TemplateChild extends StrTemplate> - Class in org.dromara.hutool.core.text.placeholder
抽象Builder
StrTemplate.Feature - Enum in org.dromara.hutool.core.text.placeholder
格式化 和 解析 策略 同组内的策略是互斥的,一但设置为组内的某个新策略,就会清除之前的同组策略,仅保留新策略
StrTemplateSegment - Interface in org.dromara.hutool.core.text.placeholder.segment
字符串模板-抽象 Segment
strToUnicode(String) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
String的字符串转换成unicode的String
StrTrimer - Class in org.dromara.hutool.core.text
字符串头尾指定字符去除器
按照断言,除去字符串头尾部的断言为真的字符,如果字符串是null,依然返回null
StrTrimer(StrTrimer.TrimMode, Predicate<Character>) - Constructor for class org.dromara.hutool.core.text.StrTrimer
构造
StrTrimer.TrimMode - Enum in org.dromara.hutool.core.text
去除模式
StrUtil - Class in org.dromara.hutool.core.text
字符串工具类
此工具主要针对单个字符串的操作 本工具类,v6.x进行了拆分。
StrUtil() - Constructor for class org.dromara.hutool.core.text.StrUtil
 
StrValidator - Class in org.dromara.hutool.core.text
字符串检查工具类,提供字符串的blank和empty等检查
empty定义:null or 空字符串:"" blank定义:null or 空字符串:"" or 空格、全角空格、制表符、换行符,等不可见字符
StrValidator() - Constructor for class org.dromara.hutool.core.text.StrValidator
 
sub(T[], int, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
获取子数组
sub(A, int, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
获取子数组
sub(A, int, int, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
获取子数组
sub(byte[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
获取子数组 位置可以为负数,例如 -1 代表 数组最后一个元素的位置 如果 开始位置 大于 结束位置,会自动交换 如果 结束位置 大于 数组长度,会变为数组长度
sub(int[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
获取子数组 位置可以为负数,例如 -1 代表 数组最后一个元素的位置 如果 开始位置 大于 结束位置,会自动交换 如果 结束位置 大于 数组长度,会变为数组长度
sub(long[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
获取子数组 位置可以为负数,例如 -1 代表 数组最后一个元素的位置 如果 开始位置 大于 结束位置,会自动交换 如果 结束位置 大于 数组长度,会变为数组长度
sub(short[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
获取子数组 位置可以为负数,例如 -1 代表 数组最后一个元素的位置 如果 开始位置 大于 结束位置,会自动交换 如果 结束位置 大于 数组长度,会变为数组长度
sub(char[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
获取子数组 位置可以为负数,例如 -1 代表 数组最后一个元素的位置 如果 开始位置 大于 结束位置,会自动交换 如果 结束位置 大于 数组长度,会变为数组长度
sub(double[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
获取子数组 位置可以为负数,例如 -1 代表 数组最后一个元素的位置 如果 开始位置 大于 结束位置,会自动交换 如果 结束位置 大于 数组长度,会变为数组长度
sub(float[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
获取子数组 位置可以为负数,例如 -1 代表 数组最后一个元素的位置 如果 开始位置 大于 结束位置,会自动交换 如果 结束位置 大于 数组长度,会变为数组长度
sub(boolean[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
获取子数组 位置可以为负数,例如 -1 代表 数组最后一个元素的位置 如果 开始位置 大于 结束位置,会自动交换 如果 结束位置 大于 数组长度,会变为数组长度
sub(List<T>, int, int) - Static method in class org.dromara.hutool.core.collection.CollUtil
截取列表的部分
sub(List<T>, int, int, int) - Static method in class org.dromara.hutool.core.collection.CollUtil
截取列表的部分
sub(Collection<T>, int, int) - Static method in class org.dromara.hutool.core.collection.CollUtil
截取集合的部分
sub(Collection<T>, int, int, int) - Static method in class org.dromara.hutool.core.collection.CollUtil
截取集合的部分
sub(List<T>, int, int) - Static method in class org.dromara.hutool.core.collection.ListUtil
截取集合的部分
sub(List<T>, int, int, int) - Static method in class org.dromara.hutool.core.collection.ListUtil
截取集合的部分
此方法与List.subList(int, int) 不同在于子列表是新的副本,操作子列表不会影响原列表。
sub(int, int) - Method in class org.dromara.hutool.core.lang.tuple.Tuple
截取元组指定部分
sub(Number...) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供精确的减法运算
如果传入多个值为null或者空,则返回0
sub(String...) - Static method in class org.dromara.hutool.core.math.NumberUtil
提供精确的减法运算
如果传入多个值为null或者空,则返回0
sub(CharSequence, int, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
改进JDK subString,规则如下: index从0开始计算,最后一个字符为-1,即sub("hutool", 0, -1)得到"hutoo" 如果from和to位置一样,返回 "" 如果from或to为负数,则按照length从后向前数位置,如果绝对值大于字符串长度,则from归到0,to归到length 如果经过修正的index中from大于to,则互换from和to,如abcdefgh 2 3 =》 c,abcdefgh 2 -3 =》 cde
SUB_DELIMS - Static variable in class org.dromara.hutool.core.net.url.RFC3986
sub-delims = "!"
subAfter(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
获取手机号后4位
subAfter(CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下: subAfter(null, *, false) = null subAfter("", *, false) = "" subAfter(*, null, false) = "" subAfter("abc", "a", false) = "bc" subAfter("abcba", "b", false) = "cba" subAfter("abc", "c", false) = "" subAfter("abc", "d", false) = "" subAfter("abc", "", false) = "abc"
subAfter(CharSequence, char, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下: subAfter(null, *, false) = null subAfter("", *, false) = "" subAfter("abc", 'a', false) = "bc" subAfter("abcba", 'b', false) = "cba" subAfter("abc", 'c', false) = "" subAfter("abc", 'd', false) = ""
subAtLeast(T) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
截取当前区间中大于等于min的部分,若min不在该区间中,则返回当前区间本身
subAtLeast(BoundedRange<T>, T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRangeOperation
截取当前区间中大于等于min的部分,若min不在该区间中,则返回当前区间本身
subAtMost(T) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
截取当前区间中小于等于max的部分,若max不在该区间中,则返回当前区间本身
subAtMost(BoundedRange<T>, T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRangeOperation
截取当前区间中小于等于max的部分,若max不在该区间中,则返回当前区间本身
subBefore(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
获取手机号前3位
subBefore(CharSequence, CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串为空串"",则返回空串,如果分隔字符串未找到,返回原字符串,举例如下: subBefore(null, *, false) = null subBefore("", *, false) = "" subBefore("abc", "a", false) = "" subBefore("abcba", "b", false) = "a" subBefore("abc", "c", false) = "ab" subBefore("abc", "d", false) = "abc" subBefore("abc", "", false) = "" subBefore("abc", null, false) = "abc"
subBefore(CharSequence, char, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串未找到,返回原字符串,举例如下: subBefore(null, *, false) = null subBefore("", *, false) = "" subBefore("abc", 'a', false) = "" subBefore("abcba", 'b', false) = "a" subBefore("abc", 'c', false) = "ab" subBefore("abc", 'd', false) = "abc"
subBetween(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
获取手机号中间4位
subBetween(CharSequence, CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取指定字符串中间部分,不包括标识字符串
栗子: subBetween("wx[b]yz", "[", "]") = "b" subBetween(null, *, *) = null subBetween(*, null, *) = null subBetween(*, *, null) = null subBetween("", "", "") = "" subBetween("", "", "]") = null subBetween("", "[", "]") = null subBetween("yabcz", "", "") = "" subBetween("yabcz", "y", "z") = "abc" subBetween("yabczyabcz", "y", "z") = "abc"
subBetween(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取指定字符串中间部分,不包括标识字符串
栗子: subBetween(null, *) = null subBetween("", "") = "" subBetween("", "tag") = null subBetween("tagabctag", null) = null subBetween("tagabctag", "") = "" subBetween("tagabctag", "tag") = "abc"
subBetweenAll(CharSequence, CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取指定字符串多段中间部分,不包括标识字符串
栗子: subBetweenAll("wx[b]y[z]", "[", "]") = ["b","z"] subBetweenAll(null, *, *) = [] subBetweenAll(*, null, *) = [] subBetweenAll(*, *, null) = [] subBetweenAll("", "", "") = [] subBetweenAll("", "", "]") = [] subBetweenAll("", "[", "]") = [] subBetweenAll("yabcz", "", "") = [] subBetweenAll("yabcz", "y", "z") = ["abc"] subBetweenAll("yabczyabcz", "y", "z") = ["abc","abc"] subBetweenAll("[yabc[zy]abcz]", "[", "]"); = ["zy"] 重叠时只截取内部,
subBetweenAll(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取指定字符串多段中间部分,不包括标识字符串
栗子: subBetweenAll(null, *) = [] subBetweenAll(*, null) = [] subBetweenAll(*, *) = [] subBetweenAll("", "") = [] subBetweenAll("", "#") = [] subBetweenAll("gotanks", "") = [] subBetweenAll("#gotanks#", "#") = ["gotanks"] subBetweenAll("#hello# #world#!"
subByCodePoint(CharSequence, int, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
通过CodePoint截取字符串,可以截断Emoji
subByLength(String, int, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取字符串,从指定位置开始,截取指定长度的字符串
当fromIndex为正数时,这个index指的是插空位置,如下: 0 1 2 3 4 A B C D 当fromIndex为负数时,为反向插空位置,其中-1表示最后一个字符之前的位置: -3 -2 -1 length A B C D
subGreatThan(T) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
截取当前区间中大于min的部分,若min不在该区间中,则返回当前区间本身
subGreatThan(BoundedRange<T>, T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRangeOperation
截取当前区间中大于min的部分,若min不在该区间中,则返回当前区间本身
subLessThan(T) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
截取当前区间中小于max的部分,若max不在该区间中,则返回当前区间本身
subLessThan(BoundedRange<T>, T) - Static method in class org.dromara.hutool.core.lang.range.BoundedRangeOperation
截取当前区间中小于max的部分,若max不在该区间中,则返回当前区间本身
subList(int, int) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
submit(Runnable) - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
submit(Callable<T>) - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
submit(Runnable, T) - Method in class org.dromara.hutool.core.thread.DelegatedExecutorService
 
submit(Callable<T>) - Static method in class org.dromara.hutool.core.thread.GlobalThreadPool
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
submit(Runnable) - Static method in class org.dromara.hutool.core.thread.GlobalThreadPool
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
subPath(String, File) - Static method in class org.dromara.hutool.core.io.file.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) - Static method in class org.dromara.hutool.core.io.file.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/ =》 ""
subPath(Path, int, int) - Static method in class org.dromara.hutool.core.io.file.PathUtil
获取指定位置的子路径部分,支持负数,例如起始为-1表示从后数第一个节点位置
subPre(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
切割指定位置之前部分的字符串 安全的subString,允许:string为null,允许string长度小于toIndexExclude长度 assertEquals(subPre(null, 3), null); assertEquals(subPre("ab", 3), "ab"); assertEquals(subPre("abc", 3), "abc"); assertEquals(subPre("abcd", 3), "abc"); assertEquals(subPre("abcd", -3), "a"); assertEquals(subPre("ab", 3), "ab");
subPreGbk(CharSequence, int, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取部分字符串,这里一个汉字的长度认为是2
subPreGbk(CharSequence, int, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
截取部分字符串,这里一个汉字的长度认为是2
可以自定义halfUp,如len为10,如果截取后最后一个字符是半个字符,true表示保留,则长度是11,否则长度9
subSequence(int, int) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
 
subSequence(int, int) - Method in class org.dromara.hutool.core.text.CharArray
 
subSuf(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
切割指定位置之后部分的字符串,规则如下: fromIndex为0或字符串为空,返回原字符串 fromIndex大于字符串本身的长度,返回"" fromIndex支持负数,-1表示length-1
subSufByLength(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
切割指定长度的后部分的字符串 subSufByLength("abcde", 3) = "cde" subSufByLength("abcde", 0) = "" subSufByLength("abcde", -5) = "" subSufByLength("abcde", -1) = "" subSufByLength("abcde", 5) = "abcde" subSufByLength("abcde", 10) = "abcde" subSufByLength(null, 3) = null
subTelAfter(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
获取固话号码中的号码
subTelBefore(CharSequence) - Static method in class org.dromara.hutool.core.data.PhoneUtil
获取固话号码中的区号
subtract() - Method in class org.dromara.hutool.core.collection.CollectionOperation
计算集合的单差集,即只返回【集合1】中有,但是【集合2】、【集合3】...中没有的元素,例如: subtract([1,2,3,4],[2,3,4,5]) -》 [1]
subtract(Collection<T>, Collection<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
计算集合的单差集,即只返回【集合1】中有,但是【集合2】中没有的元素,例如: subtract([1,2,3,4],[2,3,4,5]) -》 [1]
subtract(byte) - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
减去值
subtract(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
减去值
subtract(double) - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
减去值
subtract(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
减去值
subtract(float) - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
减去值
subtract(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
减去值
subtract(int) - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
减去值
subtract(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
减去值
subtract(long) - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
减去值
subtract(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
减去值
subtract(short) - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
减去值
subtract(Number) - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
减去值
subtract(Money) - Method in class org.dromara.hutool.core.math.Money
货币减法。
subtractFrom(Money) - Method in class org.dromara.hutool.core.math.Money
货币累减。
subtractToList(Collection<T>, Collection<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
计算集合的单差集,即只返回【集合1】中有,但是【集合2】中没有的元素,例如: subtractToList([1,2,3,4],[2,3,4,5]) -》 [1]
suffix - Variable in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate.Builder
占位符后缀,默认为 NamedPlaceholderStrTemplate.DEFAULT_SUFFIX 不能为空字符串
suffix(String) - Method in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate.Builder
设置 占位符后缀
suffix - Variable in class org.dromara.hutool.core.text.placeholder.template.NamedPlaceholderStrTemplate
占位符后缀,默认为: NamedPlaceholderStrTemplate.DEFAULT_SUFFIX
sum(ToIntFunction<? super T>) - Method in class org.dromara.hutool.core.stream.EasyStream
计算int类型的总和
sum(ToLongFunction<? super T>) - Method in class org.dromara.hutool.core.stream.EasyStream
计算long类型的总和
sum(ToDoubleFunction<? super T>) - Method in class org.dromara.hutool.core.stream.EasyStream
计算double类型的总和
sum(Function<? super T, R>) - Method in class org.dromara.hutool.core.stream.EasyStream
计算 Number 类型的总和
supplier() - Method in class org.dromara.hutool.core.stream.SimpleCollector
 
swap(T[], int, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
交换数组中两个位置的值
swap(Object, int, int) - Static method in class org.dromara.hutool.core.array.ArrayUtil
交换数组中两个位置的值
swap(int[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
交换数组中两个位置的值
swap(long[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
交换数组中两个位置的值
swap(double[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
交换数组中两个位置的值
swap(float[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
交换数组中两个位置的值
swap(boolean[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
交换数组中两个位置的值
swap(byte[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
交换数组中两个位置的值
swap(char[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
交换数组中两个位置的值
swap(short[], int, int) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
交换数组中两个位置的值
swapCase(String) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
切换给定字符串中的大小写。
swapCase(String) - Static method in class org.dromara.hutool.core.text.NamingCase
切换给定字符串中的大小写。
swapElement(List<T>, T, T) - Static method in class org.dromara.hutool.core.collection.ListUtil
将指定元素交换到指定元素位置,其他元素的索引值不变
交换会修改原List
如果集合中有多个相同元素,只交换第一个找到的元素
swapTo(List<T>, T, Integer) - Static method in class org.dromara.hutool.core.collection.ListUtil
将指定元素交换到指定索引位置,其他元素的索引值不变
交换会修改原List
如果集合中有多个相同元素,只交换第一个找到的元素
sync() - Method in class org.dromara.hutool.core.io.stream.SyncInputStream
同步数据到内存
sync(Object) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
阻塞当前线程,保证在main方法中执行不被退出
SyncFinisher - Class in org.dromara.hutool.core.thread
线程同步结束器
在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。
SyncFinisher(int) - Constructor for class org.dromara.hutool.core.thread.SyncFinisher
构造
SyncFinisher.Worker - Class in org.dromara.hutool.core.thread
工作者,为一个线程
SyncInputStream - Class in org.dromara.hutool.core.io.stream
同步流,可将包装的流同步为ByteArrayInputStream,以便持有内容并关闭原流
SyncInputStream(InputStream, long, boolean, boolean) - Constructor for class org.dromara.hutool.core.io.stream.SyncInputStream
构造
如果isAsync为true,则直接持有原有流,false,则将流中内容,按照给定length读到ByteArrayInputStream中备用
systemCharset() - Static method in class org.dromara.hutool.core.util.CharsetUtil
系统字符集编码,如果是Windows,则默认为GBK编码,否则取 CharsetUtil.defaultCharsetName()
systemCharsetName() - Static method in class org.dromara.hutool.core.util.CharsetUtil
系统字符集编码,如果是Windows,则默认为GBK编码,否则取 CharsetUtil.defaultCharsetName()
SystemClock - Class in org.dromara.hutool.core.date
系统时钟
高并发场景下System.currentTimeMillis()的性能问题的优化 System.currentTimeMillis()的调用比new一个普通对象要耗时的多(具体耗时高出多少我还没测试过,有人说是100倍左右) System.currentTimeMillis()之所以慢是因为去跟系统打了一次交道 后台定时更新时钟,JVM退出时,线程自动回收 see: http://git.oschina.net/yu120/sequence
SystemClock(long) - Constructor for class org.dromara.hutool.core.date.SystemClock
构造
SystemUtil - Class in org.dromara.hutool.core.util
系统属性工具
此工具用于读取系统属性或环境变量信息,封装包括: System.getProperty(String) System.getenv(String)
SystemUtil() - Constructor for class org.dromara.hutool.core.util.SystemUtil
 

T

TAB - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:制表符 '\t'
TAB - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:制表符 "\t"
TABLE - Static variable in class org.dromara.hutool.core.codec.Caesar
26个字母表
table(ConsoleTable) - Static method in class org.dromara.hutool.core.lang.Console
打印表格到控制台
Table<R,C,V> - Interface in org.dromara.hutool.core.map.multi
表格数据结构定义
此结构类似于Guava的Table接口,使用两个键映射到一个值,类似于表格结构。
Table.Cell<R,C,V> - Interface in org.dromara.hutool.core.map.multi
单元格,用于表示一个单元格的行、列和值
TableMap<K,V> - Class in org.dromara.hutool.core.map
可重复键和值的Map
通过键值单独建立List方式,使键值对一一对应,实现正向和反向两种查找
无论是正向还是反向,都是遍历列表查找过程,相比标准的HashMap要慢,数据越多越慢
TableMap() - Constructor for class org.dromara.hutool.core.map.TableMap
构造
TableMap(int) - Constructor for class org.dromara.hutool.core.map.TableMap
构造
TableMap(K[], V[]) - Constructor for class org.dromara.hutool.core.map.TableMap
构造
tagetString - Variable in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
 
tail(File, SerConsumer<String>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
tail(File, Charset, SerConsumer<String>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
tail(File, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
Tailer - Class in org.dromara.hutool.core.io.file
文件内容跟随器,实现类似Linux下"tail -f"命令功能
Tailer(File, SerConsumer<String>) - Constructor for class org.dromara.hutool.core.io.file.Tailer
构造,默认UTF-8编码
Tailer(File, SerConsumer<String>, int) - Constructor for class org.dromara.hutool.core.io.file.Tailer
构造,默认UTF-8编码
Tailer(File, Charset, SerConsumer<String>) - Constructor for class org.dromara.hutool.core.io.file.Tailer
构造
Tailer(File, Charset, SerConsumer<String>, int, long) - Constructor for class org.dromara.hutool.core.io.file.Tailer
构造
Tailer.ConsoleLineHandler - Class in org.dromara.hutool.core.io.file
命令行打印的行处理器
take() - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
 
takeWhile(Stream<T>, Predicate<? super T>) - Static method in class org.dromara.hutool.core.stream.StreamUtil
保留 与指定断言 匹配时的元素, 在第一次不匹配时终止, 抛弃当前(第一个不匹配元素)及后续所有元素 与 jdk9 中的 takeWhile 方法不太一样, 这里的实现是个 顺序的、有状态的中间操作 本环节中是顺序执行的, 但是后续操作可以支持并行流 但是不建议在并行流中使用, 除非你确定 takeWhile 之后的操作能在并行流中受益很多
takeWhile(Predicate<? super T>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
遍历流中与断言匹配的元素,当遇到第一个不匹配的元素时终止,返回由匹配的元素组成的流。
TakeWhileSpliterator<T> - Class in org.dromara.hutool.core.stream.spliterators
takeWhile 的 Spliterator 借鉴自StreamEx
target - Variable in class org.dromara.hutool.core.bean.copier.AbsCopier
目标对象
target - Variable in class org.dromara.hutool.core.lang.copier.SrcToTargetCopier
目标
TEL - Static variable in class org.dromara.hutool.core.regex.PatternPool
座机号码
TEL - Static variable in interface org.dromara.hutool.core.regex.RegexPool
座机号码
pr#387@Gitee
TEL_400_800 - Static variable in class org.dromara.hutool.core.regex.PatternPool
座机号码+400+800电话
TEL_400_800 - Static variable in interface org.dromara.hutool.core.regex.RegexPool
座机号码+400+800电话
template - Variable in class org.dromara.hutool.core.text.placeholder.StrTemplate.AbstractBuilder
字符串模板
TemporalAccessorConverter - Class in org.dromara.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() - Constructor for class org.dromara.hutool.core.convert.impl.TemporalAccessorConverter
构造
TemporalAccessorConverter(String) - Constructor for class org.dromara.hutool.core.convert.impl.TemporalAccessorConverter
构造
TemporalAccessorUtil - Class in org.dromara.hutool.core.date
TemporalAccessor 工具类封装
TemporalAccessorUtil() - Constructor for class org.dromara.hutool.core.date.TemporalAccessorUtil
 
TemporalUtil - Class in org.dromara.hutool.core.date
Temporal 工具类封装
TemporalUtil() - Constructor for class org.dromara.hutool.core.date.TemporalUtil
 
TerminableWrappedStream<T,S extends TerminableWrappedStream<T,S>> - Interface in org.dromara.hutool.core.stream
WrappedStream的扩展,用于为实现类提供更多终端操作方法的增强接口, 该接口提供的方法,返回值类型都不为Stream
test(CharSequence) - Method in class org.dromara.hutool.core.date.format.parser.DefaultRegexDateParser
 
test(CharSequence) - Method in class org.dromara.hutool.core.date.format.parser.TimeParser
 
test(T, U) - Method in interface org.dromara.hutool.core.func.SerBiPredicate
Evaluates this predicate on the given arguments.
test(T) - Method in interface org.dromara.hutool.core.func.SerPredicate
Evaluates this predicate on the given argument.
test(byte[]) - Method in class org.dromara.hutool.core.io.ByteOrderMark
是否匹配头部BOM信息
当提供的长度小于BOM需要检查的长度时,返回{code false}
test(Predicate<T>) - Method in interface org.dromara.hutool.core.lang.mutable.Mutable
检查值是否满足条件
test(T) - Method in interface org.dromara.hutool.core.lang.range.Bound
检验指定值是否在当前边界表示的范围内
test(CharSequence, CharSequence) - Method in class org.dromara.hutool.core.text.StrRegionMatcher
 
test(Runnable) - Method in class org.dromara.hutool.core.thread.ConcurrencyTester
执行测试
执行测试后不会关闭线程池,可以调用ConcurrencyTester.close()释放线程池
testing(T, U) - Method in interface org.dromara.hutool.core.func.SerBiPredicate
Evaluates this predicate on the given arguments.
testing(T) - Method in interface org.dromara.hutool.core.func.SerPredicate
Evaluates this predicate on the given argument.
testing(T) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
指定值是否在当前区间内
testPropertyFilter(Field, Object) - Method in class org.dromara.hutool.core.bean.copier.CopyOptions
测试是否保留字段,true保留,false不保留
text() - Method in interface org.dromara.hutool.core.lang.EnumItem
在中文语境下,多数时间枚举会配合一个中文说明
text - Variable in class org.dromara.hutool.core.text.finder.TextFinder
文本
TextFinder - Class in org.dromara.hutool.core.text.finder
文本查找抽象类
TextFinder() - Constructor for class org.dromara.hutool.core.text.finder.TextFinder
 
TextSimilarity - Class in org.dromara.hutool.core.text
文本相似度计算
工具类提供者:【杭州】fineliving
TextSimilarity() - Constructor for class org.dromara.hutool.core.text.TextSimilarity
 
thenComparing(Comparator<? super T>) - Method in class org.dromara.hutool.core.comparator.NullComparator
 
thisDayOfMonth() - Static method in class org.dromara.hutool.core.date.DateUtil
 
thisDayOfWeek() - Static method in class org.dromara.hutool.core.date.DateUtil
 
thisDayOfWeekEnum() - Static method in class org.dromara.hutool.core.date.DateUtil
 
thisHour(boolean) - Static method in class org.dromara.hutool.core.date.DateUtil
 
thisMillisecond() - Static method in class org.dromara.hutool.core.date.DateUtil
 
thisMinute() - Static method in class org.dromara.hutool.core.date.DateUtil
 
thisMonth() - Static method in class org.dromara.hutool.core.date.DateUtil
 
thisMonthEnum() - Static method in class org.dromara.hutool.core.date.DateUtil
 
thisSecond() - Static method in class org.dromara.hutool.core.date.DateUtil
 
thisWeekOfMonth() - Static method in class org.dromara.hutool.core.date.DateUtil
 
thisWeekOfYear() - Static method in class org.dromara.hutool.core.date.DateUtil
 
thisYear() - Static method in class org.dromara.hutool.core.date.DateUtil
 
ThreadException - Exception in org.dromara.hutool.core.thread
线程异常
ThreadException(Throwable) - Constructor for exception org.dromara.hutool.core.thread.ThreadException
构造
ThreadException(String) - Constructor for exception org.dromara.hutool.core.thread.ThreadException
构造
ThreadException(String, Object...) - Constructor for exception org.dromara.hutool.core.thread.ThreadException
构造
ThreadException(String, Throwable) - Constructor for exception org.dromara.hutool.core.thread.ThreadException
构造
ThreadException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.thread.ThreadException
构造
ThreadException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.thread.ThreadException
构造
ThreadFactoryBuilder - Class in org.dromara.hutool.core.thread
ThreadFactory创建器
参考:Guava的ThreadFactoryBuilder
ThreadFactoryBuilder() - Constructor for class org.dromara.hutool.core.thread.ThreadFactoryBuilder
 
ThreadUtil - Class in org.dromara.hutool.core.thread
线程池工具
ThreadUtil() - Constructor for class org.dromara.hutool.core.thread.ThreadUtil
 
tianlHash(String) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
TianL Hash算法
time(Date) - Static method in class org.dromara.hutool.core.date.SqlDateUtil
/** 转为Time
TIME - Static variable in class org.dromara.hutool.core.regex.PatternPool
时间正则
TIME - Static variable in interface org.dromara.hutool.core.regex.RegexPool
时间正则
TimedCache<K,V> - Class in org.dromara.hutool.core.cache.impl
定时缓存
此缓存没有容量限制,对象只有在过期后才会被移除
TimedCache(long) - Constructor for class org.dromara.hutool.core.cache.impl.TimedCache
构造
TimedCache(long, Map<Mutable<K>, CacheObj<K, V>>) - Constructor for class org.dromara.hutool.core.cache.impl.TimedCache
构造
timeout() - Method in interface org.dromara.hutool.core.cache.Cache
缓存失效时长, 0 表示没有设置,单位毫秒
timeout - Variable in class org.dromara.hutool.core.cache.file.AbstractFileCache
默认超时时间,0表示无默认超时
timeout() - Method in class org.dromara.hutool.core.cache.file.AbstractFileCache
 
timeout - Variable in class org.dromara.hutool.core.cache.impl.AbstractCache
缓存失效时长, 0 表示无限制,单位毫秒
timeout() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
timeout() - Method in class org.dromara.hutool.core.cache.impl.NoCache
 
TimeParser - Class in org.dromara.hutool.core.date.format.parser
时间日期字符串,日期默认为当天,支持格式类似于; HH:mm:ss HH:mm
TimeParser() - Constructor for class org.dromara.hutool.core.date.format.parser.TimeParser
 
timestamp() - Method in class org.dromara.hutool.core.data.id.UUID
与此 UUID 相关联的时间戳值。
timestamp(Date) - Static method in class org.dromara.hutool.core.date.SqlDateUtil
转为Timestamp
timeToSecond(String) - Static method in class org.dromara.hutool.core.date.DateUtil
HH:mm:ss 时间格式字符串转为秒数
参考:https://github.com/iceroot
TimeUtil - Class in org.dromara.hutool.core.date
JDK8+中的java.time 工具类封装
LocalDateTime表示一个本地时间,他始终表示当前时区的时间。
TimeUtil() - Constructor for class org.dromara.hutool.core.date.TimeUtil
 
timeZone - Variable in class org.dromara.hutool.core.date.format.SimpleDateBasic
The time zone.
TimeZoneConverter - Class in org.dromara.hutool.core.convert.impl
TimeZone转换器
TimeZoneConverter() - Constructor for class org.dromara.hutool.core.convert.impl.TimeZoneConverter
 
TLS - Static variable in interface org.dromara.hutool.core.net.ssl.SSLProtocols
Supports some version of TLS; may support other versions
TLSv1 - Static variable in interface org.dromara.hutool.core.net.ssl.SSLProtocols
Supports RFC 2246: TLS version 1.0 ; may support other versions
TLSv11 - Static variable in interface org.dromara.hutool.core.net.ssl.SSLProtocols
Supports RFC 4346: TLS version 1.1 ; may support other versions
TLSv12 - Static variable in interface org.dromara.hutool.core.net.ssl.SSLProtocols
Supports RFC 5246: TLS version 1.2 ; may support other versions
to(Function<T, R>) - Method in interface org.dromara.hutool.core.lang.mutable.Mutable
获取值,并将值转换为指定类型。
toAbsNormal(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
将Path路径转换为标准的绝对路径
如果Path.isAbsolute()true,表示已经是绝对路径,返回本身
如果是相对路径,则返回相对于系统默认目录的路径(一般为项目路径)
toAbsoluteUrl(String, String) - Static method in class org.dromara.hutool.core.net.NetUtil
相对URL转换为绝对URL
toArray() - Method in class org.dromara.hutool.core.collection.ListWrapper
 
toArray(T[]) - Method in class org.dromara.hutool.core.collection.ListWrapper
 
toArray() - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
toArray(T[]) - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
toArray() - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
toArray(T[]) - Method in class org.dromara.hutool.core.collection.set.SetWrapper
 
toArray() - Method in class org.dromara.hutool.core.io.buffer.FastByteBuffer
返回快速缓冲中的数据
toArray(int, int) - Method in class org.dromara.hutool.core.io.buffer.FastByteBuffer
返回快速缓冲中的数据
toArray() - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
返回快速缓冲中的数据
toArray(int, int) - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
返回快速缓冲中的数据
toArray() - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回一个包含此流元素的数组 这是一个终端操作
toArray(IntFunction<A[]>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回一个包含此流元素的指定的数组,例如以下代码编译正常,但运行时会抛出 ArrayStoreException {@code String[] strings = Stream.
toArray(boolean) - Method in class org.dromara.hutool.core.text.split.SplitIter
获取切分后的对象数组
toArrayZeroCopyIfPossible() - Method in class org.dromara.hutool.core.io.buffer.FastByteBuffer
返回快速缓冲中的数据,如果缓冲区中的数据长度固定,则直接返回原始数组
注意此方法共享数组,不能修改数组内容!
toArrayZeroCopyIfPossible() - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
返回快速缓冲中的数据,如果缓冲区中的数据长度固定,则直接返回原始数组
注意此方法共享数组,不能修改数组内容!
toAvailableStream(InputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
将指定InputStream 转换为InputStream.available()方法可用的流。
toBean(Object, Class<T>) - Static method in class org.dromara.hutool.core.bean.BeanUtil
对象或Map转Bean
toBean(Object, Class<T>, CopyOptions) - Static method in class org.dromara.hutool.core.bean.BeanUtil
对象或Map转Bean
toBean(Object, Supplier<T>, CopyOptions) - Static method in class org.dromara.hutool.core.bean.BeanUtil
对象或Map转Bean
toBean(T) - Method in class org.dromara.hutool.core.map.Dict
转换为Bean对象
toBean(Class<T>) - Method in class org.dromara.hutool.core.map.Dict
填充Value Object对象
toBean(Class<T>, CopyOptions) - Method in class org.dromara.hutool.core.xml.XmlMapper
XML转Java Bean
如果XML根节点只有一个,且节点名和Bean的名称一致,则直接转换子节点
toBeanIgnoreCase(T) - Method in class org.dromara.hutool.core.map.Dict
转换为Bean对象
toBeanIgnoreCase(Class<T>) - Method in class org.dromara.hutool.core.map.Dict
填充Value Object对象,忽略大小写
toBeanMap(Object) - Static method in class org.dromara.hutool.core.bean.BeanUtil
将Bean包装为Map形式
toBigDecimal(Object, BigDecimal) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为BigDecimal
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBigDecimal(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为BigDecimal
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
toBigDecimal(Number) - Static method in class org.dromara.hutool.core.math.NumberUtil
数字转BigDecimal
Float、Double等有精度问题,转换为字符串后再转换
null转换为0
toBigDecimal(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
数字转BigDecimal
null或""或空白符抛出IllegalArgumentException异常
"NaN"转为BigDecimal.ZERO
toBigInteger(String) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
Hex(16进制)字符串转为BigInteger
toBigInteger(Object, BigInteger) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBigInteger(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toBigInteger(Number) - Static method in class org.dromara.hutool.core.math.NumberUtil
数字转BigInteger
null或"NaN"转换为0
toBigInteger(String) - Static method in class org.dromara.hutool.core.math.NumberUtil
数字转BigInteger
null或""或空白符转换为0
toBomReader(InputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
toBoolean(Object, Boolean) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为boolean
String支持的值为:true、false、yes、ok、no,1,0 如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toBoolean(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为boolean
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toBoolean(String) - Static method in class org.dromara.hutool.core.util.BooleanUtil
转换字符串为boolean值 该字符串 是否在 BooleanUtil.TRUE_SET 中,存在则为 true,否则为 false
toBooleanArray(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Boolean数组
toBooleanObject(String) - Static method in class org.dromara.hutool.core.util.BooleanUtil
转换字符串为Boolean值
如果字符串在 BooleanUtil.TRUE_SET 中,返回 Boolean.TRUE
如果字符串在 BooleanUtil.FALSE_SET 中,返回 Boolean.FALSE
其他情况返回null
toBuffered(InputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
toBuffered(InputStream, int) - Static method in class org.dromara.hutool.core.io.IoUtil
toBuffered(OutputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
toBuffered(OutputStream, int) - Static method in class org.dromara.hutool.core.io.IoUtil
toBuffered(Reader) - Static method in class org.dromara.hutool.core.io.IoUtil
toBuffered(Reader, int) - Static method in class org.dromara.hutool.core.io.IoUtil
toBuffered(Writer) - Static method in class org.dromara.hutool.core.io.IoUtil
toBuffered(Writer, int) - Static method in class org.dromara.hutool.core.io.IoUtil
toByte(Object, Byte) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为byte
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toByte(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为byte
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toByte(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为byte
toByte(int) - Static method in class org.dromara.hutool.core.util.ByteUtil
int转byte
toByteArray(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Byte数组
toByteArray() - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
转为Byte数组
toByteArray(int, int) - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
转为Byte数组
toByteArrayZeroCopyIfPossible() - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
转为Byte数组,如果缓冲区中的数据长度固定,则直接返回原始数组
注意此方法共享数组,不能修改数组内容!
toByteBuffer(CharBuffer, Charset) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
toByteObj(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为Byte
toBytes() - Method in class org.dromara.hutool.core.data.id.ULID
转为bytes值,16位,0-7为mostSignificantBits,8-15为leastSignificantBits
toBytes(ByteBuffer) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
ByteBuffer 转byte数组
toBytes() - Method in class org.dromara.hutool.core.io.unit.DataSize
返回bytes大小
toBytes(CharSequence, Charset) - Static method in class org.dromara.hutool.core.util.ByteUtil
编码字符串
toBytes(short) - Static method in class org.dromara.hutool.core.util.ByteUtil
short转byte数组
默认以小端序转换
toBytes(short, ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
short转byte数组
自定义端序
toBytes(int) - Static method in class org.dromara.hutool.core.util.ByteUtil
int转byte数组
默认以小端序转换
toBytes(int, ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
int转byte数组
自定义端序
toBytes(long) - Static method in class org.dromara.hutool.core.util.ByteUtil
toBytes(long, ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
toBytes(float) - Static method in class org.dromara.hutool.core.util.ByteUtil
float转byte数组,默认以小端序转换
toBytes(float, ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
float转byte数组,自定义端序
toBytes(double) - Static method in class org.dromara.hutool.core.util.ByteUtil
double转byte数组
默认以小端序转换
toBytes(double, ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
toBytes(Number) - Static method in class org.dromara.hutool.core.util.ByteUtil
Number转换为
toBytes(Number, ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
Number转换为
toCalendar() - Method in class org.dromara.hutool.core.date.DateBuilder
将当前对象的日期时间信息转换为Calendar实例。
toCalendar() - Method in class org.dromara.hutool.core.date.DateTime
转换为Calendar, 默认 Locale
toCalendar(Locale) - Method in class org.dromara.hutool.core.date.DateTime
转换为Calendar
toCalendar(TimeZone) - Method in class org.dromara.hutool.core.date.DateTime
转换为Calendar
toCalendar(TimeZone, Locale) - Method in class org.dromara.hutool.core.date.DateTime
转换为Calendar
toCalendar(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
转换为Calendar对象
toCamelCase(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
将下划线方式命名的字符串转换为驼峰式。
toCamelCase(CharSequence, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
将连接符方式命名的字符串转换为驼峰式。
toCamelCase(CharSequence) - Static method in class org.dromara.hutool.core.text.NamingCase
将下划线方式命名的字符串转换为驼峰式。
toCamelCase(CharSequence, char) - Static method in class org.dromara.hutool.core.text.NamingCase
将连接符方式命名的字符串转换为驼峰式。
toCamelCase(CharSequence, char, boolean) - Static method in class org.dromara.hutool.core.text.NamingCase
将连接符方式命名的字符串转换为驼峰式。
toCamelCaseMap(Map<K, V>) - Static method in class org.dromara.hutool.core.map.MapUtil
将已知Map转换为key为驼峰风格的Map
如果KEY为非String类型,保留原值
toChar(Object, Character) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为字符
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toChar(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为字符
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toChar(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为char
toCharacter(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为Character
toCharArray(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Character数组
toCharBuffer(ByteBuffer, Charset) - Static method in class org.dromara.hutool.core.io.buffer.BufferUtil
toChars(CharSequence, boolean) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
将字符串转换为字符数组
toChinese() - Method in enum org.dromara.hutool.core.date.Week
转换为中文名
toChinese(String) - Method in enum org.dromara.hutool.core.date.Week
转换为中文名
toChronoUnit() - Method in enum org.dromara.hutool.core.date.DateUnit
单位兼容转换,将DateUnit转换为对应的ChronoUnit
toChronoUnit(DateUnit) - Static method in enum org.dromara.hutool.core.date.DateUnit
单位兼容转换,将DateUnit转换为对应的ChronoUnit
toChronoUnit(TimeUnit) - Static method in class org.dromara.hutool.core.date.TemporalUtil
TimeUnit 转换为 ChronoUnit.
toCloseByNumber(int) - Static method in class org.dromara.hutool.core.text.CharUtil
将[1-20]数字转换为带圈的字符: 1 -》 '①' 12 -》 '⑫' 20 -》 '⑳' 也称作:封闭式字符,英文:Enclosed Alphanumerics
toCloseChar(char) - Static method in class org.dromara.hutool.core.text.CharUtil
将字母、数字转换为带圈的字符: '1' -》 '①' 'A' -》 'Ⓐ' 'a' -》 'ⓐ' 获取带圈数字 /封闭式字母数字 ,从1-20,超过1-20报错
toColl(Supplier<C>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
转换成集合
toCollection(Iterable<E>) - Static method in class org.dromara.hutool.core.collection.CollUtil
Iterable转为Collection
首先尝试强转,强转失败则构建一个新的ArrayList
toCollection(Class<?>, Class<?>, Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为集合类
toCombination(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.AnnotationUtil
将指定的被注解的元素转换为组合注解元素
toDate(Object, Date) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Date
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toDate(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Date
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
toDate() - Method in class org.dromara.hutool.core.date.DateBuilder
将当前时间对象转换为DateTime类型。
toDateStr() - Method in class org.dromara.hutool.core.date.DateTime
转为"yyyy-MM-dd" 格式字符串
today() - Static method in class org.dromara.hutool.core.date.DateUtil
当天开始的时间,结果类似:2022-10-26 00:00:00
today() - Static method in class org.dromara.hutool.core.date.TimeUtil
当天时间,默认时区
toDBC(String) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
全角转半角
toDBC(String, Set<Character>) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
替换全角为半角
toDouble(Object, Double) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为double
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toDouble(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为double
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toDouble(Number) - Static method in class org.dromara.hutool.core.math.NumberUtil
Number值转换为double
float强制转换存在精度问题,此方法避免精度丢失
toDouble(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为double
toDouble(byte[]) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte数组转Double
默认以小端序转换
toDouble(byte[], ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte数组转double
自定义端序
toDoubleArray(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Double数组
toDoubleObj(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为Double
toEasyStream() - Method in class org.dromara.hutool.core.lang.Opt
转换为 EasyStream对象
toEasyStream() - Static method in class org.dromara.hutool.core.stream.CollectorUtil
将流转为EasyStream
toEntries(Function<T, K>, Function<T, V>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
将当前流转为键值对流
toEntries(Function<T, K>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
将当前流转为键值对流
toEntryStream(Function<? super T, ? extends K>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
将流转为EntryStream
toEntryStream(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
将流转为EntryStream
toEnum(Class<E>, Object, E) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值
toEnum(Class<E>, Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值null
toEpochMilli(TemporalAccessor) - Static method in class org.dromara.hutool.core.date.TemporalAccessorUtil
TemporalAccessor转换为 时间戳(从1970-01-01T00:00:00Z开始的毫秒数)
如果为Month,调用Month.getValue()
如果为DayOfWeek,调用DayOfWeek.getValue()
如果为Era,调用Era.getValue()
toFloat(Object, Float) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Float
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toFloat(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Float
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toFloat(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为float
toFloat(byte[]) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte数组转float
默认以小端序转换
toFloat(byte[], ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte数组转float
自定义端序
toFloatArray(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Float数组
toFloatObj(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为Float
toFunction(BiFunction<T, U, R>, U) - Static method in class org.dromara.hutool.core.func.LambdaUtil
通过自定义固定参数,将BiFunction转换为Function
toGigabytes() - Method in class org.dromara.hutool.core.io.unit.DataSize
返回GB大小
toHex(int) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
转为16进制字符串
toHex(long) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
转为16进制字符串
toHex(String, Charset) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
字符串转换成十六进制字符串,结果为小写
toHex(byte[]) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
byte数组转16进制串
toHierarchyElement(AnnotatedElement) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
扫描element所处层级结构中的AnnotatedElement, 再把所有对象合并为HierarchicalAnnotatedElements 得到的对象可访问element所处层级结构中所有AnnotatedElement上的注解。
toHierarchyMetaElement(AnnotatedElement, boolean) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
扫描element所处层级结构中的AnnotatedElement, 并将其全部转为MetaAnnotatedElement后, 再把所有对象合并为HierarchicalAnnotatedElements
toHierarchyRepeatableMetaElement(AnnotatedElement, boolean) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
扫描element所处层级结构中的AnnotatedElement, 并将其全部转为RepeatableMetaAnnotatedElement后, 再把所有对象合并为HierarchicalAnnotatedElements
toIdentityMap(Collection<V>, SerFunction<V, K>) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection转化为类型不变的map
Collection<V> ----> Map<K,V>
toIdentityMap(Collection<V>, SerFunction<V, K>, boolean) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection转化为类型不变的map
Collection<V> ----> Map<K,V>
toIdxMap() - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
转换为map,key为下标,value为元素
toIdxMap(Function<? super T, ? extends U>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
转换为map,key为下标,value为给定操作执行后的返回值
toInstant(Object, Date) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
Instant
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toInstant(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
CalendarInstant对象
toInstant(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
Date对象转换为Instant对象
toInstant(TemporalAccessor) - Static method in class org.dromara.hutool.core.date.DateUtil
Date对象转换为Instant对象
toInstant(TemporalAccessor) - Static method in class org.dromara.hutool.core.date.TemporalAccessorUtil
TemporalAccessor转换为 Instant对象
toInt(Object, Integer) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为int
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toInt(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为int
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toInt(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为int
toInt(byte[]) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte[]转int值
默认以小端序转换
toInt(byte[], ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte[]转int值
自定义端序
toInt(byte[], int, ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte[]转int值
自定义端序
toIntArray(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Integer数组
toInteger(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为Integer
toIpList(Set<InetAddress>) - Static method in class org.dromara.hutool.core.net.NetUtil
地址列表转换为IP地址列表
toJdkDate() - Method in class org.dromara.hutool.core.date.DateTime
转换为 Date
考虑到很多框架(例如Hibernate)的兼容性,提供此方法返回JDK原生的Date对象
toJdkDayOfWeek() - Method in enum org.dromara.hutool.core.date.Week
转换为DayOfWeek
toJdkMonth() - Method in enum org.dromara.hutool.core.date.Month
转换为Month
toJdkUUID() - Method in class org.dromara.hutool.core.data.id.ULID
转为JDK的UUID
toKebabCase(CharSequence) - Static method in class org.dromara.hutool.core.text.NamingCase
将驼峰式命名的字符串转换为短横连接方式。
TokenBucketRateLimiter - Class in org.dromara.hutool.core.thread.ratelimiter
令牌桶(Token Bucket)限流器
令牌桶算法能够在限制数据的平均传输速率的同时还允许某种程度的突发传输,概念见:https://zhuanlan.zhihu.com/p/110596981 令牌发放:通过scheduler定时器,定时向令牌桶中添加令牌,直到令牌桶满。
TokenBucketRateLimiter(RateLimiterConfig) - Constructor for class org.dromara.hutool.core.thread.ratelimiter.TokenBucketRateLimiter
构造
tokenizePath(String) - Method in class org.dromara.hutool.core.text.AntPathMatcher
Tokenize the given path into parts, based on this matcher's settings.
tokenizePattern(String) - Method in class org.dromara.hutool.core.text.AntPathMatcher
Tokenize the given path pattern into parts, based on this matcher's settings.
toKeyStream() - Method in class org.dromara.hutool.core.stream.EntryStream
转为键的流
toKilobytes() - Method in class org.dromara.hutool.core.io.unit.DataSize
返回KB大小
TolerantMap<K,V> - Class in org.dromara.hutool.core.map
一个可以提供默认值的Map
TolerantMap(V) - Constructor for class org.dromara.hutool.core.map.TolerantMap
构造
TolerantMap(int, float, V) - Constructor for class org.dromara.hutool.core.map.TolerantMap
构造
TolerantMap(int, V) - Constructor for class org.dromara.hutool.core.map.TolerantMap
构造
TolerantMap(Map<K, V>, V) - Constructor for class org.dromara.hutool.core.map.TolerantMap
构造
toList(Collection<E>, Function<E, T>) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection转化为List集合,但是两者的泛型不同
Collection<E> ------> List<T>
toList(Collection<E>, Function<E, T>, boolean) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection转化为List集合,但是两者的泛型不同
Collection<E> ------> List<T>
toList() - Method in class org.dromara.hutool.core.collection.queue.BoundedPriorityQueue
 
toList(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为ArrayList,元素类型默认Object
toList(Class<T>, Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为ArrayList
toList() - Method in class org.dromara.hutool.core.lang.tuple.Tuple
将元组转换成列表
toList() - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
转换为ArrayList
toList(boolean) - Method in class org.dromara.hutool.core.text.split.SplitIter
获取切分后的对象列表
toList(Function<String, T>) - Method in class org.dromara.hutool.core.text.split.SplitIter
获取切分后的对象列表
toList(MapTree<E>, boolean) - Static method in class org.dromara.hutool.core.tree.TreeUtil
深度优先,遍历树,将树换为数组
toListMap(Iterable<? extends Map<K, V>>) - Static method in class org.dromara.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>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
将列表转成值为List的HashMap
toListMap(Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
将列表转成值为List的HashMap
toListMap(Map<K, List<V>>, Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
将列表转成值为List的Map集合
toListMap(Iterable<? extends Map<K, V>>) - Static method in class org.dromara.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) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
LocalDateTime
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toLocalDateTime(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为LocalDateTime
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
toLocalDateTime(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
Calendar 转换为 LocalDateTime,使用系统默认时区
toLocalDateTime() - Method in class org.dromara.hutool.core.date.DateBuilder
将当前对象的日期时间信息转换为LocalDateTime
toLocalDateTime() - Method in class org.dromara.hutool.core.date.DateTime
转换为 LocalDateTime
toLocalDateTime(Instant) - Static method in class org.dromara.hutool.core.date.DateUtil
Instant 转换为 LocalDateTime,使用系统默认时区
toLocalDateTime(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
Date 转换为 LocalDateTime,使用系统默认时区
toLong(Object, Long) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为long
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toLong(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为long
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toLong(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为long
toLong(byte[]) - Static method in class org.dromara.hutool.core.util.ByteUtil
toLong(byte[], ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
toLong(byte[], int, ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
toLongArray(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Long数组
toLongObj(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为Long
toMacAddressStr(byte[], String) - Static method in class org.dromara.hutool.core.net.MacAddressUtil
将bytes类型的mac地址转换为可读字符串,通常地址每个byte位使用16进制表示,并用指定分隔符分隔
toMap(Collection<E>, Function<E, K>, Function<E, V>) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将Collection转化为map(value类型与collection的泛型不同)
Collection<E> -----> Map<K,V>
toMap(Collection<E>, Function<E, K>, Function<E, V>, boolean) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
 
toMap(Iterable<K>, Iterable<V>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
toMap(Iterable<K>, Iterable<V>, boolean) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
toMap(Iterator<K>, Iterator<V>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
toMap(Iterator<K>, Iterator<V>, boolean) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
toMap(Iterable<V>, Function<V, K>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
将列表转成HashMap
toMap(Iterable<T>, Function<T, K>, Function<T, V>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
将列表转成HashMap
toMap(Class<K>, Class<V>, Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Map,若value原本就是Map,则转为原始类型,若不是则默认转为HashMap
toMap(Class<?>, Class<K>, Class<V>, Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Map
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
对null友好的 toMap 操作的 Collector实现,默认使用HashMap
toMap(Function<? super T, ? extends K>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
对null友好的 toMap 操作的 Collector实现,默认使用HashMap
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
对null友好的 toMap 操作的 Collector实现,默认使用HashMap
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>, Supplier<M>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
对null友好的 toMap 操作的 Collector实现
toMap(Supplier<Map<K, V>>, BinaryOperator<V>) - Method in class org.dromara.hutool.core.stream.EntryStream
转为Map集合
toMap(Supplier<Map<K, V>>) - Method in class org.dromara.hutool.core.stream.EntryStream
转为Map集合
toMap() - Method in class org.dromara.hutool.core.stream.EntryStream
转为HashMap集合
toMap(Function<? super T, ? extends K>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
转换为map,key为给定操作执行后的返回值,value为当前元素
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
转换为map,key,value为给定操作执行后的返回值
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
转换为map,key,value为给定操作执行后的返回值
toMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>, Supplier<M>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
转换为map,key,value为给定操作执行后的返回值
toMap() - Method in class org.dromara.hutool.core.xml.XmlMapper
XML节点转Map
toMap(Map<String, Object>) - Method in class org.dromara.hutool.core.xml.XmlMapper
XML节点转Map
toMapList(Map<K, ? extends Iterable<V>>) - Static method in class org.dromara.hutool.core.collection.CollUtil
列转行。
toMapList(Map<K, ? extends Iterable<V>>) - Static method in class org.dromara.hutool.core.map.MapUtil
列转行。
toMarkSupport(InputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
InputStream转换为支持mark标记的流
若原流支持mark标记,则返回原流,否则使用BufferedInputStream 包装之
toMarkSupport(Reader) - Static method in class org.dromara.hutool.core.io.IoUtil
Reader转换为支持mark标记的Reader
若原Reader支持mark标记,则返回原Reader,否则使用BufferedReader 包装之
toMegabytes() - Method in class org.dromara.hutool.core.io.unit.DataSize
返回MB大小
toMetaElement(AnnotatedElement, boolean) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
AnnotatedElement转为MetaAnnotatedElement, 得到的对象可访问element上所有的注解及元注解。
toModernTime(String) - Static method in class org.dromara.hutool.core.date.chinese.ShiChen
将时辰描述转换为现代时间段。
tomorrow() - Static method in class org.dromara.hutool.core.date.DateUtil
明天
toMsStr() - Method in class org.dromara.hutool.core.date.DateTime
 
toNumber(Object, Number) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Number
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
toNumber(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Number
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
toNumber(byte[], Class<T>, ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte数组转换为指定类型数字
toNumberArray(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Number数组
toObjectArray(Map<?, ?>) - Static method in class org.dromara.hutool.core.map.MapUtil
将键值对转换为二维数组,第一维是key,第二维是value
toOffsetDateTime() - Method in class org.dromara.hutool.core.date.DateBuilder
将当前对象转换为 OffsetDateTime
toOpt() - Method in interface org.dromara.hutool.core.lang.mutable.Mutable
获取值,并将值转换为Opt
toOptional() - Method in class org.dromara.hutool.core.lang.Opt
转换为 Optional对象
toParameterizedType(Type) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
Type 转换为ParameterizedType
ParameterizedType用于获取当前类或父类中泛型参数化后的类型
一般用于获取泛型参数具体的参数类型,例如: class A<T> class B extends A<String> 通过此方法,传入B.class即可得到BParameterizedType,从而获取到String
toParameterizedType(Type, int) - Static method in class org.dromara.hutool.core.reflect.TypeUtil
Type 转换为ParameterizedType
ParameterizedType用于获取当前类或父类中泛型参数化后的类型
一般用于获取泛型参数具体的参数类型,例如: class A<T> class B extends A<String>; 通过此方法,传入B.class即可得到B对应的ParameterizedType,从而获取到String
toPascalCase(CharSequence) - Static method in class org.dromara.hutool.core.text.NamingCase
将下划线方式命名的字符串转换为帕斯卡式。
toPoint - Variable in class org.dromara.hutool.core.map.multi.DirectedWeightGraph.Edge
 
toPredicate(BiPredicate<T, U>, U) - Static method in class org.dromara.hutool.core.func.LambdaUtil
通过自定义固定参数,将BiPredicate转换为Predicate
toPredicate(BiConsumer<T, U>, U) - Static method in class org.dromara.hutool.core.func.LambdaUtil
通过自定义固定参数,将BiConsumer转换为Consumer
toPrimitiveByteArray(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Byte数组
toProxyBean(Class<T>) - Method in class org.dromara.hutool.core.map.MapProxy
将Map代理为指定接口的动态代理对象
toPushBackReader(Reader, int) - Static method in class org.dromara.hutool.core.io.IoUtil
获得PushbackReader
如果是PushbackReader强转返回,否则新建
toPushbackStream(InputStream, int) - Static method in class org.dromara.hutool.core.io.IoUtil
转换为PushbackInputStream
如果传入的输入流已经是PushbackInputStream,强转返回,否则新建一个
toQuery(Map<String, ?>) - Static method in class org.dromara.hutool.core.net.url.UrlQueryUtil
将Map形式的Form表单数据转换为Url参数形式,会自动url编码键和值
toQuery(Map<String, ?>, Charset) - Static method in class org.dromara.hutool.core.net.url.UrlQueryUtil
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值
此方法用于拼接URL中的Query部分,并不适用于POST请求中的表单 key1=v1&key2=&key3=v3
toQuery(Map<String, ?>, Charset, UrlQuery.EncodeMode) - Static method in class org.dromara.hutool.core.net.url.UrlQueryUtil
将Map形式的Form表单数据转换为Url参数形式
paramMap中如果key为空(null和"")会被忽略,如果value为null,会被做为空白符("")
会自动url编码键和值 key1=v1&key2=&key3=v3
toRange() - Method in interface org.dromara.hutool.core.lang.range.Bound
将当前实例转为一个区间
toReader(InputStream, Charset) - Static method in class org.dromara.hutool.core.io.IoUtil
获得一个Reader
toRealPath(Path) - Static method in class org.dromara.hutool.core.io.file.PathUtil
获取实际路径,路径文件必须存在
如果给定Path是软链接(符号链接),则返回指向的实际链接
如果路径不存在,会直接抛出NoSuchFileException异常
无论给定是何种类型的路径,返回都是唯一的路径(总是equals)
toRepeatableMetaElement(AnnotatedElement, boolean) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
AnnotatedElement转为RepeatableMetaAnnotatedElement, 得到的对象可访问AnnotatedElement上的直接声明的注解,这些注解包含的可重复注解,以及上述注解的所有元注解。
toRepeatableMetaElement(AnnotatedElement, RepeatableAnnotationCollector, boolean) - Static method in class org.dromara.hutool.core.annotation.AnnotatedElementUtil
AnnotatedElement转为RepeatableMetaAnnotatedElement, 得到的对象可访问AnnotatedElement上的直接声明的注解, 通过collector从这些注解获得的可重复注解,以及上述注解的所有元注解。
toSBC(String) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
半角转全角
toSBC(String, Set<Character>) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
半角转全角,null返回null
toSet(Collection<E>, Function<E, T>) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection转化为Set集合,但是两者的泛型不同
Collection<E> ------> Set<T>
toSet(Collection<E>, Function<E, T>, boolean) - Static method in class org.dromara.hutool.core.collection.CollStreamUtil
将collection转化为Set集合,但是两者的泛型不同
Collection<E> ------> Set<T>
toSet(Class<T>, Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为HashSet
toSet() - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
转换为HashSet
toShiChen(int, boolean) - Static method in class org.dromara.hutool.core.date.chinese.ShiChen
根据给定的小时数转换为对应的时辰描述。
toShort(Object, Short) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Short
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toShort(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Short
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toShort(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为short
toShort(byte[]) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte数组转short
默认以小端序转换
toShort(byte[], ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte数组转short
自定义端序
toShort(byte[], int, ByteOrder) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte数组转short
自定义端序
toShortArray(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为Short数组
toShortObj(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
boolean值转为Short
toStr(Iterator<E>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
拼接 Iterator为字符串
toStr(Iterator<E>, Function<? super E, String>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
拼接 Iterator为字符串
toStr(Iterator<E>, Function<? super E, String>, String, String, String) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
拼接 Iterator为字符串
toStr(Object, String) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为字符串
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
toStr(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为字符串
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
toStr(ByteArrayOutputStream, Charset) - Static method in class org.dromara.hutool.core.io.IoUtil
ByteArrayOutputStream 转换为String
toStr(Number, String) - Static method in class org.dromara.hutool.core.math.NumberUtil
数字转字符串
调用Object.toString(),并去除尾小数点儿后多余的0
toStr(Number) - Static method in class org.dromara.hutool.core.math.NumberUtil
数字转字符串
调用Object.toString()BigDecimal.toPlainString(),并去除尾小数点儿后多余的0
toStr(Number, boolean) - Static method in class org.dromara.hutool.core.math.NumberUtil
数字转字符串
调用Object.toString()BigDecimal.toPlainString(),并去除尾小数点儿后多余的0
toStr(BigDecimal) - Static method in class org.dromara.hutool.core.math.NumberUtil
BigDecimal数字转字符串
调用BigDecimal.toPlainString(),并去除尾小数点儿后多余的0
toStr(BigDecimal, boolean) - Static method in class org.dromara.hutool.core.math.NumberUtil
BigDecimal数字转字符串
调用BigDecimal.toPlainString(),可选去除尾小数点儿后多余的0
toStr(Node) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
默认非格式化输出,若想格式化请使用XmlUtil.format(Document)
toStr(Node, boolean) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
toStr(Node, Charset, boolean) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
toStr(Node, Charset, boolean, boolean) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将XML文档转换为String
字符编码使用XML文档中的编码,获取不到则使用UTF-8
omitXmlDeclarationtrue时,表示忽略xml Declaration,即删掉 {@code
toStrArray(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为String数组
toStream(String, Charset) - Static method in class org.dromara.hutool.core.io.IoUtil
String 转为流
toStream(File) - Static method in class org.dromara.hutool.core.io.IoUtil
文件转为InputStream
toStream(Path) - Static method in class org.dromara.hutool.core.io.IoUtil
文件转为InputStream
toStream(byte[]) - Static method in class org.dromara.hutool.core.io.IoUtil
toStream(ByteArrayOutputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
toStream(FastByteArrayOutputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
toString(Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
数组或集合转String
toString() - Method in class org.dromara.hutool.core.array.ArrayWrapper
 
toString() - Method in class org.dromara.hutool.core.bean.DynaBean
 
toString() - Method in class org.dromara.hutool.core.bean.path.BeanPath
 
toString() - Method in class org.dromara.hutool.core.bean.path.node.ListNode
 
toString() - Method in class org.dromara.hutool.core.bean.path.node.NameNode
 
toString() - Method in class org.dromara.hutool.core.bean.path.node.RangeNode
 
toString() - Method in class org.dromara.hutool.core.bean.PropDesc
 
toString() - Method in class org.dromara.hutool.core.cache.impl.AbstractCache
 
toString() - Method in class org.dromara.hutool.core.cache.impl.CacheObj
 
toString() - Method in class org.dromara.hutool.core.cache.impl.ReentrantCache
 
toString() - Method in class org.dromara.hutool.core.collection.set.SetFromMap
 
toString() - Method in class org.dromara.hutool.core.data.CoordinateUtil.Coordinate
 
toString() - Method in class org.dromara.hutool.core.data.id.ULID
 
toString() - Method in class org.dromara.hutool.core.data.id.UUID
返回此UUID 的字符串表现形式。
toString(boolean) - Method in class org.dromara.hutool.core.data.id.UUID
返回此UUID 的字符串表现形式。
toString() - Method in class org.dromara.hutool.core.date.BetweenFormatter
 
toString() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
 
toString(ChineseDateFormat) - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
获取标准化农历日期 支持格式 ChineseDateFormat.GSS 干支纪年 数序纪月 数序纪日 ChineseDateFormat.XSS 生肖纪年 数序纪月 数序纪日 ChineseDateFormat.GXSS 干支生肖纪年 数序纪月(传统表示) 数序纪日日 ChineseDateFormat.GSG 干支纪年 数序纪月 干支纪日 ChineseDateFormat.GGG 干支纪年 干支纪月 干支纪日 ChineseDateFormat.MIX 农历年年首所在的公历年份 干支纪年 数序纪月 数序纪日
toString(DateUnit, BetweenFormatter.Level) - Method in class org.dromara.hutool.core.date.DateBetween
格式化输出时间差
toString(BetweenFormatter.Level) - Method in class org.dromara.hutool.core.date.DateBetween
格式化输出时间差
toString() - Method in class org.dromara.hutool.core.date.DateBetween
 
toString() - Method in class org.dromara.hutool.core.date.DateTime
转为字符串,如果时区被设置,会转换为其时区对应的时间,否则转换为当前地点对应的时区
可以调用DateTime.setUseJdkToStringStyle(boolean) 方法自定义默认的风格
如果DateTime.useJdkToStringStyletrue,返回"EEE MMM dd HH:mm:ss zzz yyyy"格式,
如果为false,则返回"yyyy-MM-dd HH:mm:ss"
toString(TimeZone) - Method in class org.dromara.hutool.core.date.DateTime
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
如果时区不为null,会转换为其时区对应的时间,否则转换为当前时间对应的时区
toString(String) - Method in class org.dromara.hutool.core.date.DateTime
转为字符串
toString(DatePrinter) - Method in class org.dromara.hutool.core.date.DateTime
转为字符串
toString(DateFormat) - Method in class org.dromara.hutool.core.date.DateTime
转为字符串
toString() - Method in class org.dromara.hutool.core.date.format.FastDateFormat
 
toString() - Method in class org.dromara.hutool.core.date.format.SimpleDateBasic
 
toString() - Method in class org.dromara.hutool.core.date.StopWatch
 
toString() - Method in class org.dromara.hutool.core.io.buffer.FastCharBuffer
 
toString() - Method in class org.dromara.hutool.core.io.ByteOrderMark
 
toString() - Method in class org.dromara.hutool.core.io.FastStringWriter
 
toString() - Method in class org.dromara.hutool.core.io.resource.ClassPathResource
 
toString() - Method in class org.dromara.hutool.core.io.resource.FileResource
返回路径
toString() - Method in class org.dromara.hutool.core.io.resource.UrlResource
返回路径
toString() - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
 
toString(Charset) - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
转为字符串
toString() - Method in class org.dromara.hutool.core.io.unit.DataSize
 
toString() - Method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitBackgroundColor
 
toString() - Method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitColor
 
toString() - Method in class org.dromara.hutool.core.lang.ansi.Ansi8BitColor
 
toString() - Method in interface org.dromara.hutool.core.lang.ansi.AnsiElement
 
toString() - Method in enum org.dromara.hutool.core.lang.ansi.AnsiStyle
 
toString() - Method in class org.dromara.hutool.core.lang.ConsoleTable
获取表格字符串
toString() - Method in class org.dromara.hutool.core.lang.mutable.MutableBool
 
toString() - Method in class org.dromara.hutool.core.lang.mutable.MutableByte
 
toString() - Method in class org.dromara.hutool.core.lang.mutable.MutableDouble
 
toString() - Method in class org.dromara.hutool.core.lang.mutable.MutableFloat
 
toString() - Method in class org.dromara.hutool.core.lang.mutable.MutableInt
 
toString() - Method in class org.dromara.hutool.core.lang.mutable.MutableLong
 
toString() - Method in class org.dromara.hutool.core.lang.mutable.MutableObj
 
toString() - Method in class org.dromara.hutool.core.lang.mutable.MutableShort
 
toString() - Method in class org.dromara.hutool.core.lang.Opt
返回包裹内元素调用toString()的结果,不存在则返回null
toString() - Method in class org.dromara.hutool.core.lang.page.NavigatePageInfo
 
toString() - Method in class org.dromara.hutool.core.lang.page.PageInfo
 
toString() - Method in interface org.dromara.hutool.core.lang.range.Bound
获得当前实例对应的{x| x >= xxx}格式的不等式字符串
toString() - Method in class org.dromara.hutool.core.lang.range.BoundedRange
输出当前区间的字符串,格式为"[a, b]"
toString() - Method in class org.dromara.hutool.core.lang.range.DefaultSegment
 
toString() - Method in class org.dromara.hutool.core.lang.tuple.Pair
 
toString() - Method in class org.dromara.hutool.core.lang.tuple.Triple
 
toString() - Method in class org.dromara.hutool.core.lang.tuple.Tuple
 
toString() - Method in class org.dromara.hutool.core.lang.Version
 
toString() - Method in class org.dromara.hutool.core.map.AbsEntry
 
toString() - Method in class org.dromara.hutool.core.map.MapJoiner
 
toString() - Method in class org.dromara.hutool.core.map.MapWrapper
 
toString() - Method in class org.dromara.hutool.core.map.multi.AbsTable
 
toString() - Method in class org.dromara.hutool.core.map.multi.DirectedWeightGraph.Edge
 
toString() - Method in class org.dromara.hutool.core.map.multi.DirectedWeightGraph.Path
 
toString() - Method in class org.dromara.hutool.core.map.multi.DirectedWeightGraph
 
toString() - Method in class org.dromara.hutool.core.map.TableMap
 
toString() - Method in class org.dromara.hutool.core.map.TolerantMap
 
toString() - Method in class org.dromara.hutool.core.math.Money
生成本对象的缺省字符串表示
toString() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
 
toString() - Method in class org.dromara.hutool.core.net.url.UrlPath
 
toString() - Method in class org.dromara.hutool.core.net.url.UrlQuery
生成查询字符串,类似于aaa=111&bbb=222
此方法不对任何特殊字符编码,仅用于输出显示
toString() - Method in class org.dromara.hutool.core.reflect.kotlin.KParameter
 
toString() - Method in class org.dromara.hutool.core.reflect.NullType
 
toString() - Method in class org.dromara.hutool.core.reflect.ParameterizedTypeImpl
 
toString() - Method in class org.dromara.hutool.core.reflect.TypeReference
 
toString() - Method in class org.dromara.hutool.core.stream.AbstractEnhancedWrappedStream
将被包装的实例转为字符串
toString() - Method in interface org.dromara.hutool.core.stream.WrappedStream
将当前实例转为字符串
toString(char) - Static method in class org.dromara.hutool.core.text.ASCIIStrCache
字符转为字符串
如果为ASCII字符,使用缓存
toString() - Method in class org.dromara.hutool.core.text.CharArray
 
toString(Object) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
调用对象的toString方法,null会返回“null”
toString(char) - Static method in class org.dromara.hutool.core.text.CharUtil
字符转为字符串
如果为ASCII字符,使用缓存
toString() - Method in class org.dromara.hutool.core.text.dfa.FoundWord
默认的,只输出匹配到的关键字
toString() - Method in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
 
toString() - Method in class org.dromara.hutool.core.text.StrJoiner
 
toString(String) - Static method in class org.dromara.hutool.core.text.UnicodeUtil
Unicode字符串转为普通字符串
Unicode字符串的表现方式为:\\uXXXX
toString() - Method in class org.dromara.hutool.core.thread.threadlocal.NamedInheritableThreadLocal
 
toString() - Method in class org.dromara.hutool.core.thread.threadlocal.NamedThreadLocal
 
toString() - Method in class org.dromara.hutool.core.tree.MapTree
 
toString(boolean, String, String) - Static method in class org.dromara.hutool.core.util.BooleanUtil
将boolean转换为字符串 BooleanUtil.toString(true, "true", "false") = "true" BooleanUtil.toString(false, "true", "false") = "false"
toString(Boolean, String, String, String) - Static method in class org.dromara.hutool.core.util.BooleanUtil
将boolean转换为字符串 BooleanUtil.toString(true, "true", "false", null) = "true" BooleanUtil.toString(false, "true", "false", null) = "false" BooleanUtil.toString(null, "true", "false", null) = null
toString(Enum<?>) - Static method in class org.dromara.hutool.core.util.EnumUtil
Enum对象转String,调用Enum.name() 方法
toStringDefaultTimeZone() - Method in class org.dromara.hutool.core.date.DateTime
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
时区使用当前地区的默认时区
toStringNormal() - Method in class org.dromara.hutool.core.date.chinese.ChineseDate
转换为标准的日期格式来表示农历日期,例如2020-01-13
如果存在闰月,显示闰月月份,如润二月显示2
toStringOnOff(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
将boolean转换为字符串 'on' 或者 'off'.
toStringOrEmpty(Object) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
调用对象的toString方法,null会返回空字符串 ""
如果仅仅是对CharSequence处理,请使用CharSequenceUtil.emptyIfNull(CharSequence)
toStringOrNull(Object) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
调用对象的toString方法,null会返回null
toStringTrueFalse(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
将boolean转换为字符串 'true' 或者 'false'.
toStringYesNo(boolean) - Static method in class org.dromara.hutool.core.util.BooleanUtil
将boolean转换为字符串 'yes' 或者 'no'.
toStrOrNullStr(Object) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
转换为字符串
如果给定的值为null,或者转换失败,返回默认值"null"(即null这个字符串)
转换失败不会报错
toSymbolCase(CharSequence, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
将驼峰式命名的字符串转换为使用符号连接方式。
toSymbolCase(CharSequence, char) - Static method in class org.dromara.hutool.core.text.NamingCase
将驼峰式命名的字符串转换为使用符号连接方式。
toTable(BiFunction<? super K, ? super V, ? extends N>, Supplier<Map<K, V>>, BinaryOperator<V>) - Method in class org.dromara.hutool.core.stream.EntryStream
将键值对分组后再转为二维Map集合,最终返回一个Table集合
toTable(BiFunction<? super K, ? super V, ? extends N>) - Method in class org.dromara.hutool.core.stream.EntryStream
将键值对分组后再转为二维HashMap集合,最终返回一个Table集合
toTableByKey(Function<? super K, ? extends N>, Supplier<Map<K, V>>, BinaryOperator<V>) - Method in class org.dromara.hutool.core.stream.EntryStream
将键值对按值分组后再转为二维Map集合,最终返回一个Table集合
toTableByKey(Function<? super K, ? extends N>) - Method in class org.dromara.hutool.core.stream.EntryStream
将键值对按键分组后再转为二维HashMap集合,最终返回一个Table集合
toTableByValue(Function<? super V, ? extends N>, Supplier<Map<K, V>>, BinaryOperator<V>) - Method in class org.dromara.hutool.core.stream.EntryStream
将键值对按值分组后再转为二维Map集合,最终返回一个Table集合
toTableByValue(Function<? super V, ? extends N>) - Method in class org.dromara.hutool.core.stream.EntryStream
将键值对按键分组后再转为二维HashMap集合,最终返回一个Table集合
totalLength(CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
给定字符串数组的总长度
null字符长度定义为0
toTerabytes() - Method in class org.dromara.hutool.core.io.unit.DataSize
返回TB大小
toTimeStr() - Method in class org.dromara.hutool.core.date.DateTime
转为"HH:mm:ss" 格式字符串
toTimeUnit(ChronoUnit) - Static method in class org.dromara.hutool.core.date.TemporalUtil
转换 ChronoUnitTimeUnit.
toTimeZone(ZoneId) - Static method in class org.dromara.hutool.core.date.ZoneUtil
ZoneId转换为TimeZonenull则返回系统默认值
toTree(List<T>) - Method in class org.dromara.hutool.core.tree.BeanTree
将集合转换为树
toTreeSet(Collection<T>, Comparator<T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
将集合转换为排序后的TreeSet
touch(String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
touch(File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
touch(File, String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
touch(String, String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
toUnderlineCase(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
将驼峰式命名的字符串转换为下划线方式。
toUnderlineCase(CharSequence) - Static method in class org.dromara.hutool.core.text.NamingCase
将驼峰式命名的字符串转换为下划线方式,又称SnakeCase、underScoreCase。
toUnicode(char) - Static method in class org.dromara.hutool.core.text.UnicodeUtil
字符编码为Unicode形式
toUnicode(int) - Static method in class org.dromara.hutool.core.text.UnicodeUtil
字符编码为Unicode形式
toUnicode(String) - Static method in class org.dromara.hutool.core.text.UnicodeUtil
字符串编码为Unicode形式
toUnicode(String, boolean) - Static method in class org.dromara.hutool.core.text.UnicodeUtil
字符串编码为Unicode形式
toUnicodeHex(char) - Method in class org.dromara.hutool.core.codec.binary.Base16Codec
将指定char值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如: 你 =》\u4f60
toUnicodeHex(int) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
将指定int值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如: 你 =》 \u4f60
toUnicodeHex(char) - Static method in class org.dromara.hutool.core.codec.binary.HexUtil
将指定char值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如: 你 =》 \u4f60
toUnmodifiableList() - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
换为不可变集合
toUnmodifiableMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
转换为不可变map,key,value为给定操作执行后的返回值
toUnmodifiableMap(Function<? super T, ? extends K>, Function<? super T, ? extends U>, BinaryOperator<U>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
转换为不可变map,key,value为给定操作执行后的返回值
toUnmodifiableSet() - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
换为不可变集合
toUnsignedBitIndex(byte[]) - Static method in class org.dromara.hutool.core.util.ByteUtil
统计无符号bytes转为bit位数为1的索引集合
toUnsignedByteArray(BigInteger) - Static method in class org.dromara.hutool.core.util.ByteUtil
以无符号字节数组的形式返回传入值。
toUnsignedByteArray(int, BigInteger) - Static method in class org.dromara.hutool.core.util.ByteUtil
以无符号字节数组的形式返回传入值。
toUnsignedInt(byte) - Static method in class org.dromara.hutool.core.util.ByteUtil
byte转无符号int
toURI() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
转换为URI
toURI(URL) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
转URL为URI
toURI(URL, boolean) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
转URL为URI
toURI(String) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
转字符串为URI
toURI(String, boolean) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
转字符串为URI
toURL() - Method in class org.dromara.hutool.core.net.url.UrlBuilder
转换为URL 对象
toURL(URLStreamHandler) - Method in class org.dromara.hutool.core.net.url.UrlBuilder
转换为URL 对象
toUrlForHttp(String) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
将URL字符串转换为URL对象,并做必要验证
toUrlForHttp(String, URLStreamHandler) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
将URL字符串转换为URL对象,并做必要验证
toUtf8Bytes(CharSequence) - Static method in class org.dromara.hutool.core.util.ByteUtil
编码字符串,编码为UTF-8
toUtf8Reader(InputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
获得一个文件读取器,默认使用 UTF-8 编码
toUtf8Stream(String) - Static method in class org.dromara.hutool.core.io.IoUtil
String 转为UTF-8编码的字节流流
toUtf8Writer(OutputStream) - Static method in class org.dromara.hutool.core.io.IoUtil
获得一个Writer,默认编码UTF-8
toUUID() - Method in class org.dromara.hutool.core.data.id.ULID
转为UUID
toValueStream() - Method in class org.dromara.hutool.core.stream.EntryStream
转为值的流
toWriter(OutputStream, Charset) - Static method in class org.dromara.hutool.core.io.IoUtil
获得一个Writer
toZip(Iterable<R>) - Method in interface org.dromara.hutool.core.stream.TerminableWrappedStream
与给定的可迭代对象转换成map,key为现有元素,value为给定可迭代对象迭代的元素
至少包含全部的key,如果对应位置上的value不存在,则为null
toZipFile(File, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
将Zip文件转换为ZipFile
toZonedDateTime() - Method in class org.dromara.hutool.core.date.DateBuilder
转换为带时区信息的DateTime
此方法用于保留原始时间戳,并且不丢失时区信息
toZoneId(TimeZone) - Static method in class org.dromara.hutool.core.date.ZoneUtil
TimeZone转换为ZoneIdnull则返回系统默认值
trans(Collection<F>, Function<? super F, ? extends T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
使用给定的转换函数,转换源集合为新类型的集合
trans(Iterator<F>, Function<? super F, ? extends T>) - Static method in class org.dromara.hutool.core.collection.iter.IterUtil
按照给定函数,转换Iterator为另一种类型的Iterator
trans(Spliterator<F>, Function<? super F, ? extends T>) - Static method in class org.dromara.hutool.core.collection.SpliteratorUtil
使用给定的转换函数,转换源Spliterator为新类型的Spliterator
TransCollection<F,T> - Class in org.dromara.hutool.core.collection
使用给定的转换函数,转换源集合为新类型的集合
TransCollection(Collection<F>, Function<? super F, ? extends T>) - Constructor for class org.dromara.hutool.core.collection.TransCollection
构造
transElements(NodeList) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将NodeList转换为Element列表
transElements(Element, NodeList) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将NodeList转换为Element列表
非Element节点将被忽略
transform(Supplier<C>, Function<C, R>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
收集元素,将其转为指定Collection集合后,再对该集合进行转换,并最终返回转换后的结果。
transform(Function<List<T>, R>) - Static method in class org.dromara.hutool.core.stream.CollectorUtil
收集元素,将其转为ArrayList集合后,再对该集合进行转换,并最终返回转换后的结果。
TransformableWrappedStream<T,S extends TransformableWrappedStream<T,S>> - Interface in org.dromara.hutool.core.stream
WrappedStream的扩展,用于为实现类提供更多中间操作方法的增强接口, 该接口提供的方法,返回值类型都为Stream
transientSupport - Variable in class org.dromara.hutool.core.bean.copier.CopyOptions
是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
TransIter<F,T> - Class in org.dromara.hutool.core.collection.iter
使用给定的转换函数,转换源Iterator为新类型的Iterator
TransIter(Iterator<? extends F>, Function<? super F, ? extends T>) - Constructor for class org.dromara.hutool.core.collection.iter.TransIter
构造
TransMap<K,V> - Class in org.dromara.hutool.core.map
自定义键和值转换的的Map
继承此类后,通过实现TransMap.customKey(Object)TransMap.customValue(Object),按照给定规则加入到map或获取值。
TransMap(Supplier<Map<K, V>>) - Constructor for class org.dromara.hutool.core.map.TransMap
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
TransMap(Map<K, V>) - Constructor for class org.dromara.hutool.core.map.TransMap
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
TransSpliterator<F,T> - Class in org.dromara.hutool.core.collection
使用给定的转换函数,转换源Spliterator为新类型的Spliterator
TransSpliterator(Spliterator<F>, Function<? super F, ? extends T>) - Constructor for class org.dromara.hutool.core.collection.TransSpliterator
构造
traverseTypeHierarchy(Class<?>, Predicate<Class<?>>, Consumer<Class<?>>, boolean) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
按广度优先遍历包括root在内,其层级结构中的所有类和接口。
traverseTypeHierarchyWhile(Class<?>, Predicate<Class<?>>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
按广度优先遍历包括root在内,其层级结构中的所有类和接口,直到terminator返回false
traverseTypeHierarchyWhile(Class<?>, Predicate<Class<?>>, Predicate<Class<?>>) - Static method in class org.dromara.hutool.core.reflect.ClassUtil
按广度优先遍历包括root在内,其层级结构中的所有类和接口,直到terminator返回false
TreeBuilder<E> - Class in org.dromara.hutool.core.tree
树构建器
TreeBuilder(E, TreeNodeConfig) - Constructor for class org.dromara.hutool.core.tree.TreeBuilder
构造
TreeBuilder(MapTree<E>) - Constructor for class org.dromara.hutool.core.tree.TreeBuilder
构造
TreeEntry<K,V> - Interface in org.dromara.hutool.core.map
允许拥有一个父节点与多个子节点的Map.Entry实现, 表示一个以key作为唯一标识,并且可以挂载一个对应值的树节点, 提供一些基于该节点对其所在树结构进行访问的方法
TreeEntryNode(LinkedForestMap.TreeEntryNode<K, V>, K) - Constructor for class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
创建一个节点
TreeEntryNode(LinkedForestMap.TreeEntryNode<K, V>, K, V) - Constructor for class org.dromara.hutool.core.map.LinkedForestMap.TreeEntryNode
创建一个节点
TreeNode<T> - Class in org.dromara.hutool.core.tree
树节点 每个属性都可以在TreeNodeConfig中被重命名
在你的项目里它可以是部门实体、地区实体等任意类树节点实体 类树节点实体: 包含key,父Key.不限于这些属性的可以构造成一颗树的实体对象
TreeNode() - Constructor for class org.dromara.hutool.core.tree.TreeNode
空构造
TreeNode(T, T, String, Comparable<?>) - Constructor for class org.dromara.hutool.core.tree.TreeNode
构造
TreeNodeConfig - Class in org.dromara.hutool.core.tree
树配置属性相关
TreeNodeConfig() - Constructor for class org.dromara.hutool.core.tree.TreeNodeConfig
 
TreeUtil - Class in org.dromara.hutool.core.tree
树工具类
TreeUtil() - Constructor for class org.dromara.hutool.core.tree.TreeUtil
 
trim(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
除去字符串头尾部的空白,如果字符串是null,依然返回null
trim(CharSequence, StrTrimer.TrimMode) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
除去字符串头尾部的空白符,如果字符串是null,依然返回null
trim(CharSequence, StrTrimer.TrimMode, Predicate<Character>) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
按照断言,除去字符串头尾部的断言为真的字符,如果字符串是null,依然返回null
trim(String[]) - Static method in class org.dromara.hutool.core.text.StrUtil
给定字符串数组全部做去首尾空格
TRIM_BLANK - Static variable in class org.dromara.hutool.core.text.StrTrimer
去除两边空白符
TRIM_PREFIX_BLANK - Static variable in class org.dromara.hutool.core.text.StrTrimer
去除头部空白符
TRIM_SUFFIX_BLANK - Static variable in class org.dromara.hutool.core.text.StrTrimer
去除尾部空白符
trimFunc(boolean) - Static method in class org.dromara.hutool.core.text.split.SplitUtil
Trim函数
trimPrefix(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
除去字符串头部的空白,如果字符串是null,则返回null
trimStrFields(T, String...) - Static method in class org.dromara.hutool.core.bean.BeanUtil
把Bean里面的String属性做trim操作。
trimSuffix(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
除去字符串尾部的空白,如果字符串是null,则返回null
trimToEmpty(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
除去字符串头尾部的空白,如果字符串是null,返回""
trimToNull(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
除去字符串头尾部的空白,如果字符串是null或者"",返回null
Triple<L,M,R> - Class in org.dromara.hutool.core.lang.tuple
不可变三元组对象
Triple(L, M, R) - Constructor for class org.dromara.hutool.core.lang.tuple.Triple
构造
TripleConverter - Class in org.dromara.hutool.core.convert.impl
Triple 转换器,支持以下类型转为Triple: Bean,包含getLeftgetMiddlegetRight方法
TripleConverter(Converter) - Constructor for class org.dromara.hutool.core.convert.impl.TripleConverter
构造
TripleTable<L,M,R> - Class in org.dromara.hutool.core.map
三值表结构,可重复
用于提供三种值相互查找操作
查找方式为indexOf方式遍历查找,数据越多越慢。
TripleTable(List<Triple<L, M, R>>) - Constructor for class org.dromara.hutool.core.map.TripleTable
构造
TripleTable(int) - Constructor for class org.dromara.hutool.core.map.TripleTable
构造
TripleTable(List<L>, List<M>, List<R>) - Constructor for class org.dromara.hutool.core.map.TripleTable
 
truncate(Calendar, DateField) - Static method in class org.dromara.hutool.core.date.CalendarUtil
修改日期为某个时间字段起始时间
truncate(Date, DateField) - Static method in class org.dromara.hutool.core.date.DateUtil
修改日期为某个时间字段起始时间
TRUST_ANYS - Static variable in class org.dromara.hutool.core.net.ssl.TrustManagerUtil
信任所有
TrustAnyHostnameVerifier - Class in org.dromara.hutool.core.net.ssl
https 域名校验,信任所有域名
注意此类慎用,信任全部可能会有中间人攻击风险
TrustAnyHostnameVerifier() - Constructor for class org.dromara.hutool.core.net.ssl.TrustAnyHostnameVerifier
 
TrustAnyTrustManager - Class in org.dromara.hutool.core.net.ssl
信任所有信任管理器,默认信任所有客户端和服务端证书
继承X509ExtendedTrustManager的原因见:
https://blog.csdn.net/ghaohao/article/details/79454913 注意此类慎用,信任全部可能会有中间人攻击风险。
TrustAnyTrustManager() - Constructor for class org.dromara.hutool.core.net.ssl.TrustAnyTrustManager
 
TrustManagerUtil - Class in org.dromara.hutool.core.net.ssl
TrustManager相关工具类
此工具用于管理可信任的证书等信息
TrustManagerUtil() - Constructor for class org.dromara.hutool.core.net.ssl.TrustManagerUtil
 
tryAcquire() - Method in interface org.dromara.hutool.core.thread.ratelimiter.RateLimiter
尝试获取许可,非阻塞方法
tryAcquire(int) - Method in interface org.dromara.hutool.core.thread.ratelimiter.RateLimiter
尝试获取许可,非阻塞方法
tryAcquire(int) - Method in class org.dromara.hutool.core.thread.ratelimiter.SemaphoreRateLimiter
 
tryAdvance(Consumer<? super T>) - Method in class org.dromara.hutool.core.collection.TransSpliterator
 
tryAdvance(Consumer<? super T>) - Method in class org.dromara.hutool.core.stream.spliterators.DropWhileSpliterator
 
tryAdvance(Consumer<? super T>) - Method in class org.dromara.hutool.core.stream.spliterators.IterateSpliterator
 
tryAdvance(Consumer<? super T>) - Method in class org.dromara.hutool.core.stream.spliterators.TakeWhileSpliterator
 
tryConvertEnum(Object, Class) - Static method in class org.dromara.hutool.core.convert.impl.EnumConverter
尝试转换,转换规则为: 如果实现EnumItem接口,则调用fromInt或fromStr转换 找到类似转换的静态方法调用实现转换且优先使用 约定枚举类应该提供 valueOf(String) 和 valueOf(Integer)用于转换 oriInt /name 转换托底
tryLock() - Method in class org.dromara.hutool.core.thread.lock.NoLock
 
tryLock(long, TimeUnit) - Method in class org.dromara.hutool.core.thread.lock.NoLock
 
trySplit() - Method in class org.dromara.hutool.core.collection.TransSpliterator
 
trySplit() - Method in class org.dromara.hutool.core.stream.spliterators.DropWhileSpliterator
 
trySplit() - Method in class org.dromara.hutool.core.stream.spliterators.TakeWhileSpliterator
 
ttl - Variable in class org.dromara.hutool.core.cache.impl.CacheObj
对象存活时长,0表示永久存活
Tuple - Class in org.dromara.hutool.core.lang.tuple
不可变数组类型(元组),用于多值返回
多值可以支持每个元素值类型不同
Tuple(Object...) - Constructor for class org.dromara.hutool.core.lang.tuple.Tuple
构造
TupleConverter - Class in org.dromara.hutool.core.convert.impl
Tuple转换器
TupleConverter() - Constructor for class org.dromara.hutool.core.convert.impl.TupleConverter
 
TypeGetter<K> - Interface in org.dromara.hutool.core.lang.getter
基本类型的getter接口
提供一个统一的接口定义返回不同类型的值(基本类型),定义类型包括: Object String Integer Short Boolean Long Character Float Double Byte BigDecimal BigInteger Enum Number Date java.sql.Time java.sql.Timestamp java.sql.Timestamp LocalDateTime LocalDate LocalTime 通过实现此接口,最简单方式为通过实现TypeGetter.getObj(Object, Object)方法,完成所有类型的值获取,获取默认采用 ConvertUtil方式自动转换。
TypeReference<T> - Class in org.dromara.hutool.core.reflect
Type类型参考
通过构建一个类型参考子类,可以获取其泛型参数中的Type类型。
TypeReference() - Constructor for class org.dromara.hutool.core.reflect.TypeReference
构造
TypeUtil - Class in org.dromara.hutool.core.reflect
针对 Type 的工具类封装
最主要功能包括: 1.
TypeUtil() - Constructor for class org.dromara.hutool.core.reflect.TypeUtil
 

U

ULID - Class in org.dromara.hutool.core.data.id
ULID(Universally Unique Lexicographically Sortable Identifier)通用唯一词典分类标识符,特性: 与UUID的128位兼容性 每毫秒1.21e + 24个唯一ULID 按字典顺序(也就是字母顺序)排序 规范地编码为26个字符串,而不是UUID的36个字符 使用Crockford的base32获得更好的效率和可读性(每个字符5位) 不区分大小写 没有特殊字符(URL安全) 单调排序顺序(正确检测并处理相同的毫秒) 参考:https://github.com/zjcscut/framework-mesh/blob/master/ulid4j/src/main/java/cn/vlts/ulid/ULID.java 01AN4Z07BY 79KA1307SR9X4MV3 |----------| |----------------| Timestamp Randomness 48bits 80bits
ULID(Number128) - Constructor for class org.dromara.hutool.core.data.id.ULID
构造
ULIDGenerator - Class in org.dromara.hutool.core.data.id
ULID生成器
ULIDGenerator() - Constructor for class org.dromara.hutool.core.data.id.ULIDGenerator
 
UNDERLINE - Static variable in interface org.dromara.hutool.core.text.CharPool
字符常量:下划线 '_'
UNDERLINE - Static variable in interface org.dromara.hutool.core.text.StrPool
字符串常量:下划线 "_"
unescape(String) - Static method in class org.dromara.hutool.core.text.escape.EscapeUtil
Escape解码
unescapeHtml4(CharSequence) - Static method in class org.dromara.hutool.core.text.escape.EscapeUtil
反转义HTML4中的特殊字符
unescapeXml(CharSequence) - Static method in class org.dromara.hutool.core.text.escape.EscapeUtil
反转义XML中的特殊字符
unGzip() - Method in class org.dromara.hutool.core.compress.Gzip
将压缩流解压到target中
unGzip(byte[], Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Gzip解压缩处理
unGzip(byte[]) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Gzip解压处理
unGzip(InputStream) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Gzip解压处理
unGzip(InputStream, int) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Gzip解压处理
unicodeToStr(String) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
unicode的String转换成String的字符串
UnicodeUtil - Class in org.dromara.hutool.core.text
提供Unicode字符串和普通字符串之间的转换
UnicodeUtil() - Constructor for class org.dromara.hutool.core.text.UnicodeUtil
 
union() - Method in class org.dromara.hutool.core.collection.CollectionOperation
多个集合的并集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最多的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c],此结果中只保留了三个c
union(Collection<? extends T>...) - Static method in class org.dromara.hutool.core.collection.CollUtil
多个集合的并集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最多的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c],此结果中只保留了三个c
unionAll() - Method in class org.dromara.hutool.core.collection.CollectionOperation
多个集合的完全并集,类似于SQL中的“UNION ALL”
针对一个集合中存在多个相同元素的情况,保留全部元素
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c, a, b, c, c]
unionAll(Collection<? extends T>...) - Static method in class org.dromara.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() - Method in class org.dromara.hutool.core.collection.CollectionOperation
多个集合的非重复并集,类似于SQL中的“UNION DISTINCT”
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
unionDistinct(Collection<? extends T>...) - Static method in class org.dromara.hutool.core.collection.CollUtil
多个集合的非重复并集,类似于SQL中的“UNION DISTINCT”
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
unionIfIntersected(BoundedRange<T>) - Method in class org.dromara.hutool.core.lang.range.BoundedRange
other与当前区间相交,则将其与当前区间合并。
unionIfIntersected(BoundedRange<T>, BoundedRange<T>) - Static method in class org.dromara.hutool.core.lang.range.BoundedRangeOperation
other与当前区间相交,则将其与当前区间合并。
UniqueKeySet<K,V> - Class in org.dromara.hutool.core.collection.set
唯一键的Set
通过自定义唯一键,通过UniqueKeySet.uniqueGenerator生成节点对象对应的键作为Map的key,确定唯一
此Set与HashSet不同的是,HashSet依赖于Object.equals(Object)确定唯一
但是很多时候我们无法对对象进行修改,此时在外部定义一个唯一规则,即可完成去重。
UniqueKeySet(Function<V, K>) - Constructor for class org.dromara.hutool.core.collection.set.UniqueKeySet
构造
UniqueKeySet(Function<V, K>, Collection<? extends V>) - Constructor for class org.dromara.hutool.core.collection.set.UniqueKeySet
构造
UniqueKeySet(boolean, Function<V, K>) - Constructor for class org.dromara.hutool.core.collection.set.UniqueKeySet
构造
UniqueKeySet(boolean, Function<V, K>, Collection<? extends V>) - Constructor for class org.dromara.hutool.core.collection.set.UniqueKeySet
构造
UniqueKeySet(int, float, Function<V, K>) - Constructor for class org.dromara.hutool.core.collection.set.UniqueKeySet
构造
UniqueKeySet(MapBuilder<K, V>, Function<V, K>) - Constructor for class org.dromara.hutool.core.collection.set.UniqueKeySet
构造
UNIT_NAMES - Static variable in enum org.dromara.hutool.core.io.unit.DataUnit
单位名称列表
UNIT_NAMES_SIMPLE - Static variable in enum org.dromara.hutool.core.io.unit.DataUnit
单位名称列表(简写)
universal(char[], int, int[]) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
Universal Hashing
UniversalNamespaceCache - Class in org.dromara.hutool.core.xml
全局命名空间上下文
见:https://www.ibm.com/developerworks/cn/xml/x-nmspccontext/
UniversalNamespaceCache(Node, boolean) - Constructor for class org.dromara.hutool.core.xml.UniversalNamespaceCache
This constructor parses the document and stores all namespaces it can find.
UNIX_SEPARATOR - Static variable in class org.dromara.hutool.core.io.file.FileNameUtil
类Unix路径分隔符
UNLIMITED - Static variable in class org.dromara.hutool.core.text.split.SplitUtil
无限制切分个数
unlinkNode(K, K) - Method in interface org.dromara.hutool.core.map.ForestMap
parentKeychildKey对应节点都存在,则移除指定该父节点与其直接关联的指定子节点间的引用关系
unlinkNode(K, K) - Method in class org.dromara.hutool.core.map.LinkedForestMap
移除指定父节点与其直接关联的子节点间的引用关系,但是不会将该节点从集合中删除
unlock() - Method in class org.dromara.hutool.core.thread.lock.NoLock
 
unmodifiable(List<? extends T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
转为只读List
unmodifiable(Set<? extends T>) - Static method in class org.dromara.hutool.core.collection.set.SetUtil
转为只读Set
unordered() - Method in interface org.dromara.hutool.core.stream.WrappedStream
返回一个无序流(无手动排序) 标记一个流是不在意元素顺序的, 在并行流的某些情况下可以提高性能
unreflect(Member) - Static method in class org.dromara.hutool.core.reflect.lookup.LookupUtil
Method或者Constructor 包装为方法句柄MethodHandle
unreflectMethod(Method) - Static method in class org.dromara.hutool.core.reflect.lookup.LookupUtil
Method 转换为方法句柄MethodHandle
UNRESERVED - Static variable in class org.dromara.hutool.core.net.url.RFC3986
非保留字符,即URI中不作为分隔符使用的字符
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
see: https://www.ietf.org/rfc/rfc3986.html#section-2.3
unshift(K, V) - Method in class org.dromara.hutool.core.stream.EntryStream
项当前流队首追加元素
unshift(T...) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
给定元素组成的流与当前流合并,成为新的流
unWrap(Integer...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
包装类数组转为原始类型数组,null转为0
unWrap(Long...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Character...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Byte...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Short...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Float...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Double...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
包装类数组转为原始类型数组
unWrap(Boolean...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
包装类数组转为原始类型数组
null 按照 false 对待
unWrap(Class<?>) - Static method in enum org.dromara.hutool.core.convert.BasicType
包装类转为原始类,非包装类返回原类
unWrap(Class<?>) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
包装类转为原始类,非包装类返回原类
unwrap(Throwable) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
剥离反射引发的InvocationTargetException、UndeclaredThrowableException中间异常,返回业务本身的异常
unwrap() - Method in class org.dromara.hutool.core.stream.AbstractEnhancedWrappedStream
获取被包装的元素流实例
unwrap() - Method in interface org.dromara.hutool.core.stream.WrappedStream
获取被当前实例包装的流对象
unWrap(CharSequence, String, String) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去掉字符包装,如果未被包装则返回原字符串
此方法要求prefix和suffix都存在,如果只有一个,不做去除。
unWrap(CharSequence, char, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去掉字符包装,如果未被包装则返回原字符串
unWrap(CharSequence, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
去掉字符包装,如果未被包装则返回原字符串
unzip(String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压到文件名相同的目录中,默认编码UTF-8
unzip(String, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压到文件名相同的目录中
unzip(File) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压到文件名相同的目录中,使用UTF-8编码
unzip(File, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压到文件名相同的目录中
unzip(String, String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压,默认UTF-8编码
unzip(String, String, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压
unzip(File, File) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压,默认使用UTF-8编码
unzip(File, File, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压
unzip(ZipFile, File) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压
unzip(ZipFile, File, long) - Static method in class org.dromara.hutool.core.compress.ZipUtil
限制解压后文件大小
unzip(InputStream, File, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压
ZIP条目不使用高速缓冲。
unzip(ZipInputStream, File) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压
ZIP条目不使用高速缓冲。
unzipFileBytes(String, String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
从Zip文件中提取指定的文件为bytes
unzipFileBytes(String, Charset, String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
从Zip文件中提取指定的文件为bytes
unzipFileBytes(File, String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
从Zip文件中提取指定的文件为bytes
unzipFileBytes(File, Charset, String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
从Zip文件中提取指定的文件为bytes
unZlib(byte[], Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Zlib解压缩处理
unZlib(byte[]) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压缩zlib
unZlib(InputStream) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压缩zlib
unZlib(InputStream, int) - Static method in class org.dromara.hutool.core.compress.ZipUtil
解压缩zlib
update(int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Ansi
 
update(int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16CCITT
 
update(byte[], int, int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16CCITTFalse
 
update(int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16CCITTFalse
 
update(byte[]) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Checksum
计算全部字节
update(byte[], int, int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Checksum
 
update(byte[], int, int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16DNP
 
update(int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16DNP
 
update(int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16IBM
 
update(byte[], int, int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Maxim
 
update(int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Maxim
 
update(int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16Modbus
 
update(byte[], int, int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16USB
 
update(int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16USB
 
update(byte[], int, int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16X25
 
update(int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16X25
 
update(byte[], int, int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16XModem
 
update(int) - Method in class org.dromara.hutool.core.io.checksum.crc16.CRC16XModem
 
update(byte[], int, int) - Method in class org.dromara.hutool.core.io.checksum.CRC16
 
update(int) - Method in class org.dromara.hutool.core.io.checksum.CRC16
 
update(byte[], int, int) - Method in class org.dromara.hutool.core.io.checksum.CRC8
 
update(byte[]) - Method in class org.dromara.hutool.core.io.checksum.CRC8
Updates the current checksum with the specified array of bytes.
update(int) - Method in class org.dromara.hutool.core.io.checksum.CRC8
 
upperAt(CharSequence, int) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
大写对应下标字母 例如: str = name,index = 1, return nAme
upperFirst(CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
大写首字母
例如:str = name, return Name
upperFirstAndAddPre(CharSequence, String) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
原字符串首字母大写并在其首部添加指定字符串 例如:str=name, preString=get =》 return getName
URI - Static variable in interface org.dromara.hutool.core.regex.RegexPool
URIConverter - Class in org.dromara.hutool.core.convert.impl
URI对象转换器
URIConverter() - Constructor for class org.dromara.hutool.core.convert.impl.URIConverter
 
url - Variable in class org.dromara.hutool.core.io.resource.UrlResource
URL
url(URI) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
URI转换为URL
url(String) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
通过一个字符串形式的URL地址创建URL对象
url(String, URLStreamHandler) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
通过一个字符串形式的URL地址创建URL对象
URL - Static variable in class org.dromara.hutool.core.regex.PatternPool
URL
URL - Static variable in interface org.dromara.hutool.core.regex.RegexPool
URL
URL_HTTP - Static variable in class org.dromara.hutool.core.regex.PatternPool
Http URL
URL_HTTP - Static variable in interface org.dromara.hutool.core.regex.RegexPool
Http URL(来自:http://urlregex.com/
此正则同时支持FTP、File等协议的URL
URL_PROTOCOL_FILE - Static variable in class org.dromara.hutool.core.net.url.UrlProtocolUtil
URL 协议表示文件: "file"
URL_PROTOCOL_JAR - Static variable in class org.dromara.hutool.core.net.url.UrlProtocolUtil
URL 协议表示Jar文件: "jar"
URL_PROTOCOL_VFS - Static variable in class org.dromara.hutool.core.net.url.UrlProtocolUtil
URL 协议表示JBoss VFS资源: "vfs"
URL_PROTOCOL_VFSFILE - Static variable in class org.dromara.hutool.core.net.url.UrlProtocolUtil
URL 协议表示JBoss文件: "vfsfile"
URL_PROTOCOL_VFSZIP - Static variable in class org.dromara.hutool.core.net.url.UrlProtocolUtil
URL 协议表示JBoss zip文件: "vfszip"
URL_PROTOCOL_WSJAR - Static variable in class org.dromara.hutool.core.net.url.UrlProtocolUtil
URL 协议表示WebSphere文件: "wsjar"
URL_PROTOCOL_ZIP - Static variable in class org.dromara.hutool.core.net.url.UrlProtocolUtil
URL 协议表示zip文件: "zip"
UrlBuilder - Class in org.dromara.hutool.core.net.url
URL 生成器,格式形如: [scheme:]scheme-specific-part[#fragment] [scheme:][//authority][path][?
UrlBuilder() - Constructor for class org.dromara.hutool.core.net.url.UrlBuilder
构造
UrlBuilder(String, String, int, UrlPath, UrlQuery, String, Charset) - Constructor for class org.dromara.hutool.core.net.url.UrlBuilder
构造
URLConverter - Class in org.dromara.hutool.core.convert.impl
URL对象转换器
URLConverter() - Constructor for class org.dromara.hutool.core.convert.impl.URLConverter
 
UrlDecoder - Class in org.dromara.hutool.core.net.url
URL解码,数据内容的类型是 application/x-www-form-urlencoded。
UrlDecoder() - Constructor for class org.dromara.hutool.core.net.url.UrlDecoder
 
UrlEncoder - Class in org.dromara.hutool.core.net.url
URL编码器,提供百分号编码实现
UrlEncoder() - Constructor for class org.dromara.hutool.core.net.url.UrlEncoder
 
UrlPath - Class in org.dromara.hutool.core.net.url
URL中Path部分的封装
UrlPath() - Constructor for class org.dromara.hutool.core.net.url.UrlPath
 
UrlProtocolUtil - Class in org.dromara.hutool.core.net.url
URL协议相关工具类
用于判断URL的协议类型,如jar或file等
UrlProtocolUtil() - Constructor for class org.dromara.hutool.core.net.url.UrlProtocolUtil
 
UrlQuery - Class in org.dromara.hutool.core.net.url
URL中查询字符串部分的封装,类似于: key1=v1&key2=&key3=v3 查询封装分为解析查询字符串和构建查询字符串,解析可通过charset为null来自定义是否decode编码后的内容,
构建则通过charset是否为null是否encode参数键值对
UrlQuery(Map<? extends CharSequence, ?>, UrlQuery.EncodeMode) - Constructor for class org.dromara.hutool.core.net.url.UrlQuery
构造
UrlQuery.EncodeMode - Enum in org.dromara.hutool.core.net.url
编码模式
根据不同场景以及不同环境,对Query中的name和value采用不同的编码策略
UrlQueryUtil - Class in org.dromara.hutool.core.net.url
URL中查询字符串部分的封装工具,类似于: key1=v1&key2=&key3=v3
UrlQueryUtil() - Constructor for class org.dromara.hutool.core.net.url.UrlQueryUtil
 
UrlResource - Class in org.dromara.hutool.core.io.resource
URL资源访问类
UrlResource(URI) - Constructor for class org.dromara.hutool.core.io.resource.UrlResource
构造
UrlResource(URL) - Constructor for class org.dromara.hutool.core.io.resource.UrlResource
构造
UrlResource(URL, String) - Constructor for class org.dromara.hutool.core.io.resource.UrlResource
构造
UrlUtil - Class in org.dromara.hutool.core.net.url
URL(Uniform Resource Locator)统一资源定位符相关工具类 统一资源定位符,描述了一台特定服务器上某资源的特定位置。
UrlUtil() - Constructor for class org.dromara.hutool.core.net.url.UrlUtil
 
US_ASCII - Static variable in class org.dromara.hutool.core.util.CharsetUtil
US_ASCII
useArrayBlockingQueue(int) - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
使用ArrayBlockingQueue 做为等待队列
有界队列,相对无界队列有利于控制队列大小,队列满时,运行线程小于maxPoolSize时会创建新线程,否则触发异常策略
useCachesIfNecessary(URLConnection) - Static method in class org.dromara.hutool.core.net.url.UrlUtil
如果连接为JNLP方式,则打开缓存
usedSize - Variable in class org.dromara.hutool.core.cache.file.AbstractFileCache
已使用缓存空间
useLinkedBlockingQueue(int) - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
使用LinkedBlockingQueue 作为等待队列
队列满时,运行线程小于maxPoolSize时会创建新线程,否则触发异常策略
userId() - Static method in class org.dromara.hutool.core.data.MaskingUtil
【用户id】不对外提供userId
UserPassAuthenticator - Class in org.dromara.hutool.core.net
账号密码形式的Authenticator 实现。
UserPassAuthenticator(String, char[]) - Constructor for class org.dromara.hutool.core.net.UserPassAuthenticator
构造
useSynchronousQueue() - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
使用SynchronousQueue 做为等待队列(非公平策略)
它将任务直接提交给线程而不保持它们。
useSynchronousQueue(boolean) - Method in class org.dromara.hutool.core.thread.ExecutorBuilder
使用SynchronousQueue 做为等待队列
它将任务直接提交给线程而不保持它们。
UTC_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss'Z'
UTC_MS_FORMAT - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601时间FastDateFormat:yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
UTC_MS_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
ISO8601时间:yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
UTC_PATTERN - Static variable in class org.dromara.hutool.core.date.DatePattern
UTC时间:yyyy-MM-dd'T'HH:mm:ss'Z'
按照ISO8601规范,后缀加Z表示UTC时间
UTF8OutputStreamWriter - Class in org.dromara.hutool.core.io.stream
This class is used to write a stream of chars as a stream of bytes using the UTF8 encoding.
UTF8OutputStreamWriter(OutputStream) - Constructor for class org.dromara.hutool.core.io.stream.UTF8OutputStreamWriter
Creates a new UTF8OutputStreamWriter.
utf8Str(Object) - Static method in class org.dromara.hutool.core.text.StrUtil
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
UTF_16BE - Static variable in class org.dromara.hutool.core.io.ByteOrderMark
UTF-16BE BOM (Big-Endian).
UTF_16LE - Static variable in class org.dromara.hutool.core.io.ByteOrderMark
UTF-16LE BOM (Little-Endian).
UTF_32BE - Static variable in class org.dromara.hutool.core.io.ByteOrderMark
UTF-32BE BOM (Big-Endian).
UTF_32LE - Static variable in class org.dromara.hutool.core.io.ByteOrderMark
UTF-32LE BOM (Little-Endian).
UTF_8 - Static variable in class org.dromara.hutool.core.io.ByteOrderMark
UTF-8 BOM.
UTF_8 - Static variable in class org.dromara.hutool.core.util.CharsetUtil
UTF-8
UUID - Class in org.dromara.hutool.core.data.id
提供通用唯一识别码(universally unique identifier)(UUID)实现,UUID表示一个128位的值。
UUID(long, long) - Constructor for class org.dromara.hutool.core.data.id.UUID
使用指定的数据构造新的 UUID。
UUID - Static variable in class org.dromara.hutool.core.regex.PatternPool
UUID
UUID - Static variable in interface org.dromara.hutool.core.regex.RegexPool
UUID
UUID_SIMPLE - Static variable in class org.dromara.hutool.core.regex.PatternPool
不带横线的UUID
UUID_SIMPLE - Static variable in interface org.dromara.hutool.core.regex.RegexPool
不带横线的UUID
UUIDConverter - Class in org.dromara.hutool.core.convert.impl
UUID对象转换器转换器
UUIDConverter() - Constructor for class org.dromara.hutool.core.convert.impl.UUIDConverter
 
UUIDGenerator - Class in org.dromara.hutool.core.data.id
UUID生成器
UUIDGenerator() - Constructor for class org.dromara.hutool.core.data.id.UUIDGenerator
 

V

validate(T) - Method in interface org.dromara.hutool.core.pool.ObjectFactory
验证对象可用性,一般用于对象池中借出对象和返还对象前的验证操作。
validateBetween(Number, Number, Number, String) - Static method in class org.dromara.hutool.core.lang.Validator
检查给定的数字是否在指定范围内
validateBetween(Date, Date, Date, String) - Static method in class org.dromara.hutool.core.lang.Validator
检查给定的日期是否在指定范围内
validateBirthday(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证验证是否为生日
validateByteLength(CharSequence, int, int, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证字符串的字节长度是否符合要求,默认采用"utf-8"编码
validateByteLength(CharSequence, int, int, Charset, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证字符串的字节长度是否符合要求
validateCarDrivingLicence(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为驾驶证 别名:驾驶证档案编号、行驶证编号
validateCarVin(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为车架号,别名:行驶证编号 车辆识别代号 车辆识别码
validateChinese(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为汉字
validateCitizenIdNumber(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为身份证号码(支持18位、15位和港澳台的10位)
validateEmail(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为可用邮箱地址
validateEmpty(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为空,非空时抛出异常
对于String类型判定是否为empty(null 或 "")
validateEqual(Object, Object, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否相等,不相等抛出异常
ValidateException - Exception in org.dromara.hutool.core.exception
验证异常
ValidateException() - Constructor for exception org.dromara.hutool.core.exception.ValidateException
构造
ValidateException(Throwable) - Constructor for exception org.dromara.hutool.core.exception.ValidateException
构造
ValidateException(String) - Constructor for exception org.dromara.hutool.core.exception.ValidateException
构造
ValidateException(String, Object...) - Constructor for exception org.dromara.hutool.core.exception.ValidateException
构造
ValidateException(String, Throwable) - Constructor for exception org.dromara.hutool.core.exception.ValidateException
构造
ValidateException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.exception.ValidateException
构造
ValidateException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.exception.ValidateException
构造
ValidateException(int, String) - Constructor for exception org.dromara.hutool.core.exception.ValidateException
构造
ValidateException(int, Throwable) - Constructor for exception org.dromara.hutool.core.exception.ValidateException
构造
ValidateException(int, String, Throwable) - Constructor for exception org.dromara.hutool.core.exception.ValidateException
 
validateFalse(boolean, String, Object...) - Static method in class org.dromara.hutool.core.lang.Validator
检查指定值是否为false
validateGeneral(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为英文字母 、数字和下划线
validateGeneral(T, int, int, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为给定长度范围的英文字母 、数字和下划线
validateGeneral(T, int, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为给定最小长度的英文字母 、数字和下划线
validateGeneralWithChinese(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为中文字、英文字母、数字和下划线
validateHex(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为Hex(16进制)字符串
validateIpv4(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为IPV4地址
validateIpv6(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为IPV6地址
validateLength(CharSequence, int, int, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证字符的长度是否符合要求
validateLetter(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否全部为字母组成,包括大写和小写字母和汉字
validateLowerCase(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证字符串是否全部为小写字母
validateMac(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为MAC地址
validateMatchRegex(String, T, String) - Static method in class org.dromara.hutool.core.lang.Validator
通过正则表达式验证
不符合正则抛出ValidateException 异常
validateMobile(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为手机号码(中国)
validateMoney(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为货币
validateNotEmpty(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为非空,为空时抛出异常
对于String类型判定是否为empty(null 或 "")
validateNotEmptyAndEqual(Object, Object, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值不等时抛出异常
validateNotEmptyAndNotEqual(Object, Object, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值相等时抛出异常
validateNotEqual(Object, Object, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否不等,相等抛出异常
validateNotNull(T, String, Object...) - Static method in class org.dromara.hutool.core.lang.Validator
检查指定值是否非null
validateNull(T, String, Object...) - Static method in class org.dromara.hutool.core.lang.Validator
检查指定值是否为null
validateNumber(String, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为数字
ValidateObjectInputStream - Class in org.dromara.hutool.core.io.stream
带有类验证的对象流,用于避免反序列化漏洞
详细见:https://xz.aliyun.com/t/41/
ValidateObjectInputStream(InputStream, Class<?>...) - Constructor for class org.dromara.hutool.core.io.stream.ValidateObjectInputStream
构造
validatePlateNumber(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为中国车牌号
validateTrue(boolean, String, Object...) - Static method in class org.dromara.hutool.core.lang.Validator
检查指定值是否为true
validateUpperCase(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证字符串是否全部为大写字母
validateUrl(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为URL
validateUUID(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
validateWord(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为字母(包括大写和小写字母)
validateZipCode(T, String) - Static method in class org.dromara.hutool.core.lang.Validator
验证是否为邮政编码(中国)
Validator - Class in org.dromara.hutool.core.lang
字段验证器(验证器),分两种类型的验证: isXXX:通过返回boolean值判断是否满足给定格式。
Validator() - Constructor for class org.dromara.hutool.core.lang.Validator
 
value(String, Type) - Method in class org.dromara.hutool.core.bean.copier.provider.BeanValueProvider
 
value(String, Type) - Method in class org.dromara.hutool.core.bean.copier.provider.DynaBeanValueProvider
 
value(String, Type) - Method in class org.dromara.hutool.core.bean.copier.provider.MapValueProvider
 
value(K, Type) - Method in interface org.dromara.hutool.core.bean.copier.ValueProvider
获取值
返回值一般需要匹配被注入类型,如果不匹配会调用默认转换 Convert#support(Type, Object)实现转换
value - Variable in class org.dromara.hutool.core.lang.mutable.MutableEntry
value - Variable in class org.dromara.hutool.core.text.finder.MultiStrFinder.Node
 
valueOf(String) - Static method in enum org.dromara.hutool.core.bean.BeanInfoCache
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.cache.GlobalPruneTimer
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.convert.BasicType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.data.CIN10.Gender
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.data.id.Pid
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.data.MaskingUtil.MaskingType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.data.PasswdStrength.CHAR_TYPE
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.data.PasswdStrength.PASSWD_LEVEL
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.date.BetweenFormatter.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.date.chinese.ChineseDateFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.date.DateField
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.date.DateModifier.ModifyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.date.DateUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.date.Month
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.date.Quarter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.date.Week
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.io.file.FileMagicNumber
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.io.file.FileMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.io.file.LineSeparator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.io.unit.DataUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.io.watch.WatchKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitBackgroundColor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitColor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.lang.ansi.AnsiStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.lang.range.BoundType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.lang.ref.ReferenceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.net.url.UrlQuery.EncodeMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.reflect.ModifierType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.text.placeholder.StrTemplate.Feature
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.text.StrJoiner.NullMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.text.StrTrimer.TrimMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.core.thread.RejectPolicy
Returns the enum constant of this type with the specified name.
ValueProvider<K> - Interface in org.dromara.hutool.core.bean.copier
值提供者,用于提供Bean注入时参数对应值得抽象接口
继承或匿名实例化此接口
在Bean注入过程中,Bean获得字段名,通过外部方式根据这个字段名查找相应的字段值,然后注入Bean
ValueProviderToBeanCopier<T> - Class in org.dromara.hutool.core.bean.copier
ValueProvider属性拷贝到Bean中的拷贝器
ValueProviderToBeanCopier(ValueProvider<String>, T, Type, CopyOptions) - Constructor for class org.dromara.hutool.core.bean.copier.ValueProviderToBeanCopier
构造
values() - Static method in enum org.dromara.hutool.core.bean.BeanInfoCache
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.cache.GlobalPruneTimer
Returns an array containing the constants of this enum type, in the order they are declared.
values(Collection<Map<?, V>>) - Static method in class org.dromara.hutool.core.collection.CollUtil
获取指定Map列表中所有的Value
values() - Static method in enum org.dromara.hutool.core.convert.BasicType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.data.CIN10.Gender
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.data.id.Pid
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.data.MaskingUtil.MaskingType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.data.PasswdStrength.CHAR_TYPE
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.data.PasswdStrength.PASSWD_LEVEL
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.date.BetweenFormatter.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.date.chinese.ChineseDateFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.date.DateField
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.date.DateModifier.ModifyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.date.DateUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.date.Month
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.date.Quarter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.date.Week
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.io.file.FileMagicNumber
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.io.file.FileMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.io.file.LineSeparator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.io.unit.DataUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.io.watch.WatchKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitBackgroundColor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.lang.ansi.Ansi4BitColor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.lang.ansi.AnsiStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.lang.range.BoundType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.lang.ref.ReferenceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.dromara.hutool.core.map.BeanMap
 
values() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
 
values() - Method in class org.dromara.hutool.core.map.LinkedForestMap
返回当前实例中全部TreeEntry组成的Collection集合
values() - Method in class org.dromara.hutool.core.map.MapProxy
 
values() - Method in class org.dromara.hutool.core.map.MapWrapper
 
values() - Method in class org.dromara.hutool.core.map.multi.AbsTable
 
values() - Method in interface org.dromara.hutool.core.map.multi.Table
所有行列值的集合
values() - Method in class org.dromara.hutool.core.map.reference.ReferenceConcurrentMap
 
values() - Method in class org.dromara.hutool.core.map.TableMap
 
values() - Static method in enum org.dromara.hutool.core.net.url.UrlQuery.EncodeMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.reflect.ModifierType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.text.placeholder.StrTemplate.Feature
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.text.StrJoiner.NullMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.text.StrTrimer.TrimMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.core.thread.RejectPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
valuesOfKeys(Map<K, V>, K...) - Static method in class org.dromara.hutool.core.map.MapUtil
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
valuesOfKeys(Map<K, V>, Iterable<K>) - Static method in class org.dromara.hutool.core.map.MapUtil
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
valuesOfKeys(Map<K, V>, Iterator<K>) - Static method in class org.dromara.hutool.core.map.MapUtil
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
variant() - Method in class org.dromara.hutool.core.data.id.UUID
与此 UUID 相关联的变体号。
verify(String, boolean) - Static method in class org.dromara.hutool.core.data.CIN
判断18位身份证的合法性,第十八位数字(校验码)的计算方法为: 将前面的身份证号码17位数分别乘以不同的系数。
verify(String) - Static method in class org.dromara.hutool.core.data.VIN
校验VIN码有效性,要求: 满足正则:PatternPool.CAR_VIN 满足第9位校验位和计算的检验值一致
verify(String, SSLSession) - Method in class org.dromara.hutool.core.net.ssl.TrustAnyHostnameVerifier
 
version() - Method in class org.dromara.hutool.core.data.id.UUID
与此 UUID 相关联的版本号.
Version - Class in org.dromara.hutool.core.lang
字符串版本表示,用于解析版本号的不同部分并比较大小。
Version(String) - Constructor for class org.dromara.hutool.core.lang.Version
版本对象,格式:tok+ ( '-' tok+)?
VersionComparator - Class in org.dromara.hutool.core.comparator
版本比较器
比较两个版本的大小
排序时版本从小到大排序,即比较时小版本在前,大版本在后
支持如:1.3.20.8,6.82.20160101,8.5a/8.5c等版本形式
参考:java.lang.module.ModuleDescriptor.Version
VersionComparator() - Constructor for class org.dromara.hutool.core.comparator.VersionComparator
默认构造
VersionComparator(boolean) - Constructor for class org.dromara.hutool.core.comparator.VersionComparator
默认构造
VfsResource - Class in org.dromara.hutool.core.io.resource
VFS资源封装
支持VFS 3.x on JBoss AS 6+,JBoss AS 7 and WildFly 8+
参考:org.springframework.core.io.VfsUtils
VfsResource(Object) - Constructor for class org.dromara.hutool.core.io.resource.VfsResource
构造
view(Collection<? extends T>) - Static method in class org.dromara.hutool.core.collection.CollUtil
转为只读集合
view(T...) - Static method in class org.dromara.hutool.core.collection.ListUtil
数组转为一个不可变List
类似于Java9中的List.of
不同于Arrays.asList,此方法不允许修改数组
view(List<T>) - Static method in class org.dromara.hutool.core.collection.ListUtil
转为一个不可变List
类似于Java9中的List.of
view(T...) - Static method in class org.dromara.hutool.core.collection.set.SetUtil
数组转为一个不可变List
类似于Java9中的List.of
view(Set<T>) - Static method in class org.dromara.hutool.core.collection.set.SetUtil
转为一个不可变Set
view(Map<K, V>) - Static method in class org.dromara.hutool.core.map.MapUtil
将对应Map转换为不可修改的Map
VIN - Class in org.dromara.hutool.core.data
VIN是Vehicle Identification Number的缩写,即车辆识别号码。
VIN(String) - Constructor for class org.dromara.hutool.core.data.VIN
构造
visitFile(Path, BasicFileAttributes) - Method in class org.dromara.hutool.core.compress.ZipCopyVisitor
 
visitFile(Path, BasicFileAttributes) - Method in class org.dromara.hutool.core.io.file.visitor.CopyVisitor
 
visitFile(Path, BasicFileAttributes) - Method in class org.dromara.hutool.core.io.file.visitor.DelVisitor
 
visitFile(Path, BasicFileAttributes) - Method in class org.dromara.hutool.core.io.file.visitor.MoveVisitor
 

W

waitAll(CompletableFuture<?>...) - Static method in class org.dromara.hutool.core.thread.AsyncUtil
等待所有任务执行完毕,包裹了异常
waitAny(CompletableFuture<?>...) - Static method in class org.dromara.hutool.core.thread.AsyncUtil
等待任意一个任务执行完毕,包裹了异常
waitForDie() - Static method in class org.dromara.hutool.core.thread.ThreadUtil
等待当前线程结束.
waitForDie(Thread) - Static method in class org.dromara.hutool.core.thread.ThreadUtil
等待线程结束.
walk(Consumer<MapTree<T>>) - Method in class org.dromara.hutool.core.tree.MapTree
递归树并处理子树下的节点,采用深度优先遍历方式。
walk(Consumer<MapTree<T>>, boolean) - Method in class org.dromara.hutool.core.tree.MapTree
递归树并处理子树下的节点
walkFiles(File, Predicate<File>) - Static method in class org.dromara.hutool.core.io.file.FileUtil
递归遍历目录并处理目录下的文件,可以处理目录或文件: 目录和非目录均调用Predicate处理 目录如果Predicate.test(Object)true则递归调用此方法处理。
walkFiles(Path, FileVisitor<? super Path>) - Static method in class org.dromara.hutool.core.io.file.PathUtil
遍历指定path下的文件并做处理
walkFiles(Path, int, FileVisitor<? super Path>) - Static method in class org.dromara.hutool.core.io.file.PathUtil
遍历指定path下的文件并做处理
walkFiles(Path, int, boolean, FileVisitor<? super Path>) - Static method in class org.dromara.hutool.core.io.file.PathUtil
遍历指定path下的文件并做处理
WAR_URL_PREFIX - Static variable in class org.dromara.hutool.core.net.url.UrlUtil
URL 前缀表示war: "war:"
WAR_URL_SEPARATOR - Static variable in class org.dromara.hutool.core.net.url.UrlUtil
WAR路径及内部文件路径分界符
watch() - Method in class org.dromara.hutool.core.io.watch.WatchMonitor
开始监听事件,阻塞当前进程
watch(Watcher) - Method in class org.dromara.hutool.core.io.watch.WatchMonitor
开始监听事件,阻塞当前进程
watch(Watcher, Predicate<WatchEvent<?>>) - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
执行事件获取并处理
WatchEvent.context()是实际操作的文件或目录的相对监听路径的Path,非绝对路径
WatchKey.watchable()是监听的Path
此方法调用后阻塞线程,直到触发监听事件,执行后退出,无循环执行操作
watch(BiConsumer<WatchEvent<?>, WatchKey>) - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
执行事件获取并处理
WatchEvent.context()是实际操作的文件或目录的相对监听路径的Path,非绝对路径
WatchKey.watchable()是监听的Path
此方法调用后阻塞线程,直到触发监听事件,执行后退出,无循环执行操作
watch(BiConsumer<WatchEvent<?>, WatchKey>, Predicate<WatchEvent<?>>) - Method in class org.dromara.hutool.core.io.watch.WatchServiceWrapper
执行事件获取并处理
WatchEvent.context()是实际操作的文件或目录的相对监听路径的Path,非绝对路径
WatchKey.watchable()是监听的Path
此方法调用后阻塞线程,直到触发监听事件,执行后退出,无循环执行操作
Watcher - Interface in org.dromara.hutool.core.io.watch
观察者(监视器)
WatcherChain - Class in org.dromara.hutool.core.io.watch.watchers
观察者链
用于加入多个观察者
WatcherChain(Watcher...) - Constructor for class org.dromara.hutool.core.io.watch.watchers.WatcherChain
构造
WatchException - Exception in org.dromara.hutool.core.io.watch
监听异常
WatchException(Throwable) - Constructor for exception org.dromara.hutool.core.io.watch.WatchException
构造
WatchException(String) - Constructor for exception org.dromara.hutool.core.io.watch.WatchException
构造
WatchException(String, Object...) - Constructor for exception org.dromara.hutool.core.io.watch.WatchException
构造
WatchException(String, Throwable) - Constructor for exception org.dromara.hutool.core.io.watch.WatchException
构造
WatchException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.core.io.watch.WatchException
构造
WatchException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.core.io.watch.WatchException
构造
WatchKind - Enum in org.dromara.hutool.core.io.watch
监听事件类型枚举,包括: 1.
WatchMonitor - Class in org.dromara.hutool.core.io.watch
路径监听器 监听器可监听目录或文件
如果监听的Path不存在,则递归创建空目录然后监听此空目录
递归监听目录时,并不会监听新创建的目录
WatchMonitor(Path, WatchEvent.Kind<?>...) - Constructor for class org.dromara.hutool.core.io.watch.WatchMonitor
构造
WatchMonitor(Path, int, WatchEvent.Kind<?>...) - Constructor for class org.dromara.hutool.core.io.watch.WatchMonitor
构造
例如设置: maxDepth <= 1 表示只监听当前目录 maxDepth = 2 表示监听当前目录以及下层目录 maxDepth = 3 表示监听当前目录以及下两层
WatchServiceWrapper - Class in org.dromara.hutool.core.io.watch
WatchEvent 包装类,提供可选的监听事件和监听选项,实现方法包括: 注册:WatchServiceWrapper.registerPath(Path, int)注册需要监听的路径。
WatchServiceWrapper(WatchEvent.Kind<?>...) - Constructor for class org.dromara.hutool.core.io.watch.WatchServiceWrapper
构造
WatchUtil - Class in org.dromara.hutool.core.io.watch
监听工具类
主要负责文件监听器的快捷创建
WatchUtil() - Constructor for class org.dromara.hutool.core.io.watch.WatchUtil
 
wCRCin - Variable in class org.dromara.hutool.core.io.checksum.crc16.CRC16Checksum
CRC16 Checksum 结果值
WeakCache<K,V> - Class in org.dromara.hutool.core.cache.impl
弱引用缓存
对于一个给定的键,其映射的存在并不阻止垃圾回收器对该键的丢弃,这就使该键成为可终止的,被终止,然后被回收。
WeakCache(long) - Constructor for class org.dromara.hutool.core.cache.impl.WeakCache
构造
WeakConcurrentMap<K,V> - Class in org.dromara.hutool.core.map.reference
线程安全的WeakMap实现
键和值都为Weak引用,即,在GC时发现弱引用会回收其对象
WeakConcurrentMap() - Constructor for class org.dromara.hutool.core.map.reference.WeakConcurrentMap
构造
WeakConcurrentMap(ConcurrentMap<Ref<K>, Ref<V>>) - Constructor for class org.dromara.hutool.core.map.reference.WeakConcurrentMap
构造
WeakIntern<T> - Class in org.dromara.hutool.core.lang.intern
使用WeakHashMap(线程安全)存储对象的规范化对象,注意此对象需单例使用!
WeakIntern() - Constructor for class org.dromara.hutool.core.lang.intern.WeakIntern
 
WeakKeyConcurrentMap<K,V> - Class in org.dromara.hutool.core.map.reference
线程安全的WeakMap实现
键为Weak引用,即,在GC时发现弱引用会回收其对象
WeakKeyConcurrentMap() - Constructor for class org.dromara.hutool.core.map.reference.WeakKeyConcurrentMap
构造
WeakKeyConcurrentMap(ConcurrentMap<Ref<K>, Ref<V>>) - Constructor for class org.dromara.hutool.core.map.reference.WeakKeyConcurrentMap
构造
WeakObj<T> - Class in org.dromara.hutool.core.lang.ref
弱引用对象,在GC时发现弱引用会回收其对象
WeakObj(T, ReferenceQueue<? super T>) - Constructor for class org.dromara.hutool.core.lang.ref.WeakObj
构造
WebAppResource - Class in org.dromara.hutool.core.io.resource
Web root资源访问对象
WebAppResource(String) - Constructor for class org.dromara.hutool.core.io.resource.WebAppResource
构造
Week - Enum in org.dromara.hutool.core.date
星期枚举
与Calendar中的星期int值对应
weekOfMonth() - Method in class org.dromara.hutool.core.date.DateTime
获得指定日期是所在月份的第几周
此方法返回值与一周的第一天有关,比如:
2016年1月3日为周日,如果一周的第一天为周日,那这天是第二周(返回2)
如果一周的第一天为周一,那这天是第一周(返回1)
weekOfMonth(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期是所在月份的第几周
weekOfYear() - Method in class org.dromara.hutool.core.date.DateTime
获得指定日期是所在年份的第几周
此方法返回值与一周的第一天有关,比如:
2016年1月3日为周日,如果一周的第一天为周日,那这天是第二周(返回2)
如果一周的第一天为周一,那这天是第一周(返回1)
跨年的那个星期得到的结果总是1
weekOfYear(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期是所在年份的第几周
此方法返回值与一周的第一天有关,比如:
2016年1月3日为周日,如果一周的第一天为周日,那这天是第二周(返回2)
如果一周的第一天为周一,那这天是第一周(返回1)
跨年的那个星期得到的结果总是1
weekOfYear(TemporalAccessor) - Static method in class org.dromara.hutool.core.date.TimeUtil
获得指定日期是所在年份的第几周,如: 如果一年的第一天是星期一,则第一周从第一天开始,没有零周 如果一年的第二天是星期一,则第一周从第二天开始,而第一天在零周 如果一年的第4天是星期一,则第一周从第4天开始,第1至第3天在零周 如果一年的第5天是星期一,则第二周从第5天开始,第1至第4天在第一周
weigher(Weigher<? super V>) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap.Builder
Specifies an algorithm to determine how many the units of capacity a value consumes.
weigher(EntryWeigher<? super K, ? super V>) - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap.Builder
Specifies an algorithm to determine how many the units of capacity an entry consumes.
Weigher<V> - Interface in org.dromara.hutool.core.map.concurrent
A class that can determine the selector of a value.
Weighers - Class in org.dromara.hutool.core.map.concurrent
A common set of Weigher and EntryWeigher implementations.
weight - Variable in class org.dromara.hutool.core.lang.selector.WeightObj
权重
weight - Variable in class org.dromara.hutool.core.map.multi.DirectedWeightGraph.Edge
 
weightedSize() - Method in class org.dromara.hutool.core.map.concurrent.ConcurrentLinkedHashMap
Returns the weighted size of this map.
WeightListRandomSelector<E> - Class in org.dromara.hutool.core.lang.selector
动态按权重随机的随机池,底层是list实现。
WeightListRandomSelector() - Constructor for class org.dromara.hutool.core.lang.selector.WeightListRandomSelector
构造
WeightListRandomSelector(int) - Constructor for class org.dromara.hutool.core.lang.selector.WeightListRandomSelector
构造
WeightObj<T> - Class in org.dromara.hutool.core.lang.selector
带有权重的对象包装
WeightObj(T, int) - Constructor for class org.dromara.hutool.core.lang.selector.WeightObj
构造
weightOf(K, V) - Method in interface org.dromara.hutool.core.map.concurrent.EntryWeigher
Measures an entry's selector to determine how many units of capacity that the key and value consumes.
weightOf(V) - Method in interface org.dromara.hutool.core.map.concurrent.Weigher
Measures an object's selector to determine how many units of capacity that the value consumes.
weightRandom(WeightObj<T>[]) - Static method in class org.dromara.hutool.core.util.RandomUtil
带有权重的随机生成器
weightRandom(Iterable<WeightObj<T>>) - Static method in class org.dromara.hutool.core.util.RandomUtil
带有权重的随机生成器
WeightRandomSelector<T> - Class in org.dromara.hutool.core.lang.selector
权重随机选择算法实现
平时,经常会遇到权重随机算法,从不同权重的N个元素中随机选择一个,并使得总体选择结果是按照权重分布的。
WeightRandomSelector() - Constructor for class org.dromara.hutool.core.lang.selector.WeightRandomSelector
构造
WeightRandomSelector(WeightObj<T>) - Constructor for class org.dromara.hutool.core.lang.selector.WeightRandomSelector
构造
WeightRandomSelector(Iterable<WeightObj<T>>) - Constructor for class org.dromara.hutool.core.lang.selector.WeightRandomSelector
构造
WeightRandomSelector(WeightObj<T>[]) - Constructor for class org.dromara.hutool.core.lang.selector.WeightRandomSelector
构造
wgs84ToBd09(double, double) - Static method in class org.dromara.hutool.core.data.CoordinateUtil
WGS84 坐标转为 百度坐标系 (BD-09) 坐标
wgs84ToGcj02(double, double) - Static method in class org.dromara.hutool.core.data.CoordinateUtil
WGS84 转换为 火星坐标系 (GCJ-02)
wgs84ToMercator(double, double) - Static method in class org.dromara.hutool.core.data.CoordinateUtil
WGS84 坐标转为 墨卡托投影
where() - Static method in class org.dromara.hutool.core.lang.Console
返回当前位置+行号 (不支持Lambda、内部类、递归内使用)
WINDOWS_SEPARATOR - Static variable in class org.dromara.hutool.core.io.file.FileNameUtil
Windows路径分隔符
WindowsExplorerStringComparator - Class in org.dromara.hutool.core.comparator
Windows 资源管理器风格字符串比较器 此比较器模拟了 Windows 资源管理器的文件名排序方式,可得到与其相同的排序结果。
WindowsExplorerStringComparator() - Constructor for class org.dromara.hutool.core.comparator.WindowsExplorerStringComparator
 
with(Consumer<T>) - Method in class org.dromara.hutool.core.lang.builder.GenericBuilder
调用无参数方法
with(BiConsumer<T, P1>, P1) - Method in class org.dromara.hutool.core.lang.builder.GenericBuilder
调用1参数方法
with(SerConsumer3<T, P1, P2>, P1, P2) - Method in class org.dromara.hutool.core.lang.builder.GenericBuilder
调用2参数方法
WORD - Static variable in class org.dromara.hutool.core.regex.PatternPool
字母
WORD - Static variable in interface org.dromara.hutool.core.regex.RegexPool
字母
WordTree - Class in org.dromara.hutool.core.text.dfa
DFA(Deterministic Finite Automaton 确定有穷自动机) DFA单词树(以下简称单词树),常用于在某大段文字中快速查找某几个关键词是否存在。
WordTree() - Constructor for class org.dromara.hutool.core.text.dfa.WordTree
默认构造
WordTree(int) - Constructor for class org.dromara.hutool.core.text.dfa.WordTree
指定初始化容量
work() - Method in class org.dromara.hutool.core.thread.SyncFinisher.Worker
任务内容
Worker() - Constructor for class org.dromara.hutool.core.thread.SyncFinisher.Worker
 
wrap(Object) - Static method in class org.dromara.hutool.core.array.ArrayUtil
包装数组对象
wrap(int...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(long...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(char...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(byte...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(short...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(float...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(double...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(boolean...) - Static method in class org.dromara.hutool.core.array.PrimitiveArrayUtil
将原始类型数组包装为包装类型
wrap(Class<?>) - Static method in enum org.dromara.hutool.core.convert.BasicType
原始类转为包装类,非原始类返回原类
wrap(Class<?>, boolean) - Static method in enum org.dromara.hutool.core.convert.BasicType
原始类转为包装类,非原始类返回原类
wrap(Class<?>) - Static method in class org.dromara.hutool.core.convert.ConvertUtil
原始类转为包装类,非原始类返回原类
wrap(Class<?>, long) - Static method in class org.dromara.hutool.core.date.SqlDateUtil
时间戳转为子类型,支持: Date DateTime Date Time Timestamp
wrap(Throwable, Class<T>) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
包装一个异常
wrap(Map<K, V>) - Static method in class org.dromara.hutool.core.map.MapUtil
创建Map包装类MapWrapper
MapWrapper对Map做一次包装
wrap(Stream<T>) - Method in class org.dromara.hutool.core.stream.EasyStream
根据一个原始的流,返回一个新包装类实例
wrap(Stream<Map.Entry<K, V>>) - Method in class org.dromara.hutool.core.stream.EntryStream
根据一个原始的流,返回一个新包装类实例
wrap(Stream<T>) - Method in interface org.dromara.hutool.core.stream.WrappedStream
将一个原始流包装为指定类型的增强流
source于当前实例包装的流并不相同,则该增强流与当前实例无关联关系
wrap(CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
包装指定字符串
当前缀和后缀一致时使用此方法
wrap(CharSequence, CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
包装指定字符串
wrap(CharSequence, char, char) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
包装指定字符串
wrapAll(CharSequence, CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
包装多个字符串
wrapAllIfMissing(CharSequence, CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
包装多个字符串,如果已经包装,则不再包装
wrapAllWithPair(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
使用单个字符包装多个字符串
wrapAllWithPairIfMissing(CharSequence, CharSequence...) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
使用成对的字符包装多个字符串,如果已经包装,则不再包装
wrapAndThrow(Throwable) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
包装异常并重新抛出此异常
RuntimeExceptionError 直接抛出,其它检查异常包装为UndeclaredThrowableException 后抛出
wrapIfMissing(CharSequence, CharSequence, CharSequence) - Static method in class org.dromara.hutool.core.text.CharSequenceUtil
包装指定字符串,如果前缀或后缀已经包含对应的字符串,则不再包装
WrappedStream<T,S extends WrappedStream<T,S>> - Interface in org.dromara.hutool.core.stream
Stream实例的包装器,用于增强原始的Stream,提供一些额外的中间与终端操作。
Wrapper<T> - Interface in org.dromara.hutool.core.lang.wrapper
包装接口
wrapRuntime(Throwable) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
使用运行时异常包装编译异常
如果传入参数已经是运行时异常,则直接返回,不再额外包装
wrapRuntime(String) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
将指定的消息包装为运行时异常
wrapRuntimeAndThrow(String) - Static method in class org.dromara.hutool.core.exception.ExceptionUtil
将消息包装为运行时异常并抛出
wrapSingle(Object, Class<?>) - Static method in class org.dromara.hutool.core.array.ArrayUtil
包装单一元素为数组
WritableBean - Annotation Type in org.dromara.hutool.core.annotation
标记可写Bean
即包含有可写字段的Bean使用此注解标记,如含有public的字段或setter方法
write(ByteBuffer, ByteOrder) - Method in interface org.dromara.hutool.core.codec.hash.metro.MetroHash
将结果hash值写出到ByteBuffer中,可选端序
write(ByteBuffer, ByteOrder) - Method in class org.dromara.hutool.core.codec.hash.metro.MetroHash128
 
write(ByteBuffer, ByteOrder) - Method in class org.dromara.hutool.core.codec.hash.metro.MetroHash64
 
write(byte[], int, int) - Method in class org.dromara.hutool.core.compress.OpcZipOutputStream
 
write(ZipWriter) - Method in class org.dromara.hutool.core.compress.ZipReplacer
写出到ZipWriter
write(char[], int, int) - Method in class org.dromara.hutool.core.io.AppendableWriter
 
write(int) - Method in class org.dromara.hutool.core.io.AppendableWriter
 
write(String, int, int) - Method in class org.dromara.hutool.core.io.AppendableWriter
 
write(String) - Method in class org.dromara.hutool.core.io.AppendableWriter
 
write(char[]) - Method in class org.dromara.hutool.core.io.AppendableWriter
 
write(int) - Method in class org.dromara.hutool.core.io.FastStringWriter
 
write(String) - Method in class org.dromara.hutool.core.io.FastStringWriter
 
write(String, int, int) - Method in class org.dromara.hutool.core.io.FastStringWriter
 
write(char[]) - Method in class org.dromara.hutool.core.io.FastStringWriter
 
write(char[], int, int) - Method in class org.dromara.hutool.core.io.FastStringWriter
 
write(String, boolean) - Method in class org.dromara.hutool.core.io.file.FileWriter
将String写入文件
write(String) - Method in class org.dromara.hutool.core.io.file.FileWriter
将String写入文件,覆盖模式
write(byte[], int, int) - Method in class org.dromara.hutool.core.io.file.FileWriter
写入数据到文件
write(byte[], int, int, boolean) - Method in class org.dromara.hutool.core.io.file.FileWriter
写入数据到文件
write(OutputStream, byte[]) - Static method in class org.dromara.hutool.core.io.IoUtil
将byte[]写到流中,并关闭目标流
write(OutputStream, boolean, byte[]) - Static method in class org.dromara.hutool.core.io.IoUtil
将byte[]写到流中
write(byte[], int, int) - Method in class org.dromara.hutool.core.io.stream.EmptyOutputStream
什么也不做,写出到/dev/null.
write(int) - Method in class org.dromara.hutool.core.io.stream.EmptyOutputStream
什么也不做,写出到 /dev/null.
write(byte[]) - Method in class org.dromara.hutool.core.io.stream.EmptyOutputStream
什么也不做,写出到 /dev/null.
write(byte[], int, int) - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
 
write(int) - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
 
write(byte[]) - Method in class org.dromara.hutool.core.io.stream.StreamWriter
将byte[]写到流中
write(int) - Method in class org.dromara.hutool.core.io.stream.UTF8OutputStreamWriter
 
write(char[]) - Method in class org.dromara.hutool.core.io.stream.UTF8OutputStreamWriter
 
write(char[], int, int) - Method in class org.dromara.hutool.core.io.stream.UTF8OutputStreamWriter
 
write(String) - Method in class org.dromara.hutool.core.io.stream.UTF8OutputStreamWriter
 
write(String, int, int) - Method in class org.dromara.hutool.core.io.stream.UTF8OutputStreamWriter
 
write(byte[], int, int) - Method in class org.dromara.hutool.core.io.stream.WriterOutputStream
 
write(byte[]) - Method in class org.dromara.hutool.core.io.stream.WriterOutputStream
 
write(int) - Method in class org.dromara.hutool.core.io.stream.WriterOutputStream
 
write(Document, File, Charset) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将XML文档写入到文件
使用Document中的编码
write(Node, Writer, Charset, int) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将XML文档写出
write(Node, Writer, Charset, int, boolean) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将XML文档写出
omitXmlDeclarationtrue时,表示忽略xml Declaration,即删掉 {@code
write(Node, OutputStream, Charset, int) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将XML文档写出
write(Node, OutputStream, Charset, int, boolean) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将XML文档写出
omitXmlDeclarationtrue时,表示忽略xml Declaration,即删掉 {@code
write(File) - Method in class org.dromara.hutool.core.xml.XmlWriter
将XML文档写出
write(Writer) - Method in class org.dromara.hutool.core.xml.XmlWriter
将XML文档写出
write(OutputStream) - Method in class org.dromara.hutool.core.xml.XmlWriter
将XML文档写出
write(Result) - Method in class org.dromara.hutool.core.xml.XmlWriter
将XML文档写出
格式化输出逻辑参考:https://stackoverflow.com/questions/139076/how-to-pretty-print-xml-from-java
writeBytes(byte[], String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
写数据到文件中
文件路径如果是相对路径,则相对ClassPath
writeBytes(byte[], File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
写数据到文件中
writeBytes(byte[], File, int, int, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
写入数据到文件
writeClose(OutputStream, byte[]) - Static method in class org.dromara.hutool.core.io.IoUtil
将byte[]写到流中,并关闭目标流
writeCrockford(char[], long, int, int) - Static method in class org.dromara.hutool.core.codec.binary.CrockfordBase32Codec
写出Crockford`s Base32值 到buffer指定位置
writeFromStream(InputStream, File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将流的内容写入文件
此方法会自动关闭输入流
writeFromStream(InputStream, File, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将流的内容写入文件
writeFromStream(InputStream) - Method in class org.dromara.hutool.core.io.file.FileWriter
将流的内容写入文件
此方法会自动关闭输入流
writeFromStream(InputStream, boolean, OpenOption...) - Method in class org.dromara.hutool.core.io.file.FileWriter
将流的内容写入文件
writeLines(Collection<T>, String, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, File, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将列表写入文件,覆盖模式
writeLines(Collection<T>, String, Charset, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将列表写入文件
writeLines(Collection<T>, File, Charset, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将列表写入文件
writeLines(Iterable<T>) - Method in class org.dromara.hutool.core.io.file.FileWriter
将列表写入文件,覆盖模式
writeLines(Iterable<T>, boolean) - Method in class org.dromara.hutool.core.io.file.FileWriter
将列表写入文件
writeLines(Iterable<T>, LineSeparator, boolean) - Method in class org.dromara.hutool.core.io.file.FileWriter
将列表写入文件
writeLock() - Method in class org.dromara.hutool.core.thread.lock.NoReadWriteLock
 
writeMap(Map<?, ?>, File, Charset, String, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeMap(Map<?, ?>, String, boolean) - Method in class org.dromara.hutool.core.io.file.FileWriter
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeMap(Map<?, ?>, LineSeparator, String, boolean) - Method in class org.dromara.hutool.core.io.file.FileWriter
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeObjectAsXml(File, Object) - Static method in class org.dromara.hutool.core.xml.XmlUtil
将可序列化的对象转换为XML写入文件,已经存在的文件将被覆盖
Writes serializable object to a XML file.
writeObjects(OutputStream, boolean, Object...) - Static method in class org.dromara.hutool.core.io.IoUtil
将多部分内容写到流中
writeObjs(Object...) - Method in class org.dromara.hutool.core.io.stream.StreamWriter
将多部分对象写到流中,使用ObjectOutputStream,对象必须实现序列化接口
WriterOutputStream - Class in org.dromara.hutool.core.io.stream
通过一个 Writer和一个CharsetDecoder实现将字节数据输出为字符数据。
WriterOutputStream(Writer, Charset) - Constructor for class org.dromara.hutool.core.io.stream.WriterOutputStream
构造函数,使用指定字符集和默认配置。
WriterOutputStream(Writer, Charset, int, boolean) - Constructor for class org.dromara.hutool.core.io.stream.WriterOutputStream
构造函数,使用指定字符集、默认缓冲区大小和不立即写入配置。
WriterOutputStream(Writer, CharsetDecoder) - Constructor for class org.dromara.hutool.core.io.stream.WriterOutputStream
构造,使用默认缓冲区大小和不立即写入配置。
WriterOutputStream(Writer, CharsetDecoder, int, boolean) - Constructor for class org.dromara.hutool.core.io.stream.WriterOutputStream
构造,允许自定义缓冲区大小和是否立即写入的配置。
writeString(String, String, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将String写入文件,覆盖模式
writeString(String, File, Charset) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将String写入文件,覆盖模式
writeStrs(OutputStream, Charset, boolean, CharSequence...) - Static method in class org.dromara.hutool.core.io.IoUtil
将多部分内容写到流中,自动转换为字符串
writeStrs(Charset, CharSequence...) - Method in class org.dromara.hutool.core.io.stream.StreamWriter
将多部分内容写到流中,自动转换为字符串
writeTo(OutputStream) - Method in interface org.dromara.hutool.core.io.resource.Resource
将资源内容写出到流,不关闭输出流,但是关闭资源流
writeTo(OutputStream) - Method in class org.dromara.hutool.core.io.stream.FastByteArrayOutputStream
写出
writeToStream(OutputStream) - Method in class org.dromara.hutool.core.io.file.FileReader
将文件写入流中,此方法不会关闭比输出流
writeToStream(OutputStream, boolean) - Method in class org.dromara.hutool.core.io.file.FileReader
将文件写入流中
writeToStream(File, OutputStream) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将文件写入流中,此方法不会关闭输出流
writeUtf8(OutputStream, boolean, CharSequence...) - Static method in class org.dromara.hutool.core.io.IoUtil
将多部分内容写到流中,自动转换为UTF-8字符串
writeUtf8Lines(Collection<T>, String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将列表写入文件,覆盖模式,编码为UTF-8
writeUtf8Lines(Collection<T>, File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将列表写入文件,覆盖模式,编码为UTF-8
writeUtf8Map(Map<?, ?>, File, String, boolean) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将Map写入文件,每个键值对为一行,一行中键与值之间使用kvSeparator分隔
writeUtf8String(String, String) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将String写入文件,覆盖模式,字符集为UTF-8
writeUtf8String(String, File) - Static method in class org.dromara.hutool.core.io.file.FileUtil
将String写入文件,覆盖模式,字符集为UTF-8

X

X_PI - Static variable in class org.dromara.hutool.core.data.CoordinateUtil
坐标转换参数:(火星坐标系与百度坐标系转换的中间量)
XmlConstants - Class in org.dromara.hutool.core.xml
XML相关常量
XmlConstants() - Constructor for class org.dromara.hutool.core.xml.XmlConstants
 
XmlEscape - Class in org.dromara.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;
XmlEscape() - Constructor for class org.dromara.hutool.core.text.escape.XmlEscape
构造
XmlFeatures - Class in org.dromara.hutool.core.xml
XXE安全相关参数
见:https://blog.spoock.com/2018/10/23/java-xxe/
XmlFeatures() - Constructor for class org.dromara.hutool.core.xml.XmlFeatures
 
XMLGregorianCalendarConverter - Class in org.dromara.hutool.core.convert.impl
日期转换器
XMLGregorianCalendarConverter() - Constructor for class org.dromara.hutool.core.convert.impl.XMLGregorianCalendarConverter
构造
XmlMapper - Class in org.dromara.hutool.core.xml
XML转换器,用于转换Map或Bean等
XmlMapper(Node) - Constructor for class org.dromara.hutool.core.xml.XmlMapper
构造
XmlSaxReader - Class in org.dromara.hutool.core.xml
XML SAX方式读取器
XmlSaxReader(SAXParserFactory, InputSource) - Constructor for class org.dromara.hutool.core.xml.XmlSaxReader
构造
xmlToBean(Node, Class<T>) - Static method in class org.dromara.hutool.core.xml.XmlUtil
XML转Java Bean
如果XML根节点只有一个,且节点名和Bean的名称一致,则直接转换子节点
xmlToBean(Node, Class<T>, CopyOptions) - Static method in class org.dromara.hutool.core.xml.XmlUtil
XML转Java Bean
如果XML根节点只有一个,且节点名和Bean的名称一致,则直接转换子节点
xmlToMap(String) - Static method in class org.dromara.hutool.core.xml.XmlUtil
XML格式字符串转换为Map
xmlToMap(String, Map<String, Object>) - Static method in class org.dromara.hutool.core.xml.XmlUtil
XML格式字符串转换为Map
只支持第一级别的XML,不支持多级XML
xmlToMap(Node) - Static method in class org.dromara.hutool.core.xml.XmlUtil
XML格式字符串转换为Map
xmlToMap(Node, Map<String, Object>) - Static method in class org.dromara.hutool.core.xml.XmlUtil
XML节点转换为Map
XmlUnescape - Class in org.dromara.hutool.core.text.escape
XML的UNESCAPE
XmlUnescape() - Constructor for class org.dromara.hutool.core.text.escape.XmlUnescape
构造
XmlUtil - Class in org.dromara.hutool.core.xml
XML工具类
此工具使用w3c dom工具,不需要依赖第三方包。
XmlUtil() - Constructor for class org.dromara.hutool.core.xml.XmlUtil
 
XmlWriter - Class in org.dromara.hutool.core.xml
XML生成器
XmlWriter(Source) - Constructor for class org.dromara.hutool.core.xml.XmlWriter
构造
xor(boolean...) - Static method in class org.dromara.hutool.core.util.BooleanUtil
对boolean数组取异或 BooleanUtil.xor(true, true) = false BooleanUtil.xor(false, false) = false BooleanUtil.xor(true, false) = true BooleanUtil.xor(true, true, true) = true BooleanUtil.xor(false, false, false) = false BooleanUtil.xor(true, true, false) = false BooleanUtil.xor(true, false, false) = true
xorOfWrap(Boolean...) - Static method in class org.dromara.hutool.core.util.BooleanUtil
对Boolean数组取异或 BooleanUtil.xor(Boolean.TRUE, Boolean.TRUE) = Boolean.FALSE BooleanUtil.xor(Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE BooleanUtil.xor(Boolean.TRUE, Boolean.FALSE) = Boolean.TRUE BooleanUtil.xor(Boolean.TRUE, Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE BooleanUtil.xor(Boolean.FALSE, Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE BooleanUtil.xor(Boolean.TRUE, Boolean.TRUE, Boolean.FALSE) = Boolean.FALSE BooleanUtil.xor(Boolean.TRUE, Boolean.FALSE, Boolean.FALSE) = Boolean.TRUE
XPathUtil - Class in org.dromara.hutool.core.xml
XPath相关工具类
XPathUtil() - Constructor for class org.dromara.hutool.core.xml.XPathUtil
 
XXEUtil - Class in org.dromara.hutool.core.xml
XXE漏洞修复相关工具类
参考:https://blog.spoock.com/2018/10/23/java-xxe/
XXEUtil() - Constructor for class org.dromara.hutool.core.xml.XXEUtil
 

Y

year() - Method in class org.dromara.hutool.core.date.DateTime
获得年的部分
year(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得年的部分
yearAndQuarter(Calendar) - Static method in class org.dromara.hutool.core.date.CalendarUtil
获得指定日期年份和季度
格式:[20131]表示2013年第一季度
yearAndQuarter(Date) - Static method in class org.dromara.hutool.core.date.DateUtil
获得指定日期年份和季节
格式:[20131]表示2013年第一季度
yearDays(int) - Static method in class org.dromara.hutool.core.date.chinese.LunarInfo
传回农历 y年的总天数
yesterday() - Static method in class org.dromara.hutool.core.date.DateUtil
昨天
yuanToCent(double) - Static method in class org.dromara.hutool.core.math.MathUtil
金额元转换为分

Z

Z85Codec - Class in org.dromara.hutool.core.codec.binary
ZeroMQ Z85实现,
定义见:ZeroMQ Z85
参考实现:https://github.com/cometd/cometd/blob/6.0.x/cometd-java/cometd-java-common/src/main/java/org/cometd/common/Z85.java
Z85Codec() - Constructor for class org.dromara.hutool.core.codec.binary.Z85Codec
 
zero() - Static method in class org.dromara.hutool.core.collection.ListUtil
获取一个初始大小为0的List,这个空List可变
zero() - Static method in class org.dromara.hutool.core.collection.set.SetUtil
获取一个初始大小为0的Set,这个空Set可变
zero() - Static method in class org.dromara.hutool.core.map.MapUtil
返回一个初始大小为0的HashMap(初始为0,可加入元素)
zeroLinked() - Static method in class org.dromara.hutool.core.collection.set.SetUtil
获取一个初始大小为0的LinkedHashSet,这个空Set可变
zeroToOne(int) - Static method in class org.dromara.hutool.core.math.NumberUtil
如果给定值为0,返回1,否则返回原值
zip(K[], V[], boolean) - Static method in class org.dromara.hutool.core.array.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[]) - Static method in class org.dromara.hutool.core.array.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, String, String, boolean) - Static method in class org.dromara.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) - Static method in class org.dromara.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>) - Static method in class org.dromara.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(String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
打包到当前目录,使用默认编码UTF-8
zip(String, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
打包到当前目录
zip(File) - Static method in class org.dromara.hutool.core.compress.ZipUtil
打包到当前目录,使用默认编码UTF-8
zip(File, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
打包到当前目录
zip(String, String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对文件或文件目录进行压缩
不包含被打包目录
zip(String, String, boolean) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对文件或文件目录进行压缩
zip(String, String, Charset, boolean) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对文件或文件目录进行压缩
zip(File, boolean, File...) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对文件或文件目录进行压缩
使用默认UTF-8编码
zip(File, Charset, boolean, File...) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对文件或文件目录进行压缩
zip(File, Charset, boolean, FileFilter, File...) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对文件或文件目录进行压缩
zip(OutputStream, Charset, boolean, FileFilter, File...) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对文件或文件目录进行压缩
zip(File, String, String) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对流中的数据加入到压缩文件,使用默认UTF-8编码
zip(File, String, String, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对流中的数据加入到压缩文件
zip(File, String, InputStream) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对流中的数据加入到压缩文件
使用默认编码UTF-8
zip(File, String, InputStream, Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对流中的数据加入到压缩文件
zip(File, String[], InputStream[]) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对流中的数据加入到压缩文件
路径列表和流列表长度必须一致
zip(File, String[], InputStream[], Charset) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对流中的数据加入到压缩文件
路径列表和流列表长度必须一致
zip(OutputStream, String[], InputStream[]) - Static method in class org.dromara.hutool.core.compress.ZipUtil
将文件流压缩到目标流中
zip(ZipOutputStream, String[], InputStream[]) - Static method in class org.dromara.hutool.core.compress.ZipUtil
将文件流压缩到目标流中
zip(File, Charset, Resource...) - Static method in class org.dromara.hutool.core.compress.ZipUtil
对流中的数据加入到压缩文件
路径列表和流列表长度必须一致
zip(Iterable<U>, BiFunction<? super T, ? super U, ? extends R>) - Method in interface org.dromara.hutool.core.stream.TransformableWrappedStream
将 现有元素 与 给定迭代器中对应位置的元素 使用 zipper 转换为新的元素,并返回新元素组成的流
新流的数量为两个集合中较小的数量, 即, 只合并下标位置相同的部分
ZIP_CODE - Static variable in class org.dromara.hutool.core.regex.PatternPool
邮编,兼容港澳台
ZIP_CODE - Static variable in interface org.dromara.hutool.core.regex.RegexPool
邮编,兼容港澳台
ZipCopyVisitor - Class in org.dromara.hutool.core.compress
Zip文件拷贝的FileVisitor实现,zip中追加文件,此类非线程安全
此类在遍历源目录并复制过程中会自动创建目标目录中不存在的上级目录。
ZipCopyVisitor(Path, FileSystem, CopyOption...) - Constructor for class org.dromara.hutool.core.compress.ZipCopyVisitor
构造
ZipFileResource - Class in org.dromara.hutool.core.compress
ZipFile 资源包装
ZipFileResource(ZipFile) - Constructor for class org.dromara.hutool.core.compress.ZipFileResource
构造
ZipReader - Class in org.dromara.hutool.core.compress
Zip文件或流读取器,一般用于Zip文件解压
ZipReader(ZipFile) - Constructor for class org.dromara.hutool.core.compress.ZipReader
构造
ZipReader(ZipInputStream) - Constructor for class org.dromara.hutool.core.compress.ZipReader
构造
ZipReader(ZipResource) - Constructor for class org.dromara.hutool.core.compress.ZipReader
构造
ZipReplacer - Class in org.dromara.hutool.core.compress
Zip文件替换,用户替换源Zip文件,并生成新的文件
ZipReplacer(ZipReader, boolean) - Constructor for class org.dromara.hutool.core.compress.ZipReplacer
构造
ZipResource - Interface in org.dromara.hutool.core.compress
Zip资源表示,如Zip流资源或Zip文件资源
ZipSecurityUtil - Class in org.dromara.hutool.core.compress
Zip安全相关工具类,如检查Zip bomb漏洞等
ZipSecurityUtil() - Constructor for class org.dromara.hutool.core.compress.ZipSecurityUtil
 
ZipStreamResource - Class in org.dromara.hutool.core.compress
ZipInputStream 资源包装
ZipStreamResource(ZipInputStream) - Constructor for class org.dromara.hutool.core.compress.ZipStreamResource
构造
ZipUtil - Class in org.dromara.hutool.core.compress
压缩工具类
ZipUtil() - Constructor for class org.dromara.hutool.core.compress.ZipUtil
 
ZipWriter - Class in org.dromara.hutool.core.compress
Zip生成封装
ZipWriter(File, Charset) - Constructor for class org.dromara.hutool.core.compress.ZipWriter
构造
ZipWriter(OutputStream, Charset) - Constructor for class org.dromara.hutool.core.compress.ZipWriter
构造
ZipWriter(ZipOutputStream) - Constructor for class org.dromara.hutool.core.compress.ZipWriter
构造
zlib(String, Charset, int) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Zlib压缩处理
zlib(File, int) - Static method in class org.dromara.hutool.core.compress.ZipUtil
Zlib压缩文件
zlib(byte[], int) - Static method in class org.dromara.hutool.core.compress.ZipUtil
打成Zlib压缩包
zlib(InputStream, int) - Static method in class org.dromara.hutool.core.compress.ZipUtil
打成Zlib压缩包
zlib(InputStream, int, int) - Static method in class org.dromara.hutool.core.compress.ZipUtil
打成Zlib压缩包
zobrist(char[], int, int[][]) - Static method in class org.dromara.hutool.core.codec.hash.HashUtil
Zobrist Hashing
Zodiac - Class in org.dromara.hutool.core.date
Zodiac() - Constructor for class org.dromara.hutool.core.date.Zodiac
 
ZONE_ID_UTC - Static variable in class org.dromara.hutool.core.date.ZoneUtil
UTC 的 TimeZone
ZONE_UTC - Static variable in class org.dromara.hutool.core.date.ZoneUtil
UTC 的 ZoneID
ZoneIdConverter - Class in org.dromara.hutool.core.convert.impl
ZoneId转换器
ZoneIdConverter() - Constructor for class org.dromara.hutool.core.convert.impl.ZoneIdConverter
 
ZoneUtil - Class in org.dromara.hutool.core.date
ZoneIdTimeZone相关封装
ZoneUtil() - Constructor for class org.dromara.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 
Skip navigation links

Copyright © 2024. All rights reserved.