- ABBREVIATED_YEAR_STRATEGY - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- AbstractConverter<T> - com.github.jarvisframework.tool.core.convert中的类
-
抽象转换器,提供通用的转换逻辑,同时通过convertInternal实现对应类型的专属逻辑
转换器不会抛出转换异常,转换失败时会返回null
- AbstractConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.AbstractConverter
-
- AbstractDateBasic - com.github.jarvisframework.tool.core.date.format中的类
-
description
- AbstractDateBasic(String, TimeZone, Locale) - 类 的构造器com.github.jarvisframework.tool.core.date.format.AbstractDateBasic
-
构造,内部使用
- accept(T, int) - 接口 中的方法com.github.jarvisframework.tool.core.collection.CollectionUtils.Consumer
-
接受并处理一个参数
- accept(K, V, int) - 接口 中的方法com.github.jarvisframework.tool.core.collection.CollectionUtils.KVConsumer
-
接受并处理一对参数
- accept(Class<?>...) - 类 中的方法com.github.jarvisframework.tool.core.io.ValidateObjectInputStream
-
接受反序列化的类,用于反序列化验证
- accept(T) - 接口 中的方法com.github.jarvisframework.tool.core.lang.Filter
-
是否接受对象
- actualTypeArguments - 类 中的变量com.github.jarvisframework.tool.core.lang.ParameterizedTypeImpl
-
- ActualTypeMapperPool - com.github.jarvisframework.tool.core.lang.reflect中的类
-
泛型变量和泛型实际类型映射关系缓存
- ActualTypeMapperPool() - 类 的构造器com.github.jarvisframework.tool.core.lang.reflect.ActualTypeMapperPool
-
- add(T, double) - 类 中的方法com.github.jarvisframework.tool.core.lang.WeightRandom
-
增加对象
- add(WeightRandom.WeightObj<T>) - 类 中的方法com.github.jarvisframework.tool.core.lang.WeightRandom
-
增加对象权重
- add(CharSequence, Object) - 类 中的方法com.github.jarvisframework.tool.core.net.url.UrlQuery
-
增加键值对
- add(float, float) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的加法运算
- add(float, double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的加法运算
- add(double, float) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的加法运算
- add(double, double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的加法运算
- add(Double, Double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的加法运算
- add(Number, Number) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- add(Number...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- add(String...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- add(BigDecimal...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的加法运算
如果传入多个值为null或者空,则返回0
- addAll(E[]) - 类 中的方法com.github.jarvisframework.tool.core.collection.BoundedPriorityQueue
-
- addAll(Collection<T>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
将指定对象全部加入到集合中
提供的对象如果为集合类型,会自动转换为目标元素类型
- addAll(Collection<T>, Object, Type) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
将指定对象全部加入到集合中
提供的对象如果为集合类型,会自动转换为目标元素类型
如果为String,支持类似于[1,2,3,4] 或者 1,2,3,4 这种格式
- addAll(Collection<T>, Iterator<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
加入全部
- addAll(Collection<T>, Iterable<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
加入全部
- addAll(Collection<T>, Enumeration<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
加入全部
- addAll(Collection<T>, T[]) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
加入全部
- addAll(Map<? extends CharSequence, ?>) - 类 中的方法com.github.jarvisframework.tool.core.net.url.UrlQuery
-
批量增加键值对
- addAll(T[]...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将多个数组合并在一起
忽略null的数组
- addAll(byte[]...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将多个数组合并在一起
忽略null的数组
- addAll(int[]...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将多个数组合并在一起
忽略null的数组
- addAll(long[]...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将多个数组合并在一起
忽略null的数组
- addAll(double[]...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将多个数组合并在一起
忽略null的数组
- addAll(float[]...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将多个数组合并在一起
忽略null的数组
- addAll(char[]...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将多个数组合并在一起
忽略null的数组
- addAll(boolean[]...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将多个数组合并在一起
忽略null的数组
- addAll(short[]...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将多个数组合并在一起
忽略null的数组
- addAllIfNotContains(List<T>, List<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
将另一个列表中的元素加入到列表中,如果列表中已经存在此元素则忽略之
- addChain(Watcher) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.watcher.WatcherChain
-
- addChain(E) - 接口 中的方法com.github.jarvisframework.tool.core.lang.Chain
-
加入责任链
- addDir(String, ZipOutputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
在压缩包中新建目录
- addFile(File, String, ZipOutputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
添加文件到压缩包
- addFile(InputStream, String, ZipOutputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
添加文件流到压缩包,添加后关闭流
- addIfAccept(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
通过过滤器,是否满足接受此类的条件
- addIfAccept(Class<?>) - 类 中的方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
通过过滤器,是否满足接受此类的条件
- addJar(File) - 类 中的方法com.github.jarvisframework.tool.core.lang.JarClassLoader
-
加载Jar文件,或者加载目录
- addParam(String, String, Charset) - 类 中的方法com.github.jarvisframework.tool.core.net.url.UrlQuery
-
将键值对加入到值为List类型的Map中,,情况如下:
1、key和value都不为null,类似于 "a=1"或者"=1",直接put
2、key不为null,value为null,类似于 "a=",值传""
3、key为null,value不为null,类似于 "1"
4、key和value都为null,忽略之,比如&&
- addPrefixIfNot(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
如果给定字符串不是以prefix开头的,在开头补充 prefix
- addRepeatWorker(Runnable) - 类 中的方法com.github.jarvisframework.tool.core.thread.SyncFinisher
-
增加定义的线程数同等数量的worker
- addSafeCharacter(char) - 类 中的方法com.github.jarvisframework.tool.core.net.URLEncoder
-
增加安全字符
安全字符不被编码
- addSuffixIfNot(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
如果给定字符串不是以suffix结尾的,在尾部补充 suffix
- addToList(List<String>, String, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
将字符串加入List中
- addURL(URL) - 类 中的方法com.github.jarvisframework.tool.core.lang.JarClassLoader
-
- addURL(File) - 类 中的方法com.github.jarvisframework.tool.core.lang.JarClassLoader
-
增加class所在目录或文件
如果为目录,此目录用于搜索class文件,如果为文件,需为jar文件
- addWorker(Runnable) - 类 中的方法com.github.jarvisframework.tool.core.thread.SyncFinisher
-
增加工作线程
- addWorker(SyncFinisher.Worker) - 类 中的方法com.github.jarvisframework.tool.core.thread.SyncFinisher
-
增加工作线程
- adjustYear(int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
使用当前的世纪调整两位数年份为四位数年份
- afterPropertiesSet() - 类 中的方法com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
- age(Calendar, Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
计算相对于dateToCompare的年龄,长用于计算指定生日在某年的年龄
- age(long, long) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
计算相对于dateToCompare的年龄,长用于计算指定生日在某年的年龄
- age(Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
计算相对于dateToCompare的年龄,长用于计算指定生日在某年的年龄
- ageOfNow(String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
生日转为年龄,计算法定年龄
- ageOfNow(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
生日转为年龄,计算法定年龄
- Alias - com.github.jarvisframework.tool.core.annotation中的注释类型
-
别名注解,使用此注解的字段、方法、参数等会有一个别名,用于Bean拷贝、Bean转Map等
- ALL - 枚举 中的静态变量com.github.jarvisframework.tool.core.io.watch.WatchKindEnum
-
全部事件
- ALL - 类 中的静态变量com.github.jarvisframework.tool.core.net.URLEncoder
-
全编码的
URLEncoder
0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is
'*', '-', '
- allowCoreThreadTimeOut - 类 中的变量com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
线程执行超时后是否回收线程
- AMP - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- and(boolean...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
对Boolean数组取与
BooleanUtils.and(true, true) = true
BooleanUtils.and(false, false) = false
BooleanUtils.and(true, false) = false
BooleanUtils.and(true, true, false) = false
BooleanUtils.and(true, true, true) = true
- andOfWrap(Boolean...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
对Boolean数组取与
BooleanUtils.and(Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE
BooleanUtils.and(Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE
BooleanUtils.and(Boolean.TRUE, Boolean.FALSE) = Boolean.FALSE
BooleanUtils.and(Boolean.TRUE, Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE
BooleanUtils.and(Boolean.FALSE, Boolean.FALSE, Boolean.TRUE) = Boolean.FALSE
BooleanUtils.and(Boolean.TRUE, Boolean.FALSE, Boolean.TRUE) = Boolean.FALSE
- annotationMap - 类 中的变量com.github.jarvisframework.tool.core.annotation.CombinationAnnotationElement
-
注解类型与注解对象对应表
- AnnotationUtils - com.github.jarvisframework.tool.core.annotation中的类
-
注解工具类
快速获取注解对象、注解值等工具封装
- AnnotationUtils() - 类 的构造器com.github.jarvisframework.tool.core.annotation.AnnotationUtils
-
- append(byte[], int, int) - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
向快速缓冲加入数据
- append(byte[]) - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
向快速缓冲加入数据
- append(byte) - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
向快速缓冲加入一个字节
- append(FastByteBuffer) - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
将另一个快速缓冲加入到自身
- append(String) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWriter
-
将String写入文件,追加模式
- append(byte[], int, int) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWriter
-
追加数据到文件
- append(Object) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
追加对象,对象会被转换为字符串
- append(char) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
追加一个字符
- append(char[]) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
追加一个字符数组
- append(char[], int, int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
追加一个字符数组
- append(CharSequence) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
- append(CharSequence, int, int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
- append(T[], T...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
- append(Object, T...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将新元素添加到已有数组中
添加新元素会生成一个新的数组,不影响原数组
- appendAllTo(StringBuilder, String, Type...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.ParameterizedTypeImpl
-
追加 types 到 @{code buf},使用 sep 分隔
- appendDigits(Appendable, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
Appends two digits to the given buffer.
- appendDisplayNames(Calendar, Locale, int, StringBuilder) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
Get the short and long values displayed for a field
- appendFullDigits(Appendable, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
Appends all digits to the given buffer.
- appendHex(StringBuilder, byte, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
- appendIfMissing(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
不忽略大小写
- appendIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
- appendIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
如果给定字符串不是以给定的一个或多个字符串为结尾,则在尾部添加结尾字符串
忽略大小写
- appendLines(Collection<T>) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWriter
-
将列表写入文件,追加模式
- appendLines(Collection<T>, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将列表写入文件,追加模式
- appendLines(Collection<T>, File, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将列表写入文件,追加模式
- appendLines(Collection<T>, String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将列表写入文件,追加模式
- appendLines(Collection<T>, File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将列表写入文件,追加模式
- appendRange(int, int, Collection<Integer>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
将给定范围内的整数添加到已有集合中,步进为1
- appendRange(int, int, int, Collection<Integer>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
将给定范围内的整数添加到已有集合中
- appendString(String, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将String写入文件,追加模式
- appendString(String, String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将String写入文件,追加模式
- appendString(String, File, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将String写入文件,追加模式
- appendString(String, File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将String写入文件,追加模式
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.CharacterLiteral
-
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.DayInWeekField
-
- appendTo(Appendable, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.DayInWeekField
-
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.Iso8601_Rule
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, int) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.NumberRule
-
Appends the specified value to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.PaddedNumberField
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.PaddedNumberField
-
Appends the specified value to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.Rule
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.StringLiteral
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TextField
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TimeZoneNameRule
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TimeZoneNumberRule
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwelveHourField
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwelveHourField
-
Appends the specified value to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwentyFourHourField
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwentyFourHourField
-
Appends the specified value to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitMonthField
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitMonthField
-
Appends the specified value to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitNumberField
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitNumberField
-
Appends the specified value to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitYearField
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitYearField
-
Appends the specified value to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.UnpaddedMonthField
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.UnpaddedMonthField
-
Appends the specified value to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.UnpaddedNumberField
-
Appends the value of the specified calendar to the output buffer based on the rule implementation.
- appendTo(Appendable, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.UnpaddedNumberField
-
Appends the specified value to the output buffer based on the rule implementation.
- appendTo(Appendable, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.WeekYear
-
- appendTo(Appendable, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.WeekYear
-
- appendUtf8Lines(Collection<T>, File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将列表写入文件,追加模式
- appendUtf8Lines(Collection<T>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将列表写入文件,追加模式
- appendUtf8String(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将String写入文件,UTF-8编码追加模式
- appendUtf8String(String, File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
将String写入文件,UTF-8编码追加模式
- applyRules(Calendar, B) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
Performs the formatting by applying the rules to the specified calendar.
- applyRulesToString(Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
Creates a String representation of the given Calendar by applying the rules of this printer to it.
- areNotEmpty(String...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
检查指定的字符串列表是否不为空。
- arguments - 异常错误 中的变量com.github.jarvisframework.tool.core.exception.BusinessException
-
异常 arguments
- array - 类 中的变量com.github.jarvisframework.tool.core.collection.ArrayIter
-
数组
- array(int) - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
根据索引位返回缓冲集中的缓冲
- ARRAY_SUFFIX - 类 中的静态变量com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
数组类的结尾符: "[]"
- ArrayConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
数组转换器,包括原始类型数组
- ArrayConverter(Class<?>) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
构造
- ArrayConverter(Class<?>, boolean) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
构造
- ArrayIter<E> - com.github.jarvisframework.tool.core.collection中的类
-
数组Iterator对象
- ArrayIter(Object) - 类 的构造器com.github.jarvisframework.tool.core.collection.ArrayIter
-
构造
- ArrayIter(Object, int) - 类 的构造器com.github.jarvisframework.tool.core.collection.ArrayIter
-
构造
- ArrayIter(Object, int, int) - 类 的构造器com.github.jarvisframework.tool.core.collection.ArrayIter
-
构造
- ArrayUtils - com.github.jarvisframework.tool.core.util中的类
-
数组工具类
- ArrayUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.ArrayUtils
-
- ASCII_LENGTH - 类 中的静态变量com.github.jarvisframework.tool.core.text.AsciiStringCache
-
- AsciiStringCache - com.github.jarvisframework.tool.core.text中的类
-
ASCII字符对应的字符串缓存
- AsciiStringCache() - 类 的构造器com.github.jarvisframework.tool.core.text.AsciiStringCache
-
- ascToBcd(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.BCD
-
ASCII转BCD
- ascToBcd(byte[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.BCD
-
ASCII转BCD
- ascToBcd(byte) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.BCD
-
转换单个byte为BCD
- asEnumeration(Iterator<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
Iterator转换为Enumeration
Adapt the specified Iterator to the Enumeration interface.
- asIterable(Iterator<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- asIterable(Iterator<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
- asIterator(Enumeration<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
Enumeration转换为Iterator
Adapt the specified Enumeration to the Iterator interface
- asIterator(Enumeration<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
Enumeration转换为Iterator
Adapt the specified Enumeration to the Iterator interface
- Assert - com.github.jarvisframework.tool.core.lang中的类
-
断言
断言某些对象或值是否符合规定,否则抛出异常。
- Assert() - 类 的构造器com.github.jarvisframework.tool.core.lang.Assert
-
- AtomicBooleanConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
- AtomicBooleanConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.AtomicBooleanConverter
-
- AtomicReferenceConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
- AtomicReferenceConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.AtomicReferenceConverter
-
- await() - 类 中的方法com.github.jarvisframework.tool.core.thread.SyncFinisher
-
- awaitTermination(long, TimeUnit) - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- C_BACKSLASH - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_BRACKET_END - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_BRACKET_START - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_COLON - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_COMMA - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_CR - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_DELIM_END - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_DELIM_START - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_DOT - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_LF - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_SLASH - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_SPACE - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_TAB - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- C_UNDERLINE - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- cache - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- cache - 类 中的静态变量com.github.jarvisframework.tool.core.lang.reflect.ActualTypeMapperPool
-
- cache - 类 中的变量com.github.jarvisframework.tool.core.lang.SimpleCache
-
池
- CACHE - 类 中的静态变量com.github.jarvisframework.tool.core.text.AsciiStringCache
-
- cacheHash - 类 中的变量com.github.jarvisframework.tool.core.lang.Tuple
-
- caches - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- calculate(String) - 类 中的方法com.github.jarvisframework.tool.core.math.Calculator
-
按照给定的表达式计算
- calculate(String, String, char) - 类 中的方法com.github.jarvisframework.tool.core.math.Calculator
-
按照给定的算术运算符做计算
- Calculator - com.github.jarvisframework.tool.core.math中的类
-
数学表达式计算工具类
- Calculator() - 类 的构造器com.github.jarvisframework.tool.core.math.Calculator
-
- calendar() - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
创建Calendar对象,时间为默认时区的当前时间
- calendar(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
转换为Calendar对象
- calendar(long) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
转换为Calendar对象
- CalendarConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
日期转换器
- CalendarConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.CalendarConverter
-
- CalendarUtils - com.github.jarvisframework.tool.core.date中的类
-
- CalendarUtils() - 类 的构造器com.github.jarvisframework.tool.core.date.CalendarUtils
-
- call() - 接口 中的方法com.github.jarvisframework.tool.core.func.Func0
-
执行函数
- call(P) - 接口 中的方法com.github.jarvisframework.tool.core.lang.func.Func1
-
执行函数
- Caller - com.github.jarvisframework.tool.core.lang.caller中的接口
-
调用者接口
可以通过此接口的实现类方法获取调用者、多级调用者以及判断是否被调用
- CallerUtils - com.github.jarvisframework.tool.core.lang.caller中的类
-
调用者。
- CallerUtils() - 类 的构造器com.github.jarvisframework.tool.core.lang.caller.CallerUtils
-
- callWithRuntimeException() - 接口 中的方法com.github.jarvisframework.tool.core.func.Func0
-
执行函数,异常包装为RuntimeException
- callWithRuntimeException(P) - 接口 中的方法com.github.jarvisframework.tool.core.lang.func.Func1
-
执行函数,异常包装为RuntimeException
- CamelCaseLinkedMap<K,V> - com.github.jarvisframework.tool.core.map中的类
-
驼峰Key风格的LinkedHashMap
对KEY转换为驼峰,get("int_value")和get("intValue")获得的值相同,put进入的值也会被覆盖
- CamelCaseLinkedMap() - 类 的构造器com.github.jarvisframework.tool.core.map.CamelCaseLinkedMap
-
构造
- CamelCaseLinkedMap(int) - 类 的构造器com.github.jarvisframework.tool.core.map.CamelCaseLinkedMap
-
构造
- CamelCaseLinkedMap(Map<? extends K, ? extends V>) - 类 的构造器com.github.jarvisframework.tool.core.map.CamelCaseLinkedMap
-
构造
- CamelCaseLinkedMap(float, Map<? extends K, ? extends V>) - 类 的构造器com.github.jarvisframework.tool.core.map.CamelCaseLinkedMap
-
构造
- CamelCaseLinkedMap(int, float) - 类 的构造器com.github.jarvisframework.tool.core.map.CamelCaseLinkedMap
-
构造
- CamelCaseMap<K,V> - com.github.jarvisframework.tool.core.map中的类
-
驼峰Key风格的Map
对KEY转换为驼峰,get("int_value")和get("intValue")获得的值相同,put进入的值也会被覆盖
- CamelCaseMap() - 类 的构造器com.github.jarvisframework.tool.core.map.CamelCaseMap
-
构造
- CamelCaseMap(int) - 类 的构造器com.github.jarvisframework.tool.core.map.CamelCaseMap
-
构造
- CamelCaseMap(Map<? extends K, ? extends V>) - 类 的构造器com.github.jarvisframework.tool.core.map.CamelCaseMap
-
构造
- CamelCaseMap(float, Map<? extends K, ? extends V>) - 类 的构造器com.github.jarvisframework.tool.core.map.CamelCaseMap
-
构造
- CamelCaseMap(int, float) - 类 的构造器com.github.jarvisframework.tool.core.map.CamelCaseMap
-
构造
- capacity - 类 中的变量com.github.jarvisframework.tool.core.collection.BoundedPriorityQueue
-
容量
- capacity - 类 中的变量com.github.jarvisframework.tool.core.map.FixedLinkedHashMap
-
容量,超过此容量自动删除末尾元素
- caseInsensitive - 类 中的变量com.github.jarvisframework.tool.core.lang.Dictionary
-
是否大小写不敏感
- CaseInsensitiveMap<K,V> - com.github.jarvisframework.tool.core.map中的类
-
忽略大小写的Map
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
- CaseInsensitiveMap() - 类 的构造器com.github.jarvisframework.tool.core.map.CaseInsensitiveMap
-
构造
- CaseInsensitiveMap(int) - 类 的构造器com.github.jarvisframework.tool.core.map.CaseInsensitiveMap
-
构造
- CaseInsensitiveMap(Map<? extends K, ? extends V>) - 类 的构造器com.github.jarvisframework.tool.core.map.CaseInsensitiveMap
-
构造
- CaseInsensitiveMap(float, Map<? extends K, ? extends V>) - 类 的构造器com.github.jarvisframework.tool.core.map.CaseInsensitiveMap
-
构造
- CaseInsensitiveMap(int, float) - 类 的构造器com.github.jarvisframework.tool.core.map.CaseInsensitiveMap
-
构造
- CaseInsensitiveTextStrategy(int, Calendar, Locale) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateParser.CaseInsensitiveTextStrategy
-
Construct a Strategy that parses a Text field
- cast(Class<?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
强转数组类型
强制转换的前提是数组元素类型可被强制转换
强制转换后会生成一个新数组
- CastConverter<T> - com.github.jarvisframework.tool.core.convert.impl中的类
-
强转转换器
- CastConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.CastConverter
-
- causeInstanceOf(Class<? extends Throwable>) - 异常错误 中的方法com.github.jarvisframework.tool.core.io.IORuntimeException
-
导致这个异常的异常是否是指定类型的异常
- causeInstanceOf(Class<? extends Throwable>) - 异常错误 中的方法com.github.jarvisframework.tool.core.io.resource.NoResourceException
-
导致这个异常的异常是否是指定类型的异常
- cDateTimeInstanceCache - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FormatCache
-
- ceilDiv(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
补充Math.ceilDiv() JDK8中添加了和Math.floorDiv()但却没有ceilDiv()
- ceiling(Calendar, DateFieldEnum) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
修改日期为某个时间字段结束时间
- ceiling(Date, DateFieldEnum) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
修改日期为某个时间字段结束时间
- center(CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
StringUtils.center(null, *) = null
StringUtils.center("", 4) = " "
StringUtils.center("ab", -1) = "ab"
StringUtils.center("ab", 4) = " ab "
StringUtils.center("abcd", 2) = "abcd"
StringUtils.center("a", 4) = " a "
- center(CharSequence, int, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
StringUtils.center(null, *, *) = null
StringUtils.center("", 4, ' ') = " "
StringUtils.center("ab", -1, ' ') = "ab"
StringUtils.center("ab", 4, ' ') = " ab "
StringUtils.center("abcd", 2, ' ') = "abcd"
StringUtils.center("a", 4, ' ') = " a "
StringUtils.center("a", 4, 'y') = "yayy"
StringUtils.center("abc", 7, ' ') = " abc "
- center(CharSequence, int, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
居中字符串,两边补充指定字符串,如果指定长度小于字符串,则返回原字符串
StringUtils.center(null, *, *) = null
StringUtils.center("", 4, " ") = " "
StringUtils.center("ab", -1, " ") = "ab"
StringUtils.center("ab", 4, " ") = " ab "
StringUtils.center("abcd", 2, " ") = "abcd"
StringUtils.center("a", 4, " ") = " a "
StringUtils.center("a", 4, "yz") = "yayz"
StringUtils.center("abc", 7, null) = " abc "
StringUtils.center("abc", 7, "") = " abc "
- century - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser
-
世纪:2000年前为19, 之后为20
- chain - 类 中的变量com.github.jarvisframework.tool.core.io.watch.watcher.WatcherChain
-
观察者列表
- Chain<E,T> - com.github.jarvisframework.tool.core.lang中的接口
-
责任链接口
- CharacterConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
字符转换器
- CharacterConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.CharacterConverter
-
- characteristics() - 类 中的方法com.github.jarvisframework.tool.core.collection.TransSpliterator
-
- CharacterLiteral(char) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.CharacterLiteral
-
Constructs a new instance of CharacterLiteral to hold the specified value.
- charAt(int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
- charset - 类 中的变量com.github.jarvisframework.tool.core.io.BOMInputStream
-
- charset - 类 中的变量com.github.jarvisframework.tool.core.io.file.FileWrapper
-
- charset - 类 中的变量com.github.jarvisframework.tool.core.io.file.LineReadWatcher
-
- charset - 类 中的变量com.github.jarvisframework.tool.core.io.file.Tailer
-
编码
- charset - 类 中的变量com.github.jarvisframework.tool.core.lang.ClassScanner
-
编码
- charset(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharsetUtils
-
转换为Charset对象
- CHARSET_GBK - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharsetUtils
-
GBK
- CHARSET_ISO_8859_1 - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharsetUtils
-
ISO-8859-1
- CHARSET_UTF_8 - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharsetUtils
-
UTF-8
- CharsetConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
编码对象转换器
- CharsetConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.CharsetConverter
-
- CharsetUtils - com.github.jarvisframework.tool.core.util中的类
-
字符集工具类
- CharsetUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.CharsetUtils
-
- CharUtils - com.github.jarvisframework.tool.core.util中的类
-
字符工具类
部分工具来自于Apache Commons系列
- CharUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.CharUtils
-
- checkBetween(int, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
检查值是否在指定范围内
- checkBetween(long, long, long) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
检查值是否在指定范围内
- checkBetween(double, double, double) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
检查值是否在指定范围内
- checkBetween(Number, Number, Number) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
检查值是否在指定范围内
- checkFile() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileReader
-
检查文件
- checkFile() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWriter
-
检查文件
- checkFile(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.file.Tailer
-
检查文件有效性
- checkIndex(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
检查下标(数组、集合、字符串)是否符合要求,下标必须满足:
0 ≤ index < size
- checkIndex(int, int, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
检查下标(数组、集合、字符串)是否符合要求,下标必须满足:
0 ≤ index < size
- checkSlip(File, File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
检查父完整路径是否为自路径的前半部分,如果不是说明不是子路径,可能存在slip注入。
- checksum(File, Checksum) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
计算文件校验码
- checksum(InputStream, Checksum) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
计算流的校验码,计算后关闭流
- checksumCRC32(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
计算文件CRC32校验码
- checksumCRC32(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
计算流CRC32校验码,计算后关闭流
- checkTimeBase() - 类 中的方法com.github.jarvisframework.tool.core.lang.UUID
-
检查是否为time-based版本UUID
- CHINESE - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
单个中文汉字
- CHINESE_DATE_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- CHINESE_DATE_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
标准日期格式:yyyy年MM月dd日
- CHINESE_DATE_TIME_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- CHINESE_DATE_TIME_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
标准日期格式:yyyy年MM月dd日 HH时mm分ss秒
- CHINESE_ZODIACS - 类 中的静态变量com.github.jarvisframework.tool.core.date.Zodiac
-
- CHINESES - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
中文汉字
- cInstanceCache - 类 中的变量com.github.jarvisframework.tool.core.date.format.FormatCache
-
- CITIZEN_ID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
18位身份证号码
- CITIZEN_ID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
身份证号码
- CLASS_CACHE - 类 中的静态变量com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
- CLASS_EXT - 类 中的静态变量com.github.jarvisframework.tool.core.io.FileUtils
-
Class文件扩展名
- ClassConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
类转换器
将类名转换为类
- ClassConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.ClassConverter
-
- classes - 类 中的变量com.github.jarvisframework.tool.core.lang.ClassScanner
-
扫描结果集
- classFilter - 类 中的变量com.github.jarvisframework.tool.core.lang.ClassScanner
-
过滤器
- classLoader - 类 中的变量com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
- classLoader - 类 中的变量com.github.jarvisframework.tool.core.lang.ClassScanner
-
类加载器
- ClassLoaderUtils - com.github.jarvisframework.tool.core.util中的类
-
- ClassLoaderUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
- CLASSPATH_URL_PREFIX - 类 中的静态变量com.github.jarvisframework.tool.core.util.UrlUtils
-
针对ClassPath路径的伪协议前缀(兼容Spring): "classpath:"
- ClassPathResource - com.github.jarvisframework.tool.core.io.resource中的类
-
ClassPath单一资源访问类
传入路径path必须为相对路径,如果传入绝对路径,Linux路径会去掉开头的“/”,而Windows路径会直接报错。
- ClassPathResource(String) - 类 的构造器com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
构造
- ClassPathResource(String, ClassLoader) - 类 的构造器com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
构造
- ClassPathResource(String, Class<?>) - 类 的构造器com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
构造
- ClassPathResource(String, ClassLoader, Class<?>) - 类 的构造器com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
构造
- ClassScanner - com.github.jarvisframework.tool.core.lang中的类
-
类扫描器
- ClassScanner() - 类 的构造器com.github.jarvisframework.tool.core.lang.ClassScanner
-
构造,默认UTF-8编码
- ClassScanner(String) - 类 的构造器com.github.jarvisframework.tool.core.lang.ClassScanner
-
构造,默认UTF-8编码
- ClassScanner(String, Filter<Class<?>>) - 类 的构造器com.github.jarvisframework.tool.core.lang.ClassScanner
-
构造,默认UTF-8编码
- ClassScanner(String, Filter<Class<?>>, Charset) - 类 的构造器com.github.jarvisframework.tool.core.lang.ClassScanner
-
构造
- ClassUtils - com.github.jarvisframework.tool.core.util中的类
-
类工具类
- ClassUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.ClassUtils
-
- clazz - 类 中的变量com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
- clean(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- clean(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- cleanBlank(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
清理空白字符
- cleanEmpty(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
清理空文件夹
此方法用于递归删除空的文件夹,不删除文件
如果传入的文件夹本身就是空的,删除这个文件夹
- cleanInvalid(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
清除文件名中的在Windows下不支持的非法字符,包括: \ / : * ?
- clear(Collection<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
清除一个或多个集合内的元素,每个集合调用clear()方法
- clear() - 类 中的方法com.github.jarvisframework.tool.core.collection.TransCollection
-
- clear() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.PatternPool
-
清空缓存池
- clear() - 类 中的方法com.github.jarvisframework.tool.core.lang.SimpleCache
-
清空缓存池
- clear() - 类 中的方法com.github.jarvisframework.tool.core.lang.WeightRandom
-
清空权重表
- clear() - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- clear(Map<?, ?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
清除一个或多个Map集合内的元素,每个Map调用clear()方法
- clear() - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- clear() - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- clear() - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
删除全部字符,位置归零
- clearWorker() - 类 中的方法com.github.jarvisframework.tool.core.thread.SyncFinisher
-
清空工作线程对象
- clockSequence() - 类 中的方法com.github.jarvisframework.tool.core.lang.UUID
-
与此 UUID 相关联的时钟序列值。
- clone() - 接口 中的方法com.github.jarvisframework.tool.core.clone.Cloneable
-
克隆当前对象,浅复制
- clone() - 类 中的方法com.github.jarvisframework.tool.core.clone.CloneSupport
-
- clone() - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- clone(T[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
克隆数组
- clone(T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
克隆数组,如果非数组返回null
- clone(T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
克隆对象
如果对象实现Cloneable接口,调用其clone方法
如果实现Serializable接口,执行深度克隆
否则返回null
- Cloneable<T> - com.github.jarvisframework.tool.core.clone中的接口
-
克隆支持接口
- cloneByStream(T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
序列化后拷贝流的方式克隆
对象必须实现Serializable接口
- CloneException - com.github.jarvisframework.tool.core.clone中的异常错误
-
克隆异常
- CloneException(Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.clone.CloneException
-
- CloneException(String) - 异常错误 的构造器com.github.jarvisframework.tool.core.clone.CloneException
-
- CloneException(String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.clone.CloneException
-
- CloneException(String, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.clone.CloneException
-
- CloneException(Throwable, String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.clone.CloneException
-
- cloneIfPossible(T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
返回克隆后的对象,如果克隆失败,返回原对象
- CloneSupport<T> - com.github.jarvisframework.tool.core.clone中的类
-
description
- CloneSupport() - 类 的构造器com.github.jarvisframework.tool.core.clone.CloneSupport
-
- close() - 类 中的方法com.github.jarvisframework.tool.core.io.BOMInputStream
-
- close() - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteArrayOutputStream
-
此方法无任何效果,当流被关闭后不会抛出IOException
- close() - 类 中的方法com.github.jarvisframework.tool.core.io.watch.WatchServer
-
关闭监听
- closeEntry(ZipOutputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
关闭当前Entry,继续下一个Entry
- closeIfPosible(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
- closeQuietly(Closeable) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
关闭
关闭失败不会抛出异常
- closeQuietly(AutoCloseable) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
关闭
关闭失败不会抛出异常
- CODE_INDEX_MAP - 类 中的静态变量com.github.jarvisframework.tool.core.util.CreditCodeUtils
-
- collator - 类 中的变量com.github.jarvisframework.tool.core.comparator.PinyinComparator
-
- CollectionConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
各种集合类转换器
- CollectionConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.CollectionConverter
-
- CollectionConverter(Type) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.CollectionConverter
-
构造
- CollectionConverter(Class<?>) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.CollectionConverter
-
构造
- CollectionConverter(Type, Type) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.CollectionConverter
-
构造
- collectionType - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.CollectionConverter
-
集合类型
- CollectionUtils - com.github.jarvisframework.tool.core.collection中的类
-
集合工具类
- CollectionUtils() - 类 的构造器com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- CollectionUtils.Consumer<T> - com.github.jarvisframework.tool.core.collection中的接口
-
针对一个参数做相应的操作
- CollectionUtils.KVConsumer<K,V> - com.github.jarvisframework.tool.core.collection中的接口
-
针对两个参数做相应的操作,例如Map中的KEY和VALUE
- COLON - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- COLON - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- com.github.jarvisframework.tool.core - 程序包 com.github.jarvisframework.tool.core
-
- com.github.jarvisframework.tool.core.annotation - 程序包 com.github.jarvisframework.tool.core.annotation
-
- com.github.jarvisframework.tool.core.bean - 程序包 com.github.jarvisframework.tool.core.bean
-
- com.github.jarvisframework.tool.core.bean.copier - 程序包 com.github.jarvisframework.tool.core.bean.copier
-
- com.github.jarvisframework.tool.core.bean.copier.provider - 程序包 com.github.jarvisframework.tool.core.bean.copier.provider
-
- com.github.jarvisframework.tool.core.builder - 程序包 com.github.jarvisframework.tool.core.builder
-
- com.github.jarvisframework.tool.core.clone - 程序包 com.github.jarvisframework.tool.core.clone
-
- com.github.jarvisframework.tool.core.codec - 程序包 com.github.jarvisframework.tool.core.codec
-
- com.github.jarvisframework.tool.core.collection - 程序包 com.github.jarvisframework.tool.core.collection
-
- com.github.jarvisframework.tool.core.comparator - 程序包 com.github.jarvisframework.tool.core.comparator
-
- com.github.jarvisframework.tool.core.convert - 程序包 com.github.jarvisframework.tool.core.convert
-
万能类型转换器以及各种类型转换的实现类,其中Convert为转换器入口,提供各种toXXX方法和convert方法
- com.github.jarvisframework.tool.core.convert.impl - 程序包 com.github.jarvisframework.tool.core.convert.impl
-
各种类型转换的实现类,其都为Converter接口的实现,用于将未知的Object类型转换为指定类型
- com.github.jarvisframework.tool.core.date - 程序包 com.github.jarvisframework.tool.core.date
-
- com.github.jarvisframework.tool.core.date.format - 程序包 com.github.jarvisframework.tool.core.date.format
-
- com.github.jarvisframework.tool.core.exception - 程序包 com.github.jarvisframework.tool.core.exception
-
- com.github.jarvisframework.tool.core.func - 程序包 com.github.jarvisframework.tool.core.func
-
- com.github.jarvisframework.tool.core.getter - 程序包 com.github.jarvisframework.tool.core.getter
-
- com.github.jarvisframework.tool.core.io - 程序包 com.github.jarvisframework.tool.core.io
-
- com.github.jarvisframework.tool.core.io.file - 程序包 com.github.jarvisframework.tool.core.io.file
-
- com.github.jarvisframework.tool.core.io.resource - 程序包 com.github.jarvisframework.tool.core.io.resource
-
- com.github.jarvisframework.tool.core.io.watch - 程序包 com.github.jarvisframework.tool.core.io.watch
-
- com.github.jarvisframework.tool.core.io.watch.watcher - 程序包 com.github.jarvisframework.tool.core.io.watch.watcher
-
- com.github.jarvisframework.tool.core.lang - 程序包 com.github.jarvisframework.tool.core.lang
-
- com.github.jarvisframework.tool.core.lang.caller - 程序包 com.github.jarvisframework.tool.core.lang.caller
-
- com.github.jarvisframework.tool.core.lang.copier - 程序包 com.github.jarvisframework.tool.core.lang.copier
-
- com.github.jarvisframework.tool.core.lang.func - 程序包 com.github.jarvisframework.tool.core.lang.func
-
- com.github.jarvisframework.tool.core.lang.hash - 程序包 com.github.jarvisframework.tool.core.lang.hash
-
- com.github.jarvisframework.tool.core.lang.mutable - 程序包 com.github.jarvisframework.tool.core.lang.mutable
-
- com.github.jarvisframework.tool.core.lang.reflect - 程序包 com.github.jarvisframework.tool.core.lang.reflect
-
- com.github.jarvisframework.tool.core.map - 程序包 com.github.jarvisframework.tool.core.map
-
- com.github.jarvisframework.tool.core.math - 程序包 com.github.jarvisframework.tool.core.math
-
- com.github.jarvisframework.tool.core.net - 程序包 com.github.jarvisframework.tool.core.net
-
- com.github.jarvisframework.tool.core.net.url - 程序包 com.github.jarvisframework.tool.core.net.url
-
- com.github.jarvisframework.tool.core.properties - 程序包 com.github.jarvisframework.tool.core.properties
-
- com.github.jarvisframework.tool.core.text - 程序包 com.github.jarvisframework.tool.core.text
-
- com.github.jarvisframework.tool.core.thread - 程序包 com.github.jarvisframework.tool.core.thread
-
- com.github.jarvisframework.tool.core.thread.lock - 程序包 com.github.jarvisframework.tool.core.thread.lock
-
- com.github.jarvisframework.tool.core.threadexecutor - 程序包 com.github.jarvisframework.tool.core.threadexecutor
-
- com.github.jarvisframework.tool.core.util - 程序包 com.github.jarvisframework.tool.core.util
-
- CombinationAnnotationElement - com.github.jarvisframework.tool.core.annotation中的类
-
组合注解 对JDK的原生注解机制做一个增强,支持类似Spring的组合注解。
- CombinationAnnotationElement(AnnotatedElement) - 类 的构造器com.github.jarvisframework.tool.core.annotation.CombinationAnnotationElement
-
构造
- COMMA - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- COMMA - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- comparator - 类 中的变量com.github.jarvisframework.tool.core.collection.BoundedPriorityQueue
-
- ComparatorException - com.github.jarvisframework.tool.core.comparator中的异常错误
-
比较异常
- ComparatorException(Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.comparator.ComparatorException
-
- ComparatorException(String) - 异常错误 的构造器com.github.jarvisframework.tool.core.comparator.ComparatorException
-
- ComparatorException(String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.comparator.ComparatorException
-
- ComparatorException(String, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.comparator.ComparatorException
-
- ComparatorException(Throwable, String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.comparator.ComparatorException
-
- compare(T, T, Comparator<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.comparator.CompareUtils
-
对象比较,比较结果取决于comparator,如果被比较对象为null,传入的comparator对象应处理此情况
如果传入comparator为null,则使用默认规则比较(此时被比较对象必须实现Comparable接口)
一般而言,如果c1 < c2,返回数小于0,c1==c2返回0,c1 > c2 大于0
- compare(T, T) - 类 中的静态方法com.github.jarvisframework.tool.core.comparator.CompareUtils
-
null安全的对象比较,null对象小于任何对象
- compare(T, T, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.comparator.CompareUtils
-
null安全的对象比较
- compare(T, T, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.comparator.CompareUtils
-
自然比较两个对象的大小,比较规则如下:
1、如果实现Comparable调用compareTo比较
2、o1.equals(o2)返回0
3、比较hashCode值
4、比较toString值
- compare(String, String) - 类 中的方法com.github.jarvisframework.tool.core.comparator.PinyinComparator
-
- compare(T, T) - 类 中的方法com.github.jarvisframework.tool.core.comparator.PropertyComparator
-
- compare(T, T, Comparable, Comparable) - 类 中的方法com.github.jarvisframework.tool.core.comparator.PropertyComparator
-
- compare(String, String) - 类 中的方法com.github.jarvisframework.tool.core.comparator.VersionComparator
-
比较两个版本
null版本排在最小:即:
compare(null, "v1") < 0
compare("v1", "v1") = 0
compare(null, null) = 0
compare("v1", null) > 0
compare("1.0.0", "1.0.2") < 0
compare("1.0.2", "1.0.2a") < 0
compare("1.13.0", "1.12.1c") > 0
compare("V0.0.20170102", "V0.0.20170101") > 0
- compare(Calendar, Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
- compare(Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
null安全的日期比较,null对象排在末尾
- compare(char, char) - 类 中的方法com.github.jarvisframework.tool.core.math.Calculator
-
利用ASCII码-40做下标去算术符号优先级
- compare(char, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
比较两个值的大小
- compare(double, double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
比较两个值的大小
- compare(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
比较两个值的大小
- compare(long, long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
比较两个值的大小
- compare(short, short) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
比较两个值的大小
- compare(byte, byte) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
比较两个值的大小
- compare(T, T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
null安全的对象比较,null对象排在末尾
- compare(T, T, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
null安全的对象比较
- compare(CharSequence, CharSequence, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
比较两个字符串,用于排序
StringUtils.compare(null, null, *) = 0
StringUtils.compare(null , "a", true) < 0
StringUtils.compare(null , "a", false) > 0
StringUtils.compare("a", null, true) > 0
StringUtils.compare("a", null, false) < 0
StringUtils.compare("abc", "abc", *) = 0
StringUtils.compare("a", "b", *) < 0
StringUtils.compare("b", "a", *) > 0
StringUtils.compare("a", "B", *) > 0
StringUtils.compare("ab", "abc", *) < 0
- compareIgnoreCase(CharSequence, CharSequence, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
比较两个字符串,用于排序,大小写不敏感
StringUtils.compareIgnoreCase(null, null, *) = 0
StringUtils.compareIgnoreCase(null , "a", true) < 0
StringUtils.compareIgnoreCase(null , "a", false) > 0
StringUtils.compareIgnoreCase("a", null, true) > 0
StringUtils.compareIgnoreCase("a", null, false) < 0
StringUtils.compareIgnoreCase("abc", "abc", *) = 0
StringUtils.compareIgnoreCase("abc", "ABC", *) = 0
StringUtils.compareIgnoreCase("a", "b", *) < 0
StringUtils.compareIgnoreCase("b", "a", *) > 0
StringUtils.compareIgnoreCase("a", "B", *) < 0
StringUtils.compareIgnoreCase("A", "b", *) < 0
StringUtils.compareIgnoreCase("ab", "abc", *) < 0
- compareTo(UUID) - 类 中的方法com.github.jarvisframework.tool.core.lang.UUID
-
将此 UUID 与指定的 UUID 比较。
- CompareUtils - com.github.jarvisframework.tool.core.comparator中的类
-
比较工具类
- CompareUtils() - 类 的构造器com.github.jarvisframework.tool.core.comparator.CompareUtils
-
- compareVersion(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
比较两个版本
null版本排在最小:即:
StringUtils.compareVersion(null, "v1") < 0
StringUtils.compareVersion("v1", "v1") = 0
StringUtils.compareVersion(null, null) = 0
StringUtils.compareVersion("v1", null) > 0
StringUtils.compareVersion("1.0.0", "1.0.2") < 0
StringUtils.compareVersion("1.0.2", "1.0.2a") < 0
StringUtils.compareVersion("1.13.0", "1.12.1c") > 0
StringUtils.compareVersion("V0.0.20170102", "V0.0.20170101") > 0
- complateUrl(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
- completeUrl(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
补全相对路径
- compute(K, BiFunction<? super K, ? super V, ? extends V>) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- computeIfAbsent(K, Function<? super K, ? extends V>) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- concat(boolean, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
连接多个字符串为一个
- concurrencyTest(int, Runnable) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
并发测试
此方法用于测试多线程下执行某些逻辑的并发性能
调用此方法会导致当前线程阻塞。
- ConcurrencyTester - com.github.jarvisframework.tool.core.thread中的类
-
高并发测试工具类
ps:
//模拟1000个线程并发
ConcurrencyTester ct = new ConcurrencyTester(1000);
ct.test(() -> {
// 需要并发测试的业务代码
});
- ConcurrencyTester(int) - 类 的构造器com.github.jarvisframework.tool.core.thread.ConcurrencyTester
-
- Console - com.github.jarvisframework.tool.core.lang中的类
-
- Console() - 类 的构造器com.github.jarvisframework.tool.core.lang.Console
-
- CONSOLE_HANDLER - 类 中的静态变量com.github.jarvisframework.tool.core.io.file.Tailer
-
- ConsoleLineHandler() - 类 的构造器com.github.jarvisframework.tool.core.io.file.Tailer.ConsoleLineHandler
-
- CONSTRUCTORS_CACHE - 类 中的静态变量com.github.jarvisframework.tool.core.util.ReflectUtils
-
构造对象缓存
- contains(Collection<?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
判断指定集合是否包含指定值,如果集合为空(null或者空),返回false,否则找到元素返回true
- contains(Collection<T>, Predicate<? super T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
自定义函数判断集合是否包含某类值
- contains(T[], T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中是否包含元素
- contains(long[], long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中是否包含元素
- contains(int[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中是否包含元素
- contains(short[], short) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中是否包含元素
- contains(char[], char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中是否包含元素
- contains(byte[], byte) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中是否包含元素
- contains(double[], double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中是否包含元素
- contains(float[], float) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中是否包含元素
- contains(boolean[], boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中是否包含元素
- contains(Class<E>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
判断某个值是存在枚举中
- contains(Object, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
对象中是否包含元素
支持的对象类型包括:
String
Collection
Map
Iterator
Enumeration
Array
- contains(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
指定内容中是否有表达式匹配的内容
- contains(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
指定内容中是否有表达式匹配的内容
- contains(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定字符是否在字符串中出现过
- contains(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定字符串是否在字符串中出现过
- containsAll(Collection<?>, Collection<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
集合1中是否包含集合2中所有的元素,即集合2是否为集合1的子集
- containsAny(Collection<?>, Collection<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
其中一个集合在另一个集合中是否至少包含一个元素,即是两个集合是否至少有一个共同的元素
- containsAny(T[], T...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中是否包含指定元素中的任意一个
- containsAny(CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
查找指定字符串是否包含指定字符串列表中的任意一个字符串
- containsAny(CharSequence, char...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
查找指定字符串是否包含指定字符列表中的任意一个字符
- containsAnyIgnoreCase(CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
查找指定字符串是否包含指定字符串列表中的任意一个字符串
忽略大小写
- containsBlank(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串是否包含空白符(空白符包括空格、制表符、全角空格和不间断空格)
如果给定字符串为null或者"",则返回false
- containsIgnoreCase(CharSequence[], CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中是否包含元素,忽略大小写
- containsIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
是否包含特定字符,忽略大小写,如果给定两个参数都为null,返回true
- containsInvalid(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
文件名中是否包含在Windows下不支持的非法字符,包括: \ / : * ?
- containsKey(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.provider.BeanValueProvider
-
- containsKey(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.provider.DynaBeanValueProvider
-
- containsKey(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.provider.MapValueProvider
-
- containsKey(T) - 接口 中的方法com.github.jarvisframework.tool.core.bean.copier.ValueProvider
-
是否包含指定KEY,如果不包含则忽略注入
此接口方法单独需要实现的意义在于:有些值提供者(比如Map)key是存在的,但是value为null,此时如果需要注入这个null,需要根据此方法判断
- containsKey(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.CustomKeyMap
-
- containsKey(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- containsKey(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- containsKey(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- containsOnly(CharSequence, char...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
检查指定字符串中是否只包含给定的字符
- containsProp(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.DynaBean
-
检查是否有指定名称的bean属性
- containsValue(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- containsValue(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- containsValue(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- contentEquals(File, File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
比较两个文件内容是否相同
首先比较长度,长度一致再比较内容
此方法来自Apache Commons io
- contentEquals(InputStream, InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
- contentEquals(Reader, Reader) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
- contentEqualsIgnoreEOL(File, File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
比较两个文件内容是否相同
首先比较长度,长度一致再比较内容,比较内容采用按行读取,每行比较
此方法来自Apache Commons io
- contentEqualsIgnoreEOL(Reader, Reader) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
- conversion(String) - 类 中的静态方法com.github.jarvisframework.tool.core.math.Calculator
-
计算表达式的值
- convert(Object, T) - 类 中的方法com.github.jarvisframework.tool.core.convert.AbstractConverter
-
- Convert - com.github.jarvisframework.tool.core.convert中的类
-
类型转换器
- Convert() - 类 的构造器com.github.jarvisframework.tool.core.convert.Convert
-
- convert(Class<T>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换值为指定类型
- convert(TypeReference<T>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换值为指定类型
- convert(Type, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换值为指定类型
- convert(Class<T>, Object, T) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换值为指定类型
- convert(Type, Object, T) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换值为指定类型
- convert(Object, T) - 接口 中的方法com.github.jarvisframework.tool.core.convert.Converter
-
转换为指定类型
如果类型无法确定,将读取默认值的类型做为目标类型
- convert(Type, Object, T, boolean) - 类 中的方法com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
转换值为指定类型
- convert(Type, Object, T) - 类 中的方法com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
转换值为指定类型
自定义转换器优先
- convert(Type, Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
转换值为指定类型
- convert(Object, Collection<?>) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.CollectionConverter
-
- convert(String, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharsetUtils
-
转换字符串的字符集编码
- convert(String, Charset, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharsetUtils
-
转换字符串的字符集编码
当以错误的编码读取为字符串时,打印字符串将出现乱码。
- convert(File, Charset, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharsetUtils
-
转换文件编码
此方法用于转换文件编码,读取的文件实际编码必须与指定的srcCharset编码一致,否则导致乱码
- convertArrayToArray(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
数组对数组转换
- convertByClassName(String, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换值为指定类型,类型采用字符串表示
- convertCharset(String, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
给定字符串转换字符编码
如果参数为空,则返回原字符串,不报错。
- convertCharset(File, Charset, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
转换文件编码
此方法用于转换文件编码,读取的文件实际编码必须与指定的srcCharset编码一致,否则导致乱码
- convertComponentType(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
转换元素类型
- Converter<T> - com.github.jarvisframework.tool.core.convert中的接口
-
转换器接口,实现类型转换
- ConverterRegistry - com.github.jarvisframework.tool.core.convert中的类
-
转换器登记中心
将各种类型Convert对象放入登记中心,通过convert方法查找目标类型对应的转换器,将被转换对象转换之。
- ConverterRegistry() - 类 的构造器com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
- ConverterRegistry.SingletonHolder - com.github.jarvisframework.tool.core.convert中的类
-
类级的内部类,也就是静态的成员式内部类,该内部类的实例与外部类的实例 没有绑定关系,而且只有被调用到才会装载,从而实现了延迟加载
- ConvertException - com.github.jarvisframework.tool.core.convert中的异常错误
-
转换异常
- ConvertException(Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.convert.ConvertException
-
- ConvertException(String) - 异常错误 的构造器com.github.jarvisframework.tool.core.convert.ConvertException
-
- ConvertException(String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.convert.ConvertException
-
- ConvertException(String, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.convert.ConvertException
-
- ConvertException(Throwable, String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.convert.ConvertException
-
- convertFromOrSuppressedThrowable(Throwable, Class<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
转化指定异常为来自或者包含指定异常
- convertFromOrSuppressedThrowable(Throwable, Class<T>, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
转化指定异常为来自或者包含指定异常
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.AbstractConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.AtomicBooleanConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.AtomicReferenceConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.BeanConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.BooleanConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.CalendarConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.CastConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.CharacterConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.CharsetConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.ClassConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.CollectionConverter
-
内部转换
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.CurrencyConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.DateConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.DurationConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.EnumConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.GenericEnumConverter
-
已过时。
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.LocaleConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.MapConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.NumberConverter
-
- convertInternal(Object, Class<?>) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.NumberConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.OptionalConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.PathConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.PeriodConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.PrimitiveConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.ReferenceConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.StackTraceElementConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.StringConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.TimeZoneConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.URIConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.URLConverter
-
- convertInternal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.UUIDConverter
-
- convertLineSeparator(File, Charset, LineSeparatorEnum) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
转换换行符
将给定文件的换行符转换为指定换行符
- convertMapToMap(Map<?, ?>, Map<Object, Object>) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.MapConverter
-
Map转Map
- convertObjectToArray(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
非数组对数组转换
- convertQuietly(Object, T) - 类 中的方法com.github.jarvisframework.tool.core.convert.AbstractConverter
-
不抛异常转换
当转换失败时返回默认值
- convertQuietly(Type, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换值为指定类型,不抛异常转换
当转换失败时返回null
- convertQuietly(Type, Object, T) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换值为指定类型,不抛异常转换
当转换失败时返回默认值
- convertSpecial(Type, Class<T>, Object, T) - 类 中的方法com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
特殊类型转换
包括:
Collection
Map
强转(无需转换)
数组
- convertTime(long, TimeUnit, TimeUnit) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换时间单位
- convertToSingleElementArray(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
单元素数组
- convertToStr(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.AbstractConverter
-
值转为String,用于内部转换中需要使用String中转的情况
转换规则为:
1、字符串类型将被强转
2、数组将被转换为逗号分隔的字符串
3、其它类型将调用默认的toString()方法
- convertToStr(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.NumberConverter
-
- convertToStr(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.PrimitiveConverter
-
- convertWithCheck(Type, Object, T, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换值为指定类型,可选是否不抛异常转换
当转换失败时返回默认值
- CopiedIter<E> - com.github.jarvisframework.tool.core.collection中的类
-
复制
Iterator
为了解决并发情况下
Iterator遍历导致的问题(当Iterator被修改会抛出ConcurrentModificationException)
,故使用复制原Iterator的方式解决此问题。
- CopiedIter(Iterator<E>) - 类 的构造器com.github.jarvisframework.tool.core.collection.CopiedIter
-
构造
- Copier<T> - com.github.jarvisframework.tool.core.lang.copier中的接口
-
拷贝接口
- copy() - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.BeanCopier
-
- copy() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
执行拷贝
拷贝规则为:
1、源为文件,目标为已存在目录,则拷贝到目录下,文件名不变
2、源为文件,目标为不存在路径,则目标以文件对待(自动创建父级目录)比如:/dest/aaa,如果aaa不存在,则aaa被当作文件名
3、源为文件,目标是一个已存在的文件,则当
FileCopier.setOverride(boolean)设为true时会被覆盖,默认不覆盖
4、源为目录,目标为已存在目录,当
FileCopier.setCopyContentIfDir(boolean)为true时,只拷贝目录中的内容到目标目录中,否则整个源目录连同其目录拷贝到目标目录中
5、源为目录,目标为不存在路径,则自动创建目标为新目录,然后按照规则4复制
6、源为目录,目标为文件,抛出IO异常
7、源路径和目标路径相同时,抛出IO异常
- copy(String, String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
复制文件或目录
如果目标文件为目录,则将源文件以相同文件名拷贝到目标目录
- copy(File, File, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
复制文件或目录
情况如下:
1、src和dest都为目录,则将src目录及其目录下所有文件目录拷贝到dest下
2、src和dest都为文件,直接复制,名字为dest
3、src为文件,dest为目录,将src拷贝到dest目录下
- copy(Reader, Writer) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
将Reader中的内容复制到Writer中 使用默认缓存大小,拷贝后不关闭Reader
- copy(Reader, Writer, int) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
- copy(Reader, Writer, int, StreamProgress) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
- copy(InputStream, OutputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
拷贝流,使用默认Buffer大小,拷贝后不关闭流
- copy(InputStream, OutputStream, int) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
拷贝流,拷贝后不关闭流
- copy(InputStream, OutputStream, int, StreamProgress) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
拷贝流,拷贝后不关闭流
- copy(FileInputStream, FileOutputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
拷贝文件流,使用NIO
- copy(ReadableByteChannel, WritableByteChannel) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
拷贝流,使用NIO,不会关闭流
- copy(ReadableByteChannel, WritableByteChannel, int) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
拷贝流,使用NIO,不会关闭流
- copy(ReadableByteChannel, WritableByteChannel, int, StreamProgress) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
拷贝流,使用NIO,不会关闭流
- copy() - 接口 中的方法com.github.jarvisframework.tool.core.lang.copier.Copier
-
执行拷贝
- copy(Object, int, Object, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- copy(Object, Object, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- copyByNIO(InputStream, OutputStream, int, StreamProgress) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
拷贝流 thanks to: https://github.com/venusdrogon/feilong-io/blob/master/src/main/java/com/feilong/io/IOWriterUtil.java
本方法不会关闭流
- copyContent(File, File, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
复制文件或目录
情况如下:
1、src和dest都为目录,则讲src下所有文件目录拷贝到dest下
2、src和dest都为文件,直接复制,名字为dest
3、src为文件,dest为目录,将src拷贝到dest目录下
- copyFile(String, String, StandardCopyOption...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
- copyFile(File, File, StandardCopyOption...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
- copyFile(Path, Path, StandardCopyOption...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
- copyFilesFromDir(File, File, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
复制文件或目录
情况如下:
1、src和dest都为目录,则讲src下所有文件(包括子目录)拷贝到dest下
2、src和dest都为文件,直接复制,名字为dest
3、src为文件,dest为目录,将src拷贝到dest目录下
- copyFilter - 类 中的变量com.github.jarvisframework.tool.core.lang.copier.SrcToDestCopier
-
拷贝过滤器,可以过滤掉不需要拷贝的源
- copyOf(Iterator<V>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CopiedIter
-
- copyOptions - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.BeanCopier
-
拷贝选项
- CopyOptions - com.github.jarvisframework.tool.core.bean.copier中的类
-
属性拷贝选项
包括:
1、限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
2、是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
3、忽略的属性列表,设置一个属性列表,不拷贝这些属性值
- CopyOptions() - 类 的构造器com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
构造拷贝选项
- CopyOptions(Class<?>, boolean, String...) - 类 的构造器com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
构造拷贝选项
- copyOptions - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.BeanConverter
-
- copyProperties(Object, Class<T>, String...) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
按照Bean对象属性创建对应的Class对象,并忽略某些属性
- copyProperties(Object, Object, String...) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
- copyProperties(Object, Object, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
复制Bean对象属性
- copyProperties(Object, Object, CopyOptions) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
复制Bean对象属性
限制类用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
- CopyQuotedStrategy(String) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateParser.CopyQuotedStrategy
-
Construct a Strategy that ensures the formatField has literal text
- corePoolSize - 类 中的变量com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
初始池大小
- corePoolSize - 类 中的变量com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
初始线程数
- count(Iterable<T>, Matcher<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
集合中匹配规则的数量
- count() - 类 中的方法com.github.jarvisframework.tool.core.thread.SyncFinisher
-
剩余任务数
- count(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
计算等份个数
- count(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
计算指定字符串中,匹配pattern的个数
- count(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
计算指定字符串中,匹配pattern的个数
- count(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
统计指定内容中包含指定字符串的数量
参数为 null 或者 "" 返回 0.
- count(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
统计指定内容中包含指定字符的数量
- countByIpRange(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
计算IP区间有多少个IP
- countByMaskBit(int, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
计算子网大小
- countMap(Iterable<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
根据集合返回一个元素计数的
Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
- countMap(Iterable<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
- countMap(Iterator<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
根据集合返回一个元素计数的
Map
所谓元素计数就是假如这个集合中某个元素出现了n次,那将这个元素做为key,n做为value
例如:[a,b,c,c,c] 得到:
a: 1
b: 1
c: 3
- CR - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- CR - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- create(String) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanPath
-
解析Bean路径表达式为Bean模式
Bean表达式,用于获取多层嵌套Bean中的字段值或Bean对象
根据给定的表达式,查找Bean中对应的属性值对象。
- create(Object, T, CopyOptions) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.copier.BeanCopier
-
创建BeanCopier
- create(Object, T, Type, CopyOptions) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.copier.BeanCopier
-
创建BeanCopier
- create() - 类 中的静态方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
创建拷贝选项
- create(Class<?>, boolean, String...) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
创建拷贝选项
- create(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.DynaBean
-
- create(Class<?>, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.DynaBean
-
- create(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
创建新的集合对象
- create(Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateBetween
-
创建
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
- create(Date, Date, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateBetween
-
创建
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
- create(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
新建一个文件复制器
- create(File, File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
新建一个文件复制器
- create(File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.file.FileReader
-
创建 FileReader
- create(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.file.FileReader
-
- create(File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.file.FileWriter
-
创建 FileWriter
- create(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.file.FileWriter
-
- create(Watcher...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.watcher.WatcherChain
-
- create(URL, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(URL, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(URI, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(URI, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(File, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(File, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(String, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(String, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(Path, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(Path, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听
- create(URL, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听
- create(URL, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听
- create(URI, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听
- create(URI, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听
- create(File, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听
- create(File, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听
- create(String, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听
- create(String, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听
- create(Path, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听
- create(Path, int, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听
- create() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Dictionary
-
创建Dict
- create() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.WeightRandom
-
创建权重随机获取器
- create() - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapBuilder
-
创建Builder,默认HashMap实现
- create(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapBuilder
-
创建Builder
- create(Map<K, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapBuilder
-
创建Builder
- create(Map<?, ?>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapProxy
-
创建代理Map
此类对Map做一次包装,提供各种getXXX方法
- create() - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringBuilder
-
创建字符串构建器
- create(int) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringBuilder
-
创建字符串构建器
- create(CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringBuilder
-
创建字符串构建器
- create() - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
创建ExecutorBuilder,开始构建
- create() - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadFactoryBuilder
-
- createAll(URI, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(URL, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(File, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(String, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(Path, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建并初始化监听,监听所有事件
- createAll(URL, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听所有事件
- createAll(URL, int, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听所有事件
- createAll(URI, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听所有事件
- createAll(URI, int, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听所有事件
- createAll(File, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听所有事件
- createAll(File, int, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听所有事件
- createAll(String, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听所有事件
- createAll(String, int, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听所有事件
- createAll(Path, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听所有事件
- createAll(Path, int, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听所有事件
- createAll() - 类 中的静态方法com.github.jarvisframework.tool.core.net.URLEncoder
-
创建
URLEncoder
编码器针对URI路径编码,定义如下:
0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is
'*', '-', '
- createBigIntId() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdCreateUtils
-
生成一个长整形ID
- createDefault() - 类 中的静态方法com.github.jarvisframework.tool.core.net.URLEncoder
-
创建默认
URLEncoder
默认的编码器针对URI路径编码,定义如下:
pchar = unreserved(不处理) / pct-encoded / sub-delims(子分隔符) / ":" / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!"
- createDynaBean(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
创建动态Bean
- createInstance(String, TimeZone, Locale) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FormatCache
-
创建格式化器
- createMap(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- createMap(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
- createModify(URL, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听修改事件
- createModify(URL, int, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听修改事件
- createModify(URI, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听修改事件
- createModify(URI, int, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听修改事件
- createModify(File, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听修改事件
- createModify(File, int, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听修改事件
- createModify(String, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听修改事件
- createModify(String, int, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听修改事件
- createModify(Path, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听修改事件
- createModify(Path, int, Watcher) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
创建并初始化监听,监听修改事件
- createPattern(StringBuilder) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.PatternStrategy
-
- createPattern(String) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.PatternStrategy
-
- createProp(Field, Method[]) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
根据字段创建属性描述
查找Getter和Setter方法时会:
1.
- createProxy(Map<?, ?>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
- createQuery() - 类 中的静态方法com.github.jarvisframework.tool.core.net.URLEncoder
-
创建用于查询语句的
URLEncoder
编码器针对URI路径编码,定义如下:
0x20 ' ' =》 '+'
0x2A, 0x2D, 0x2E, 0x30 to 0x39, 0x41 to 0x5A, 0x5F, 0x61 to 0x7A as-is
'*', '-', '
- createRandomAccessFile(Path, FileModeEnum) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
- createRandomAccessFile(File, FileModeEnum) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
- createRandomBasedUUIDStr() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdCreateUtils
-
生成一个基于随机数的UUID字符
- createRandomBigIntId() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdCreateUtils
-
生成一个随机长整形ID
- createSecureRandom(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
- createSnowflake(long, long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdUtils
-
创建Twitter的Snowflake 算法生成器。
- createStopWatch() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
创建秒表
StopWatch,用于对代码块的执行时间计数
使用方法如下:
StopWatch stopWatch = DateUtils.createStopWatch();
// 任务1
stopWatch.start("任务一");
Thread.sleep(1000);
stopWatch.stop();
// 任务2
stopWatch.start("任务一");
Thread.sleep(2000);
stopWatch.stop();
// 打印出耗时
Console.log(stopWatch.prettyPrint());
- createStopWatch(String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
创建秒表
StopWatch,用于对代码块的执行时间计数
使用方法如下:
StopWatch stopWatch = DateUtils.createStopWatch("任务名称");
// 任务1
stopWatch.start("任务一");
Thread.sleep(1000);
stopWatch.stop();
// 任务2
stopWatch.start("任务一");
Thread.sleep(2000);
stopWatch.stop();
// 打印出耗时
Console.log(stopWatch.prettyPrint());
- createTempFile(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建临时文件
创建后的文件名为 prefix[Randon].tmp
- createTempFile(File, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建临时文件
创建后的文件名为 prefix[Randon].tmp
- createTempFile(String, String, File, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建临时文件
创建后的文件名为 prefix[Randon].suffix From com.jodd.io.FileUtil
- createThreadFactoryBuilder() - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
创建ThreadFactoryBuilder
- createThreadLocal(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
创建本地线程对象
- createTimeBasedUUIDStr() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdCreateUtils
-
生成一个基于时间戳的UUID字符
- createTypeMap(Type) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.reflect.ActualTypeMapperPool
-
创建类中所有的泛型变量和泛型实际类型的对应关系Map
- createUUIDStr() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdCreateUtils
-
生成一个原始的UUID字符串
- createWorkId() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdCreateUtils
-
生成一个新的工作ID
- CREDIT_CODE - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
社会统一信用代码
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- CREDIT_CODE_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.util.CreditCodeUtils
-
- CreditCodeUtils - com.github.jarvisframework.tool.core.util中的类
-
统一社会信用代码工具类
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- CreditCodeUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.CreditCodeUtils
-
- CRLF - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- cTimeZoneDisplayCache - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
- CurrencyConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
- CurrencyConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.CurrencyConverter
-
- current(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
当前时间的时间戳
- current - 类 中的变量com.github.jarvisframework.tool.core.lang.Range
-
当前对象
- currentBuffer - 类 中的变量com.github.jarvisframework.tool.core.io.FastByteBuffer
-
当前缓冲
- currentBufferIndex - 类 中的变量com.github.jarvisframework.tool.core.io.FastByteBuffer
-
当前缓冲索引
- currentIdx - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser.StrategyParser
-
- currentSeconds() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
当前时间的时间戳(秒)
- currentTaskName - 类 中的变量com.github.jarvisframework.tool.core.date.StopWatch
-
任务名称
- currentTaskName() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
获取当前任务名,null 表示无任务
- currentThreadGroup() - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
获取当前线程的线程组
- currentTimeMillis() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
返回当前时间(毫秒)
- currentTimeMillis() - 类 中的方法com.github.jarvisframework.tool.core.date.SystemClock
-
- currentTimePlusSecond(long) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
当前时间加秒
- customConverterMap - 类 中的变量com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
用户自定义类型转换器
- customKey(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
将Key转为小写
- customKey(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.CamelCaseMap
-
将Key转为驼峰风格,如果key为字符串的话
- customKey(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.CaseInsensitiveMap
-
将Key转为小写
- customKey(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.CustomKeyMap
-
自定义键
- CustomKeyMap<K,V> - com.github.jarvisframework.tool.core.map中的类
-
自定义键的Map,默认HashMap实现
- CustomKeyMap(Map<K, V>) - 类 的构造器com.github.jarvisframework.tool.core.map.CustomKeyMap
-
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改
- cut(CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将字符串切分为N等份
- daemon - 类 中的变量com.github.jarvisframework.tool.core.thread.ThreadFactoryBuilder
-
是否守护线程,默认false
- daemon - 类 中的变量com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
是否后台线程
- DASHED - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- DASHED - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- dataCenterId - 类 中的变量com.github.jarvisframework.tool.core.lang.Snowflake
-
- dataCenterId - 类 中的变量com.github.jarvisframework.tool.core.SnowflakeIdWorker
-
数据中心ID(0~31)
- dataCenterIdBits - 类 中的变量com.github.jarvisframework.tool.core.lang.Snowflake
-
- dataCenterIdBits - 类 中的变量com.github.jarvisframework.tool.core.SnowflakeIdWorker
-
数据标识id所占的位数
- dataCenterIdShift - 类 中的变量com.github.jarvisframework.tool.core.lang.Snowflake
-
- dataCenterIdShift - 类 中的变量com.github.jarvisframework.tool.core.SnowflakeIdWorker
-
数据标识id向左移17位(12+5)
- date() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- date(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
Date类型时间转为
DateTime
如果date本身为DateTime对象,则返回强转后的对象,否则新建一个DateTime对象
- date(long) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
Long类型时间转为
DateTime
只支持毫秒级别时间戳,如果需要秒级别时间戳,请自行×1000
- date(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- date(TemporalAccessor) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- DATE_CONVERTER - 类 中的静态变量com.github.jarvisframework.tool.core.util.XmlParseUtils
-
时间转换器
- DATE_TIMEZONE - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
Date默认时区
- DateBasic - com.github.jarvisframework.tool.core.date.format中的接口
-
日期基本信息获取接口
- DateBetween - com.github.jarvisframework.tool.core.date中的类
-
日期间隔
- DateBetween(Date, Date) - 类 的构造器com.github.jarvisframework.tool.core.date.DateBetween
-
构造
在前的日期做为起始时间,在后的做为结束时间,间隔只保留绝对值正数
- DateBetween(Date, Date, boolean) - 类 的构造器com.github.jarvisframework.tool.core.date.DateBetween
-
构造
在前的日期做为起始时间,在后的做为结束时间
- DateConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
日期转换器
- DateConverter(Class<? extends Date>) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.DateConverter
-
构造
- DateConverter(Class<? extends Date>, String) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.DateConverter
-
构造
- DateException - com.github.jarvisframework.tool.core.date中的异常错误
-
日期异常类
- DateException(Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.date.DateException
-
- DateException(String) - 异常错误 的构造器com.github.jarvisframework.tool.core.date.DateException
-
- DateException(String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.date.DateException
-
- DateException(String, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.date.DateException
-
- DateException(Throwable, String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.date.DateException
-
- DateFieldEnum - com.github.jarvisframework.tool.core.date中的枚举
-
日期各个部分的枚举
与Calendar相应值对应
- DateFieldEnum(int) - 枚举 的构造器com.github.jarvisframework.tool.core.date.DateFieldEnum
-
- DateModifier - com.github.jarvisframework.tool.core.date中的类
-
日期修改器
用于实现自定义某个日期字段的调整,包括:
1.
- DateModifier() - 类 的构造器com.github.jarvisframework.tool.core.date.DateModifier
-
- DateModifier.ModifyType - com.github.jarvisframework.tool.core.date中的枚举
-
修改类型
- dateNew(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- DateParser - com.github.jarvisframework.tool.core.date.format中的接口
-
日期解析接口,用于解析日期字符串为
Date 对象
Thanks to Apache Commons Lang 3.5
- DatePattern - com.github.jarvisframework.tool.core.date中的类
-
日期格式化类,提供常用的日期格式化对象
- DatePattern() - 类 的构造器com.github.jarvisframework.tool.core.date.DatePattern
-
- DatePrinter - com.github.jarvisframework.tool.core.date.format中的接口
-
日期格式化输出接口
Thanks to Apache Commons Lang 3.5
- DateRange - com.github.jarvisframework.tool.core.date中的类
-
日期范围
- DateRange(Date, Date, DateFieldEnum) - 类 的构造器com.github.jarvisframework.tool.core.date.DateRange
-
构造,包含开始和结束日期时间
- DateRange(Date, Date, DateFieldEnum, int) - 类 的构造器com.github.jarvisframework.tool.core.date.DateRange
-
构造,包含开始和结束日期时间
- DateRange(Date, Date, DateFieldEnum, int, boolean, boolean) - 类 的构造器com.github.jarvisframework.tool.core.date.DateRange
-
构造
- dateSecond() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- DateTime - com.github.jarvisframework.tool.core.date中的类
-
包装java.util.Date
- DateTime() - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
当前时间
- DateTime(TimeZone) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
当前时间
- DateTime(Date) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
给定日期的构造
- DateTime(Date, TimeZone) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
给定日期的构造
- DateTime(Calendar) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
给定日期的构造
- DateTime(Instant) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
给定日期Instant的构造
- DateTime(Instant, ZoneId) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
给定日期Instant的构造
- DateTime(TemporalAccessor) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
给定日期TemporalAccessor的构造
- DateTime(ZonedDateTime) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
给定日期ZonedDateTime的构造
- DateTime(long) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
给定日期毫秒数的构造
- DateTime(long, TimeZone) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
给定日期毫秒数的构造
- DateTime(CharSequence, String) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
构造
- DateTime(CharSequence, DateFormat) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
构造
- DateTime(CharSequence, DateTimeFormatter) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
构建DateTime对象
- DateTime(CharSequence, DateParser) - 类 的构造器com.github.jarvisframework.tool.core.date.DateTime
-
构造
- DateTimeFormat(String) - 枚举 的构造器com.github.jarvisframework.tool.core.date.DateTimeUtils.DateTimeFormat
-
- DateTimeUtils - com.github.jarvisframework.tool.core.date中的类
-
日期时间处理类(从项目整理)
- DateTimeUtils() - 类 的构造器com.github.jarvisframework.tool.core.date.DateTimeUtils
-
私有化构造器
- DateTimeUtils.DateTimeFormat - com.github.jarvisframework.tool.core.date中的枚举
-
日期格式化枚举内部类
- DateUnitEnum - com.github.jarvisframework.tool.core.date中的枚举
-
日期时间单位,每个单位都是以毫秒为基数
- DateUnitEnum(long) - 枚举 的构造器com.github.jarvisframework.tool.core.date.DateUnitEnum
-
- DateUtils - com.github.jarvisframework.tool.core.date中的类
-
时间工具类
- DateUtils() - 类 的构造器com.github.jarvisframework.tool.core.date.DateUtils
-
- DAY - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
天
- DAY_MILLI - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
天
- DAY_OF_MONTH_STRATEGY - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- DAY_OF_WEEK_IN_MONTH_STRATEGY - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- DAY_OF_WEEK_STRATEGY - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- DAY_OF_YEAR_STRATEGY - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- dayArr - 类 中的静态变量com.github.jarvisframework.tool.core.date.Zodiac
-
星座分隔时间日
- DayInWeekField(FastDatePrinter.NumberRule) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.DayInWeekField
-
- dayOfMonth() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
获得指定日期是这个日期所在月份的第几天
- dayOfMonth(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获得指定日期是这个日期所在月份的第几天
- dayOfWeek() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
获得指定日期是星期几,1表示周日,2表示周一
- dayOfWeek(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获得指定日期是星期几,1表示周日,2表示周一
- dayOfWeekEnum() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
获得指定日期是星期几
- dayOfWeekEnum(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获得指定日期是星期几
- dayOfWeekInMonth() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
获得天所在的周是这个月的第几周
- dayOfYear() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
获得指定日期是这个日期所在年份的第几天
- dayOfYear(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获得指定日期是这个日期所在年的第几天
- DAYS_OF_MONTH - 枚举 中的静态变量com.github.jarvisframework.tool.core.date.MonthEnum
-
- decimalFormat(String, double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- decimalFormat(String, long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- decimalFormat(String, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- decimalFormatMoney(double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
格式化金额输出,每三位用逗号分隔
- declaredAnnotationMap - 类 中的变量com.github.jarvisframework.tool.core.annotation.CombinationAnnotationElement
-
直接注解类型与注解对象对应表
- decode(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64解码
- decode(CharSequence, String) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
- decode(CharSequence, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
- decode(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
解码Base64
- decode(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Decoder
-
base64解码
- decode(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Decoder
-
解码Base64
- decode(byte[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Decoder
-
解码Base64
- decode(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.net.URLDecoder
-
解码
- decode(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.net.URLDecoder
-
解码
- decode(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
解码URL
将%开头的16进制表示的内容解码。
- decode(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
解码application/x-www-form-urlencoded字符
将%开头的16进制表示的内容解码。
- decode(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
解码application/x-www-form-urlencoded字符
将%开头的16进制表示的内容解码。
- DECODE_TABLE - 类 中的静态变量com.github.jarvisframework.tool.core.codec.Base64Decoder
-
Base64解码表,共128位,-1表示非base64字符,-2表示padding
- decodeColor(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将Hex颜色值转为
- decodeHex(char[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将十六进制字符数组转换为字节数组
- decodeHex(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将十六进制字符串解码为byte[]
- decodeHexStr(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将十六进制字符数组转换为字符串,默认编码UTF-8
- decodeHexStr(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将十六进制字符数组转换为字符串
- decodeHexStr(char[], Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将十六进制字符数组转换为字符串
- decodeStr(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64解码
- decodeStr(CharSequence, String) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64解码
- decodeStr(CharSequence, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64解码
- decodeStr(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Decoder
-
base64解码
- decodeStr(CharSequence, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Decoder
-
base64解码
- decodeStrGbk(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64解码
- decodeToFile(CharSequence, File) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64解码
- decodeToStream(CharSequence, OutputStream, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64解码
- DEFAULT - 类 中的静态变量com.github.jarvisframework.tool.core.net.URLEncoder
-
默认
URLEncoder
默认的编码器针对URI路径编码,定义如下:
pchar = unreserved(不处理) / pct-encoded / sub-delims(子分隔符) / ":" / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!"
- DEFAULT_BUFFER_SIZE - 类 中的静态变量com.github.jarvisframework.tool.core.io.IOUtils
-
默认缓存大小 8192
- DEFAULT_BYTE_ARRAY_LENGTH - 类 中的静态变量com.github.jarvisframework.tool.core.util.ZipUtils
-
- DEFAULT_CAPACITY - 类 中的静态变量com.github.jarvisframework.tool.core.text.StringBuilder
-
默认容量
- DEFAULT_CHARSET - 类 中的静态变量com.github.jarvisframework.tool.core.codec.Base64Decoder
-
- DEFAULT_CHARSET - 类 中的静态变量com.github.jarvisframework.tool.core.codec.Base64Encoder
-
- DEFAULT_CHARSET - 类 中的静态变量com.github.jarvisframework.tool.core.io.file.FileWrapper
-
默认编码:UTF-8
- DEFAULT_CHARSET - 类 中的静态变量com.github.jarvisframework.tool.core.util.ZipUtils
-
默认编码,使用平台相关编码
- DEFAULT_DATETIME_FORMATTER - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取默认时间格式: yyyy-MM-dd HH:mm:ss
- DEFAULT_DATETIME_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
- DEFAULT_DIV_SCALE - 类 中的静态变量com.github.jarvisframework.tool.core.util.NumberUtils
-
默认除法运算精度
- DEFAULT_INITIAL_CAPACITY - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Dictionary
-
- DEFAULT_INITIAL_CAPACITY - 类 中的静态变量com.github.jarvisframework.tool.core.map.MapUtils
-
默认初始大小
- DEFAULT_INITIAL_CAPACITY - 类 中的静态变量com.github.jarvisframework.tool.core.map.MapWrapper
-
默认初始大小(aka 16)
- DEFAULT_LARGE_BUFFER_SIZE - 类 中的静态变量com.github.jarvisframework.tool.core.io.IOUtils
-
默认大缓存大小 32768
- DEFAULT_LOAD_FACTOR - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Dictionary
-
- DEFAULT_LOAD_FACTOR - 类 中的静态变量com.github.jarvisframework.tool.core.map.MapUtils
-
默认增长因子,当Map的size达到 容量*增长因子时,开始扩充Map
- DEFAULT_LOAD_FACTOR - 类 中的静态变量com.github.jarvisframework.tool.core.map.MapWrapper
-
默认增长因子
- DEFAULT_MIDDLE_BUFFER_SIZE - 类 中的静态变量com.github.jarvisframework.tool.core.io.IOUtils
-
默认中等缓存大小 16384
- DEFAULT_QUEUE_CAPACITY - 类 中的静态变量com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
默认的等待队列容量
- defaultCharset - 类 中的变量com.github.jarvisframework.tool.core.io.BOMInputStream
-
- defaultCharset() - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharsetUtils
-
系统默认字符集编码
- defaultCharsetName() - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharsetUtils
-
系统默认字符集编码
- defaultConverter() - 类 中的方法com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
注册默认转换器
- defaultConverterMap - 类 中的变量com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
默认类型转换器
- defaultIfBlank(T, T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
如果给定对象为null或者""或者空白符返回默认值
ObjectUtils.defaultIfEmpty(null, null) = null
ObjectUtils.defaultIfEmpty(null, "") = ""
ObjectUtils.defaultIfEmpty("", "zz") = "zz"
ObjectUtils.defaultIfEmpty(" ", "zz") = "zz"
ObjectUtils.defaultIfEmpty("abc", *) = "abc"
- defaultIfEmpty(T, T) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
如果给定集合为空,返回默认集合
- defaultIfEmpty(T, T) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
如果给定Map为空,返回默认Map
- defaultIfEmpty(T[], T[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
如果给定数组为空,返回默认数组
- defaultIfEmpty(T, T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
如果给定对象为null或者 "" 返回默认值
ObjectUtils.defaultIfEmpty(null, null) = null
ObjectUtils.defaultIfEmpty(null, "") = ""
ObjectUtils.defaultIfEmpty("", "zz") = "zz"
ObjectUtils.defaultIfEmpty(" ", "zz") = " "
ObjectUtils.defaultIfEmpty("abc", *) = "abc"
- defaultIfNull(T, T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
如果给定对象为null返回默认值
ObjectUtils.defaultIfNull(null, null) = null
ObjectUtils.defaultIfNull(null, "") = ""
ObjectUtils.defaultIfNull(null, "zz") = "zz"
ObjectUtils.defaultIfNull("abc", *) = "abc"
ObjectUtils.defaultIfNull(Boolean.TRUE, *) = Boolean.TRUE
- definingCalendar - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser.StrategyParser
-
- deflater(InputStream, OutputStream, int, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
将普通数据流压缩成zlib到out中
- del(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
删除文件或者文件夹
路径如果为相对路径,会转换为ClassPath路径!
- del(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
删除文件或者文件夹
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- del(Path) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
删除文件或者文件夹
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
- del(int, int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
删除指定长度的字符,规则如下:
1、end大于等于最大长度,结束按照最大长度计算,相当于删除start之后虽有部分(性能最好)
2、end小于start时,抛出StringIndexOutOfBoundsException
3、start小于0 按照0处理
4、start等于end不处理
5、start和end都位于长度区间内,删除这段内容(内存拷贝)
- delAll(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
删除匹配的全部内容
- delAll(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
删除匹配的全部内容
- DelegatedExecutorService - com.github.jarvisframework.tool.core.thread中的类
-
ExecutorService代理
- DelegatedExecutorService(ExecutorService) - 类 的构造器com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- delFirst(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
删除匹配的第一个内容
- delFirst(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
删除匹配的第一个内容
- DELIM_END - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- DELIM_END - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- DELIM_START - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- DELIM_START - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- delPre(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
删除正则匹配到的内容之前的字符 如果没有找到,则返回原文
- delTo(int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
删除到指定位置
如果新位置小于等于0,则删除全部
- descForEach(Class<?>, Consumer<? super PropDesc>) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
遍历Bean的属性
- deserialize(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
反序列化
对象必须实现Serializable接口
注意!!!
- dest - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.BeanCopier
-
目标对象
- dest - 类 中的变量com.github.jarvisframework.tool.core.lang.copier.SrcToDestCopier
-
目标
- destroy() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Singleton
-
清除所有Singleton对象
- destType - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.BeanCopier
-
目标的类型(用于泛型类注入)
- Dictionary - com.github.jarvisframework.tool.core.lang中的类
-
字典对象,扩充了HashMap中的方法
- Dictionary() - 类 的构造器com.github.jarvisframework.tool.core.lang.Dictionary
-
构造
- Dictionary(boolean) - 类 的构造器com.github.jarvisframework.tool.core.lang.Dictionary
-
构造
- Dictionary(int) - 类 的构造器com.github.jarvisframework.tool.core.lang.Dictionary
-
构造
- Dictionary(int, boolean) - 类 的构造器com.github.jarvisframework.tool.core.lang.Dictionary
-
构造
- Dictionary(int, float) - 类 的构造器com.github.jarvisframework.tool.core.lang.Dictionary
-
构造
- Dictionary(int, float, boolean) - 类 的构造器com.github.jarvisframework.tool.core.lang.Dictionary
-
构造
- Dictionary(Map<String, Object>) - 类 的构造器com.github.jarvisframework.tool.core.lang.Dictionary
-
构造
- digit16(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
获取给定字符的16进制数值
- digits(long, int) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.UUID
-
返回指定数字对应的hex值
- DIGITS_LOWER - 类 中的静态变量com.github.jarvisframework.tool.core.util.HexUtils
-
用于建立十六进制字符的输出的小写字符数组
- DIGITS_UPPER - 类 中的静态变量com.github.jarvisframework.tool.core.util.HexUtils
-
用于建立十六进制字符的输出的大写字符数组
- digitToChinese(Number) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
金额转为中文形式
- disableLock() - 类 中的方法com.github.jarvisframework.tool.core.lang.Range
-
禁用锁,调用此方法后不在 使用锁保护
- disjunction(Collection<T>, Collection<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
两个集合的差集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留两个集合中此元素个数差的个数
例如:
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(Collection<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
去重集合
- distinct(T[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- div(float, float) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(float, double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(double, float) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(double, double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(Double, Double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(Number, Number) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况的时候,精确到小数点后10位,后面的四舍五入
- div(float, float, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(float, double, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(double, float, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(double, double, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(Double, Double, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(Number, Number, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(String, String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度,后面的四舍五入
- div(float, float, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(float, double, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(double, float, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(double, double, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(Double, Double, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(Number, Number, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(String, String, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- div(BigDecimal, BigDecimal, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供(相对)精确的除法运算,当发生除不尽的情况时,由scale指定精确度
- divisor(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
最大公约数
- DocumentToXml(Document, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.XmlParseUtils
-
将Document对象序列化为Xml字符串
- DOM_DRIVER - 类 中的静态变量com.github.jarvisframework.tool.core.util.XmlParseUtils
-
Dom解析驱动
- DOT - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- DOT - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- doTakeAndWatch(Watcher) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
执行事件获取并处理
- DOUBLE_DOT - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- DOUBLE_QUOTES - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- dstOffset - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser.TimeZoneStrategy.TzInfo
-
- DurationConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
Duration对象转换器
- DurationConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.DurationConverter
-
- dynaBean - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.provider.DynaBeanValueProvider
-
- DynaBean - com.github.jarvisframework.tool.core.bean中的类
-
动态Bean,通过反射对Bean的相关方法做操作
支持Map和普通Bean
- DynaBean(Class<?>, Object...) - 类 的构造器com.github.jarvisframework.tool.core.bean.DynaBean
-
构造
- DynaBean(Object) - 类 的构造器com.github.jarvisframework.tool.core.bean.DynaBean
-
构造
- DynaBeanValueProvider - com.github.jarvisframework.tool.core.bean.copier.provider中的类
-
DynaBean值提供者
- DynaBeanValueProvider(DynaBean, boolean) - 类 的构造器com.github.jarvisframework.tool.core.bean.copier.provider.DynaBeanValueProvider
-
构造
- e - 类 中的变量com.github.jarvisframework.tool.core.collection.EnumerationIter
-
- e - 类 中的变量com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- edit(T) - 接口 中的方法com.github.jarvisframework.tool.core.lang.Editor
-
修改过滤后的结果
- edit(T[], Editor<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
编辑数组
编辑过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、修改元素对象,返回集合中为修改后的对象
注意:此方法会修改原数组!
- editable - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性,例如一个类我只想复制其父类的一些属性,就可以将editable设置为父类
- editFieldName(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
转换字段名为编辑后的字段名
- Editor<T> - com.github.jarvisframework.tool.core.lang中的接口
-
编辑器接口,常用于对于集合中的元素做统一编辑
此编辑器两个作用:
1、如果返回值为null,表示此值被抛弃
2、对对象做修改
- elementType - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.CollectionConverter
-
集合元素类型
- EMAIL - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
邮件,符合RFC 5322规范,正则来自:http://emailregex.com/
- EMAIL - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
邮件
- empty(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
根据给定的集合类型,返回对应的空集合,支持类型包括:
*
1.
- empty() - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
返回一个空Iterator
- empty() - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
获取一个空List
- EMPTY - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Optional
-
Common instance for empty().
- empty() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Optional
-
Returns an empty Optional instance.
- empty() - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
返回一个空Map
- empty(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
根据传入的Map类型不同,返回对应类型的空Map,支持类型包括:
1.
- EMPTY - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
空字符
- EMPTY_JSON - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- emptyCount(Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- emptyCount(Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
- emptyIfNull(Set<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- emptyIfNull(List<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- emptyIfNull(Map<K, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
- emptyIfNull(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
当给定字符串为null时,转换为Empty
- emptyToDefault(CharSequence, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
如果字符串是null或者"",则返回指定默认字符串,否则返回字符串本身。
- emptyToNull(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
当给定字符串为空字符串时,转换为null
- encode(byte[], boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
编码为Base64,非URL安全的
- encode(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码
- encode(CharSequence, String) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码
- encode(CharSequence, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码
- encode(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码
- encode(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码
- encode(File) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码
- encode(byte[], String) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
- encode(byte[], Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
- encode(byte[], boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
编码为Base64
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
- encode(byte[], boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Encoder
-
编码为Base64,非URL安全的
- encode(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Encoder
-
base64编码
- encode(CharSequence, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Encoder
-
base64编码
- encode(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Encoder
-
base64编码
- encode(byte[], boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Encoder
-
编码为Base64
如果isMultiLine为true,则每76个字符一个换行符,否则在一行显示
- encode(String, Charset) - 类 中的方法com.github.jarvisframework.tool.core.net.URLEncoder
-
将URL中的字符串编码为%形式
- encode(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encode(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
编码字符为 application/x-www-form-urlencoded
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encode(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
编码URL字符为 application/x-www-form-urlencoded
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeAll(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeAll(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
编码URL
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeBlank(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
单独编码URL中的空白符,空白符编码为%20
- encodeColor(Color) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
- encodeColor(Color, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
- encodeHex(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将字节数组转换为十六进制字符数组
- encodeHex(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将字节数组转换为十六进制字符数组
- encodeHex(byte[], boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将字节数组转换为十六进制字符数组
- encodeHex(byte[], char[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将字节数组转换为十六进制字符数组
- encodeHexStr(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将字节数组转换为十六进制字符串
- encodeHexStr(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将字节数组转换为十六进制字符串,结果为小写
- encodeHexStr(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将字节数组转换为十六进制字符串,结果为小写,默认编码是UTF-8
- encodeHexStr(byte[], boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将字节数组转换为十六进制字符串
- encodeHexStr(byte[], char[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将字节数组转换为十六进制字符串
- encodeQuery(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
编码URL,默认使用UTF-8编码
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeQuery(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
编码字符为URL中查询语句
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeQuery(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
编码URL
将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。
- encodeSpaceAsPlus - 类 中的变量com.github.jarvisframework.tool.core.net.URLEncoder
-
是否编码空格为+
- encodeUrlSafe(byte[], boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
编码为Base64,URL安全的
- encodeUrlSafe(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码,URL安全
- encodeUrlSafe(CharSequence, String) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码,URL安全
- encodeUrlSafe(CharSequence, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(File) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
base64编码,URL安全的
- encodeUrlSafe(byte[], String) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
- encodeUrlSafe(byte[], Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64
-
- encodeUrlSafe(byte[], boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Encoder
-
编码为Base64,URL安全的
- encodeUrlSafe(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Encoder
-
base64编码,URL安全
- encodeUrlSafe(CharSequence, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Encoder
-
base64编码,URL安全的
- encodeUrlSafe(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Encoder
-
base64编码,URL安全的
- end - 类 中的变量com.github.jarvisframework.tool.core.date.DateBetween
-
结束日期
- end - 类 中的变量com.github.jarvisframework.tool.core.lang.Range
-
结束对象
- endIndex - 类 中的变量com.github.jarvisframework.tool.core.collection.ArrayIter
-
结束位置
- endLatch - 类 中的变量com.github.jarvisframework.tool.core.thread.SyncFinisher
-
结束同步器,用于等待所有worker线程同时结束
- endOfDay(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
获取某天的结束时间
- endOfDay(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获取某天的结束时间
- endOfMonth(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
获取某月的结束时间
- endOfMonth(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获取某月的结束时间
- endOfQuarter(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
获取某季度的结束时间
- endOfQuarter(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获取某季度的结束时间
- endOfSecond(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
获取秒级别的结束时间,即毫秒设置为999
- endOfSecond(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获取秒级别的结束时间,即毫秒设置为999
- endOfWeek(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
获取某周的结束时间,周日定为一周的结束
- endOfWeek(Calendar, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
获取某周的结束时间
- endOfWeek(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获取某周的结束时间,周日定为一周的结束
- endOfYear(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
获取某年的结束时间
- endOfYear(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获取某年的结束时间
- endWith(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
字符串是否以给定字符结尾
- endWith(CharSequence, CharSequence, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
是否以指定字符串结尾
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
- endWith(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
是否以指定字符串结尾
- endWithAny(CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串是否以任何一个字符串结尾
给定字符串和数组为空都返回false
- endWithIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
是否以指定字符串结尾,忽略大小写
- ensureCapacity(int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
确认容量是否够用,不够用则扩展容量
- Entry(K, V) - 类 的构造器com.github.jarvisframework.tool.core.map.TableMap.Entry
-
- ENTRY_CREATE - 类 中的静态变量com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
创建事件
- ENTRY_DELETE - 类 中的静态变量com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
删除事件
- ENTRY_MODIFY - 类 中的静态变量com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
修改事件
- entrySet() - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- entrySet() - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- entrySet() - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- enumClass - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.EnumConverter
-
- enumClass - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.GenericEnumConverter
-
已过时。
- EnumConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
无泛型检查的枚举转换器
- EnumConverter(Class) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.EnumConverter
-
构造
- EnumerationIter<E> - com.github.jarvisframework.tool.core.collection中的类
-
- EnumerationIter(Enumeration<E>) - 类 的构造器com.github.jarvisframework.tool.core.collection.EnumerationIter
-
构造
- EnumParseException - com.github.jarvisframework.tool.core.exception中的异常错误
-
枚举解析异常类
- EnumParseException(String) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.EnumParseException
-
- EnumUtils - com.github.jarvisframework.tool.core.util中的类
-
枚举工具类
- EnumUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.EnumUtils
-
- EOF - 类 中的静态变量com.github.jarvisframework.tool.core.io.IOUtils
-
数据流末尾
- equal(Object, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否相等
当两值都为null返回true
- equal(Object, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
比较两个对象是否相等。
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.bean.DynaBean
-
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.comparator.VersionComparator
-
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.date.format.AbstractDateBasic
-
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TimeZoneDisplayKey
- equals(File, File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
检查两个文件是否是同一个文件
所谓文件相同,是指File对象是否指向同一个文件或文件夹
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.lang.mutable.MutableObject
-
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.lang.Optional
-
Indicates whether some other object is "equal to" this Optional.
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.lang.PatternPool.RegexWithFlag
-
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.lang.Tuple
-
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.lang.UUID
-
将此对象与指定对象比较。
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.lang.WeightRandom.WeightObj
-
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- equals(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap.Entry
-
- equals(char, char, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
比较两个字符是否相同
- equals(Class<?>, String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
指定类是否与给定的类名相同
- equals(Enum<?>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
检查某个枚举值是否匹配指定值
- equals(BigDecimal, BigDecimal) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- equals(char, char, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
比较两个字符是否相同
- equals(Object, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
- equals(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
比较两个字符串(大小写敏感)。
- equals(CharSequence, CharSequence, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
比较两个字符串是否相等。
- equalsAny(CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串是否与提供的中任一字符串相同,相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
- equalsAny(CharSequence, boolean, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串是否与提供的中任一字符串相同,相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
- equalsAnyIgnoreCase(CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串是否与提供的中任一字符串相同(忽略大小写),相同则返回true,没有相同的返回false
如果参与比对的字符串列表为空,返回false
- equalsCharAt(CharSequence, int, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
字符串指定位置的字符是否与给定字符相同
如果字符串为null,返回false
如果给定的位置大于字符串长度,返回false
如果给定的位置小于0,返回false
- equalsIgnoreCase(Enum<?>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
忽略大小检查某个枚举值是否匹配指定值
- equalsIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
比较两个字符串(大小写不敏感)。
- errCode - 异常错误 中的变量com.github.jarvisframework.tool.core.exception.BusinessException
-
异常code
- error() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- error(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- error(Object, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
同 System.out.println()方法,打印控制台日志
如果传入打印对象为
Throwable对象,那么同时打印堆栈
- error(String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- error(Throwable, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- errorInternal(String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
同 System.err.println()方法,打印控制台日志
- escape(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
转义字符,将正则的关键字转义
- escape(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
转义字符串,将正则的关键字转义
- ESCAPE_CHAR - 类 中的静态变量com.github.jarvisframework.tool.core.net.URLDecoder
-
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.CharacterLiteral
-
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.DayInWeekField
-
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.Iso8601_Rule
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.PaddedNumberField
-
Returns the estimated length of the result.
- estimateLength() - 接口 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.Rule
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.StringLiteral
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TextField
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TimeZoneNameRule
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TimeZoneNumberRule
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwelveHourField
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwentyFourHourField
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitMonthField
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitNumberField
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitYearField
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.UnpaddedMonthField
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.UnpaddedNumberField
-
Returns the estimated length of the result.
- estimateLength() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.WeekYear
-
- estimateSize() - 类 中的方法com.github.jarvisframework.tool.core.collection.TransSpliterator
-
- events - 类 中的变量com.github.jarvisframework.tool.core.io.watch.WatchServer
-
监听事件列表
- EVENTS_ALL - 类 中的静态变量com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
全部事件
- ExceptionUtils - com.github.jarvisframework.tool.core.exception中的类
-
异常工具类
- ExceptionUtils() - 类 的构造器com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
- execAsync(Runnable, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
执行异步方法
- execAsync(Callable<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- execAsync(Runnable) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- execute(Runnable) - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- execute(Runnable) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.GlobalThreadPool
-
直接在公共线程池中执行线程
- execute(Runnable) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
直接在公共线程池中执行线程
- executor - 类 中的静态变量com.github.jarvisframework.tool.core.thread.GlobalThreadPool
-
- ExecutorBuilder - com.github.jarvisframework.tool.core.thread中的类
-
- ExecutorBuilder() - 类 的构造器com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
- executorService - 类 中的变量com.github.jarvisframework.tool.core.io.file.Tailer
-
- executorService - 类 中的变量com.github.jarvisframework.tool.core.thread.SyncFinisher
-
- exist(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断文件是否存在,如果path为null,则返回false
- exist(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断文件是否存在,如果file为null,则返回false
- exist(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
是否存在匹配文件
- expandCapacity(int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
扩展容量
首先对容量进行二倍扩展,如果小于最小容量,则扩展为最小容量
- expChars - 类 中的静态变量com.github.jarvisframework.tool.core.bean.BeanPath
-
表达式边界符号数组
- extName(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取文件扩展名(后缀名),扩展名不带“.”
- extName(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得文件的扩展名(后缀名),扩展名不带“.”
- extract(Iterable<?>, Editor<Object>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
通过Editor抽取集合元素中的某些值返回为新列表
例如提供的是一个Bean列表,通过Editor接口实现获取某个字段值,返回这个字段值组成的新列表
- extract(Iterable<?>, Editor<Object>, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
通过Editor抽取集合元素中的某些值返回为新列表
例如提供的是一个Bean列表,通过Editor接口实现获取某个字段值,返回这个字段值组成的新列表
- extractMulti(Pattern, CharSequence, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)
- extractMulti(String, CharSequence, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
- extractMultiAndDelPre(Pattern, Holder<CharSequence>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
从content中匹配出多个值并根据template生成新的字符串
匹配结束后会删除匹配内容之前的内容(包括匹配内容)
例如:
content 2013年5月 pattern (.*?)
- extractMultiAndDelPre(String, Holder<CharSequence>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
从content中匹配出多个值并根据template生成新的字符串
例如:
content 2013年5月 pattern (.*?)
- factorial(long, long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
计算阶乘
n!
- factorial(long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
计算阶乘
n!
- FastByteArrayOutputStream - com.github.jarvisframework.tool.core.io中的类
-
- FastByteArrayOutputStream() - 类 的构造器com.github.jarvisframework.tool.core.io.FastByteArrayOutputStream
-
- FastByteArrayOutputStream(int) - 类 的构造器com.github.jarvisframework.tool.core.io.FastByteArrayOutputStream
-
构造
- FastByteBuffer - com.github.jarvisframework.tool.core.io中的类
-
代码移植自
blade
快速缓冲,将数据存放在缓冲集中,取代以往的单一数组
- FastByteBuffer() - 类 的构造器com.github.jarvisframework.tool.core.io.FastByteBuffer
-
- FastByteBuffer(int) - 类 的构造器com.github.jarvisframework.tool.core.io.FastByteBuffer
-
- FastDateFormat - com.github.jarvisframework.tool.core.date.format中的类
-
- FastDateFormat(String, TimeZone, Locale) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
构造
- FastDateFormat(String, TimeZone, Locale, Date) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
构造
- FastDateParser - com.github.jarvisframework.tool.core.date.format中的类
-
- FastDateParser(String, TimeZone, Locale) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateParser
-
Constructs a new FastDateParser.
- FastDateParser(String, TimeZone, Locale, Date) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateParser
-
Constructs a new FastDateParser.
- FastDateParser.CaseInsensitiveTextStrategy - com.github.jarvisframework.tool.core.date.format中的类
-
A strategy that handles a text field in the parsing pattern
- FastDateParser.CopyQuotedStrategy - com.github.jarvisframework.tool.core.date.format中的类
-
A strategy that copies the static or quoted field in the parsing pattern
- FastDateParser.ISO8601TimeZoneStrategy - com.github.jarvisframework.tool.core.date.format中的类
-
- FastDateParser.NumberStrategy - com.github.jarvisframework.tool.core.date.format中的类
-
A strategy that handles a number field in the parsing pattern
- FastDateParser.PatternStrategy - com.github.jarvisframework.tool.core.date.format中的类
-
A strategy to parse a single field from the parsing pattern
- FastDateParser.Strategy - com.github.jarvisframework.tool.core.date.format中的类
-
单个日期字段的分析策略
- FastDateParser.StrategyAndWidth - com.github.jarvisframework.tool.core.date.format中的类
-
Holds strategy and field width
- FastDateParser.StrategyParser - com.github.jarvisframework.tool.core.date.format中的类
-
Parse format into Strategies
- FastDateParser.TimeZoneStrategy - com.github.jarvisframework.tool.core.date.format中的类
-
A strategy that handles a timezone field in the parsing pattern
- FastDateParser.TimeZoneStrategy.TzInfo - com.github.jarvisframework.tool.core.date.format中的类
-
- FastDatePrinter - com.github.jarvisframework.tool.core.date.format中的类
-
- FastDatePrinter(String, TimeZone, Locale) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
构造,内部使用
- FastDatePrinter.CharacterLiteral - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output a constant single character.
- FastDatePrinter.DayInWeekField - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output the numeric day in week.
- FastDatePrinter.Iso8601_Rule - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output a time zone as a number +/-HHMM or +/-HH:MM.
- FastDatePrinter.NumberRule - com.github.jarvisframework.tool.core.date.format中的接口
-
Inner class defining a numeric rule.
- FastDatePrinter.PaddedNumberField - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output a padded number.
- FastDatePrinter.Rule - com.github.jarvisframework.tool.core.date.format中的接口
-
规则
- FastDatePrinter.StringLiteral - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output a constant string.
- FastDatePrinter.TextField - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output one of a set of values.
- FastDatePrinter.TimeZoneDisplayKey - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class that acts as a compound key for time zone names.
- FastDatePrinter.TimeZoneNameRule - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output a time zone name.
- FastDatePrinter.TimeZoneNumberRule - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output a time zone as a number +/-HHMM or +/-HH:MM.
- FastDatePrinter.TwelveHourField - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output the twelve hour field.
- FastDatePrinter.TwentyFourHourField - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output the twenty four hour field.
- FastDatePrinter.TwoDigitMonthField - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output a two digit month.
- FastDatePrinter.TwoDigitNumberField - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output a two digit number.
- FastDatePrinter.TwoDigitYearField - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output a two digit year.
- FastDatePrinter.UnpaddedMonthField - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output an unpadded month.
- FastDatePrinter.UnpaddedNumberField - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output an unpadded number.
- FastDatePrinter.WeekYear - com.github.jarvisframework.tool.core.date.format中的类
-
Inner class to output the numeric day in week.
- fastSimpleUUID() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdUtils
-
简化的UUID,去掉了横线,使用性能更好的ThreadLocalRandom生成UUID
- fastUUID() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。
- fastUUID() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdUtils
-
获取随机UUID,使用性能更好的ThreadLocalRandom生成UUID
- field - 类 中的变量com.github.jarvisframework.tool.core.bean.PropDesc
-
字段
- field - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser.CaseInsensitiveTextStrategy
-
- field - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser.NumberStrategy
-
- fieldMapping - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
拷贝属性的字段映射,用于不同的属性之前拷贝做对应表用
- fieldNameEditor - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
字段属性编辑器,用于自定义属性转换规则,例如驼峰转下划线等
- FIELDS_CACHE - 类 中的静态变量com.github.jarvisframework.tool.core.util.ReflectUtils
-
字段缓存
- fieldValueAsMap(Iterable<?>, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
两个字段值组成新的Map
- fieldValueAsMap(Iterable<?>, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
- fieldValueAsMap(Iterator<?>, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
两个字段值组成新的Map
- fieldValueList(Iterable<V>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
获取指定Bean列表中某个字段,生成新的列表
- fieldValueList(Iterator<V>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
获取指定Bean列表中某个字段,生成新的列表
- fieldValueMap(Iterable<V>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
- fieldValueMap(Iterable<V>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
- fieldValueMap(Iterator<V>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
字段值与列表值对应的Map,常用于元素对象中有唯一ID时需要按照这个ID查找对象的情况
例如:车牌号 =》车
- file - 类 中的变量com.github.jarvisframework.tool.core.io.file.FileWrapper
-
- file(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建File对象,自动识别相对或绝对路径,相对路径将自动从ClassPath下寻找
- file(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建File对象
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
- file(File, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建File对象
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
- file(File, String...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
通过多层目录参数创建文件
此方法会检查slip漏洞,漏洞说明见http://blog.nsfocus.net/zip-slip-2/
- file(String...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
通过多层目录创建文件
元素名(多层目录名)
- file(URI) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建File对象
- file(URL) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建File对象
- FILE_NAME_INVALID_PATTERN_WIN - 类 中的静态变量com.github.jarvisframework.tool.core.io.FileUtils
-
Windows下文件名中的无效字符
- FILE_TYPE_MAP - 类 中的静态变量com.github.jarvisframework.tool.core.io.FileTypeUtils
-
- FILE_URL_PREFIX - 类 中的静态变量com.github.jarvisframework.tool.core.util.UrlUtils
-
URL 前缀表示文件: "file:"
- FileCopier - com.github.jarvisframework.tool.core.io.file中的类
-
文件拷贝器
支持以下几种情况:
1、文件复制到文件
2、文件复制到目录
3、目录复制到目录
4、目录下的文件和目录复制到另一个目录
- FileCopier(File, File) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileCopier
-
构造
- FileModeEnum - com.github.jarvisframework.tool.core.io.file中的枚举
-
文件读写模式,常用于RandomAccessFile
- FileModeEnum() - 枚举 的构造器com.github.jarvisframework.tool.core.io.file.FileModeEnum
-
- filePath - 类 中的变量com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
监听的文件,对于单文件监听不为空
- FileReader - com.github.jarvisframework.tool.core.io.file中的类
-
文件读取器
- FileReader(File, Charset) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileReader
-
构造
- FileReader(File, String) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileReader
-
构造
- FileReader(String, Charset) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileReader
-
构造
- FileReader(String, String) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileReader
-
构造
- FileReader(File) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileReader
-
- FileReader(String) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileReader
-
- FileReader.ReaderHandler<T> - com.github.jarvisframework.tool.core.io.file中的接口
-
Reader处理接口
- FileResource - com.github.jarvisframework.tool.core.io.resource中的类
-
文件资源访问对象
- FileResource(Path) - 类 的构造器com.github.jarvisframework.tool.core.io.resource.FileResource
-
构造
- FileResource(File) - 类 的构造器com.github.jarvisframework.tool.core.io.resource.FileResource
-
构造
- FileResource(File, String) - 类 的构造器com.github.jarvisframework.tool.core.io.resource.FileResource
-
构造
- FileResource(String) - 类 的构造器com.github.jarvisframework.tool.core.io.resource.FileResource
-
构造
- FileTypeUtils - com.github.jarvisframework.tool.core.io中的类
-
文件类型判断工具类
此工具根据文件的前几位bytes猜测文件类型,对于文本、zip判断不准确,对于视频、图片类型判断准确
需要注意的是,xlsx、docx等Office2007格式,全部识别为zip,因为新版采用了OpenXML格式,这些格式本质上是XML文件打包为zip
- FileTypeUtils() - 类 的构造器com.github.jarvisframework.tool.core.io.FileTypeUtils
-
- FileUtils - com.github.jarvisframework.tool.core.io中的类
-
文件工具类
- FileUtils() - 类 的构造器com.github.jarvisframework.tool.core.io.FileUtils
-
- FileWrapper - com.github.jarvisframework.tool.core.io.file中的类
-
文件包装器,扩展文件对象
- FileWrapper(File, Charset) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileWrapper
-
构造
- FileWriter - com.github.jarvisframework.tool.core.io.file中的类
-
文件写入器
- FileWriter(File, Charset) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileWriter
-
构造
- FileWriter(File, String) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileWriter
-
构造
- FileWriter(String, Charset) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileWriter
-
构造
- FileWriter(String, String) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileWriter
-
构造
- FileWriter(File) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileWriter
-
- FileWriter(String) - 类 的构造器com.github.jarvisframework.tool.core.io.file.FileWriter
-
- fill(String, char, int, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
- fillAfter(String, char, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串后
- fillBean(T, ValueProvider<String>, CopyOptions) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
填充Bean的核心方法
- fillBeanWithMap(Map<?, ?>, T, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
使用Map填充Bean对象
- fillBeanWithMap(Map<?, ?>, T, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
使用Map填充Bean对象,可配置将下划线转换为驼峰
- fillBeanWithMap(Map<?, ?>, T, CopyOptions) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
使用Map填充Bean对象
- fillBeanWithMap(Map<?, ?>, T, boolean, CopyOptions) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
使用Map填充Bean对象
- fillBeanWithMapIgnoreCase(Map<?, ?>, T, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
使用Map填充Bean对象,忽略大小写
- fillBefore(String, char, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串前
- filter(Collection<T>, Editor<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
过滤,此方法产生一个新集合
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(List<T>, Editor<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(T, Filter<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
去除指定元素,此方法直接修改原集合
- filter(Map<K, V>, Editor<Map.Entry<K, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(Map<K, V>, Filter<Map.Entry<K, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(T, Filter<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
- filter(Iterator<E>, Filter<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
- filter(List<T>, Editor<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(String...) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
过滤Map保留指定键值对,如果键不存在跳过
- Filter<T> - com.github.jarvisframework.tool.core.lang中的接口
-
过滤器接口
- filter(Predicate<? super T>) - 类 中的方法com.github.jarvisframework.tool.core.lang.Optional
-
If a value is present, and the value matches the given predicate,
return an Optional describing the value, otherwise return an
empty Optional.
- filter(Map<K, V>, Editor<Map.Entry<K, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(Map<K, V>, Filter<Map.Entry<K, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Filter实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
- filter(Map<K, V>, K...) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
过滤Map保留指定键值对,如果键不存在跳过
- filter(T[], Editor<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
1、过滤出需要的对象,如果返回null表示这个元素对象抛弃
2、修改元素对象,返回集合中为修改后的对象
- filter(T[], Filter<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能:
1、过滤出需要的对象,
Filter.accept(Object)方法返回true的对象将被加入结果集合中
- filterNew(Collection<T>, Filter<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能:
1、过滤出需要的对象,
Filter.accept(Object)方法返回true的对象将被加入结果集合中
- filterNew(List<T>, Filter<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Filter实现可以实现以下功能:
1、过滤出需要的对象,
Filter.accept(Object)方法返回true的对象将被加入结果集合中
- FinalizableDelegatedExecutorService - com.github.jarvisframework.tool.core.thread中的类
-
保证ExecutorService在对象回收时正常结束
- FinalizableDelegatedExecutorService(ExecutorService) - 类 的构造器com.github.jarvisframework.tool.core.thread.FinalizableDelegatedExecutorService
-
- finalize() - 类 中的方法com.github.jarvisframework.tool.core.thread.FinalizableDelegatedExecutorService
-
- findAll(String, CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
取得内容中匹配的所有结果
- findAll(String, CharSequence, int, T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
取得内容中匹配的所有结果
- findAll(Pattern, CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
取得内容中匹配的所有结果
- findAll(Pattern, CharSequence, int, T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
取得内容中匹配的所有结果
- findAllGroup0(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
- findAllGroup0(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
- findAllGroup1(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
- findAllGroup1(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
- findEditor(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
- findOne(Iterable<T>, Filter<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
查找第一个匹配元素对象
- findOneByField(Iterable<T>, String, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
查找第一个匹配元素对象
如果集合元素是Map,则比对键和值是否相同,相同则返回
如果为普通Bean,则通过反射比对元素字段名对应的字段值是否相同,相同则返回
如果给定字段值参数是null 且元素对象中的字段值也为null则认为相同
- findProp(Field, Method[], boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
查找字段对应的Getter和Setter方法
- findPropClass(Method, Method) - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
通过Getter和Setter方法中找到属性类型
- findPropType(Method, Method) - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
通过Getter和Setter方法中找到属性类型
- finish() - 接口 中的方法com.github.jarvisframework.tool.core.io.StreamProgress
-
结束
- firstDayOfWeek - 类 中的变量com.github.jarvisframework.tool.core.date.DateTime
-
一周的第一天,默认是周一, 在设置或获得 WEEK_OF_MONTH 或 WEEK_OF_YEAR 字段时,Calendar 必须确定一个月或一年的第一个星期,以此作为参考点。
- firstNonNull(T...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
返回数组中第一个非空元素
- firstPageNo - 类 中的静态变量com.github.jarvisframework.tool.core.util.PageUtils
-
- FixedLinkedHashMap<K,V> - com.github.jarvisframework.tool.core.map中的类
-
- FixedLinkedHashMap(int) - 类 的构造器com.github.jarvisframework.tool.core.map.FixedLinkedHashMap
-
构造
- flag - 类 中的变量com.github.jarvisframework.tool.core.lang.PatternPool.RegexWithFlag
-
- flatMap(Function<? super T, Optional<U>>) - 类 中的方法com.github.jarvisframework.tool.core.lang.Optional
-
If a value is present, apply the provided Optional-bearing
mapping function to it, return that result, otherwise return an empty
Optional.
- flush(Flushable) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从缓存中刷出数据
- forEach(Iterator<T>, CollectionUtils.Consumer<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- forEach(Enumeration<T>, CollectionUtils.Consumer<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- forEach(Map<K, V>, CollectionUtils.KVConsumer<K, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- forEach(Consumer<? super T>) - 类 中的方法com.github.jarvisframework.tool.core.collection.TransCollection
-
- forEach(BiConsumer<? super K, ? super V>) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- forEachRemaining(Consumer<? super T>) - 类 中的方法com.github.jarvisframework.tool.core.collection.TransSpliterator
-
- format - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.CalendarConverter
-
日期格式化
- format - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.DateConverter
-
日期格式化
- format - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
日期格式化
- format(double, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.NumberChineseFormatter
-
阿拉伯数字转换成中文,小数点后四舍五入保留两位.
- format(double, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.NumberChineseFormatter
-
阿拉伯数字转换成中文,小数点后四舍五入保留两位.
- format(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.NumberWordFormatter
-
将阿拉伯数字转为英文表达式
- format(String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.NumberWordFormatter
-
将阿拉伯数字转为英文表达式
- format() - 类 中的方法com.github.jarvisframework.tool.core.date.BetweenFormat
-
格式化日期间隔输出
- format(LocalDateTime, String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
根据特定格式格式化日期
- format(Date, String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
根据特定格式格式化日期
- format(Date, DatePrinter) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
根据特定格式格式化日期
- format(Date, DateFormat) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
根据特定格式格式化日期
- format(Date, DateTimeFormatter) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
根据特定格式格式化日期
- format(long) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DatePrinter
-
格式化日期表示的毫秒数
- format(Date) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DatePrinter
-
使用 GregorianCalendar 格式化 Date
- format(Calendar) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DatePrinter
-
Formats a Calendar object.
- format(long, B) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DatePrinter
-
Formats a millisecond long value into the supplied Appendable.
- format(Date, B) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DatePrinter
-
Formats a Date object into the supplied Appendable using a GregorianCalendar.
- format(Calendar, B) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DatePrinter
-
Formats a Calendar object into the supplied Appendable.
- format(Object, StringBuffer, FieldPosition) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- format(long) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- format(Date) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- format(Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- format(long, B) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- format(Date, B) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- format(Calendar, B) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- format(Object) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
Formats a Date, Calendar or Long (milliseconds) object.
- format(long) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
- format(Date) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
- format(Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
- format(long, B) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
- format(Date, B) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
- format(Calendar, B) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
- format(String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringFormatter
-
格式化字符串
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
- format(CharSequence, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
格式化文本, {} 表示占位符
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
- format(CharSequence, Map<?, ?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
格式化文本,使用 {varName} 占位
map = {a: "aValue", b: "bValue"} format("{a} and {b}", map) ---=》 aValue and bValue
- formatBetween(Date, Date, BetweenFormat.Level) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
格式化日期间隔输出
- formatBetween(Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
格式化日期间隔输出,精确到毫秒
- formatBetween(long, BetweenFormat.Level) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
格式化日期间隔输出
- formatBetween(long) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
格式化日期间隔输出,精确到毫秒
- FormatCache<F extends Format> - com.github.jarvisframework.tool.core.date.format中的类
-
日期格式化器缓存
Thanks to Apache Commons Lang 3.5
- FormatCache() - 类 的构造器com.github.jarvisframework.tool.core.date.format.FormatCache
-
- formatChineseDate(Date, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
格式化为中文日期格式,如果isUppercase为false,则返回类似:2018年10月24日,否则返回二〇一八年十月二十四日
- formatDate(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
格式化日期部分(不包括时间)
格式 yyyy-MM-dd
- formatDateTime(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
- formatField - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser.CopyQuotedStrategy
-
- formatHttpDate(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
格式化为Http的标准日期格式
标准日期格式遵循RFC 1123规范,格式类似于:Fri, 31 Dec 1999 23:59:59 GMT
- formatIpBlock(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
格式化IP段
- formatLocalDateTime(LocalDateTime) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
- formatPercent(double, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
格式化百分比,小数采用四舍五入方式
- formatter - 枚举 中的变量com.github.jarvisframework.tool.core.date.DateTimeUtils.DateTimeFormat
-
单列时间格式对象
- formatTime(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
格式化时间
格式 HH:mm:ss
- FRIDAY - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
星期五
- fromCollection - 类 中的变量com.github.jarvisframework.tool.core.collection.TransCollection
-
- fromSpliterator - 类 中的变量com.github.jarvisframework.tool.core.collection.TransSpliterator
-
- fromString(String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.UUID
-
- fromString(Class<E>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
- fromString(Class<E>, String, E) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
- fromStringQuietly(Class<E>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
- fromUnsignedByteArray(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- fromUnsignedByteArray(byte[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- FULL - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
FULL locale dependent date or time style.
- func - 类 中的变量com.github.jarvisframework.tool.core.collection.TransIter
-
- Func0<R> - com.github.jarvisframework.tool.core.func中的接口
-
无参数的函数对象
接口灵感来自于
ActFramework
一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
- Func1<P,R> - com.github.jarvisframework.tool.core.lang.func中的接口
-
description
- function - 类 中的变量com.github.jarvisframework.tool.core.collection.TransCollection
-
- function - 类 中的变量com.github.jarvisframework.tool.core.collection.TransSpliterator
-
- GBK - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharsetUtils
-
GBK
- GENERAL - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
英文字母 、数字和下划线
- GENERAL - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
英文字母 、数字和下划线
- GENERAL_WITH_CHINESE - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
中文字、英文字母、数字和下划线
- GENERAL_WITH_CHINESE - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
中文字、英文字母、数字和下划线
- generateBySet(int, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
- generateRandomNumber(int, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
生成不重复随机数 根据给定的最小数字和最大数字,以及随机数的个数,产生指定的不重复的数组
- GenericEnumConverter<E extends Enum<E>> - com.github.jarvisframework.tool.core.convert.impl中的类
-
- GenericEnumConverter(Class<E>) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.GenericEnumConverter
-
已过时。
构造
- genGetter(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
生成get方法名
- genSetter(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
生成set方法名
例如:name 返回 setName
- genTime() - 类 中的方法com.github.jarvisframework.tool.core.lang.Snowflake
-
生成时间戳
- get(Object) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanPath
-
获取Bean中对应表达式的值
- get(List<String>, Object, boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanPath
-
获取Bean中对应表达式的值
- get(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.DynaBean
-
获得字段对应值
- get(Collection<T>, int) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
获取集合中指定下标的元素值,下标可以为负数,例如-1表示最后一个元素
如果元素越界,返回null
- get(int) - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
根据索引位返回一个字节
- get(String, T) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
获得特定类型值
- get(Object) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- get() - 接口 中的方法com.github.jarvisframework.tool.core.lang.mutable.Mutable
-
获得原始值
- get() - 类 中的方法com.github.jarvisframework.tool.core.lang.mutable.MutableObject
-
- get() - 类 中的方法com.github.jarvisframework.tool.core.lang.Optional
-
If a value is present in this Optional, returns the value,
otherwise throws NoSuchElementException.
- get(String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.PatternPool
-
先从Pattern池中查找正则对应的
Pattern,找不到则编译正则表达式并入池。
- get(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.PatternPool
-
先从Pattern池中查找正则对应的
Pattern,找不到则编译正则表达式并入池。
- get(Type) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.reflect.ActualTypeMapperPool
-
获取泛型变量和泛型实际类型的对应关系Map
- get(K) - 类 中的方法com.github.jarvisframework.tool.core.lang.SimpleCache
-
从缓存池中查找值
- get(K, Func0<V>) - 类 中的方法com.github.jarvisframework.tool.core.lang.SimpleCache
-
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象
- get(Class<T>, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Singleton
-
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
注意:单例针对的是类和参数,也就是说只有类、参数一致才会返回同一个对象
- get(String, Func0<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Singleton
-
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
注意:单例针对的是类和参数,也就是说只有类、参数一致才会返回同一个对象
- get(String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Singleton
-
获得指定类的单例对象
对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象
- get(int) - 类 中的方法com.github.jarvisframework.tool.core.lang.Tuple
-
获取指定位置元素
- get(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.CustomKeyMap
-
- get(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- get(Map<?, ?>, Object, Class<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
获取Map指定key的值,并转换为指定类型
- get(Map<?, ?>, Object, TypeReference<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
获取Map指定key的值,并转换为指定类型
- get(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- get(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- get(CharSequence) - 类 中的方法com.github.jarvisframework.tool.core.net.url.UrlQuery
-
获取查询值
- get(Object, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取数组对象中指定index的值,支持负数,例如-1表示倒数第一个值
如果数组下标越界,返回null
- get(String, CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
获得匹配的字符串
- get(Pattern, CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
获得匹配的字符串,对应分组0表示整个匹配内容,1表示第一个括号分组内容,依次类推
- getAbsolutePath(String, Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取绝对路径
此方法不会判定给定路径是否有效(文件或目录存在)
- getAbsolutePath(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取绝对路径,相对于ClassPath的目录
如果给定就是绝对路径,则返回原路径,原路径把所有\替换为/
兼容Spring风格的路径表示,例如:classpath:config/example.setting也会被识别后转换
- getAbsolutePath(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取标准的绝对路径
- getAbsolutePath() - 类 中的方法com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
获得绝对路径Path
对于不存在的资源,返回拼接后的绝对路径
- getActualType(Type, TypeVariable<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.reflect.ActualTypeMapperPool
-
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
- getActualType(Type, Field) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获得泛型字段对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
- getActualType(Type, Type) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
此方法可以处理:
1.
- getActualType(Type, ParameterizedType) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
此方法可以处理复杂的泛型化对象,类似于Map<User, Key<Long>>
- getActualTypeArguments() - 类 中的方法com.github.jarvisframework.tool.core.lang.ParameterizedTypeImpl
-
- getActualTypes(Type, Type...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.reflect.ActualTypeMapperPool
-
获取指定泛型变量对应的真实类型
由于子类中泛型参数实现和父类(接口)中泛型定义位置是一一对应的,因此可以通过对应关系找到泛型实现类型
- getActualTypes(Type, Type...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获得泛型变量对应的泛型实际类型,如果此变量没有对应的实际类型,返回null
- getAllGroups(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
获得匹配的字符串匹配到的所有分组
- getAllGroups(Pattern, CharSequence, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
获得匹配的字符串匹配到的所有分组
- getAnnotation(AnnotatedElement, Class<A>) - 类 中的静态方法com.github.jarvisframework.tool.core.annotation.AnnotationUtils
-
获取指定注解
- getAnnotation(Class<T>) - 类 中的方法com.github.jarvisframework.tool.core.annotation.CombinationAnnotationElement
-
- getAnnotations(AnnotatedElement, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.annotation.AnnotationUtils
-
获取指定注解
- getAnnotations() - 类 中的方法com.github.jarvisframework.tool.core.annotation.CombinationAnnotationElement
-
- getAnnotationValue(AnnotatedElement, Class<? extends Annotation>) - 类 中的静态方法com.github.jarvisframework.tool.core.annotation.AnnotationUtils
-
获取指定注解默认值
如果无指定的属性方法返回null
- getAnnotationValue(AnnotatedElement, Class<? extends Annotation>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.annotation.AnnotationUtils
-
获取指定注解属性的值
如果无指定的属性方法返回null
- getAnnotationValueMap(AnnotatedElement, Class<? extends Annotation>) - 类 中的静态方法com.github.jarvisframework.tool.core.annotation.AnnotationUtils
-
获取指定注解中所有属性值
如果无指定的属性方法返回null
- getAny(Collection<T>, int...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
获取集合中指定多个下标的元素值,下标可以为负数,例如-1表示最后一个元素
- getAny(Map<K, V>, K...) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
获取Map的部分key生成新的Map
- getAny(Object, int...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取数组中指定多个下标元素值,组成新数组
- getArray() - 类 中的方法com.github.jarvisframework.tool.core.collection.ArrayIter
-
获得原始数组对象
- getArrayType(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
根据数组元素类型,获取数组的类型
方法是通过创建一个空数组从而获取其类型
- getAttributes(Path, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取文件属性
- getBean() - 类 中的方法com.github.jarvisframework.tool.core.bean.DynaBean
-
获得原始Bean
- getBean(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
获得特定类型值
- getBeanClass() - 类 中的方法com.github.jarvisframework.tool.core.bean.DynaBean
-
获得Bean的类型
- getBeanDesc(Class<?>, Func0<BeanDesc>) - 枚举 中的方法com.github.jarvisframework.tool.core.bean.BeanDescCache
-
- getBeanDesc(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
- getBeginIpLong(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
根据 ip/掩码位 计算IP段的起始IP(Long型)
- getBeginIpStr(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
根据 ip/掩码位 计算IP段的起始IP(字符串型)
- getBeginValue(Calendar, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
获取指定日期字段的最小值,例如分钟的最小值是0
- getBetweenMs() - 类 中的方法com.github.jarvisframework.tool.core.date.BetweenFormat
-
获得 时长毫秒数
- getBigDecimal(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取BigDecimal型属性值
- getBigDecimal(K, BigDecimal) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取BigDecimal型属性值
若获得的值为不可见字符,使用默认值
- getBigDecimal(K, BigDecimal) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getBigDecimal(K, BigDecimal) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getBigDecimal(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取BigDecimal型属性值
无值或获取错误返回null
- getBigDecimal(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getBigInteger(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取BigInteger型属性值
- getBigInteger(K, BigInteger) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取BigInteger型属性值
若获得的值为不可见字符,使用默认值
- getBigInteger(K, BigInteger) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getBigInteger(K, BigInteger) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getBigInteger(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取BigInteger型属性值
无值或获取错误返回null
- getBigInteger(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getBinaryStr(Number) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
获得数字对应的二进制字符串
- getBOMInputStream(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得BOM输入流,用于处理带BOM头的文件
- getBool(Map<?, ?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
获取Map指定key的值,并转换为Bool
- getBoolean(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取boolean型属性值
- getBoolean(K, Boolean) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取boolean型属性值
若获得的值为不可见字符,使用默认值
- getBoolean(K, Boolean) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getBoolean(K, Boolean) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getBoolean(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取boolean型属性值
无值或获取错误返回null
- getBoolean(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getByte(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取byte型属性值
- getByte(K, Byte) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取byte型属性值
若获得的值为不可见字符,使用默认值
- getByte(K, Byte) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getByte(K, Byte) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getByte(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取byte型属性值
无值或获取错误返回null
- getByte(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getBytes(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getCache(boolean) - 枚举 中的方法com.github.jarvisframework.tool.core.bean.BeanInfoCache
-
根据是否忽略字段名的大小写,返回不用Cache对象
- getCache(int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
Get a cache of Strategies for a particular field
- getCaller() - 接口 中的方法com.github.jarvisframework.tool.core.lang.caller.Caller
-
获得调用者
- getCaller(int) - 接口 中的方法com.github.jarvisframework.tool.core.lang.caller.Caller
-
- getCaller() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.caller.CallerUtils
-
获得调用者
- getCaller(int) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.caller.CallerUtils
-
- getCaller() - 类 中的方法com.github.jarvisframework.tool.core.lang.caller.SecurityManagerCaller
-
- getCaller(int) - 类 中的方法com.github.jarvisframework.tool.core.lang.caller.SecurityManagerCaller
-
- getCaller() - 类 中的方法com.github.jarvisframework.tool.core.lang.caller.StackTraceCaller
-
- getCaller(int) - 类 中的方法com.github.jarvisframework.tool.core.lang.caller.StackTraceCaller
-
- getCallerCaller() - 接口 中的方法com.github.jarvisframework.tool.core.lang.caller.Caller
-
获得调用者的调用者
- getCallerCaller() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.caller.CallerUtils
-
获得调用者的调用者
- getCallerCaller() - 类 中的方法com.github.jarvisframework.tool.core.lang.caller.SecurityManagerCaller
-
- getCallerCaller() - 类 中的方法com.github.jarvisframework.tool.core.lang.caller.StackTraceCaller
-
- getCallerMethodName(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.caller.CallerUtils
-
获取调用此方法的方法名
- getCanonicalPath(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取规范的绝对路径
- getCapacity() - 类 中的方法com.github.jarvisframework.tool.core.map.FixedLinkedHashMap
-
获取容量
- getCausedBy(Throwable, Class<? extends Exception>...) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
获取由指定异常类引起的异常
- getChar(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取char型属性值
- getChar(K, Character) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取char型属性值
若获得的值为不可见字符,使用默认值
- getChar(K, Character) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getChar(K, Character) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getChar(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取char型属性值
无值或获取错误返回null
- getChar(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getChar(Map<?, ?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
获取Map指定key的值,并转换为Character
- getChars(int, int, char[], int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
将指定段的字符列表写出到目标字符数组中
- getCharset() - 类 中的方法com.github.jarvisframework.tool.core.io.BOMInputStream
-
- getCharset() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWrapper
-
获得字符集编码
- getChineseZodiac(int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
计算生肖,只计算1900年后出生的人
- getChineseZodiac(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.Zodiac
-
通过生日计算生肖,只计算1900年后出生的人
- getChineseZodiac(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.Zodiac
-
通过生日计算生肖,只计算1900年后出生的人
- getChineseZodiac(int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.Zodiac
-
计算生肖,只计算1900年后出生的人
- getClass(T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
null安全的获取对象类型
- getClass(Type) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获得Type对应的原始类
- getClass(Field) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获得Field对应的原始类
- getClasses(Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得对象数组的类数组
- getClassLoader() - 类 中的方法com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
- getClassLoader() - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
- getClassLoader() - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
- getClassName(Object, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获取类名
- getClassName(Class<?>, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获取类名
类名并不包含“.class”这个扩展名
例如:ClassUtil这个类
isSimple为false: "com.github.jarvisframework.tool.util.ClassUtils"
isSimple为true: "ClassUtils"
- getClassPath() - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得ClassPath,将编码后的中文路径解码为原字符
这个ClassPath路径会文件路径被标准化处理
- getClassPath(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得ClassPath,这个ClassPath路径会文件路径被标准化处理
- getClassPathResources() - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
- getClassPathResources(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得ClassPath
- getClassPaths(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得ClassPath,不解码路径中的特殊字符(例如空格和中文)
- getClassPaths(String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得ClassPath
- getClassPathUrl() - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得ClassPath URL
- getClientReqAddr(HttpServletRequest) - 类 中的静态方法com.github.jarvisframework.tool.core.util.IpInfoUtils
-
获取请求客户端的IP地址
- getComponentType(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取数组对象的元素类型
- getComponentType(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取数组对象的元素类型
- getConstructor(Class<T>, Class<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
查找类中的指定参数的构造方法,如果找到构造方法,会自动设置可访问为true
- getConstructors(Class<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得一个类中所有构造列表
- getConstructorsDirectly(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得一个类中所有字段列表,直接反射获取,无缓存
- getContainsStr(CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
- getContainsStrIgnoreCase(CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
忽略大小写
- getContentLength(URL) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
获取指定URL对应资源的内容长度,对于Http,其长度使用Content-Length头决定。
- getContextClassLoader() - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
- getContextClassLoader() - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
- getConverter(Type, boolean) - 类 中的方法com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
获得转换器
- getCopyFilter() - 类 中的方法com.github.jarvisframework.tool.core.lang.copier.SrcToDestCopier
-
获得过滤器
- getCorePoolSize() - 类 中的方法com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
- getCurrentDateTime() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取当前时间
- getCurrentDateTime(DateTimeUtils.DateTimeFormat) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取当前时间
- getCustomConverter(Type) - 类 中的方法com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
获得自定义转换器
- getDataCenterId(long) - 类 中的方法com.github.jarvisframework.tool.core.lang.Snowflake
-
根据Snowflake的ID,获取数据中心id
- getDataUri(String, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
Data URI Scheme封装。
- getDataUri(String, Charset, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
Data URI Scheme封装。
- getDate(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取Date类型值
- getDate(K, Date) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取Date类型值
- getDate(K, Date) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getDate(K, Date) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getDate(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取Date型属性值
无值或获取错误返回null
- getDate(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getDate(Map<?, ?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
- getDateInstance(int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getDateInstance(int, Locale) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getDateInstance(int, TimeZone) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getDateInstance(int, TimeZone, Locale) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getDateInstance(int, TimeZone, Locale) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FormatCache
-
Gets a date formatter instance using the specified style, time zone and locale.
- getDateTimeInstance(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getDateTimeInstance(int, int, Locale) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getDateTimeInstance(int, int, TimeZone) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getDateTimeInstance(int, int, TimeZone, Locale) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getDateTimeInstance(Integer, Integer, TimeZone, Locale) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FormatCache
-
Gets a date/time formatter instance using the specified style, time zone and locale.
- getDateTimeInstance(int, int, TimeZone, Locale) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FormatCache
-
Gets a date/time formatter instance using the specified style, time zone and locale.
- getDateTimeStrFromCurrentPlusSecond(long) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
- getDayBegin(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取指定日期开始,时间为:00:00:00
- getDayEnd(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取指定日期结束,时间为:23:59:59
- getDeclaredAnnotations() - 类 中的方法com.github.jarvisframework.tool.core.annotation.CombinationAnnotationElement
-
- getDeclaredField(Class<?>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
查找指定类中的所有字段(包括非public字段), 字段不存在则返回null
- getDeclaredFields(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
查找指定类中的所有字段(包括非public字段)
- getDeclaredMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
查找指定类中的所有方法(包括非public方法),也包括父类和Object类的方法 找不到方法会返回null
- getDeclaredMethodNames(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得指定类中的Public方法名
去重重载的方法
- getDeclaredMethodOfObj(Object, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法
- getDeclaredMethods(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得声明的所有方法,包括本类及其父类和接口的所有方法和Object类的方法
- getDecodedPath(URL) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
从URL对象中获取不被编码的路径Path
对于本地路径,URL对象的getPath方法对于包含中文或空格时会被编码,导致本读路径读取错误。
- getDefaultCharset() - 类 中的方法com.github.jarvisframework.tool.core.io.BOMInputStream
-
- getDefaultConverter(Type) - 类 中的方法com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
获得默认转换器
- getDefaultValue(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获取指定类型分的默认值
默认值规则为:
1、如果为原始类型,返回0
2、非原始类型返回 null
- getDefaultValues(Class<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得默认值列表
- getDest() - 类 中的方法com.github.jarvisframework.tool.core.lang.copier.SrcToDestCopier
-
获得目标
- getDocumentFromXmlString(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.XmlParseUtils
-
- getDouble(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取double型属性值
- getDouble(K, Double) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取double型属性值
若获得的值为不可见字符,使用默认值
- getDouble(K, Double) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getDouble(K, Double) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getDouble(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取double型属性值
无值或获取错误返回null
- getDouble(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getDouble(Map<?, ?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
获取Map指定key的值,并转换为Double
- getElementType(Iterable<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- getElementType(Iterator<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- getElementType(Iterable<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
获得
Iterable对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
- getElementType(Iterator<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
获得
Iterator对象的元素类型(通过第一个非空元素判断)
注意,此方法至少会调用多次next方法
- getEnclosingClass(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得外围类
返回定义此类或匿名类所在的类,如果类本身是在包中定义的,返回null
- getEnd(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.PageUtils
-
- getEndByStart(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.PageUtils
-
根据起始位置获取结束位置
- getEndIpLong(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
根据 ip/掩码位 计算IP段的终止IP(Long型)
注:此接口返回负数,请使用转成字符串后再转Long型
- getEndIpStr(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
根据 ip/掩码位 计算IP段的终止IP(字符串型)
- getEndValue(Calendar, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
获取指定日期字段的最大值,例如分钟的最大值是59
- getEnum(Class<E>, K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获得Enum类型的值
- getEnum(Class<E>, K, E) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获得Enum类型的值
- getEnum(Class<E>, K, E) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getEnum(Class<E>, K, E) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getEnum(Class<E>, K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取Enum型属性值
无值或获取错误返回null
- getEnum(Class<E>, String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getEnumAt(Class<E>, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
- getEnumMap(Class<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
获取枚举字符串值和枚举对象的Map对应,使用LinkedHashMap保证有序
结果中键为枚举名,值为枚举对象
- getErrorArguments() - 异常错误 中的方法com.github.jarvisframework.tool.core.exception.BusinessException
-
- getErrorArguments() - 接口 中的方法com.github.jarvisframework.tool.core.exception.IException
-
取异常参数
- getErrorCode() - 异常错误 中的方法com.github.jarvisframework.tool.core.exception.BusinessException
-
- getErrorCode() - 接口 中的方法com.github.jarvisframework.tool.core.exception.IException
-
获取异常编码
- getExecutor() - 类 中的静态方法com.github.jarvisframework.tool.core.thread.GlobalThreadPool
-
- getField(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
获得字段名对应的字段对象,如果不存在返回null
- getField() - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
获取字段
- getField(DateFieldEnum) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
获得日期的某个部分
例如获得年的部分,则使用 getField(DatePart.YEAR)
- getField(int) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
获得日期的某个部分
例如获得年的部分,则使用 getField(Calendar.YEAR)
- getField(Class<?>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
查找指定类中的所有字段(包括非public字段),也包括父类和Object类的字段, 字段不存在则返回null
- getFieldClass() - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
- getFieldMap(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获取指定类中字段名和字段对应的Map,包括其父类中的字段
- getFieldName() - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
获取字段名,如果存在Alias注解,读取注解的值作为名称
- getFieldName(Field) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获取字段名,如果存在
Alias注解,读取注解的值作为名称
- getFieldNames(Class<? extends Enum<?>>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
获得枚举类中所有的字段名
除用户自定义的字段名,也包括“name”字段,例如:
EnumUtils.getFieldNames(Color.class) == ["name", "index"]
- getFields(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得一个类中所有字段列表,包括其父类中的字段
- getFieldsDirectly(Class<?>, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得一个类中所有字段列表,直接反射获取,无缓存
- getFieldsValue(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获取所有字段的值
- getFieldType() - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
获得字段类型
先获取字段的类型,如果字段不存在,则获取Getter方法的返回类型,否则获取Setter的第一个参数类型
- getFieldType(Class<?>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获得字段的泛型类型
- getFieldValue(Object, String) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanPath
-
- getFieldValue(Object, String) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
获得字段值,通过反射直接获得字段值,并不调用getXXX方法
对象同样支持Map类型,fieldNameOrIndex即为key
- getFieldValue(Object, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获取字段值
- getFieldValue(Object, Field) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获取字段值
- getFieldValues(Iterable<?>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
- getFieldValues(Iterable<?>, String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
- getFieldValues(Iterable<?>, String, Class<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
获取给定Bean列表中指定字段名对应字段值的列表
列表元素支持Bean与Map
- getFieldValues(Class<? extends Enum<?>>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
获得枚举类中各枚举对象下指定字段的值
- getFile() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWrapper
-
获得文件
- getFile() - 类 中的方法com.github.jarvisframework.tool.core.io.resource.UrlResource
-
获得File
- getFirst(Iterable<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
获取集合的第一个元素
- getFirst(Iterator<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
获取集合的第一个元素
- getFirst(Iterable<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
获取集合的第一个元素
- getFirst(Iterator<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
获取集合的第一个元素
- getFirstDayOfWeek() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
获得一周的第一天,默认为周一
- getFirstNumber(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
从字符串中获得第一个整数
- getFirstPageNo() - 类 中的静态方法com.github.jarvisframework.tool.core.util.PageUtils
-
获得首页的页码,可以为0或者1
- getFirstParamClass(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获取方法的第一个参数类
- getFirstParamType(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获取方法的第一个参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
- getFloat(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取float型属性值
- getFloat(K, Float) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取float型属性值
若获得的值为不可见字符,使用默认值
- getFloat(K, Float) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getFloat(K, Float) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getFloat(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取float型属性值
无值或获取错误返回null
- getFloat(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getFloat(Map<?, ?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
获取Map指定key的值,并转换为Float
- getFormat() - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.CalendarConverter
-
获取日期格式
- getFormat() - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.DateConverter
-
获取日期格式
- getFormat() - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
获取日期格式
- getGeneralField(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
获得set或get或is方法对应的标准属性名
例如:setName 返回 name
getName =》name
setName =》name
isName =》name
- getGenerateDateTime(long) - 类 中的方法com.github.jarvisframework.tool.core.lang.Snowflake
-
根据Snowflake的ID,获取生成时间
- getGetter(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
获取Getter方法,如果不存在返回null
- getGetter() - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
获取Getter方法,可能为null
- getGroup0(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
获得匹配的字符串,获得正则中分组0的内容
- getGroup0(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
获得匹配的字符串,,获得正则中分组0的内容
- getGroup1(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
获得匹配的字符串,获得正则中分组1的内容
- getGroup1(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
获得匹配的字符串,,获得正则中分组1的内容
- getHost(URL) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
获取URL中域名部分,只保留URL中的协议(Protocol)、Host,其它为null。
- getId() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
- getInputStream() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileReader
-
获得输入流
- getInputStream(Path) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得输入流
- getInputStream(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得输入流
- getInputStream(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得输入流
- getInstance() - 类 中的静态方法com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
- getInstance() - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getInstance(String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getInstance(String, TimeZone) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getInstance(String, Locale) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getInstance(String, TimeZone, Locale) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getInstance() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FormatCache
-
使用默认的pattern、timezone和locale获得缓存中的实例
- getInstance(String, TimeZone, Locale) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FormatCache
-
使用 pattern, time zone and locale 获得对应的 格式化器
- getInstance() - 类 中的静态方法com.github.jarvisframework.tool.core.util.XmlParseUtils
-
获取XStream实列对象
- getInt(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取int型属性值
- getInt(K, Integer) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取int型属性值
若获得的值为不可见字符,使用默认值
- getInt(K, Integer) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getInt(K, Integer) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getInt(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取int型属性值
无值或获取错误返回null
- getInt(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getInt(Map<?, ?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
获取Map指定key的值,并转换为Integer
- getInterval() - 类 中的方法com.github.jarvisframework.tool.core.thread.ConcurrencyTester
-
获取执行时间
- getIntervalDays(Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取两个时间的间隔天数
- getIntervalHours(Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取两个时间的间隔小时数
- getIntervalMilliSecond(Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取两个时间的间隔毫秒数
- getIntervalMinutes(Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取两个时间的间隔分钟数
- getIntervalSeconds(Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取两个时间的间隔秒数
- getJarClassLoader(File) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
- getJarFile(URL) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
从URL中获取JarFile
- getJavaClassPaths() - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
- getKeepAliveSeconds() - 类 中的方法com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
- getKey() - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap.Entry
-
- getKey(V) - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
根据value获得对应的key,只返回找到的第一个value对应的key值
- getKeys(V) - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
获取指定value对应的所有key
- getLast(Collection<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
获取集合的最后一个元素
- getLastDay(boolean) - 枚举 中的方法com.github.jarvisframework.tool.core.date.MonthEnum
-
获取此月份最后一天的值,不支持的月份(例如UNDECIMBER)返回-1
- getLastIp() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IpInfoUtils
-
获取IP地址最后一个字节
- getLastMac() - 类 中的静态方法com.github.jarvisframework.tool.core.util.MacInfoUtils
-
获取MAC地址最后一个字节
- getLastPathEle(Path) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取指定位置的最后一个子路径部分
- getLastTaskInfo() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
获取最后的任务对象
- getLastTaskName() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
获取最后的任务名
- getLastTaskTimeMillis() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
获取最后任务的花费时间(毫秒)
- getLastTaskTimeNanos() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
获取最后任务的花费时间(纳秒)
- getLeastSignificantBits() - 类 中的方法com.github.jarvisframework.tool.core.lang.UUID
-
返回此 UUID 的 128 位值中的最低有效 64 位。
- getLevel() - 类 中的方法com.github.jarvisframework.tool.core.date.BetweenFormat
-
获得 格式化级别
- getLineSeparator() - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取当前系统的换行分隔符
Windows: \r\n
Mac: \r
Linux: \n
- getLocale() - 类 中的方法com.github.jarvisframework.tool.core.date.format.AbstractDateBasic
-
- getLocale() - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DateBasic
-
获得 日期地理位置
- getLocale() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getLocaleSpecificStrategy(int, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
Construct a Strategy that parses a Text field
- getLocalHost() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IpInfoUtils
-
获取本机IP地址
- getLocation(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获取class类路径URL, 不管是否在jar包中都会返回文件夹的路径
class在jar包中返回jar所在文件夹,class不在jar中返回文件夹目录
jdk中的类不能使用此方法
- getLocationPath(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获取class类路径, 不管是否在jar包中都会返回文件夹的路径
class在jar包中返回jar所在文件夹,class不在jar中返回文件夹目录
jdk中的类不能使用此方法
- getLong(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取long型属性值
- getLong(K, Long) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取Long型属性值
若获得的值为不可见字符,使用默认值
- getLong(K, Long) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getLong(K, Long) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getLong(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取long型属性值
无值或获取错误返回null
- getLong(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getLong(Map<?, ?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
获取Map指定key的值,并转换为Long
- getMachinePiece() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.ObjectId
-
获取机器码片段
- getMainThread() - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
获取进程的主线程
from Voovan
- getMappedFieldName(String, boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
获得映射后的字段名
当非反向,则根据源字段名获取目标字段名,反之根据目标字段名获取源字段名。
- getMaskBitByMask(String) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
根据子网掩码转换为掩码位
- getMaskByIpRange(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
根据开始IP与结束IP计算掩码
- getMaskByMaskBit(String) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
根据掩码位获取掩码
- getMaskByMaskBit(int) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
根据掩码位获取掩码
- getMaxLengthEstimate() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
- getMaxLengthEstimate() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
估算生成的日期字符串长度
实际生成的字符串长度小于或等于此值
- getMaxPoolSize() - 类 中的方法com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
- getMaxWidth(ListIterator<FastDateParser.StrategyAndWidth>) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.StrategyAndWidth
-
- getMembers() - 类 中的方法com.github.jarvisframework.tool.core.lang.Tuple
-
获得所有元素
- getMessage(Throwable) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
获得完整消息,包括异常名,消息格式为:{SimpleClassName}: {ThrowableMessage}
- getMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
查找指定方法 如果找不到对应的方法则返回null
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null。
- getMethod(Class<?>, boolean, String, Class<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
查找指定方法 如果找不到对应的方法则返回null
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null。
- getMethodByName(Class<?>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
此方法只检查方法名是否一致,并不检查参数的一致性。
- getMethodByName(Class<?>, boolean, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
此方法只检查方法名是否一致,并不检查参数的一致性。
- getMethodByNameIgnoreCase(Class<?>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
按照方法名查找指定方法名的方法,只返回匹配到的第一个方法,如果找不到对应的方法则返回null
此方法只检查方法名是否一致(忽略大小写),并不检查参数的一致性。
- getMethodIgnoreCase(Class<?>, String, Class<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
忽略大小写查找指定方法,如果找不到对应的方法则返回null
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null。
- getMethodNames(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得指定类中的Public方法名
去重重载的方法
- getMethodOfObj(Object, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
查找指定对象中的所有方法(包括非public方法),也包括父对象和Object类的方法
此方法为精准获取方法名,即方法名和参数数量和类型必须一致,否则返回null。
- getMethods(Class<?>, Filter<Method>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得指定类过滤后的Public方法列表
- getMethods(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得一个类中所有方法列表,包括其父类中的方法
- getMethodsDirectly(Class<?>, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得一个类中所有方法列表,直接反射获取,无缓存
- getMillis() - 枚举 中的方法com.github.jarvisframework.tool.core.date.DateUnitEnum
-
- getMimeType(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
根据文件扩展名获得MimeType
- getMostSignificantBits() - 类 中的方法com.github.jarvisframework.tool.core.lang.UUID
-
返回此 UUID 的 128 位值中的最高有效 64 位。
- getName() - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
获取Bean的全类名
- getName() - 枚举 中的方法com.github.jarvisframework.tool.core.date.BetweenFormat.Level
-
获取级别名称
- getName(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
返回文件名
- getName(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
返回文件名
- getName() - 接口 中的方法com.github.jarvisframework.tool.core.io.resource.Resource
-
获取资源名,例如文件资源的资源名为文件名
- getName() - 类 中的方法com.github.jarvisframework.tool.core.io.resource.UrlResource
-
- getNameFieldMap(Class<? extends Enum<?>>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
获得枚举名对应指定字段值的Map
键为枚举名,值为字段值
- getNames(Class<? extends Enum<?>>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
枚举类中所有枚举对象的name列表
- getNativeMessage() - 异常错误 中的方法com.github.jarvisframework.tool.core.exception.BusinessException
-
- getNativeMessage() - 接口 中的方法com.github.jarvisframework.tool.core.exception.IException
-
获取本地异常信息
- getNextStrategy() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.StrategyParser
-
- getNextValidDecodeByte(byte[], Base64Decoder.IntWrapper, int) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.Base64Decoder
-
获取下一个有效的byte字符
- getNumber(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getObj() - 类 中的方法com.github.jarvisframework.tool.core.lang.WeightRandom.WeightObj
-
获取对象
- getObject(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取Object属性值
- getObject(K, Object) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取Object属性值
- getObject(K, Object) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getObject(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
- getObject(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getObject(Object, Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- getOrDefault(Object, V) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- getOutputStream() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWriter
-
获得一个输出流对象
- getOutputStream(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个输出流对象
- getOutputStream(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个输出流对象
- getOwnerType() - 类 中的方法com.github.jarvisframework.tool.core.lang.ParameterizedTypeImpl
-
- getPackage(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得给定类所在包的名称
例如:
com.xiaoleilu.hutool.util.ClassUtil =》 com.xiaoleilu.hutool.util
- getPackagePath(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得给定类所在包的路径
例如:
com.xiaoleilu.hutool.util.ClassUtil =》 com/xiaoleilu/hutool/util
- getParamClass(Method, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获取方法的参数类
- getParamClasses(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
解析方法的参数类型列表
依赖jre\lib\rt.jar
- getParamType(Method, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获取方法的参数类型
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
- getParamTypes(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获取方法的参数类型列表
优先获取方法的GenericParameterTypes,如果获取不到,则获取ParameterTypes
- getParent(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取指定层级的父路径
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) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取指定层级的父路径
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
- getParityBit(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CreditCodeUtils
-
获取校验码
- getPath() - 类 中的方法com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
获得Path
- getPath(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
获得path部分
- getPathEle(Path, int) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取指定位置的子路径部分,支持负数,例如index为-1表示从后数第一个节点位置
- getPattern() - 枚举 中的方法com.github.jarvisframework.tool.core.date.DateTimeUtils.DateTimeFormat
-
- getPattern() - 类 中的方法com.github.jarvisframework.tool.core.date.format.AbstractDateBasic
-
- getPattern() - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DateBasic
-
获得日期格式化或者转换的格式
- getPattern() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getPatternForStyle(Integer, Integer, Locale) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FormatCache
-
Gets a date/time format for the specified styles and locale.
- getPrefix(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
返回主文件名
- getPrefix(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
返回主文件名
- getPrintWriter(boolean) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWriter
-
获得一个打印写入对象,可以有print
- getPrintWriter(String, String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个打印写入对象,可以有print
- getPrintWriter(String, Charset, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个打印写入对象,可以有print
- getPrintWriter(File, String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个打印写入对象,可以有print
- getProcessPiece() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.ObjectId
-
获取进程码片段
- getProp(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
获取属性,如果不存在返回null
- getPropDesc(String, Type) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.provider.BeanValueProvider
-
获得属性描述
- getProperties() - 类 中的方法com.github.jarvisframework.tool.core.properties.SystemGlobal
-
- getProperty(Object, String) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
解析Bean中的属性值
- getPropertyDescriptor(Class<?>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
获得Bean类属性描述,大小写敏感
- getPropertyDescriptor(Class<?>, String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
获得Bean类属性描述
- getPropertyDescriptorMap(Class<?>, boolean) - 枚举 中的方法com.github.jarvisframework.tool.core.bean.BeanInfoCache
-
- getPropertyDescriptorMap(Class<?>, boolean, Func0<Map<String, PropertyDescriptor>>) - 枚举 中的方法com.github.jarvisframework.tool.core.bean.BeanInfoCache
-
- getPropertyDescriptorMap(Class<?>, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
- getPropertyDescriptors(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
获得Bean字段描述数组
- getPropMap(boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
获取字段名-字段属性Map
- getProps() - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
获取字段属性列表
- getPublicMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
- getPublicMethod(Class<?>, String, Class<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
- getPublicMethodNames(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得指定类中的Public方法名
去重重载的方法
- getPublicMethodNames(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得指定类本类及其父类中的Public方法名
去重重载的方法
- getPublicMethods(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得本类及其父类所有Public方法
- getPublicMethods(Class<?>, Filter<Method>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, Method...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, String...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得本类及其父类所有Public方法
- getPublicMethods(Class<?>, Filter<Method>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, Method...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得指定类过滤后的Public方法列表
- getPublicMethods(Class<?>, String...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获得指定类过滤后的Public方法列表
- getPushBackReader(Reader, int) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
- getQuarter(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取日期所属季度
- getQueryMap() - 类 中的方法com.github.jarvisframework.tool.core.net.url.UrlQuery
-
获得查询的Map
- getRandom() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获取随机数生成器对象
ThreadLocalRandom是JDK 7之后提供并发产生随机数,能够解决多个线程发生的竞争争夺。
- getRandom(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获取随机数产生器
- getRaw() - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
获取原始的Map
- getRawFieldName() - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
获取字段名称
- getRawType() - 类 中的方法com.github.jarvisframework.tool.core.lang.ParameterizedTypeImpl
-
- getReader() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileReader
-
获得一个文件读取器
- getReader(Path, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个文件读取器
- getReader(File, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个文件读取器
- getReader(File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个文件读取器
- getReader(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个文件读取器
- getReader(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个文件读取器
- getReader(InputStream, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
获得一个文件读取器
- getReader(InputStream, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
获得一个Reader
- getReader(Reader) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
- getReader(Charset) - 接口 中的方法com.github.jarvisframework.tool.core.io.resource.Resource
-
获得Reader
- getReader(Charset) - 类 中的方法com.github.jarvisframework.tool.core.io.resource.UrlResource
-
获得Reader
- getReader(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
- getReader(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
获得StringReader
- getReader(URL, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
获得Reader
- getResource(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
获得资源的URL
路径用/分隔,例如:
config/a/db.config
spring/xml/test.xml
- getResource(String, Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
获得资源相对路径对应的URL
- getResourceIter(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
获取指定路径下的资源Iterator
路径格式必须为目录格式,用/分隔,例如:
config/a
spring/xml
- getResourceObj(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
- getResources(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
config/a
spring/xml
- getResources(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
获取指定路径下的资源列表
路径格式必须为目录格式,用/分隔,例如:
config/a
spring/xml
- getResourceUrl(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得资源的URL
路径用/分隔,例如:
config/a/db.config
spring/xml/test.xml
- getResourceUrl(String, Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得资源相对路径对应的URL
- getRetentionPolicy(Class<? extends Annotation>) - 类 中的静态方法com.github.jarvisframework.tool.core.annotation.AnnotationUtils
-
获取注解类的保留时间,可选值 SOURCE(源码时),CLASS(编译时),RUNTIME(运行时),默认为 CLASS
- getReturnClass(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
解析方法的返回类型类列表
- getReturnType(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获取方法的返回值类型
获取方法的GenericReturnType
- getReversedMapping() - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
获取反转之后的映射
- getRootCause(Throwable) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
获取异常链中最尾端的异常,即异常最早发生的异常对象。
- getRootCauseMessage(Throwable) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
获取异常链中最尾端的异常的消息,消息格式为:{SimpleClassName}: {ThrowableMessage}
- getRootStackElement() - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
获取入口堆栈信息
- getRule(int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter.Iso8601_Rule
-
Factory method for Iso8601_Rules.
- getSeconds(long) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
- getSecureRandom() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获取
SecureRandom,类提供加密的强随机数生成器 (RNG)
注意:此方法获取的是伪随机序列发生器PRNG(pseudo-random number generator)
相关说明见:https://stackoverflow.com/questions/137212/how-to-solve-slow-java-securerandom
- getSetter(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
获取Setter方法,如果不存在返回null
- getSetter() - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
获取Setter方法,可能为null
- getShort(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取short型属性值
- getShort(K, Short) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取short型属性值
若获得的值为不可见字符,使用默认值
- getShort(K, Short) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getShort(K, Short) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromStringGetter
-
- getShort(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取short型属性值
无值或获取错误返回null
- getShort(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getShort(Map<?, ?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
获取Map指定key的值,并转换为Short
- getShortClassName(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获取完整类名的短格式如:
StringUtils -》c.h.c.u.StringUtils
- getSimpleMessage(Throwable) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
获得消息,调用异常类的getMessage方法
- getSimpleName() - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
获取Bean的简单类名
- getSnowflake(long, long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdUtils
-
获取单例的Twitter的Snowflake 算法生成器对象
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
- getSrc() - 类 中的方法com.github.jarvisframework.tool.core.lang.copier.SrcToDestCopier
-
获取源
- getStackElement(int) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
获取指定层的堆栈信息
- getStackElements() - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
获取当前栈信息
- getStackTrace() - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
- getStackTraceElement(int) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
获得堆栈项
- getStart(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.PageUtils
-
- getStaticFieldValue(Field) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
获取静态字段值
- getStatus() - 异常错误 中的方法com.github.jarvisframework.tool.core.exception.StatefulException
-
- getStr(Map<?, ?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
获取Map指定key的值,并转换为字符串
- getStrategy(char, int, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
Obtain a Strategy given a field from a SimpleDateFormat pattern
- getStrategy(int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateParser.ISO8601TimeZoneStrategy
-
Factory method for ISO8601TimeZoneStrategies.
- getStream() - 接口 中的方法com.github.jarvisframework.tool.core.io.resource.Resource
-
- getStream() - 类 中的方法com.github.jarvisframework.tool.core.io.resource.UrlResource
-
- getStream(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
- getStream(URL) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
从URL中获取流
- getStreamSafe(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
- getString(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.BasicTypeGetter
-
获取字符串型属性值
- getString(K, String) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptBasicTypeGetter
-
获取字符串型属性值
若获得的值为不可见字符,使用默认值
- getString(K, String) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeFromObjectGetter
-
- getString(K) - 接口 中的方法com.github.jarvisframework.tool.core.getter.OptNullBasicTypeGetter
-
获取字符串型属性值
无值或获取错误返回null
- getString(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getSuffix(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取文件后缀名,扩展名不带“.”
- getSuffix(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得文件后缀名,扩展名不带“.”
- getSxbbsGlobal(String) - 类 中的方法com.github.jarvisframework.tool.core.properties.SystemGlobal
-
- getTargetType(Class<? extends Annotation>) - 类 中的静态方法com.github.jarvisframework.tool.core.annotation.AnnotationUtils
-
获取注解类可以用来修饰哪些程序元素,如 TYPE, METHOD, CONSTRUCTOR, FIELD, PARAMETER 等
- getTargetType() - 类 中的方法com.github.jarvisframework.tool.core.convert.AbstractConverter
-
获得此类实现类的泛型类型
- getTargetType() - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
- getTargetType() - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.BeanConverter
-
- getTargetType() - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.CastConverter
-
- getTargetType() - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.EnumConverter
-
- getTargetType() - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.GenericEnumConverter
-
已过时。
- getTargetType() - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.MapConverter
-
- getTargetType() - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.NumberConverter
-
- getTargetType() - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.PrimitiveConverter
-
- getTaskCount() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
获取任务数
- getTaskInfo() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
获取任务列表
- getTaskName() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch.TaskInfo
-
获取任务名
- getter - 类 中的变量com.github.jarvisframework.tool.core.bean.PropDesc
-
Getter方法
- getText(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.XmlParseUtils
-
- getText(Element, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.XmlParseUtils
-
获取element对象的text值
- getThreadPool() - 类 中的方法com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
获取线程池对象
- getThreads() - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
获取JVM中与当前线程同组的所有线程
- getThreads(ThreadGroup) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
获取JVM中与当前线程同组的所有线程
使用数组二次拷贝方式,防止在线程列表获取过程中线程终止
from Voovan
- getThrowableList(Throwable) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
获取异常链上所有异常的集合,如果
Throwable 对象没有cause,返回只有一个节点的List
如果传入null,返回空集合
此方法来自Apache-Commons-Lang3
- getTime(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getTimeInstance(int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getTimeInstance(int, Locale) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getTimeInstance(int, TimeZone) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getTimeInstance(int, TimeZone, Locale) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getTimeInstance(int, TimeZone, Locale) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FormatCache
-
Gets a time formatter instance using the specified style, time zone and locale.
- getTimeMillis() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch.TaskInfo
-
获取任务花费时间(单位:毫秒)
- getTimeNanos() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch.TaskInfo
-
获取任务花费时间(单位:纳秒)
- getTimeSeconds() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch.TaskInfo
-
获取任务花费时间(单位:秒)
- getTimestamp(String) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- getTimeZone() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
获取时区
- getTimeZone() - 类 中的方法com.github.jarvisframework.tool.core.date.format.AbstractDateBasic
-
- getTimeZone() - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DateBasic
-
获得时区
- getTimeZone() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- getTimeZoneDisplay(TimeZone, boolean, int, Locale) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
Gets the time zone display name, using a cache for performance.
- getTmpDir() - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取临时文件目录
- getTmpDirPath() - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取临时文件路径(绝对路径)
- getTotalTimeMillis() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
获取所有任务的总花费时间(毫秒)
- getTotalTimeNanos() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
获取所有任务的总花费时间(纳秒)
- getTotalTimeSeconds() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
获取所有任务的总花费时间(秒)
- getType(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileTypeUtils
-
根据文件流的头部信息获得文件类型
- getType(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileTypeUtils
-
根据文件流的头部信息获得文件类型
- getType(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileTypeUtils
-
根据文件流的头部信息获得文件类型
1、无法识别类型默认按照扩展名识别
2、xls、doc、msi头信息无法区分,按照扩展名区分
3、zip可能为docx、xlsx、pptx、jar、war头信息无法区分,按照扩展名区分
- getType(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
根据文件流的头部信息获得文件类型
1、无法识别类型默认按照扩展名识别
2、xls、doc、msi头信息无法区分,按照扩展名区分
3、zip可能为docx、xlsx、pptx、jar、war头信息无法区分,按照扩展名区分
- getType() - 类 中的方法com.github.jarvisframework.tool.core.lang.TypeReference
-
获取用户定义的泛型参数
- getType(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
获取字符类型
- getType(Field) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获取字段对应的Type类型
方法优先获取GenericType,获取不到则获取Type
- getTypeArgument(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得给定类的第一个泛型参数
- getTypeArgument(Class<?>, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
获得给定类的泛型参数
- getTypeArgument(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
获得给定类的第一个泛型参数
- getTypeArgument(Object, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
获得给定类的第一个泛型参数
- getTypeArgument(Type) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获得给定类的第一个泛型参数
- getTypeArgument(Type, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获得给定类的泛型参数
- getTypeArguments(Type) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获得指定类型中所有泛型参数类型,例如:
class A<T>
class B extends A<String>
通过此方法,传入B.class即可得到String
- getTypeByPath(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileTypeUtils
-
通过路径获得文件类型
- getTypeMap(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
获取泛型变量和泛型实际类型的对应关系Map,例如:
T cn.hutool.test.User
E java.lang.Integer
- getUrl() - 接口 中的方法com.github.jarvisframework.tool.core.io.resource.Resource
-
- getUrl() - 类 中的方法com.github.jarvisframework.tool.core.io.resource.UrlResource
-
- getURL(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
获得URL
- getURL(String, Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
获得URL
- getURL(File) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
获得URL,常用于使用绝对路径时的情况
- getURLs(File...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
获得URL,常用于使用绝对路径时的情况
- getUserHomeDir() - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取用户目录
- getUserHomePath() - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取用户路径(绝对路径)
- getUtf8Reader(Path) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个文件读取器
- getUtf8Reader(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个文件读取器
- getUtf8Reader(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个文件读取器
- getUtf8Reader(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
获得一个文件读取器,默认使用UTF-8编码
- getUtf8Reader(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
- getUtf8Writer(OutputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
获得一个Writer,默认编码UTF-8
- getValue(Object) - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
- getValue(Object, Type, boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
获取属性值,自动转换属性值类型
首先调用字段对应的Getter方法获取值,如果Getter方法不存在,则判断字段如果为public,则直接获取字段值
- getValue() - 枚举 中的方法com.github.jarvisframework.tool.core.date.DateFieldEnum
-
- getValue() - 枚举 中的方法com.github.jarvisframework.tool.core.date.MonthEnum
-
- getValue() - 枚举 中的方法com.github.jarvisframework.tool.core.date.QuarterEnum
-
- getValue() - 枚举 中的方法com.github.jarvisframework.tool.core.date.WeekEnum
-
- getValue() - 枚举 中的方法com.github.jarvisframework.tool.core.io.file.LineSeparatorEnum
-
- getValue() - 枚举 中的方法com.github.jarvisframework.tool.core.io.watch.WatchKindEnum
-
获取枚举对应的事件类型
- getValue() - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap.Entry
-
- getValue() - 枚举 中的方法com.github.jarvisframework.tool.core.util.ModifierUtils.ModifierType
-
- getValueOfMethods(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.impl.EnumConverter
-
获取用于转换为enum的所有static方法
- getValues(K) - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
获取指定key对应的所有值
- getWebRoot() - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取Web项目下的web root路径
原理是首先获取ClassPath路径,由于在web项目中ClassPath位于 WEB-INF/classes/下,故向上获取两级目录即可。
- getWeight() - 类 中的方法com.github.jarvisframework.tool.core.lang.WeightRandom.WeightObj
-
获取权重
- getWorkerId(long) - 类 中的方法com.github.jarvisframework.tool.core.lang.Snowflake
-
根据Snowflake的ID,获取机器id
- getWriter(boolean) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWriter
-
获得一个带缓存的写入对象
- getWriter(String, String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个带缓存的写入对象
- getWriter(String, Charset, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个带缓存的写入对象
- getWriter(File, String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个带缓存的写入对象
- getWriter(File, Charset, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得一个带缓存的写入对象
- getWriter(OutputStream, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
获得一个Writer
- getWriter(OutputStream, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
获得一个Writer
- getWriter() - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
获得StringWriter
- getYearBegin(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取指定年开始
- getYearEnd(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
获取指定年结束
- getZipOutputStream(File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
- getZipOutputStream(OutputStream, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
- getZodiac(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
通过生日计算星座
- getZodiac(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.Zodiac
-
通过生日计算星座
- getZodiac(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.Zodiac
-
通过生日计算星座
- getZodiac(MonthEnum, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.Zodiac
-
通过生日计算星座
- getZodiac(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.Zodiac
-
通过生日计算星座
- getZoneId() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
获取时区ID
- GlobalThreadPool - com.github.jarvisframework.tool.core.thread中的类
-
全局公共线程池
此线程池是一个无限线程池,即加入的线程不等待任何线程,直接执行
- GlobalThreadPool() - 类 的构造器com.github.jarvisframework.tool.core.thread.GlobalThreadPool
-
- GMT_OPTION - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser.TimeZoneStrategy
-
- group(Collection<T>, Hash32<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
分组,按照
Hash32接口定义的hash算法,集合中的元素放入hash值对应的子列表中
- group - 类 中的变量com.github.jarvisframework.tool.core.thread.NamedThreadFactory
-
线程组
- GROUP_VAR - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
分组
- GROUP_VAR - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
分组
- groupByField(Collection<T>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
根据元素的指定字段名分组,非Bean都放在第一个分组中
- gzip(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
Gzip压缩处理
- gzip(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
Gzip压缩处理
- gzip(File) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
Gzip压缩文件
- gzip(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
Gzip压缩文件
- gzip(InputStream, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
Gzip压缩文件
- ID - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser.TimeZoneStrategy
-
Index of zone id
- id - 类 中的变量com.github.jarvisframework.tool.core.date.StopWatch
-
秒表唯一标识,用于多个秒表对象的区分
- ID_WORKER - 类 中的静态变量com.github.jarvisframework.tool.core.util.IdCreateUtils
-
推特ID生产器
- IdCreateUtils - com.github.jarvisframework.tool.core.util中的类
-
ID生成工具类
- IdCreateUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.IdCreateUtils
-
私有化构造函数
- IdUtils - com.github.jarvisframework.tool.core.util中的类
-
ID生成器工具类,此工具类中主要封装:
1.
- IdUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.IdUtils
-
- IException - com.github.jarvisframework.tool.core.exception中的接口
-
异常基类
- ifPresent(Consumer<? super T>) - 类 中的方法com.github.jarvisframework.tool.core.lang.Optional
-
If a value is present, invoke the specified consumer with the value,
otherwise do nothing.
- ignoreCase - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
是否忽略字段大小写
- ignoreCase() - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
设置忽略字段的大小写
- ignoreCasePdCache - 枚举 中的变量com.github.jarvisframework.tool.core.bean.BeanInfoCache
-
- ignoreElementError - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
是否忽略元素转换错误
- ignoreError - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
是否忽略字段注入错误
- ignoreError() - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
设置忽略字段的注入错误
- ignoreError - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.provider.BeanValueProvider
-
- ignoreError - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.provider.DynaBeanValueProvider
-
- ignoreError - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.provider.MapValueProvider
-
- ignoreFields - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateModifier
-
忽略的计算的字段
- ignoreNullValue - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
- ignoreNullValue() - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
设置忽略空值,当源对象的值为null时,忽略而不注入此值
- ignoreProperties - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值
- IgnoreWatcher - com.github.jarvisframework.tool.core.io.watch.watcher中的类
-
跳过所有事件处理Watcher
用户继承此类后实现需要监听的方法
- IgnoreWatcher() - 类 的构造器com.github.jarvisframework.tool.core.io.watch.watcher.IgnoreWatcher
-
- in - 类 中的变量com.github.jarvisframework.tool.core.io.BOMInputStream
-
- includeEnd - 类 中的变量com.github.jarvisframework.tool.core.lang.Range
-
是否包含最后一个元素
- includeStart - 类 中的变量com.github.jarvisframework.tool.core.lang.Range
-
是否包含第一个元素
- index - 类 中的变量com.github.jarvisframework.tool.core.collection.ArrayIter
-
当前位置
- index() - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
当前缓冲位于缓冲区的索引位
- index - 类 中的变量com.github.jarvisframework.tool.core.lang.Range
-
索引
- INDEX_NOT_FOUND - 类 中的静态变量com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组中元素未找到的下标,值为-1
- INDEX_NOT_FOUND - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- indexedFormat(CharSequence, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
有序的格式化文本,使用{number}做为占位符
例:
通常使用:format("this is {0} for {1}", "a", "b") =》 this is a for b
- indexOf(T[], Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- indexOf(long[], long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- indexOf(int[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- indexOf(short[], short) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- indexOf(char[], char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- indexOf(byte[], byte) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- indexOf(double[], double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- indexOf(float[], float) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- indexOf(boolean[], boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- indexOf(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定范围内查找指定字符
- indexOf(CharSequence, CharSequence, int, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定范围内查找字符串
- indexOfAll(Collection<T>, Matcher<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
获取匹配规则定义中匹配到元素的所有位置
此方法对于某些无序集合的位置信息,以转换为数组后的位置为准。
- indexOfAll(List<T>, Matcher<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
获取匹配规则定义中匹配到元素的所有位置
- indexOfIgnoreCase(CharSequence[], CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- indexOfIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定范围内查找字符串,忽略大小写
StringUtils.indexOfIgnoreCase(null, *, *) = -1
StringUtils.indexOfIgnoreCase(*, null, *) = -1
StringUtils.indexOfIgnoreCase("", "", 0) = 0
StringUtils.indexOfIgnoreCase("aabaabaa", "A", 0) = 0
StringUtils.indexOfIgnoreCase("aabaabaa", "B", 0) = 2
StringUtils.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1
StringUtils.indexOfIgnoreCase("aabaabaa", "B", 3) = 5
StringUtils.indexOfIgnoreCase("aabaabaa", "B", 9) = -1
StringUtils.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
StringUtils.indexOfIgnoreCase("aabaabaa", "", 2) = 2
StringUtils.indexOfIgnoreCase("abc", "", 9) = -1
- indexOfIgnoreCase(CharSequence, CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定范围内查找字符串
StringUtils.indexOfIgnoreCase(null, *, *) = -1
StringUtils.indexOfIgnoreCase(*, null, *) = -1
StringUtils.indexOfIgnoreCase("", "", 0) = 0
StringUtils.indexOfIgnoreCase("aabaabaa", "A", 0) = 0
StringUtils.indexOfIgnoreCase("aabaabaa", "B", 0) = 2
StringUtils.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1
StringUtils.indexOfIgnoreCase("aabaabaa", "B", 3) = 5
StringUtils.indexOfIgnoreCase("aabaabaa", "B", 9) = -1
StringUtils.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
StringUtils.indexOfIgnoreCase("aabaabaa", "", 2) = 2
StringUtils.indexOfIgnoreCase("abc", "", 9) = -1
- inflater(InputStream, OutputStream, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
将Zlib流解压到out中
- init(AnnotatedElement) - 类 中的方法com.github.jarvisframework.tool.core.annotation.CombinationAnnotationElement
-
初始化
- init() - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
初始化
只有与属性关联的相关Getter和Setter方法才会被读取,无关的getXXX和setXXX都被忽略
- init(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanPath
-
初始化
- init(Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
Initialize derived fields from defining fields.
- init() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
初始化
- init() - 类 中的方法com.github.jarvisframework.tool.core.io.BOMInputStream
-
Read-ahead four bytes and check for BOM marks.
- init() - 类 中的方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
- init() - 类 中的方法com.github.jarvisframework.tool.core.io.watch.WatchServer
-
- init() - 类 中的静态方法com.github.jarvisframework.tool.core.thread.GlobalThreadPool
-
初始化全局线程池
- initialize - 类 中的变量com.github.jarvisframework.tool.core.lang.ClassScanner
-
是否初始化类
- initReadLine - 类 中的变量com.github.jarvisframework.tool.core.io.file.Tailer
-
初始读取的行数
- initUrl() - 类 中的方法com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
根据给定资源初始化URL
- INNER_CLASS_SEPARATOR - 类 中的静态变量com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
内部类分界符: '$'
- input() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
读取用户输入的内容(在控制台敲回车前的内容)
- insert(int, Object) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
追加对象,对象会被转换为字符串
- insert(int, char) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
插入指定字符
- insert(int, char[]) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, char[], int, int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
指定位置插入数据
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, CharSequence) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(int, CharSequence, int, int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
指定位置插入字符串的某个部分
如果插入位置为当前位置,则定义为追加
如果插入位置大于当前位置,则中间部分补充空格
- insert(T[], int, T...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
- insert(Object, int, T...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将新元素插入到到已有数组中的某个位置
添加新元素会生成一个新的数组,不影响原数组
如果插入位置为为负数,从原数组从后向前计数,若大于原数组长度,则空白处用null填充
- INSTANCE - 类 中的静态变量com.github.jarvisframework.tool.core.comparator.VersionComparator
-
单例
- INSTANCE - 类 中的静态变量com.github.jarvisframework.tool.core.convert.ConverterRegistry.SingletonHolder
-
静态初始化器,由JVM来保证线程安全
- INSTANCE - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitMonthField
-
- INSTANCE - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitYearField
-
- INSTANCE - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDatePrinter.UnpaddedMonthField
-
- instance() - 类 中的静态方法com.github.jarvisframework.tool.core.date.SystemClock
-
单例实例
- INSTANCE - 类 中的静态变量com.github.jarvisframework.tool.core.date.SystemClock.InstanceHolder
-
- INSTANCE - 类 中的静态变量com.github.jarvisframework.tool.core.lang.caller.CallerUtils
-
- instance - 类 中的静态变量com.github.jarvisframework.tool.core.util.XmlParseUtils
-
- INSTANCE_COLON - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TimeZoneNumberRule
-
- INSTANCE_NO_COLON - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TimeZoneNumberRule
-
- InstanceHolder() - 类 的构造器com.github.jarvisframework.tool.core.date.SystemClock.InstanceHolder
-
- INTERNAL_ARRAY_PREFIX - 类 中的静态变量com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
内部数组类名前缀: "["
- internalCopyDirContent(File, File) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
拷贝目录内容,只用于内部,不做任何安全检查
拷贝内容的意思为源目录下的所有文件和目录拷贝到另一个目录下,而不拷贝源目录本身
- internalCopyFile(File, File) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
拷贝文件,只用于内部,不做任何安全检查
情况如下:
1、如果目标是一个不存在的路径,则目标以文件对待(自动创建父级目录)比如:/dest/aaa,如果aaa不存在,则aaa被当作文件名
2、如果目标是一个已存在的目录,则文件拷贝到此目录下,文件名与原文件名一致
- internalGetPropertyDescriptorMap(Class<?>, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
获得字段名和字段描述Map。
- interrupt(Thread, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
- intersection(Collection<T>, Collection<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
两个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
- intersection(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
多个集合的交集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最少的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c],此结果中只保留了两个c
- intersectionDistinct(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
多个集合的交集
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
- interval() - 类 中的方法com.github.jarvisframework.tool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数)
如果使用纳秒计时,返回纳秒差,否则返回毫秒差
- interval - 类 中的变量com.github.jarvisframework.tool.core.thread.ConcurrencyTester
-
- intervalDay() - 类 中的方法com.github.jarvisframework.tool.core.date.TimeInterval
-
从开始到当前的间隔天数,取绝对值
- intervalHour() - 类 中的方法com.github.jarvisframework.tool.core.date.TimeInterval
-
从开始到当前的间隔小时数,取绝对值
- intervalMinute() - 类 中的方法com.github.jarvisframework.tool.core.date.TimeInterval
-
从开始到当前的间隔分钟数,取绝对值
- intervalMs() - 类 中的方法com.github.jarvisframework.tool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数)
- intervalPretty() - 类 中的方法com.github.jarvisframework.tool.core.date.TimeInterval
-
从开始到当前的间隔时间(毫秒数),返回XX天XX小时XX分XX秒XX毫秒
- intervalRestart() - 类 中的方法com.github.jarvisframework.tool.core.date.TimeInterval
-
- intervalSecond() - 类 中的方法com.github.jarvisframework.tool.core.date.TimeInterval
-
从开始到当前的间隔秒数,取绝对值
- intervalWeek() - 类 中的方法com.github.jarvisframework.tool.core.date.TimeInterval
-
从开始到当前的间隔周数,取绝对值
- intToByte(int) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
int转byte
- intToBytes(int) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
int转byte数组
- IntWrapper(int) - 类 的构造器com.github.jarvisframework.tool.core.codec.Base64Decoder.IntWrapper
-
- inverse(Map<K, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
Map的键和值互换
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
- invoke(String, Object...) - 类 中的方法com.github.jarvisframework.tool.core.bean.DynaBean
-
执行原始Bean中的方法
- invoke(Object, Method, Object[]) - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- invoke(String, Object[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
- invoke(String, boolean, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
- invoke(String, String, Object[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
非单例模式,如果是非静态方法,每次创建一个新对象
- invoke(String, String, boolean, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
执行方法
可执行Private方法,也可执行static方法
执行非static方法时,必须满足对象有默认构造方法
- invoke(Object, Method, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
执行方法
对于用户传入参数会做必要检查,包括:
1、忽略多余的参数
2、参数不够补齐默认值
3、传入参数为null,但是目标参数类型为原始类型,做转换
- invoke(Object, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
执行对象中指定方法
- invokeAll(Collection<? extends Callable<T>>) - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- invokeAny(Collection<? extends Callable<T>>) - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- invokeStatic(Method, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
执行静态方法
- invokeWithCheck(Object, Method, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
执行方法
执行前要检查给定参数:
1.
- IORuntimeException - com.github.jarvisframework.tool.core.io中的异常错误
-
IO运行时异常,常用于对IOException的包装
- IORuntimeException(Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.io.IORuntimeException
-
- IORuntimeException(String) - 异常错误 的构造器com.github.jarvisframework.tool.core.io.IORuntimeException
-
- IORuntimeException(String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.io.IORuntimeException
-
- IORuntimeException(String, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.io.IORuntimeException
-
- IORuntimeException(Throwable, String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.io.IORuntimeException
-
- IOUtils - com.github.jarvisframework.tool.core.io中的类
-
IO工具类
IO工具类只是辅助流的读写,并不负责关闭流。
- IOUtils() - 类 的构造器com.github.jarvisframework.tool.core.io.IOUtils
-
- IP_MASK_MAX - 类 中的静态变量com.github.jarvisframework.tool.core.net.Ipv4Utils
-
最大掩码位
- IP_MASK_SPLIT_MARK - 类 中的静态变量com.github.jarvisframework.tool.core.net.Ipv4Utils
-
IP与掩码的分割符
- IP_SPLIT_MARK - 类 中的静态变量com.github.jarvisframework.tool.core.net.Ipv4Utils
-
IP段的分割符
- IpInfoUtils - com.github.jarvisframework.tool.core.util中的类
-
IP工具类
- IpInfoUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.IpInfoUtils
-
- IPV4 - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
IP v4
- IPV4 - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
IP v4
- Ipv4Utils - com.github.jarvisframework.tool.core.net中的类
-
IP地址工具类
- Ipv4Utils() - 类 的构造器com.github.jarvisframework.tool.core.net.Ipv4Utils
-
- IPV6 - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
IP v6
- IPV6 - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
IP v6
- IS_THREAD_LOCAL_RANDOM_AVAILABLE - 类 中的静态变量com.github.jarvisframework.tool.core.util.IdCreateUtils
-
- isAbsolutePath(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
- isAbstract(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
是否为抽象类
- isAfter(Date) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
是否在给定日期之后
- isAfterOrEquals(Date) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
是否在给定日期之后或与给定日期相等
- isAllAssignableFrom(Class<?>[], Class<?>[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
比较判断types1和types2两组类,如果types1中所有的类都与types2对应位置的类相同,或者是其父类或接口,则返回true
- isAllBlank(CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定所有字符串是否为空白
- isAllCharMatch(CharSequence, Matcher<Character>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
字符串的每一个字符是否都与定义的匹配器匹配
- isAllEmpty(Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- isAllEmpty(Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
- isAllEmpty(CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
是否全部为空字符串
- isAllNotBlank(CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
- isAllNotEmpty(Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- isAllNotEmpty(Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
- isAllNotEmpty(CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
- isAllNull(Iterable<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
是否全部元素为null
- isAllNull(Iterator<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
是否全部元素为null
- isAM(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
是否为上午
- isAM() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
是否为上午
- isAM(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
是否为上午
- isAnnotationPresent(Class<? extends Annotation>) - 类 中的方法com.github.jarvisframework.tool.core.annotation.CombinationAnnotationElement
-
- isArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
对象是否为数组对象
- isAscii(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
是否为ASCII字符,ASCII字符位于0~127之间
CharUtils.isAscii('a') = true
CharUtils.isAscii('A') = true
CharUtils.isAscii('3') = true
CharUtils.isAscii('-') = true
CharUtils.isAscii('\n') = true
CharUtils.isAscii('©') = false
- isAsciiControl(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
是否为ASCII控制符(不可见字符),控制符位于0~31和127
CharUtils.isAsciiControl('a') = false
CharUtils.isAsciiControl('A') = false
CharUtils.isAsciiControl('3') = false
CharUtils.isAsciiControl('-') = false
CharUtils.isAsciiControl('\n') = true
CharUtils.isAsciiControl('©') = false
- isAsciiPrintable(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
是否为可见ASCII字符,可见字符位于32~126之间
CharUtils.isAsciiPrintable('a') = true
CharUtils.isAsciiPrintable('A') = true
CharUtils.isAsciiPrintable('3') = true
CharUtils.isAsciiPrintable('-') = true
CharUtils.isAsciiPrintable('\n') = false
CharUtils.isAsciiPrintable('©') = false
- isAssignable(Class<?>, Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
断言 superType.isAssignableFrom(subType) 是否为 true.
- isAssignable(Class<?>, Class<?>, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
断言 superType.isAssignableFrom(subType) 是否为 true.
- isAssignable(Class<?>, Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
检查目标类是否可以从原类转化
转化包括:
1、原类是对象,目标类型是原类型实现的接口
2、目标类型是原类型的父类
3、两者是原始类型或者包装类型(相互转换)
- isBasicType(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
是否为基本类型(包括包装类和原始类)
- isBasicType(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
是否为基本类型,包括包装类型和非包装类型
- isBean(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
判断是否为Bean对象,判定方法是:
1、是否存在只有一个参数的setXXX方法
2、是否存在public类型的字段
- isBefore(Date) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
是否在给定日期之前
- isBeforeOrEquals(Date) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
是否在给定日期之前或与给定日期相等
- isBeginAtSameTime - 类 中的变量com.github.jarvisframework.tool.core.thread.SyncFinisher
-
- isBeside(long, long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
- isBeside(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
判断两个数字是否相邻,例如1和2相邻,1和3不相邻
判断方法为做差取绝对值判断是否为1
- isBetween(Number, Number, Number) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
检查给定的数字是否在指定范围内
- isBirthday(int, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为生日
- isBirthday(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为生日
只支持以下几种格式:
yyyyMMdd
yyyy-MM-dd
yyyy/MM/dd
yyyy.MM.dd
yyyy年MM月dd日
- isBlank(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
字符串是否为空白 空白的定义如下:
1、为null
2、为不可见字符(如空格)
3、""
- isBlankChar(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankChar(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
是否空白符
空白符包括空格、制表符、全角空格和不间断空格
- isBlankChar(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- isBlankChar(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- isBlankIfStr(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
如果对象是字符串是否为空白,空白的定义如下:
1、为null
2、为不可见字符(如空格)
3、""
- isBlankOrUndefined(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
检查字符串是否为null、空白串、“null”、“undefined”
- isBoolean(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
给定类是否为Boolean或者boolean
- isCalledBy(Class<?>) - 接口 中的方法com.github.jarvisframework.tool.core.lang.caller.Caller
-
是否被指定类调用
- isCalledBy(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.caller.CallerUtils
-
是否被指定类调用
- isCalledBy(Class<?>) - 类 中的方法com.github.jarvisframework.tool.core.lang.caller.SecurityManagerCaller
-
- isCalledBy(Class<?>) - 类 中的方法com.github.jarvisframework.tool.core.lang.caller.StackTraceCaller
-
- isCausedBy(Throwable, Class<? extends Exception>...) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
判断是否由指定异常类引起
- isChar(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
给定对象对应的类是否为字符类,字符类包括:
Character.class
char.class
- isCharClass(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
给定类名是否为字符类,字符类包括:
Character.class
char.class
- isChinese(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否都为汉字
- isCitizenId(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为身份证号码(18位中国)
出生日期只支持到到2999年
- isClosed - 类 中的变量com.github.jarvisframework.tool.core.io.watch.WatchServer
-
监听是否已经关闭
- isCopyAttributes - 类 中的变量com.github.jarvisframework.tool.core.io.file.FileCopier
-
是否拷贝所有属性
- isCopyAttributes() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
是否拷贝所有属性
- isCopyContentIfDir - 类 中的变量com.github.jarvisframework.tool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝目录下的内容
- isCopyContentIfDir() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝目录下的内容
- isCreditCode(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
是否是有效的统一社会信用代码
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- isCreditCode(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CreditCodeUtils
-
是否是有效的统一社会信用代码
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- isCreditCodeSimple(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CreditCodeUtils
-
正则校验统一社会信用代码(18位)
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
- isDaemon - 类 中的变量com.github.jarvisframework.tool.core.thread.NamedThreadFactory
-
是否守护线程
- isDaemon() - 类 中的方法com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
- isDirectory(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断是否为目录,如果path为null,则返回false
- isDirectory(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断是否为目录,如果file为null,则返回false
- isDirectory(Path, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断是否为目录,如果file为null,则返回false
- isDirEmpty(Path) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
目录是否为空
- isDirEmpty(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
目录是否为空
- isDocumented(Class<? extends Annotation>) - 类 中的静态方法com.github.jarvisframework.tool.core.annotation.AnnotationUtils
-
是否会保存到 Javadoc 文档中
- isDouble(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
判断字符串是否是浮点数
- isEmail(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为可用邮箱地址
- isEmoji(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
判断是否为emoji表情符
- isEmpty(Object, String...) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
判断Bean是否为空对象,空对象表示本身为null或者所有属性都为null
此方法不判断static属性
- isEmpty(Collection<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
集合是否为空
- isEmpty(Map<?, ?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
Map是否为空
- isEmpty(Iterable<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
Iterable是否为空
- isEmpty(Iterator<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
Iterator是否为空
- isEmpty(Enumeration<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
Enumeration是否为空
- isEmpty(Iterable<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
Iterable是否为空
- isEmpty(Iterator<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
Iterator是否为空
- isEmpty() - 类 中的方法com.github.jarvisframework.tool.core.collection.TransCollection
-
- isEmpty() - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
- isEmpty(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
文件是否为空
目录:里面没有文件时为空 文件:文件大小为0时为空
- isEmpty(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为空
对于String类型判定是否为empty(null 或 "")
- isEmpty() - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- isEmpty(Map<?, ?>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
Map是否为空
- isEmpty() - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- isEmpty() - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- isEmpty() - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
是否为空
- isEmpty(T[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为空
- isEmpty(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为空
此方法会匹配单一对象,如果此对象为null则返回true
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回false
如果此对象为数组对象,数组长度大于0情况下返回false,否则返回true
- isEmpty(long[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为空
- isEmpty(int[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为空
- isEmpty(short[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为空
- isEmpty(char[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为空
- isEmpty(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为空
- isEmpty(double[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为空
- isEmpty(float[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为空
- isEmpty(boolean[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为空
- isEmpty(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
判断指定对象是否为空,支持:
1.
- isEmpty(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
字符串是否为空,空的定义如下:
1、为null
2、为""
- isEmptyIfStr(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
如果对象是字符串是否为空串空的定义如下:
1、为null
2、为""
- isEmptyOrUndefined(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
检查字符串是否为null、“”、“null”、“undefined”
- isEmptyParam(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
是否为无参数方法
- isEnum(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
判断类是否为枚举类型
- isEnum(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
指定类是否为Enum类
- isEnum(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
指定类是否为Enum类
- isEqualsMethod(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
是否为equals方法
- isExpired(Date, DateFieldEnum, int, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- isExpired(Date, Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- isFalse(boolean, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
断言是否为假,如果为
true 抛出
IllegalArgumentException 异常
Assert.isFalse(i < 0, "The value must be greater than zero");
- isFalse(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
断言是否为假,如果为
true 抛出
IllegalArgumentException 异常
Assert.isFalse(i < 0);
- isFalse(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
给定值是否不为false
- isFalse(Boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
检查 Boolean 值是否为 false
BooleanUtils.isFalse(Boolean.TRUE) = false
BooleanUtils.isFalse(Boolean.FALSE) = true
BooleanUtils.isFalse(null) = false
- isFile(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断是否为文件,如果path为null,则返回false
- isFile(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断是否为文件,如果file为null,则返回false
- isFile(Path, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断是否为文件,如果file为null,则返回false
- isFileSeparator(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
是否为Windows或者Linux(Unix)文件分隔符
Windows平台下分隔符为\,Linux(Unix)为/
- isFileURL(URL) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
提供的URL是否为文件
文件协议包括"file", "vfsfile" 或 "vfs".
- isFormatLetter(char) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
判断指定异常是否来自或者包含指定异常
- isFromOrSuppressedThrowable(Throwable, Class<? extends Throwable>, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
判断指定异常是否来自或者包含指定异常
- isGeneral(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为英文字母 、数字和下划线
- isGeneral(CharSequence, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为给定长度范围的英文字母 、数字和下划线
- isGeneral(CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为给定最小长度的英文字母 、数字和下划线
- isGeneralWithChinese(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为中文字、英文字母、数字和下划线
- isGreater(BigDecimal, BigDecimal) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
比较大小,参数1 > 参数2 返回true
- isGreaterOrEqual(BigDecimal, BigDecimal) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
比较大小,参数1 >= 参数2 返回true
- isHashCodeMethod(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
是否为hashCode方法
- isHex(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为Hex(16进制)字符串
- isHexChar(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
是否为16进制规范的字符,判断是否为如下字符
1. 0~9
2. a~f
4.
- isHexNumber(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
判断给定字符串是否为16进制数
如果是,需要使用对应数字类型对象的decode方法解码
例如:Integer.decode方法解码int类型的16进制数字
- isIgnoreGet() - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
- isIgnoreSet() - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
- isIn(Date, Date) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isIn(Date, Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
当前日期是否在日期指定范围内
起始日期和结束日期可以互换
- isInherited(Class<? extends Annotation>) - 类 中的静态方法com.github.jarvisframework.tool.core.annotation.AnnotationUtils
-
是否可以被继承,默认为 false
- isInited - 类 中的变量com.github.jarvisframework.tool.core.io.BOMInputStream
-
- isInstanceOf(Class<?>, T) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
断言给定对象是否是给定类的实例
Assert.instanceOf(Foo.class, foo);
- isInstanceOf(Class<?>, T, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
断言给定对象是否是给定类的实例
Assert.instanceOf(Foo.class, foo);
- isInteger(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
判断String是否是整数
支持10进制
- isIpv4(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为IPV4地址
- isIpv6(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为IPV6地址
- isJarFile(File) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.JarClassLoader
-
是否为jar文件
- isJarFileURL(URL) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
提供的URL是否为Jar文件URL 判断依据为file协议且扩展名为.jar
- isJarURL(URL) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
提供的URL是否为jar包URL 协议包括: "jar", "zip", "vfszip" 或 "wsjar".
- isJdkClass(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
是否为JDK中定义的类或接口,判断依据:
1、以java.
- isLeapYear() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
是否闰年
- isLeapYear(int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
是否闰年
- isLess(BigDecimal, BigDecimal) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
比较大小,参数1 < 参数2 返回true
- isLessOrEqual(BigDecimal, BigDecimal) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
比较大小,参数1<=参数2 返回true
- isLetter(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
判断字符串是否全部为字母组成,包括大写和小写字母和汉字
- isLetter(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
判断是否为字母(包括大写字母和小写字母)
字母包括A~Z和a~z
CharUtils.isLetter('a') = true
CharUtils.isLetter('A') = true
CharUtils.isLetter('3') = false
CharUtils.isLetter('-') = false
CharUtils.isLetter('\n') = false
CharUtils.isLetter('©') = false
- isLetterLower(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
检查字符是否为小写字母,小写字母指a~z
CharUtils.isLetterLower('a') = true
CharUtils.isLetterLower('A') = false
CharUtils.isLetterLower('3') = false
CharUtils.isLetterLower('-') = false
CharUtils.isLetterLower('\n') = false
CharUtils.isLetterLower('©') = false
- isLetterOrNumber(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
是否为字符或数字,包括A~Z、a~z、0~9
CharUtils.isLetterOrNumber('a') = true
CharUtils.isLetterOrNumber('A') = true
CharUtils.isLetterOrNumber('3') = true
CharUtils.isLetterOrNumber('-') = false
CharUtils.isLetterOrNumber('\n') = false
CharUtils.isLetterOrNumber('©') = false
- isLetterUpper(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
判断是否为大写字母,大写字母包括A~Z
CharUtils.isLetterUpper('a') = false
CharUtils.isLetterUpper('A') = true
CharUtils.isLetterUpper('3') = false
CharUtils.isLetterUpper('-') = false
CharUtils.isLetterUpper('\n') = false
CharUtils.isLetterUpper('©') = false
- isLevelCountValid(int) - 类 中的方法com.github.jarvisframework.tool.core.date.BetweenFormat
-
等级数量是否有效
有效的定义是:levelMaxCount大于0(被设置),当前等级数量没有超过这个最大值
- isLong(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
判断字符串是否是Long类型
支持10进制
- isLowerCase(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
判断字符串是否全部为小写字母
- isLowerCase(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串中的字母是否全部为小写,判断依据如下:
1.
- isMac(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为MAC地址
- isMactchRegex(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
- isMactchRegex(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
- isMatch(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
给定内容是否匹配正则
- isMatch(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
给定内容是否匹配正则
- isMatchGetter(String, String, boolean, boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
方法是否为Getter方法
匹配规则如下(忽略大小写):
字段名 -》 方法名
isName -》 isName
isName -》 isIsName
isName -》 getIsName
name -》 isName
name -》 getName
- isMatchName(Object, String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
给定的Bean的类名是否匹配指定类名字符串
如果isSimple为false,则只匹配类名而忽略包名,例如:TestEntity只匹配TestEntity
如果isSimple为true,则匹配包括包名的全类名,例如:TestEntity匹配TestEntity
- isMatchRegex(Pattern, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
通过正则表达式验证
- isMatchRegex(String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
通过正则表达式验证
- isMatchSetter(String, String, boolean, boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanDesc
-
方法是否为Setter方法
匹配规则如下(忽略大小写):
字段名 -》 方法名
isName -》 setName
isName -》 setIsName
name -》 setName
- isMobile(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为手机号码(中国)
- isModified(File, long) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断文件是否被改动
如果文件对象为 null 或者文件不存在,被视为改动
- isMoney(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为货币
- isMutable() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- isNano - 类 中的变量com.github.jarvisframework.tool.core.date.TimeInterval
-
- isNormalClass(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
是否为标准的类
这个类必须:
1、非接口
2、非抽象类
3、非Enum枚举
4、非数组
5、非注解
6、非原始类型(int, long等)
- isNotBlank(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
字符串是否为非空白,非空白的定义如下:
1、不为null
2、不为不可见字符(如空格)
3、不为""
- isNotEmpty(Object, String...) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
判断Bean是否为非空对象,非空对象表示本身不为null或者含有非null属性的对象
- isNotEmpty(Collection<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
集合是否为非空
- isNotEmpty(Map<?, ?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
Map是否为非空
- isNotEmpty(Iterable<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
Iterable是否为空
- isNotEmpty(Iterator<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
Iterator是否为空
- isNotEmpty(Enumeration<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
Enumeration是否为空
- isNotEmpty(Iterable<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
Iterable是否为空
- isNotEmpty(Iterator<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
Iterator是否为空
- isNotEmpty(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
目录是否为空
- isNotEmpty(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为非空
对于String类型判定是否为empty(null 或 "")
- isNotEmpty(Map<?, ?>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
Map是否为非空
- isNotEmpty(T[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为非空
- isNotEmpty(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为非空
此方法会匹配单一对象,如果此对象为null则返回false
如果此对象为非数组,理解为此对象为数组的第一个元素,则返回true
如果此对象为数组对象,数组长度大于0情况下返回true,否则返回false
- isNotEmpty(long[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为非空
- isNotEmpty(int[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为非空
- isNotEmpty(short[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为非空
- isNotEmpty(char[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为非空
- isNotEmpty(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为非空
- isNotEmpty(double[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为非空
- isNotEmpty(float[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为非空
- isNotEmpty(boolean[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组是否为非空
- isNotEmpty(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
判断指定对象是否为非空,支持:
1.
- isNotEmpty(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
字符串是否为非空白,非空白的定义如下:
1、不为null
2、不为""
- isNotNull(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
给定值是否不为null
- isNotNull(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
检查对象是否不为null
- isNotPublic(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
指定类是否为非public
- isNotPublic(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
指定方法是否为非public
- isNull(Object, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
- isNull(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
- isNull(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
给定值是否为null
- isNull(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
检查对象是否为null
判断标准为:
1. == null
2. equals(null)
- isNullGreater - 类 中的变量com.github.jarvisframework.tool.core.comparator.PropertyComparator
-
- isNullOrUndefined(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
检查字符串是否为null、“null”、“undefined”
- isNullOrUndefinedStr(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
是否为“null”、“undefined”,不做空指针检查
- isNumber() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.CopyQuotedStrategy
-
Is this field a number?
- isNumber() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.NumberStrategy
-
Is this field a number?
- isNumber() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.PatternStrategy
-
Is this field a number?
- isNumber() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.Strategy
-
Is this field a number?
- isNumber(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证该字符串是否是数字
- isNumber(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
检查是否为数字字符,数字字符指0~9
CharUtils.isNumber('a') = false
CharUtils.isNumber('A') = false
CharUtils.isNumber('3') = true
CharUtils.isNumber('-') = false
CharUtils.isNumber('\n') = false
CharUtils.isNumber('©') = false
- isNumber(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
是否为数字,支持包括:
1、10进制
2、16进制数字(0x开头)
3、科学计数法形式(1234E3)
4、类型标识形式(123D)
5、正负数标识形式(+123、-234)
- isNumeric(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
检查对象是否为数字型字符串,包含负数开头的。
- ISO8601_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- ISO8601_HOURS - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDatePrinter.Iso8601_Rule
-
- ISO8601_HOURS_COLON_MINUTES - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDatePrinter.Iso8601_Rule
-
- ISO8601_HOURS_MINUTES - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDatePrinter.Iso8601_Rule
-
- ISO8601_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
ISO8601日期时间格式,精确到毫秒:yyyy-MM-dd HH:mm:ss,SSS
- Iso8601_Rule(int) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.Iso8601_Rule
-
Constructs an instance of Iso8601_Rule with the specified properties.
- ISO8601TimeZoneStrategy(String) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateParser.ISO8601TimeZoneStrategy
-
Construct a Strategy that parses a TimeZone
- ISO_8601_1_STRATEGY - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser.ISO8601TimeZoneStrategy
-
- ISO_8601_2_STRATEGY - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser.ISO8601TimeZoneStrategy
-
- ISO_8601_3_STRATEGY - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser.ISO8601TimeZoneStrategy
-
- ISO_8859_1 - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharsetUtils
-
ISO-8859-1
- isOnlyCopyFile - 类 中的变量com.github.jarvisframework.tool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝文件而忽略子目录
- isOnlyCopyFile() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝文件而忽略子目录
- isOperator(char) - 类 中的方法com.github.jarvisframework.tool.core.math.Calculator
-
判断是否为算术符号
- isOverride - 类 中的变量com.github.jarvisframework.tool.core.io.file.FileCopier
-
是否覆盖目标文件
- isOverride() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
是否覆盖目标文件
- isPlateNumber(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为中国车牌号
- isPm(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
是否为下午
- isPM() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
是否为下午
- isPM(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
是否为下午
- isPresent() - 类 中的方法com.github.jarvisframework.tool.core.lang.Optional
-
Return true if there is a value present, otherwise false.
- isPresent(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
- isPresent(String, ClassLoader) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
- isPrimes(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
是否是质数(素数)
质数表的质数又称素数。
- isPrimitiveWrapper(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
是否为包装类型
- isPublic(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
指定类是否为Public
- isPublic(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
指定方法是否为Public
- isPublic(Field) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ModifierUtils
-
是否是Public字段
- isPublic(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ModifierUtils
-
是否是Public方法
- isPublic(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ModifierUtils
-
是否是Public类
- isPublic(Constructor<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ModifierUtils
-
是否是Public构造
- isReadable(boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
- isReadableBean(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
判断是否为可读的Bean对象,判定方法是:
1、是否存在只有无参数的getXXX方法或者isXXX方法
2、是否存在public类型的字段
- isRunning() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
检查是否有正在运行的任务
- isSameDay(Calendar, Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
比较两个日期是否为同一天
- isSameDay(Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
比较两个日期是否为同一天
- isSameTime(Date, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
是否为相同时间
- isShutdown() - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- isSimpleTypeOrArray(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
是否简单值类型或简单值类型的数组
包括:原始类型,、String、other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class及其数组
- isSimpleValueType(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
是否为简单值类型
包括:
原始类型
String、other CharSequence
Number
Date
URI
URL
Locale
Class
- isStartWith$ - 类 中的变量com.github.jarvisframework.tool.core.bean.BeanPath
-
- isStatic(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
是否为静态方法
- isStatic(Field) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ModifierUtils
-
是否是static字段
- isStatic(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ModifierUtils
-
是否是static方法
- isStatic(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ModifierUtils
-
是否是static类
- isSub(File, File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断给定的目录是否为给定文件或文件夹的子目录
- isSubEquals(CharSequence, int, CharSequence, int, int, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
截取两个字符串的不同部分(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
- isSurround(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串是否被字符包围
- isSurround(CharSequence, char, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串是否被字符包围
- isSymlink(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断是否为符号链接文件
- isTerminated() - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- isTopLevelClass(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
是否为顶层类,即定义在包中的类,而非定义在类中的内部类
- isToStringMethod(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
是否为toString方法
- isTransientForGet() - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
字段和Getter方法是否为Transient关键字修饰的
- isTransientForSet() - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
字段和Getter方法是否为Transient关键字修饰的
- isTransientSupport() - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- isTrue(boolean, Func0<? extends X>) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
断言是否为真,如果为
false 抛出给定的异常
Assert.isTrue(i > 0, IllegalArgumentException::new);
- isTrue(boolean, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
断言是否为真,如果为
false 抛出
IllegalArgumentException 异常
Assert.isTrue(i > 0, "The value must be greater than zero");
- isTrue(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
断言是否为真,如果为
false 抛出
IllegalArgumentException 异常
Assert.isTrue(i > 0, "The value must be greater than zero");
- isTrue(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
给定值是否为true
- isTrue(Boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
检查 Boolean 值是否为 true
BooleanUtils.isTrue(Boolean.TRUE) = true
BooleanUtils.isTrue(Boolean.FALSE) = false
BooleanUtils.isTrue(null) = false
- isUnknown(Type) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
- isUpperCase(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
判断字符串是否全部为大写字母
- isUpperCase(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串中的字母是否全部为大写,判断依据如下:
1.
- isUrl(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为URL
- isUUID(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
- isValid(String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.ObjectId
-
给定的字符串是否为有效的ObjectId
- isValidChar(char) - 类 中的静态方法com.github.jarvisframework.tool.core.text.TextSimilarity
-
判断字符是否为汉字,数字和字母, 因为对符号进行相似度比较没有实际意义,故符号不加入考虑范围。
- isValidIfNumber(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回true
- isValidNumber(Number) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
检查是否为有效的数字
检查Double和Float是否为无限大,或者Not a Number
非数字类型和Null将返回true
- isWeekend() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
是否为周末,周末指周六或者周日
- isWindows() - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
是否为Windows环境
- isWord(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证该字符串是否是字母(包括大写和小写字母)
- isWrap(CharSequence, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定字符串是否被包装
- isWrap(CharSequence, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定字符串是否被同一字符包装(前后都有这些字符串)
- isWrap(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定字符串是否被同一字符包装(前后都有这些字符串)
- isWrap(CharSequence, char, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
指定字符串是否被包装
- isWritable(boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
- isZipCode(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为邮政编码(中国)
- iterator() - 类 中的方法com.github.jarvisframework.tool.core.collection.ArrayIter
-
- iterator() - 类 中的方法com.github.jarvisframework.tool.core.collection.BoundedPriorityQueue
-
- iterator() - 类 中的方法com.github.jarvisframework.tool.core.collection.CopiedIter
-
- iterator() - 类 中的方法com.github.jarvisframework.tool.core.collection.EnumerationIter
-
- iterator - 类 中的变量com.github.jarvisframework.tool.core.collection.IteratorEnumeration
-
- iterator() - 类 中的方法com.github.jarvisframework.tool.core.collection.TransCollection
-
- iterator() - 类 中的方法com.github.jarvisframework.tool.core.io.watch.watcher.WatcherChain
-
- iterator() - 类 中的方法com.github.jarvisframework.tool.core.lang.Range
-
- iterator() - 类 中的方法com.github.jarvisframework.tool.core.lang.SimpleCache
-
- iterator() - 类 中的方法com.github.jarvisframework.tool.core.lang.Tuple
-
- iterator() - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- iterator() - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- IteratorEnumeration<E> - com.github.jarvisframework.tool.core.collection中的类
-
- IteratorEnumeration(Iterator<E>) - 类 的构造器com.github.jarvisframework.tool.core.collection.IteratorEnumeration
-
构造
- IterUtils - com.github.jarvisframework.tool.core.collection中的类
-
- IterUtils() - 类 的构造器com.github.jarvisframework.tool.core.collection.IterUtils
-
- obj - 类 中的变量com.github.jarvisframework.tool.core.lang.WeightRandom.WeightObj
-
对象
- ObjectId - com.github.jarvisframework.tool.core.lang中的类
-
MongoDB ID生成策略实现
ObjectId由以下几部分组成:
1.
- ObjectId() - 类 的构造器com.github.jarvisframework.tool.core.lang.ObjectId
-
- objectId() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdUtils
-
创建MongoDB ID生成策略实现
ObjectId由以下几部分组成:
1.
- ObjectUtils - com.github.jarvisframework.tool.core.util中的类
-
description
- ObjectUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.ObjectUtils
-
- of(int) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.DateFieldEnum
-
- of(long) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTime
-
转换时间戳为 DateTime
- of(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTime
-
转换JDK date为 DateTime
- of(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTime
-
- of(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTime
-
构造
- of(int) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.MonthEnum
-
- of(int) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.QuarterEnum
-
将 季度int转换为Season枚举对象
- of(int) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.WeekEnum
-
- of(T) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Holder
-
新建Holder类,持有指定值,当值为空时抛出空指针异常
- of(T) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Optional
-
Returns an Optional with the specified present non-null value.
- of(K, V) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
将单一键值对转换为Map
- of(K, V, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
将单一键值对转换为Map
- of(Object[]) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
将数组转换为Map(HashMap),支持数组元素类型为:
Map.Entry
长度大于1的数组(取前两个值),如果不满足跳过此元素
Iterable 长度也必须大于1(取前两个值),如果不满足跳过此元素
Iterator 长度也必须大于1(取前两个值),如果不满足跳过此元素
Map<Object, Object> colorMap = MapUtils.of(new String[][] { { "RED", "#FF0000" }, { "GREEN", "#00FF00" }, { "BLUE", "#0000FF" } });
参考:commons-lang
- of(Map<? extends CharSequence, ?>) - 类 中的静态方法com.github.jarvisframework.tool.core.net.url.UrlQuery
-
构建UrlQuery
- of(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.net.url.UrlQuery
-
构建UrlQuery
- offer(E) - 类 中的方法com.github.jarvisframework.tool.core.collection.BoundedPriorityQueue
-
加入元素,当队列满时,淘汰末尾元素
- offset(DateFieldEnum, int) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- offset(Date, DateFieldEnum, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获取指定日期偏移指定时间后的时间,生成的偏移日期不影响原日期
- offset - 类 中的变量com.github.jarvisframework.tool.core.io.FastByteBuffer
-
当前缓冲偏移量
- offset() - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
- OFFSET - 类 中的静态变量com.github.jarvisframework.tool.core.lang.caller.SecurityManagerCaller
-
- OFFSET - 类 中的静态变量com.github.jarvisframework.tool.core.lang.caller.StackTraceCaller
-
- offsetDate(Date, DateFieldEnum, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- offsetDay(Date, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
偏移天
- offsetHour(Date, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
偏移小时
- offsetMillisecond(Date, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
偏移毫秒数
- offsetMinute(Date, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
偏移分钟
- offsetMonth(Date, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
偏移月
- offsetNew(DateFieldEnum, int) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- offsetSecond(Date, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
偏移秒数
- offsetWeek(Date, int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
偏移周
- ofNullable(T) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Optional
-
Returns an Optional describing the specified value, if non-null,
otherwise returns an empty Optional.
- onCreate(WatchEvent<?>, Path) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.watcher.IgnoreWatcher
-
- onCreate(WatchEvent<?>, Path) - 接口 中的方法com.github.jarvisframework.tool.core.io.watch.Watcher
-
文件创建时执行的方法
- onCreate(WatchEvent<?>, Path) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.watcher.WatcherChain
-
- onDelete(WatchEvent<?>, Path) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.watcher.IgnoreWatcher
-
- onDelete(WatchEvent<?>, Path) - 接口 中的方法com.github.jarvisframework.tool.core.io.watch.Watcher
-
文件删除时执行的方法
- onDelete(WatchEvent<?>, Path) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.watcher.WatcherChain
-
- onModify(WatchEvent<?>, Path) - 类 中的方法com.github.jarvisframework.tool.core.io.file.LineReadWatcher
-
- onModify(WatchEvent<?>, Path) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.watcher.IgnoreWatcher
-
- onModify(WatchEvent<?>, Path) - 接口 中的方法com.github.jarvisframework.tool.core.io.watch.Watcher
-
文件修改时执行的方法
文件修改可能触发多次
- onModify(WatchEvent<?>, Path) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.watcher.WatcherChain
-
- onOverflow(WatchEvent<?>, Path) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.watcher.IgnoreWatcher
-
- onOverflow(WatchEvent<?>, Path) - 接口 中的方法com.github.jarvisframework.tool.core.io.watch.Watcher
-
事件丢失或出错时执行的方法
- onOverflow(WatchEvent<?>, Path) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.watcher.WatcherChain
-
- operatPriority - 类 中的变量com.github.jarvisframework.tool.core.math.Calculator
-
运用运算符ASCII码-40做索引的运算符优先级
- opStack - 类 中的变量com.github.jarvisframework.tool.core.math.Calculator
-
运算符栈
- OptBasicTypeGetter<K> - com.github.jarvisframework.tool.core.getter中的接口
-
可选默认值的基本类型的getter接口
提供一个统一的接口定义返回不同类型的值(基本类型)
如果值不存在或获取错误,返回默认值
- Optional<T> - com.github.jarvisframework.tool.core.lang中的类
-
Optional encapsulation based on java8
- Optional() - 类 的构造器com.github.jarvisframework.tool.core.lang.Optional
-
Constructs an empty instance.
- Optional(T) - 类 的构造器com.github.jarvisframework.tool.core.lang.Optional
-
Constructs an instance with the value present.
- OptionalConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
- OptionalConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.OptionalConverter
-
- OptNullBasicTypeFromObjectGetter<K> - com.github.jarvisframework.tool.core.getter中的接口
-
基本类型的getter接口抽象实现,所有类型的值获取都是通过将getObj获得的值转换而来
用户只需实现getObj方法即可,其他类型将会从Object结果中转换
在不提供默认值的情况下, 如果值不存在或获取错误,返回null
- OptNullBasicTypeFromStringGetter<K> - com.github.jarvisframework.tool.core.getter中的接口
-
基本类型的getter接口抽象实现,所有类型的值获取都是通过将String转换而来
用户只需实现getStr方法即可,其他类型将会从String结果中转换 在不提供默认值的情况下, 如果值不存在或获取错误,返回null
- OptNullBasicTypeGetter<K> - com.github.jarvisframework.tool.core.getter中的接口
-
基本类型的getter接口抽象实现
提供一个统一的接口定义返回不同类型的值(基本类型)
在不提供默认值的情况下, 如果值不存在或获取错误,返回null
用户只需实现
OptBasicTypeGetter接口即可
- or(boolean...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
对Boolean数组取或
BooleanUtils.or(true, true) = true
BooleanUtils.or(false, false) = false
BooleanUtils.or(true, false) = true
BooleanUtils.or(true, true, false) = true
BooleanUtils.or(true, true, true) = true
BooleanUtils.or(false, false, false) = false
- ordinalIndexOf(String, String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
返回字符串 searchStr 在字符串 str 中第 ordinal 次出现的位置。
- orElse(T) - 类 中的方法com.github.jarvisframework.tool.core.lang.Optional
-
Return the value if present, otherwise return other.
- orElseGet(Supplier<? extends T>) - 类 中的方法com.github.jarvisframework.tool.core.lang.Optional
-
Return the value if present, otherwise invoke other and return
the result of that invocation.
- orElseThrow(Supplier<? extends X>) - 类 中的方法com.github.jarvisframework.tool.core.lang.Optional
-
Return the contained value, if present, otherwise throw an exception
to be created by the provided supplier.
- orNull() - 类 中的方法com.github.jarvisframework.tool.core.lang.Optional
-
Return the contained value, if present, otherwise return null.
- orOfWrap(Boolean...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
对Boolean数组取或
BooleanUtils.or(Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE
BooleanUtils.or(Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE
BooleanUtils.or(Boolean.TRUE, Boolean.FALSE) = Boolean.TRUE
BooleanUtils.or(Boolean.TRUE, Boolean.TRUE, Boolean.TRUE) = Boolean.TRUE
BooleanUtils.or(Boolean.FALSE, Boolean.FALSE, Boolean.TRUE) = Boolean.TRUE
BooleanUtils.or(Boolean.TRUE, Boolean.FALSE, Boolean.TRUE) = Boolean.TRUE
BooleanUtils.or(Boolean.FALSE, Boolean.FALSE, Boolean.FALSE) = Boolean.FALSE
- OVERFLOW - 类 中的静态变量com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
事件丢失
- ownerType - 类 中的变量com.github.jarvisframework.tool.core.lang.ParameterizedTypeImpl
-
- PACKAGE_SEPARATOR - 类 中的静态变量com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
包名分界符: '.'
- packageDirName - 类 中的变量com.github.jarvisframework.tool.core.lang.ClassScanner
-
包路径,用于文件中对路径操作
- packageName - 类 中的变量com.github.jarvisframework.tool.core.lang.ClassScanner
-
包名
- packageNameWithDot - 类 中的变量com.github.jarvisframework.tool.core.lang.ClassScanner
-
包名,最后跟一个点,表示包名,避免在检查前缀时的歧义
- packagePath - 类 中的变量com.github.jarvisframework.tool.core.lang.ClassScanner
-
包路径,用于jar中对路径操作,在Linux下与packageDirName一致
- padAfter(CharSequence, int, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
补充字符串以满足最小长度
StringUtils.padAfter(null, *, *);//null
StringUtils.padAfter("1", 3, '0');//"100"
StringUtils.padAfter("123", 2, '0');//"23"
- padAfter(CharSequence, int, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
补充字符串以满足最小长度
StringUtils.padAfter(null, *, *);//null
StringUtils.padAfter("1", 3, "ABC");//"1AB"
StringUtils.padAfter("123", 2, "ABC");//"23"
- PaddedNumberField(int, int) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.PaddedNumberField
-
Constructs an instance of PaddedNumberField.
- PADDING - 类 中的静态变量com.github.jarvisframework.tool.core.codec.Base64Decoder
-
- padLeft(List<T>, int, T) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
填充List,以达到最小长度
- padPre(CharSequence, int, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
补充字符串以满足最小长度
StringUtils.padPre(null, *, *);//null
StringUtils.padPre("1", 3, "ABC");//"AB1"
StringUtils.padPre("123", 2, "ABC");//"12"
- padPre(CharSequence, int, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
补充字符串以满足最小长度
StringUtils.padPre(null, *, *);//null
StringUtils.padPre("1", 3, '0');//"001"
StringUtils.padPre("123", 2, '0');//"12"
- padRight(Collection<T>, int, T) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
填充List,以达到最小长度
- page(int, int, List<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
对指定List分页取值
- page(int, int, List<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
对指定List分页取值
- PageUtils - com.github.jarvisframework.tool.core.util中的类
-
分页工具类
- PageUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.PageUtils
-
- ParameterizedTypeImpl - com.github.jarvisframework.tool.core.lang中的类
-
- ParameterizedTypeImpl(Type[], Type, Type) - 类 的构造器com.github.jarvisframework.tool.core.lang.ParameterizedTypeImpl
-
构造
- parse(Annotation[]) - 类 中的方法com.github.jarvisframework.tool.core.annotation.CombinationAnnotationElement
-
进行递归解析注解,直到全部都是元注解为止
- parse(CharSequence, DateFormat) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTime
-
转换字符串为Date
- parse(CharSequence, DateParser) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTime
-
转换字符串为Date
- parse(CharSequence, DateFormat) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
构建DateTime对象
- parse(CharSequence, DateParser) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
构建DateTime对象
- parse(CharSequence, DateTimeFormatter) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
构建DateTime对象
- parse(CharSequence, String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
将特定格式的日期转换为Date对象
- parse(CharSequence, String, Locale) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
将特定格式的日期转换为Date对象
- parse(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
将日期字符串转换为
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
- parse(String) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DateParser
-
- parse(String, ParsePosition) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DateParser
-
- parse(String, ParsePosition, Calendar) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DateParser
-
根据给定格式转换日期字符串
Updates the Calendar with parsed fields.
- parse(String) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- parse(String, ParsePosition) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- parse(String, ParsePosition, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- parse(FastDateParser, Calendar, String, ParsePosition, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.CopyQuotedStrategy
-
- parse(FastDateParser, Calendar, String, ParsePosition, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.NumberStrategy
-
- parse(String) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- parse(String, ParsePosition) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- parse(String, ParsePosition, Calendar) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- parse(FastDateParser, Calendar, String, ParsePosition, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.PatternStrategy
-
- parse(FastDateParser, Calendar, String, ParsePosition, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.Strategy
-
- parse(T) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Dictionary
-
将PO对象转为Dict
- parse(String, Charset) - 类 中的方法com.github.jarvisframework.tool.core.net.url.UrlQuery
-
解析URL中的查询字符串
- parse(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharsetUtils
-
解析字符串编码为Charset对象,解析失败返回系统默认编码
- parse(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharsetUtils
-
解析字符串编码为Charset对象,解析失败返回默认编码
- parseBean(T) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
将值对象转换为Dict
类名会被当作表名,小写第一个字母
- parseBean(T, boolean, boolean) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
将值对象转换为Dict
类名会被当作表名,小写第一个字母
- parseCST(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
解析CST时间,格式:
EEE MMM dd HH:mm:ss z yyyy(例如:Wed Aug 01 00:00:00 CST 2012)
- parseDate(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
解析日期字符串,忽略时分秒,支持的格式包括:
yyyy-MM-dd
yyyy/MM/dd
yyyy.MM.dd
yyyy年MM月dd日
- parseDateTime(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
解析日期时间字符串,格式支持:
yyyy-MM-dd HH:mm:ss
yyyy/MM/dd HH:mm:ss
yyyy.MM.dd HH:mm:ss
yyyy年MM月dd日 HH:mm:ss
- parseDeclared(Annotation[]) - 类 中的方法com.github.jarvisframework.tool.core.annotation.CombinationAnnotationElement
-
进行递归解析注解,直到全部都是元注解为止
- parseFirst(String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.NumberWordFormatter
-
- parseFromCharSequence(CharSequence) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
通过反射从字符串转java.time中的对象
- parseFromInstant(Instant, ZoneId) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
将TemporalAccessor型时间戳转换为java.time中的对象
- parseFromLocalDateTime(LocalDateTime) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
将TemporalAccessor型时间戳转换为java.time中的对象
- parseFromLong(Long) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
将Long型时间戳转换为java.time中的对象
- parseFromTemporalAccessor(TemporalAccessor) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
将TemporalAccessor型时间戳转换为java.time中的对象
- parseFromZonedDateTime(ZonedDateTime) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
将TemporalAccessor型时间戳转换为java.time中的对象
- parseInt(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
解析转换数字字符串为int型数字,规则如下:
1、0x开头的视为16进制数字
2、0开头的视为8进制数字
3、其它情况按照10进制转换
4、空串返回0
5、.123形式返回0(按照小于0的小数对待)
6、123.56截取小数点之前的数字,忽略小数部分
- parseLocalDateTime(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
构建LocalDateTime对象
格式:yyyy-MM-dd HH:mm:ss
- parseLocalDateTime(CharSequence, String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
构建LocalDateTime对象
- parseLong(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
解析转换数字字符串为long型数字,规则如下:
1、0x开头的视为16进制数字
2、0开头的视为8进制数字
3、空串返回0
4、其它情况按照10进制转换
- parseMore(int) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.NumberWordFormatter
-
- parseNumber(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- parseObject(String) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DateParser
-
- parseObject(String, ParsePosition) - 接口 中的方法com.github.jarvisframework.tool.core.date.format.DateParser
-
- parseObject(String, ParsePosition) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- parseObject(String) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- parseObject(String, ParsePosition) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- parsePattern() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
Returns a list of Rules given a pattern.
- parser - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- parseTeen(String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.NumberWordFormatter
-
- parseTen(String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.NumberWordFormatter
-
- parseTime(String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
String 转时间
- parseTime(String, DateTimeUtils.DateTimeFormat) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
String 转时间
- parseTime(LocalDateTime) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
时间转 String
- parseTime(LocalDateTime, DateTimeUtils.DateTimeFormat) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
时间转 String
- parseTime(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
时间转默认格式字符
- parseTime(Date, String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
时间转格式字符
- parseTime(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
字符串转时间
- parseTime(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
解析时间,格式HH:mm:ss,日期部分默认为1970-01-01
- parseTimeToday(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
解析时间,格式HH:mm 或 HH:mm:ss,日期默认为今天
- parseToken(String, int[]) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
Performs the parsing of tokens.
- parseUTC(String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
解析UTC时间,格式:
yyyy-MM-dd'T'HH:mm:ss'Z'
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
yyyy-MM-dd'T'HH:mm:ssZ
yyyy-MM-dd'T'HH:mm:ss.SSSZ
- partValue(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
把给定的总数平均分成N份,返回每份的个数
当除以分数有余数时每份+1
- partValue(int, int, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
把给定的总数平均分成N份,返回每份的个数
如果isPlusOneWhenHasRem为true,则当除以分数有余数时每份+1,否则丢弃余数部分
- path - 类 中的变量com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
- path - 类 中的变量com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
监听路径,必须为目录
- PATH_FILE_PRE - 类 中的静态变量com.github.jarvisframework.tool.core.io.FileUtils
-
当Path为文件形式时, path会加入一个表示文件的前缀
- PathConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
字符串转换器
- PathConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.PathConverter
-
- pathEndsWith(File, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
判断文件路径是否有指定后缀,忽略大小写
常用语判断扩展名
- pathEquals(File, File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
文件路径是否相同
取两个文件的绝对路径比较,在Windows下忽略大小写,在Linux下不忽略。
- pattern - 枚举 中的变量com.github.jarvisframework.tool.core.date.DateTimeUtils.DateTimeFormat
-
时间格式
- pattern - 类 中的变量com.github.jarvisframework.tool.core.date.format.AbstractDateBasic
-
The pattern
- pattern - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser.PatternStrategy
-
- patternParts - 类 中的变量com.github.jarvisframework.tool.core.bean.BeanPath
-
- PatternPool - com.github.jarvisframework.tool.core.lang中的类
-
常用正则表达式集合
- PatternPool() - 类 的构造器com.github.jarvisframework.tool.core.lang.PatternPool
-
- PatternPool.RegexWithFlag - com.github.jarvisframework.tool.core.lang中的类
-
正则表达式和正则标识位的包装
- patterns - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- PatternStrategy() - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateParser.PatternStrategy
-
- pdCache - 枚举 中的变量com.github.jarvisframework.tool.core.bean.BeanInfoCache
-
- period - 类 中的变量com.github.jarvisframework.tool.core.date.SystemClock
-
时钟更新间隔,单位毫秒
- period - 类 中的变量com.github.jarvisframework.tool.core.io.file.Tailer
-
定时任务检查间隔时长
- PeriodConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
Period对象转换器
- PeriodConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.PeriodConverter
-
- PinyinComparator - com.github.jarvisframework.tool.core.comparator中的类
-
按照GBK拼音顺序对给定的汉字字符串排序
- PinyinComparator() - 类 的构造器com.github.jarvisframework.tool.core.comparator.PinyinComparator
-
构造
- PLATE_NUMBER - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
中国车牌号码(兼容新能源车牌)
- PLATE_NUMBER - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
中国车牌号码
- POOL - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
Pattern池
- POOL - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Singleton
-
- popPart(Stack<T>, int) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
切取部分数据
切取后的栈将减少这些元素
- popPart(Deque<T>, int) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
切取部分数据
切取后的栈将减少这些元素
- position - 类 中的变量com.github.jarvisframework.tool.core.text.StringBuilder
-
当前指针位置,或者叫做已经加入的字符数,此位置总在最后一个字符之后
- postfixStack - 类 中的变量com.github.jarvisframework.tool.core.math.Calculator
-
后缀式栈
- pow(Number, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的幂运算
- pow(BigDecimal, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的幂运算
- prefix - 类 中的变量com.github.jarvisframework.tool.core.thread.NamedThreadFactory
-
命名前缀
- prepare(String) - 类 中的方法com.github.jarvisframework.tool.core.math.Calculator
-
数据准备阶段将表达式转换成为后缀式栈
- prependIfMissing(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
不忽略大小写
- prependIfMissing(CharSequence, CharSequence, boolean, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
- prependIfMissingIgnoreCase(CharSequence, CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
如果给定字符串不是以给定的一个或多个字符串为开头,则在首部添加起始字符串
忽略大小写
- prettyPrint() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
生成所有任务的一个任务花费时间表
- PRIMITIVE_TYPE_NAME_MAP - 类 中的静态变量com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
原始类型名和其class对应表,例如:int =》 int.class
- PrimitiveConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
原始类型转换器
支持类型为:
byte
short
int
long
float
double
char
boolean
- PrimitiveConverter(Class<?>) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.PrimitiveConverter
-
构造
- primitiveWrapperMap - 枚举 中的静态变量com.github.jarvisframework.tool.core.convert.BasicType
-
原始类型为Key,包装类型为Value,例如: int.class =》 Integer.class.
- print(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
同 System.out.print()方法,打印控制台日志
- print(Object, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
同 System.out.println()方法,打印控制台日志
如果传入打印对象为
Throwable对象,那么同时打印堆栈
- print(String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
同 System.out.print()方法,打印控制台日志
- printer - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- printInternal(String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
同 System.out.println()方法,打印控制台日志
- printNewLine(PrintWriter, LineSeparatorEnum) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWriter
-
打印新行
- printProgress(char, int) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
打印进度条
- printProgress(char, int, double) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
打印进度条
- priority - 类 中的变量com.github.jarvisframework.tool.core.thread.ThreadFactoryBuilder
-
线程优先级
- processMultiple(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
可以用于计算双色球、大乐透注数的方法
比如大乐透35选5可以这样调用processMultiple(7,5); 就是数学中的:C75=7*6/2*1
- progress(long) - 接口 中的方法com.github.jarvisframework.tool.core.io.StreamProgress
-
进行中
- PropDesc - com.github.jarvisframework.tool.core.bean中的类
-
属性描述,包括了字段、getter、setter和相应的方法执行
- PropDesc(Field, Method, Method) - 类 的构造器com.github.jarvisframework.tool.core.bean.PropDesc
-
构造
Getter和Setter方法设置为默认可访问
- properties - 类 中的变量com.github.jarvisframework.tool.core.properties.SystemGlobal
-
- property - 类 中的变量com.github.jarvisframework.tool.core.comparator.PropertyComparator
-
- PropertyComparator<T> - com.github.jarvisframework.tool.core.comparator中的类
-
Bean属性排序器
支持读取Bean多层次下的属性
- PropertyComparator(String) - 类 的构造器com.github.jarvisframework.tool.core.comparator.PropertyComparator
-
构造
- PropertyComparator(String, boolean) - 类 的构造器com.github.jarvisframework.tool.core.comparator.PropertyComparator
-
构造
- PropIgnore - com.github.jarvisframework.tool.core.annotation中的注释类型
-
属性忽略注解,使用此注解的字段等会被忽略,主要用于Bean拷贝、Bean转Map等
此注解应用于字段时,忽略读取和设置属性值,应用于setXXX方法忽略设置值,应用于getXXX忽略读取值
- propMap - 类 中的变量com.github.jarvisframework.tool.core.bean.BeanDesc
-
属性Map
- PURE_DATE_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- PURE_DATE_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
标准日期格式:yyyyMMdd
- PURE_DATETIME_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- PURE_DATETIME_MS_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- PURE_DATETIME_MS_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
标准日期格式:yyyyMMddHHmmssSSS
- PURE_DATETIME_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
标准日期格式:yyyyMMddHHmmss
- PURE_TIME_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- PURE_TIME_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
标准日期格式:HHmmss
- put(String, Object) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- put(K, V) - 类 中的方法com.github.jarvisframework.tool.core.lang.SimpleCache
-
放入缓存
- put(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Singleton
-
将已有对象放入单例中,其Class做为键
- put(String, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Singleton
-
将已有对象放入单例中,其Class做为键
- put(K, V) - 类 中的方法com.github.jarvisframework.tool.core.map.CustomKeyMap
-
- put(K, V) - 类 中的方法com.github.jarvisframework.tool.core.map.MapBuilder
-
链式Map创建
- put(Object, Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- put(K, V) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- put(K, V) - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- putAll(Map<? extends String, ?>) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
- putAll(Map<? extends K, ? extends V>) - 类 中的方法com.github.jarvisframework.tool.core.map.CustomKeyMap
-
- putAll(Map<K, V>) - 类 中的方法com.github.jarvisframework.tool.core.map.MapBuilder
-
链式Map创建
- putAll(Map<?, ?>) - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- putAll(Map<? extends K, ? extends V>) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- putAll(Map<? extends K, ? extends V>) - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- putCustom(Type, Class<? extends Converter<?>>) - 类 中的方法com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
登记自定义转换器
- putCustom(Type, Converter<?>) - 类 中的方法com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
登记自定义转换器
- putFileType(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileTypeUtils
-
增加文件类型映射
如果已经存在将覆盖之前的映射
- putIfAbsent(K, V) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- putPropertyDescriptorMap(Class<?>, Map<String, PropertyDescriptor>, boolean) - 枚举 中的方法com.github.jarvisframework.tool.core.bean.BeanInfoCache
-
加入缓存
- rainbow(int, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.PageUtils
-
分页彩虹算法
来自:https://github.com/iceroot/iceroot/blob/master/src/main/java/com/icexxx/util/IceUtil.java
通过传入的信息,生成一个分页列表显示
- rainbow(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.PageUtils
-
分页彩虹算法(默认展示10页)
来自:https://github.com/iceroot/iceroot/blob/master/src/main/java/com/icexxx/util/IceUtil.java
- random - 类 中的变量com.github.jarvisframework.tool.core.lang.WeightRandom
-
- random - 类 中的静态变量com.github.jarvisframework.tool.core.util.IdCreateUtils
-
- randomAccessFile - 类 中的变量com.github.jarvisframework.tool.core.io.file.LineReadWatcher
-
- randomAccessFile - 类 中的变量com.github.jarvisframework.tool.core.io.file.Tailer
-
- randomBigDecimal() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数[0, 1)
- randomBigDecimal(BigDecimal) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数 [0,limit)
- randomBigDecimal(BigDecimal, BigDecimal) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数
- randomBoolean() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得随机Boolean值
- randomBytes(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
随机bytes
- randomChar() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
随机字母或数字,小写
- randomChar(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
随机字符
- randomColor() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
生成随机颜色
- randomCreditCode() - 类 中的静态方法com.github.jarvisframework.tool.core.util.CreditCodeUtils
-
获取一个随机的统一社会信用代码
- randomDate(Date, DateFieldEnum, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
以给定日期为基准,随机产生一个日期
- randomDay(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
以当天为基准,随机产生一个日期
- randomDouble(double, double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数
- randomDouble(double, double, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数
- randomDouble() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得随机数[0, 1)
- randomDouble(int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数
- randomDouble(double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数 [0,limit)
- randomDouble(double, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数
- randomEle(List<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
随机获得列表中的元素
- randomEle(List<T>, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
随机获得列表中的元素
- randomEle(T[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
随机获得数组中的元素
- randomEle(T[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
随机获得数组中的元素
- randomEleList(List<T>, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
- randomEles(List<T>, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
随机获得列表中的一定量元素
- randomEleSet(Collection<T>, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
随机获得列表中的一定量的不重复元素,返回Set
- randomInt(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数
- randomInt() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得随机数[0, 2^32)
- randomInt(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数 [0,limit)
- randomInts(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
创建指定长度的随机索引
- randomLong(long, long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数[min, max)
- randomLong() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得随机数
- randomLong(long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得指定范围内的随机数 [0,limit)
- randomNumber() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
随机数字,数字为0~9单个数字
- randomNumbers(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得一个只包含数字的字符串
- randomString(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得一个随机的字符串(只包含数字和字符)
- randomString(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得一个随机的字符串
- randomStringUpper(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得一个随机的字符串(只包含数字和大写字符)
- randomStringWithoutStr(int, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
获得一个随机的字符串(只包含数字和字符) 并排除指定字符串
- RandomUtils - com.github.jarvisframework.tool.core.util中的类
-
随机工具类
- RandomUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.RandomUtils
-
- randomUUID() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。
- randomUUID(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.UUID
-
获取类型 4(伪随机生成的)UUID 的静态工厂。
- randomUUID() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdUtils
-
获取随机UUID
- randomUUID() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
- range(Date, Date, DateFieldEnum) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
创建日期范围生成器
- Range<T> - com.github.jarvisframework.tool.core.lang中的类
-
范围生成器。
- Range(T, Range.Steper<T>) - 类 的构造器com.github.jarvisframework.tool.core.lang.Range
-
构造
- Range(T, T, Range.Steper<T>) - 类 的构造器com.github.jarvisframework.tool.core.lang.Range
-
构造
- Range(T, T, Range.Steper<T>, boolean, boolean) - 类 的构造器com.github.jarvisframework.tool.core.lang.Range
-
构造
- range(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
生成一个从0开始的数字列表
- range(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
生成一个数字列表
自动判定正序反序
- range(int, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
生成一个数字列表
自动判定正序反序
- range(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
从0开始给定范围内的整数列表,步进为1
- range(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
给定范围内的整数列表,步进为1
- range(int, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
给定范围内的整数列表
- Range.Steper<T> - com.github.jarvisframework.tool.core.lang中的接口
-
步进接口,此接口用于实现如何对一个对象按照指定步进增加步进
步进接口可以定义以下逻辑:
1、步进规则,即对象如何做步进
2、步进大小,通过实现此接口,在实现类中定义一个对象属性,可灵活定义步进大小
3、限制range个数,通过实现此接口,在实现类中定义一个对象属性,可灵活定义limit,限制range个数
- rangeToList(Date, Date, DateFieldEnum) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
创建日期范围生成器
- raw - 类 中的变量com.github.jarvisframework.tool.core.map.MapWrapper
-
- rawType - 类 中的变量com.github.jarvisframework.tool.core.lang.ParameterizedTypeImpl
-
- RE_CHINESE - 类 中的静态变量com.github.jarvisframework.tool.core.util.RegexUtils
-
正则表达式匹配中文汉字
- RE_CHINESE_STR - 类 中的静态变量com.github.jarvisframework.tool.core.util.RegexUtils
-
正则表达式匹配中文字符串
- RE_KEYS - 类 中的静态变量com.github.jarvisframework.tool.core.util.RegexUtils
-
正则中需要被转义的关键字
- read() - 类 中的方法com.github.jarvisframework.tool.core.io.BOMInputStream
-
- read(FileReader.ReaderHandler<T>) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileReader
-
按照给定的readerHandler读取文件中的数据
- read(InputStream, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取内容
- read(InputStream, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取内容,读取完毕后并不关闭流
- read(ReadableByteChannel, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取内容,读取完毕后并不关闭流
- read(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取内容,读到输出流中,读取完毕后并不关闭流
- read(ReadableByteChannel) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取内容,读到输出流中
- read(Reader) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从Reader中读取String,读取完毕后并不关闭Reader
- read(FileChannel, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从FileChannel中读取内容,读取完毕后并不关闭Channel
- read(FileChannel, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从FileChannel中读取内容
- readableFileSize() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWrapper
-
可读的文件大小
- readableFileSize(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
可读的文件大小
- readableFileSize(long) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
可读的文件大小
参考 http://stackoverflow.com/questions/3263892/format-file-size-as-mb-gb-etc
- readBytes() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileReader
-
- readBytes(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
- readBytes(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
读取文件所有数据
文件的长度不能超过Integer.MAX_VALUE
- readBytes(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取bytes,读取完毕后关闭流
- readBytes(InputStream, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取bytes
- readBytes(InputStream, int) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
读取指定长度的byte数组,不关闭流
- readBytes() - 接口 中的方法com.github.jarvisframework.tool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readBytes() - 类 中的方法com.github.jarvisframework.tool.core.io.resource.UrlResource
-
- readBytes(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
读取Classpath下的资源为byte[]
- readHex(InputStream, int, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
读取16进制字符串
- readHex28Lower(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取前28个byte并转换为16进制,字母部分使用小写
- readHex28Upper(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取前28个byte并转换为16进制,字母部分使用大写
- readLine(RandomAccessFile, Charset, LineHandler) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
单行处理文件内容
- readLine(RandomAccessFile, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
单行处理文件内容
- readLines(T) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileReader
-
从文件中读取每一行数据
- readLines(LineHandler) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileReader
-
按照行处理文件内容
- readLines() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileReader
-
从文件中读取每一行数据
- readLines(String, String, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(String, Charset, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(File, String, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(File, Charset, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(URL, String, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(URL, Charset, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(URL, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(URL, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(File, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readLines(File, Charset, LineHandler) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
按行处理文件内容
- readLines(RandomAccessFile, Charset, LineHandler) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
按行处理文件内容
- readLines(InputStream, String, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取内容
- readLines(InputStream, Charset, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取内容
- readLines(Reader, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从Reader中读取内容
- readLines(InputStream, Charset, LineHandler) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
按行读取数据,针对每行的数据做处理
- readLines(Reader, LineHandler) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
按行读取数据,针对每行的数据做处理
Reader自带编码定义,因此读取数据的编码跟随其编码。
- readObj(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取对象,即对象的反序列化
注意!!!
- readObj(InputStream, Class<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取对象,即对象的反序列化,读取后不关闭流
注意!!!
- readObj(ValidateObjectInputStream, Class<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
- readObject(ObjectInputStream) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
Create the object after serialization.
- readObject(ObjectInputStream) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
Create the object after serialization.
- readStr(Charset) - 接口 中的方法com.github.jarvisframework.tool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readStr(Charset) - 类 中的方法com.github.jarvisframework.tool.core.io.resource.UrlResource
-
- readStr(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
读取Classpath下的资源为字符串
- readString() - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileReader
-
读取文件内容
- readString(File, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
读取文件内容
- readString(File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
读取文件内容
- readString(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
读取文件内容
- readString(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
读取文件内容
- readString(URL, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
读取文件内容
- readTail() - 类 中的方法com.github.jarvisframework.tool.core.io.file.Tailer
-
预读取行
- readUtf8(FileChannel) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从FileChannel中读取UTF-8编码内容
- readUtf8Lines(String, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行的UTF-8编码数据
- readUtf8Lines(File, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据,数据编码为UTF-8
- readUtf8Lines(URL, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据,编码为UTF-8
- readUtf8Lines(URL) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readUtf8Lines(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据,编码为UTF-8
- readUtf8Lines(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
从文件中读取每一行数据
- readUtf8Lines(File, LineHandler) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
按行处理文件内容,编码为UTF-8
- readUtf8Lines(InputStream, T) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
从流中读取内容,使用UTF-8编码
- readUtf8Lines(InputStream, LineHandler) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
按行读取UTF-8编码数据,针对每行的数据做处理
- readUtf8Str() - 接口 中的方法com.github.jarvisframework.tool.core.io.resource.Resource
-
读取资源内容,读取完毕后会关闭流
关闭流并不影响下一次读取
- readUtf8Str(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ResourceUtils
-
读取Classpath下的资源为字符串,使用UTF-8编码
- readUtf8String(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
读取文件内容
- readUtf8String(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
读取文件内容
- ReferenceConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
- ReferenceConverter(Class<? extends Reference>) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.ReferenceConverter
-
构造
- ReflectUtils - com.github.jarvisframework.tool.core.util中的类
-
反射工具类
- ReflectUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.ReflectUtils
-
- refuse(Class<?>...) - 类 中的方法com.github.jarvisframework.tool.core.io.ValidateObjectInputStream
-
禁止反序列化的类,用于反序列化验证
- regex - 类 中的变量com.github.jarvisframework.tool.core.lang.PatternPool.RegexWithFlag
-
- REGEX_NORM - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
标准日期时间正则,每个字段支持单个数字或2个数字,包括:
yyyy-MM-dd HH:mm:ss.SSS
yyyy-MM-dd HH:mm:ss
yyyy-MM-dd HH:mm
yyyy-MM-dd
- RegexUtils - com.github.jarvisframework.tool.core.util中的类
-
- RegexUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.RegexUtils
-
- RegexWithFlag(String, int) - 类 的构造器com.github.jarvisframework.tool.core.lang.PatternPool.RegexWithFlag
-
构造
- register(Watchable, WatchService, WatchEvent.Kind<?>...) - 类 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchUtils
-
注册Watchable对象到WatchService服务
- registerPath() - 类 中的方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
注册监听路径
- registerPath(Path, int) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.WatchServer
-
将指定路径加入到监听中
- remove() - 类 中的方法com.github.jarvisframework.tool.core.collection.ArrayIter
-
不允许操作数组元素
- remove() - 类 中的方法com.github.jarvisframework.tool.core.collection.CopiedIter
-
此对象不支持移除元素
- remove() - 类 中的方法com.github.jarvisframework.tool.core.collection.EnumerationIter
-
- remove() - 类 中的方法com.github.jarvisframework.tool.core.collection.TransIter
-
- remove(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.PatternPool
-
移除缓存
- remove() - 类 中的方法com.github.jarvisframework.tool.core.lang.Range
-
- remove(K) - 类 中的方法com.github.jarvisframework.tool.core.lang.SimpleCache
-
移除缓存
- remove(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Singleton
-
移除指定Singleton对象
- remove(String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Singleton
-
移除指定Singleton对象
- remove(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- remove(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- remove(Object, Object) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- remove(Object) - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- remove(T[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中对应位置的元素
copy from commons-lang
- remove(long[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中对应位置的元素
copy from commons-lang
- remove(int[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中对应位置的元素
copy from commons-lang
- remove(short[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中对应位置的元素
copy from commons-lang
- remove(char[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中对应位置的元素
copy from commons-lang
- remove(byte[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中对应位置的元素
copy from commons-lang
- remove(double[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中对应位置的元素
copy from commons-lang
- remove(float[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中对应位置的元素
copy from commons-lang
- remove(boolean[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中对应位置的元素
copy from commons-lang
- remove(Object, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中对应位置的元素
copy from commons-lang
- removeAll(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
移除字符串中所有给定字符串
例:removeAll("aa-bb-cc-dd", "-") =》 aabbccdd
- removeAll(CharSequence, char...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去除字符串中指定的多个字符,如有多个则全部去除
- removeAllLineBreaks(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去除所有换行符,包括:
1.
- removeAny(T, E...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
去掉集合中的多个元素,此方法直接修改原集合
- removeAny(Map<K, V>, K...) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
去掉Map中指定key的键值对,修改原Map
- removeAny(CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
移除字符串中所有给定字符串,当某个字符串出现多次,则全部移除
例:removeAny("aa-bb-cc-dd", "a", "b") =》 --cc-dd
- removeBlank(T) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
去除null或者""或者空白字符串 元素,此方法直接修改原集合
- removeBlank(T[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
去除null或者""或者空白字符串 元素
- removeEldestEntry(Map.Entry<K, V>) - 类 中的方法com.github.jarvisframework.tool.core.map.FixedLinkedHashMap
-
- removeEle(T[], T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(long[], long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(int[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(short[], short) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(char[], char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(byte[], byte) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(double[], double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(float[], float) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEle(boolean[], boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
移除数组中指定的元素
只会移除匹配到的第一个元素 copy from commons-lang
- removeEmpty(T) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
去除null或者"" 元素,此方法直接修改原集合
- removeEmpty(T[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
去除null或者"" 元素
- removeEqual(T, String...) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
与给定实体对比并去除相同的部分
此方法用于在更新操作时避免所有字段被更新,跳过不需要更新的字段 version from 2.0.0
- removeFileType(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileTypeUtils
-
移除文件类型映射
- removeIf(Predicate<? super T>) - 类 中的方法com.github.jarvisframework.tool.core.collection.TransCollection
-
- removeNull(T) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
去除null 元素,此方法直接修改原集合
- removeNull(T[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
去除null 元素
- removeNullValue(Map<K, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
去除Map中值为null的键值对
注意:此方法在传入的Map上直接修改。
- removeNumberFlag(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
去掉数字尾部的数字标识,例如12D,44.0F,22L中的最后一个字母
- removePreAndLowerFirst(CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, preLength=3 =》 return name
- removePreAndLowerFirst(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去掉首部指定长度的字符串并将剩余字符串首字母小写
例如:str=setName, prefix=set =》 return name
- removePrefix(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去掉指定前缀
- removePrefixIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
忽略大小写去掉指定前缀
- removeSafeCharacter(char) - 类 中的方法com.github.jarvisframework.tool.core.net.URLEncoder
-
移除安全字符
安全字符不被编码
- removeSign(String) - 类 中的静态方法com.github.jarvisframework.tool.core.text.TextSimilarity
-
将字符串的所有数据依次写成一行,去除无意义字符串
- removeSufAndLowerFirst(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去掉指定后缀,并小写首字母
- removeSuffix(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去掉指定后缀
- removeSuffixIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
忽略大小写去掉指定后缀
- rename(File, String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名
重命名有两种模式:
1、isRetainExt为true时,保留原扩展名:
FileUtils.rename(file, "aaa", true) xx/xx.png =》xx/aaa.png
FileUtils.rename(file, "aaa.jpg", false) xx/xx.png =》xx/aaa.jpg
- rename(File, String, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
修改文件或目录的文件名,不变更路径,只是简单修改文件名
重命名有两种模式:
1、isRetainExt为true时,保留原扩展名:
FileUtils.rename(file, "aaa", true) xx/xx.png =》xx/aaa.png
2、isRetainExt为false时,不保留原扩展名,需要在newName中
FileUtils.rename(file, "aaa.jpg", false) xx/xx.png =》xx/aaa.jpg
- renameKey(Map<K, V>, K, K) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
- repeat(char, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
重复某个字符
- repeat(CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
重复某个字符串
- repeatAndJoin(CharSequence, int, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
重复某个字符串并通过分界符连接
StringUtils.repeatAndJoin("?"
- repeatByLength(CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
重复某个字符串到指定长度
- replace(K, V, V) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- replace(K, V) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- replace(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
替换字符串中的指定字符串
- replace(CharSequence, CharSequence, CharSequence, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
替换字符串中的指定字符串
- replace(CharSequence, int, CharSequence, CharSequence, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
替换字符串中的指定字符串
- replace(CharSequence, int, int, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
替换指定字符串的指定区间内字符为固定字符
- replace(CharSequence, Pattern, Func1<Matcher, String>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replace(CharSequence, String, Func1<Matcher, String>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- replaceAll(CharSequence, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
例如:原字符串是:中文1234,我想把1234换成(1234),则可以:
RegexUtils.replaceAll("中文1234", "(\\d+)", "($1)"))
结果:中文(1234)
- replaceAll(CharSequence, Pattern, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
- replaceAll(CharSequence, String, Func1<Matcher, String>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replaceAll(CharSequence, Pattern, Func1<Matcher, String>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.RegexUtils
-
替换所有正则匹配的文本,并使用自定义函数决定如何替换
- replaceChars(CharSequence, String, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
替换字符字符数组中所有的字符为replacedStr
提供的chars为所有需要被替换的字符,例如:"\r\n",则"\r"和"\n"都会被替换,哪怕他们单独存在
- replaceChars(CharSequence, char[], CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
替换字符字符数组中所有的字符为replacedStr
- replaceIgnoreCase(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
替换字符串中的指定字符串,忽略大小写
- reset() - 类 中的方法com.github.jarvisframework.tool.core.collection.ArrayIter
-
重置数组位置
- reset() - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteArrayOutputStream
-
- reset() - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
- reset() - 类 中的方法com.github.jarvisframework.tool.core.lang.Range
-
- reset() - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
删除全部字符,位置归零
- resize(T[], int, Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resize(Object, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resize(byte[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
生成一个新的重新设置大小的数组
调整大小后拷贝原数组到新数组下。
- resize(T[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
生成一个新的重新设置大小的数组
新数组的类型为原数组的类型,调整大小后拷贝原数组到新数组下。
- resolveClass(ObjectStreamClass) - 类 中的方法com.github.jarvisframework.tool.core.io.ValidateObjectInputStream
-
只允许反序列化SerialObject class
- Resource - com.github.jarvisframework.tool.core.io.resource中的接口
-
资源接口定义
资源可以是文件、URL、ClassPath中的文件亦或者jar包中的文件
- ResourceUtils - com.github.jarvisframework.tool.core.util中的类
-
Resource资源工具类
- ResourceUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.ResourceUtils
-
- restart() - 类 中的方法com.github.jarvisframework.tool.core.date.TimeInterval
-
重新开始计算时间(重置开始时间)
- reverse(List<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
反序给定List,会在原List基础上直接修改
- reverse(List<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
反序给定List,会在原List基础上直接修改
- reverse(Map<T, T>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
Map的键和值互换
互换键值对不检查值是否有重复,如果有则后加入的元素替换先加入的元素
值的顺序在HashMap中不确定,所以谁覆盖谁也不确定,在有序的Map中按照先后顺序覆盖,保留最后的值
- reverse(T[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(T[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(long[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(long[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(int[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(int[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(short[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(short[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(char[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(char[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(byte[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(double[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(double[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(float[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(float[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(boolean[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(boolean[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
反转数组,会变更原数组
- reverse(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
反转字符串
例如:abcd =》dcba
- reversedFieldMapping - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
反向映射表,自动生成用于反向查找
- reverseNew(List<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
反序给定List,会创建一个新的List,原List数据不变
- reverseNew(List<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
反序给定List,会创建一个新的List,原List数据不变
- reverseNum(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
倒序输出
- RFC_822_TIME_ZONE - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser.TimeZoneStrategy
-
- round(Calendar, DateFieldEnum) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
修改日期为某个时间字段四舍五入时间
- round(Date, DateFieldEnum) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
修改日期为某个时间字段四舍五入时间
- round(double, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- round(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- round(BigDecimal, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- round(double, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round(String, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- round(BigDecimal, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- roundDown(Number, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
保留固定小数位数,舍去多余位数
- roundDown(BigDecimal, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
保留固定小数位数,舍去多余位数
- roundHalfEven(Number, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
四舍六入五成双计算法
四舍六入五成双是一种比较精确比较科学的计数保留法,是一种数字修约规则。
- roundHalfEven(BigDecimal, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
四舍六入五成双计算法
四舍六入五成双是一种比较精确比较科学的计数保留法,是一种数字修约规则。
- roundStr(double, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- roundStr(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- roundStr(double, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- roundStr(String, int, RoundingMode) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
保留固定位数小数
例如保留四位小数:123.456789 =》 123.4567
- rules - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
规则列表.
- run() - 类 中的方法com.github.jarvisframework.tool.core.io.file.LineReadWatcher
-
- run() - 类 中的方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
- run() - 类 中的方法com.github.jarvisframework.tool.core.thread.SyncFinisher.Worker
-
- safeCharacters - 类 中的变量com.github.jarvisframework.tool.core.net.URLEncoder
-
存放安全编码
- safeGet(String) - 类 中的方法com.github.jarvisframework.tool.core.bean.DynaBean
-
获得字段对应值,获取异常返回null
- safeSleep(Number) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
- safeSleep(long) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
- safeStep(T) - 类 中的方法com.github.jarvisframework.tool.core.lang.Range
-
不抛异常的获取下一步进的元素,如果获取失败返回null
- SATURDAY - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
星期六
- scan() - 类 中的方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件
- scanFile(File, String) - 类 中的方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
扫描文件或目录中的类
- scanJar(JarFile) - 类 中的方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
扫描jar包
- scanJavaClassPaths() - 类 中的方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
扫描Java指定的ClassPath路径
- scanner() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Console
-
- scanPackage() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
扫描该包路径下所有class文件
- scanPackage(String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
扫描该包路径下所有class文件
- scanPackage(String, Filter<Class<?>>) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
扫描包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理
- scanPackage() - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
扫面该包路径下所有class文件
- scanPackage(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
扫面该包路径下所有class文件
- scanPackage(String, Filter<Class<?>>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
扫面包路径下满足class过滤器条件的所有class文件,
如果包路径为 com.abs + A.class 但是输入 abs会产生classNotFoundException
因为className 应该为 com.abs.A 现在却成为abs.A,此工具类对该异常进行忽略处理,有可能是一个不完善的地方,以后需要进行修改
- scanPackageByAnnotation(String, Class<? extends Annotation>) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
扫描指定包路径下所有包含指定注解的类
- scanPackageByAnnotation(String, Class<? extends Annotation>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
扫描指定包路径下所有包含指定注解的类
- scanPackageBySuper(String, Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
扫描指定包路径下所有指定类或接口的子类或实现类,不包括指定父类本身
- scanPackageBySuper(String, Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
扫描指定包路径下所有指定类或接口的子类或实现类
- scheduleClockUpdating() - 类 中的方法com.github.jarvisframework.tool.core.date.SystemClock
-
开启计时器线程
- second() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
获得指定日期的秒数部分
- SECOND - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
秒
- second(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
获得指定日期的秒数部分
- SECOND_MILLI - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
秒
- SECOND_STRATEGY - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- secondToTime(int) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
秒数转为时间格式(HH:mm:ss)
参考:https://github.com/iceroot
- SecurityManagerCaller - com.github.jarvisframework.tool.core.lang.caller中的类
-
- SecurityManagerCaller() - 类 的构造器com.github.jarvisframework.tool.core.lang.caller.SecurityManagerCaller
-
- selectNumberRule(int, int) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
Gets an appropriate rule for the padding required.
- sequence - 类 中的变量com.github.jarvisframework.tool.core.lang.Snowflake
-
- sequence - 类 中的变量com.github.jarvisframework.tool.core.SnowflakeIdWorker
-
毫秒内序列(0~4095)
- sequenceBits - 类 中的变量com.github.jarvisframework.tool.core.lang.Snowflake
-
- sequenceBits - 类 中的变量com.github.jarvisframework.tool.core.SnowflakeIdWorker
-
序列在id中占的位数
- sequenceMask - 类 中的变量com.github.jarvisframework.tool.core.lang.Snowflake
-
- sequenceMask - 类 中的变量com.github.jarvisframework.tool.core.SnowflakeIdWorker
-
生成序列的掩码,这里为4095 (0b111111111111=0xfff=4095)
- serialize(T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
序列化
对象必须实现Serializable接口
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.annotation.CombinationAnnotationElement
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.bean.BeanDesc
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.bean.BeanPath
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.bean.copier.BeanCopier
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.bean.DynaBean
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.clone.CloneException
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.collection.ArrayIter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.collection.BoundedPriorityQueue
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.collection.CopiedIter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.collection.EnumerationIter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.collection.IteratorEnumeration
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.comparator.ComparatorException
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.comparator.PinyinComparator
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.comparator.PropertyComparator
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.comparator.VersionComparator
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.AbstractConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.ConverterRegistry
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.convert.ConvertException
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.AtomicBooleanConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.AtomicReferenceConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.BeanConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.BooleanConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.CalendarConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.CastConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.CharacterConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.CharsetConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.ClassConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.CurrencyConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.DateConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.DurationConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.EnumConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.GenericEnumConverter
-
已过时。
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.LocaleConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.MapConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.NumberConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.OptionalConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.PathConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.PeriodConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.PrimitiveConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.ReferenceConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.StackTraceElementConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.StringConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.TimeZoneConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.URIConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.URLConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.UUIDConverter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.date.BetweenFormat
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateBetween
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.date.DateException
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateRange
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTime
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.AbstractDateBasic
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDatePrinter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.date.TimeInterval
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.exception.BusinessException
-
序列化ID
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.exception.EnumParseException
-
序列化ID
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.exception.NotInitedException
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.exception.StatefulException
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.exception.UtilException
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.exception.ValidateException
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.exception.XmlParseException
-
序列化ID
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.exception.ZipException
-
序列化ID
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.io.file.FileCopier
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.io.file.FileReader
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.io.file.FileWrapper
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.io.file.FileWriter
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.io.file.Tailer
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.io.resource.FileResource
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.io.resource.NoResourceException
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.io.resource.UrlResource
-
- serialVersionUID - 异常错误 中的静态变量com.github.jarvisframework.tool.core.io.watch.WatchException
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.io.watch.WatchServer
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.caller.SecurityManagerCaller
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.caller.StackTraceCaller
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.ClassScanner
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.copier.SrcToDestCopier
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Dictionary
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Holder
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.mutable.MutableObject
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.ParameterizedTypeImpl
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Range
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.SimpleCache
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Snowflake
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Tuple
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.UUID
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.WeightRandom
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.map.CamelCaseLinkedMap
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.map.CamelCaseMap
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.map.CaseInsensitiveMap
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.map.CustomKeyMap
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.map.FixedLinkedHashMap
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.map.MapBuilder
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.map.MapProxy
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.map.MapWrapper
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.map.TableMap
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.net.URLDecoder
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.net.URLEncoder
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.text.StringBuilder
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
- serialVersionUID - 类 中的静态变量com.github.jarvisframework.tool.core.thread.ThreadFactoryBuilder
-
- ServiceLoaderUtils - com.github.jarvisframework.tool.core.util中的类
-
SPI机制中的服务加载工具类,流程如下
1、创建接口,并创建实现类
2、ClassPath/META-INF/services下创建与接口全限定类名相同的文件
3、文件内容填写实现类的全限定类名
- ServiceLoaderUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.ServiceLoaderUtils
-
- set(Object, Object) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanPath
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个List则设置其坐标对应位置的值,若指向Map则put对应key的值,Bean则设置字段的值
注意:
1.
- set(Object, List<String>, Object) - 类 中的方法com.github.jarvisframework.tool.core.bean.BeanPath
-
设置表达式指定位置(或filed对应)的值
若表达式指向一个List则设置其坐标对应位置的值,若指向Map则put对应key的值,Bean则设置字段的值
注意:
1.
- set(String, Object) - 类 中的方法com.github.jarvisframework.tool.core.bean.DynaBean
-
设置字段值
- set(boolean, T...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
新建一个HashSet
- set(String, Object) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
设置列
- set(T) - 接口 中的方法com.github.jarvisframework.tool.core.lang.mutable.Mutable
-
设置值
- set(T) - 类 中的方法com.github.jarvisframework.tool.core.lang.mutable.MutableObject
-
- setAccessible(Method) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassUtils
-
设置方法为可访问
- setAccessible(T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
设置方法为可访问(私有方法可以被外部调用)
- setAllowCoreThreadTimeOut(boolean) - 类 中的方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
设置线程执行超时后是否回收线程
- setBeginAtSameTime(boolean) - 类 中的方法com.github.jarvisframework.tool.core.thread.SyncFinisher
-
设置是否所有worker线程同时开始
- setBetweenMs(long) - 类 中的方法com.github.jarvisframework.tool.core.date.BetweenFormat
-
设置 时长毫秒数
- setCacheHash(boolean) - 类 中的方法com.github.jarvisframework.tool.core.lang.Tuple
-
缓存Hash值,当为true时,此对象的hash值只被计算一次,常用于Tuple中的值不变时使用。
- setCalendar(FastDateParser, Calendar, String) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.CaseInsensitiveTextStrategy
-
- setCalendar(FastDateParser, Calendar, String) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.ISO8601TimeZoneStrategy
- setCalendar(FastDateParser, Calendar, String) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.PatternStrategy
-
- setCalendar(FastDateParser, Calendar, String) - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateParser.TimeZoneStrategy
- setCapacity(int) - 类 中的方法com.github.jarvisframework.tool.core.map.FixedLinkedHashMap
-
设置容量
- setCharset(Charset) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWrapper
-
设置字符集编码
- setClassLoader(ClassLoader) - 类 中的方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
设置自定义的类加载器
- setCopyAttributes(boolean) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
设置是否拷贝所有属性
- setCopyContentIfDir(boolean) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
当拷贝来源是目录时是否只拷贝目录下的内容
- setCopyFilter(Filter<T>) - 类 中的方法com.github.jarvisframework.tool.core.lang.copier.SrcToDestCopier
-
设置过滤器
- setCorePoolSize(int) - 类 中的方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
设置初始池大小,默认0
- setCorePoolSize(int) - 类 中的方法com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
- setDaemon(boolean) - 类 中的方法com.github.jarvisframework.tool.core.thread.ThreadFactoryBuilder
-
设置是否守护线程
- setDaemon(boolean) - 类 中的方法com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
- setDest(T) - 类 中的方法com.github.jarvisframework.tool.core.lang.copier.SrcToDestCopier
-
设置目标
- setEditable(Class<?>) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
设置限制的类或接口,必须为目标对象的实现接口或父类,用于限制拷贝的属性
- setEncodeSpaceAsPlus(boolean) - 类 中的方法com.github.jarvisframework.tool.core.net.URLEncoder
-
是否将空格编码为+
- setErrorArguments(Object...) - 异常错误 中的方法com.github.jarvisframework.tool.core.exception.BusinessException
-
- setErrorArguments(Object...) - 接口 中的方法com.github.jarvisframework.tool.core.exception.IException
-
设置异常参数
- setField(DateFieldEnum, int) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- setField(int, int) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- setFieldMapping(Map<String, String>) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
设置拷贝属性的字段映射,用于不同的属性之前拷贝做对应表用
- setFieldNameEditor(Editor<String>) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
设置字段属性编辑器,用于自定义属性转换规则,例如驼峰转下划线等
此转换器只针对源端的字段做转换,请确认转换后与目标端字段一致
- setFieldValue(Object, String, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
设置字段值,,通过反射设置字段值,并不调用setXXX方法
对象同样支持Map类型,fieldNameOrIndex即为key
- setFieldValue(Object, String, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
设置字段值
- setFieldValue(Object, Field, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ReflectUtils
-
设置字段值
- setFile(File) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileWrapper
-
设置文件
- setFirstDayOfWeek(WeekEnum) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- setFirstPageNo(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.PageUtils
-
设置首页页码,可以为0或者1
当设置为0时,页码0表示第一页,开始位置为0
当设置为1时,页码1表示第一页,开始位置为0
- setFormat(String) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.CalendarConverter
-
设置日期格式
- setFormat(String) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.DateConverter
-
设置日期格式
- setFormat(String) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
设置日期格式
- setHandler(RejectedExecutionHandler) - 类 中的方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
设置当线程阻塞(block)时的异常处理器,所谓线程阻塞即线程池和等待队列已满,无法处理线程时采取的策略
此处可以使用JDK预定义的几种策略,见RejectPolicy枚举
- setIgnoreCase(boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
设置是否忽略字段的大小写
- setIgnoreElementError(boolean) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
设置是否忽略元素转换错误
- setIgnoreError(boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
设置是否忽略字段的注入错误
- setIgnoreNull(String, Object) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
设置列,当键或值为null时忽略
- setIgnoreNullValue(boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
设置是否忽略空值,当源对象的值为null时,true: 忽略而不注入此值,false: 注入null
- setIgnoreProperties(String...) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
设置忽略的目标对象中属性列表,设置一个属性列表,不拷贝这些属性值
- setInitialize(boolean) - 类 中的方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
设置是否在扫描到类时初始化类
- setKeepAliveSeconds(int) - 类 中的方法com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
- setKeepAliveTime(long, TimeUnit) - 类 中的方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长
- setKeepAliveTime(long) - 类 中的方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
设置线程存活时间,即当池中线程多于初始大小时,多出的线程保留的时长,单位纳秒
- setKeepTaskList(boolean) - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
设置是否在停止后保留任务,false 表示停止运行后不保留任务
- setLevel(BetweenFormat.Level) - 类 中的方法com.github.jarvisframework.tool.core.date.BetweenFormat
-
设置格式化级别
- setMaxDepth(int) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
当监听目录时,监听目录的最大深度
当设置值为1(或小于1)时,表示不递归监听子目录
例如设置:
maxDepth <= 1 表示只监听当前目录
maxDepth = 2 表示监听当前目录以及下层目录
maxDepth = 3 表示监听当前目录以及下层
- setMaxPoolSize(int) - 类 中的方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
设置最大池大小(允许同时执行的最大线程数)
- setMaxPoolSize(int) - 类 中的方法com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
- setModifiers(WatchEvent.Modifier[]) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.WatchServer
-
设置监听选项,例如监听频率等,可设置项包括:
1、com.sun.nio.file.StandardWatchEventKinds
2、com.sun.nio.file.SensitivityWatchEventModifier
- setMutable(boolean) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- setNamePrefix(String) - 类 中的方法com.github.jarvisframework.tool.core.thread.ThreadFactoryBuilder
-
设置线程名前缀,例如设置前缀为hutool-thread-,则线程名为hutool-thread-1之类。
- setObj(T) - 类 中的方法com.github.jarvisframework.tool.core.lang.WeightRandom.WeightObj
-
设置对象
- setOneAsFirstPageNo() - 类 中的静态方法com.github.jarvisframework.tool.core.util.PageUtils
-
设置首页页码为1
当设置为1时,页码1表示第一页,开始位置为0
- setOnlyCopyFile(boolean) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
设置当拷贝来源是目录时是否只拷贝文件而忽略子目录
- setOrAppend(List<T>, int, T) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
设置或增加元素。
- setOrAppend(List<T>, int, T) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
设置或增加元素。
- setOrAppend(T[], int, T) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
- setOrAppend(Object, int, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将元素值设置为数组的某个位置,当给定的index大于数组长度,则追加
- setOverride(boolean) - 类 中的方法com.github.jarvisframework.tool.core.io.file.FileCopier
-
设置是否覆盖目标文件
- setPriority(int) - 类 中的方法com.github.jarvisframework.tool.core.thread.ThreadFactoryBuilder
-
设置线程优先级
- setProperties(Properties) - 类 中的方法com.github.jarvisframework.tool.core.properties.SystemGlobal
-
- setProperty(Object, String, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
解析Bean中的属性值
- setSrc(T) - 类 中的方法com.github.jarvisframework.tool.core.lang.copier.SrcToDestCopier
-
设置源
- setter - 类 中的变量com.github.jarvisframework.tool.core.bean.PropDesc
-
Setter方法
- setThreadFactory(ThreadFactory) - 类 中的方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
设置线程工厂,用于自定义线程创建
- setThreadFactory(ThreadFactory) - 类 中的方法com.github.jarvisframework.tool.core.thread.ThreadFactoryBuilder
-
设置用于创建基础线程的线程工厂
- setThreadPool(ThreadPoolTaskExecutor) - 类 中的方法com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
- setTime(long) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- setTimeInternal(long) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
设置日期时间
- setTimeZone(TimeZone) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
设置时区
- setTransientSupport(boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
设置是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - 类 中的方法com.github.jarvisframework.tool.core.thread.ThreadFactoryBuilder
-
设置未捕获异常的处理方式
- setValue(Object, Object) - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
- setValue(Object, Object, boolean, boolean) - 类 中的方法com.github.jarvisframework.tool.core.bean.PropDesc
-
设置属性值,可以自动转换字段类型为目标类型
- setValue(V) - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap.Entry
-
- setWatcher(Watcher) - 类 中的方法com.github.jarvisframework.tool.core.io.watch.WatchMonitor
-
- setWorkQueue(BlockingQueue<Runnable>) - 类 中的方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
设置队列,用于存在未执行的线程
可选队列有:
1.
- sf - 类 中的变量com.github.jarvisframework.tool.core.thread.ConcurrencyTester
-
- SHORT - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
SHORT locale dependent date or time style.
- shortSummary() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
获取任务信息
- shortToBytes(short) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
short转byte数组
- shutdown() - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- shutdown(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.GlobalThreadPool
-
关闭公共线程池
- shutdownNow() - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- similar(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.text.TextSimilarity
-
计算相似度,两个都是空串相似度为1,被认为是相同的串
- similar(String, String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.text.TextSimilarity
-
计算相似度百分比
- similar(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
计算两个字符串的相似度
- similar(String, String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
计算连个字符串的相似度百分比
- SIMPLE_DIGITS - 类 中的静态变量com.github.jarvisframework.tool.core.convert.NumberChineseFormatter
-
简体中文形式
- SIMPLE_UNITS - 类 中的静态变量com.github.jarvisframework.tool.core.convert.NumberChineseFormatter
-
简体中文单位
- SimpleCache<K,V> - com.github.jarvisframework.tool.core.lang中的类
-
- SimpleCache() - 类 的构造器com.github.jarvisframework.tool.core.lang.SimpleCache
-
- SimpleCache(Map<K, V>) - 类 的构造器com.github.jarvisframework.tool.core.lang.SimpleCache
-
构造
通过自定义Map初始化,可以自定义缓存实现。
- simpleQuote(StringBuilder, String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- simpleUUID() - 类 中的静态方法com.github.jarvisframework.tool.core.util.IdUtils
-
简化的UUID,去掉了横线
- simpleUUID() - 类 中的静态方法com.github.jarvisframework.tool.core.util.RandomUtils
-
- SimpleWatcher - com.github.jarvisframework.tool.core.io.watch中的类
-
空白WatchListener
用户继承此类后实现需要监听的方法
- SimpleWatcher() - 类 的构造器com.github.jarvisframework.tool.core.io.watch.SimpleWatcher
-
- SINGLE_QUOTE - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- Singleton - com.github.jarvisframework.tool.core.lang中的类
-
单例类
提供单例对象的统一管理,当调用get方法时,如果对象池中存在此对象,返回此对象,否则创建新对象返回
- Singleton() - 类 的构造器com.github.jarvisframework.tool.core.lang.Singleton
-
- SingletonHolder() - 类 的构造器com.github.jarvisframework.tool.core.convert.ConverterRegistry.SingletonHolder
-
- size() - 类 中的方法com.github.jarvisframework.tool.core.collection.TransCollection
-
- size() - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteArrayOutputStream
-
- size - 类 中的变量com.github.jarvisframework.tool.core.io.FastByteBuffer
-
缓冲字节数
- size() - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
- size(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
计算目录或文件的总大小
当给定对象为文件时,直接调用
File.length()
当给定对象为目录时,遍历目录下的所有文件和目录,递归计算其大小,求和返回
- size() - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- size() - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- size() - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- SLASH - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- SLASH - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- sleep(Number, TimeUnit) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
挂起当前线程
- sleep(Number) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
挂起当前线程
- sleep(long) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
挂起当前线程
- Snowflake - com.github.jarvisframework.tool.core.lang中的类
-
Twitter的Snowflake 算法
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
- Snowflake(long, long) - 类 的构造器com.github.jarvisframework.tool.core.lang.Snowflake
-
构造
- Snowflake(long, long, boolean) - 类 的构造器com.github.jarvisframework.tool.core.lang.Snowflake
-
构造
- Snowflake(Date, long, long, boolean) - 类 的构造器com.github.jarvisframework.tool.core.lang.Snowflake
-
- SnowflakeIdWorker - com.github.jarvisframework.tool.core中的类
-
推特雪花ID生成规则
- SnowflakeIdWorker() - 类 的构造器com.github.jarvisframework.tool.core.SnowflakeIdWorker
-
- SnowflakeIdWorker(long, long) - 类 的构造器com.github.jarvisframework.tool.core.SnowflakeIdWorker
-
构造函数
- sort(Collection<T>, Comparator<? super T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
排序集合,排序不会修改原集合
- sort(List<T>, Comparator<? super T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
针对List排序,排序会修改原List
- sort(Map<K, V>, Comparator<? super K>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
排序Map
- sort(List<T>, Comparator<? super T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
针对List排序,排序会修改原List
- sort(Map<K, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
排序已有Map,Key有序的Map,使用默认Key排序方式(字母顺序)
- sort(Map<K, V>, Comparator<? super K>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
排序已有Map,Key有序的Map
- sortByEntry(Map<K, V>, Comparator<Map.Entry<K, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
- sortByPinyin(Collection<String>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
根据汉字的拼音顺序排序
- sortByPinyin(List<String>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
根据汉字的拼音顺序排序
- sortByPinyin(List<String>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
根据汉字的拼音顺序排序
- sortByProperty(Collection<T>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
根据Bean的属性排序
- sortByProperty(List<T>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
根据Bean的属性排序
- sortByProperty(List<T>, String) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
根据Bean的属性排序
- sortEntryToList(Collection<Map.Entry<K, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
将Set排序(根据Entry的值)
- sortJoin(Map<?, ?>, String, String, boolean, String...) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
根据参数排序后拼接为字符串,常用于签名
- sortPageAll(int, int, Comparator<T>, Collection<T>...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- sortToMap(Collection<Map.Entry<K, V>>, Comparator<Map.Entry<K, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
通过Entry排序,可以按照键排序,也可以按照值排序,亦或者两者综合排序
- source - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.BeanCopier
-
源对象
- source - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.provider.BeanValueProvider
-
- sourcePdMap - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.provider.BeanValueProvider
-
- SPACE - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- SPACE - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- spendMs(long) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
计时,常用于记录某段代码的执行时间,单位:毫秒
- spendNt(long) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
计时,常用于记录某段代码的执行时间,单位:纳秒
- split(Collection<T>, int) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
对集合按照指定长度分段,每一个段为单独的集合,返回这个集合的列表
- split(String, char, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串
- split(String, char, int, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串,大小写敏感
- split(String, char, int, boolean, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串
- split(String, String, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串,不忽略大小写
- split(String, String, int, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串,不忽略大小写
- split(String, String, int, boolean, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串
- split(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
使用空白符切分字符串
切分后的字符串两边不包含空白符,空串或空白符串并不做为元素之一
- split(String, Pattern, int, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
通过正则切分字符串
- split(byte[], int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
拆分byte数组为几个等份(最后一份可能小于len)
- split(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串
a#b#c =》 [a,b,c]
a##b#c =》 [a,"",b,c]
- split(CharSequence, char, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串,不去除切分后每个元素两边的空白符,不去除空白项
- split(CharSequence, char, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串,不限制分片数量
- split(CharSequence, char, int, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串
- split(CharSequence, CharSequence, int, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串
- split(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串,如果分隔符不存在则返回原字符串
- split(CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
根据给定长度,将给定字符串截取为多个部分
- splitByLength(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
根据给定长度,将给定字符串截取为多个部分
- splitByRegex(String, String, int, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
通过正则切分字符串
- spliterator() - 类 中的方法com.github.jarvisframework.tool.core.collection.TransCollection
-
- SpliteratorUtils - com.github.jarvisframework.tool.core.collection中的类
-
- SpliteratorUtils() - 类 的构造器com.github.jarvisframework.tool.core.collection.SpliteratorUtils
-
- splitIgnoreCase(String, char, int, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串,忽略大小写
- splitIgnoreCase(String, String, int, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串,忽略大小写
- splitPath(String) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitPath(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitPathToArray(String) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitPathToArray(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串路径,仅支持Unix分界符:/
- splitToArray(String, char, int, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串为字符串数组
- splitToArray(String, String, int, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串为字符串数组
- splitToArray(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串为字符串数组
- splitToArray(String, Pattern, int, boolean, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
通过正则切分字符串为字符串数组
- splitToArray(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串
- splitToArray(CharSequence, char, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串
- splitToInt(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串为int数组
- splitToInt(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串为int数组
- splitToLong(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串为long数组
- splitToLong(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串为long数组
- splitTrim(String, char, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串
- splitTrim(String, char, int, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串,大小写敏感,去除每个元素两边空白符
- splitTrim(String, String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串,去除每个元素两边空格,忽略大小写
- splitTrim(String, String, int, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串,去除每个元素两边空格,忽略大小写
- splitTrim(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, char, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrim(CharSequence, CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切分字符串,去除切分后每个元素两边的空白符,去除空白项
- splitTrimIgnoreCase(String, String, int, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
切分字符串,去除每个元素两边空格,忽略大小写
- sqrt(long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- src - 类 中的变量com.github.jarvisframework.tool.core.lang.copier.SrcToDestCopier
-
源
- SrcToDestCopier<T,C extends SrcToDestCopier<T,C>> - com.github.jarvisframework.tool.core.lang.copier中的类
-
- SrcToDestCopier() - 类 的构造器com.github.jarvisframework.tool.core.lang.copier.SrcToDestCopier
-
- StackTraceCaller - com.github.jarvisframework.tool.core.lang.caller中的类
-
通过StackTrace方式获取调用者。
- StackTraceCaller() - 类 的构造器com.github.jarvisframework.tool.core.lang.caller.StackTraceCaller
-
- StackTraceElementConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
- StackTraceElementConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.StackTraceElementConverter
-
- stacktraceToOneLineString(Throwable) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
堆栈转为单行完整字符串
- stacktraceToOneLineString(Throwable, int) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
堆栈转为单行完整字符串
- stacktraceToString(Throwable) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
堆栈转为完整字符串
- stacktraceToString(Throwable, int) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
堆栈转为完整字符串
- stacktraceToString(Throwable, int, Map<Character, String>) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
堆栈转为完整字符串
- STANDARD_ENCODE_TABLE - 类 中的静态变量com.github.jarvisframework.tool.core.codec.Base64Encoder
-
标准编码表
- start() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
开始默认的新任务
- start(String) - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
开始指定名称的新任务
- start() - 类 中的方法com.github.jarvisframework.tool.core.date.TimeInterval
-
- start() - 类 中的方法com.github.jarvisframework.tool.core.io.file.Tailer
-
开始监听
- start(boolean) - 类 中的方法com.github.jarvisframework.tool.core.io.file.Tailer
-
开始监听
- start() - 接口 中的方法com.github.jarvisframework.tool.core.io.StreamProgress
-
开始
- start - 类 中的变量com.github.jarvisframework.tool.core.lang.Range
-
起始对象
- start() - 类 中的方法com.github.jarvisframework.tool.core.thread.SyncFinisher
-
开始工作
- start(boolean) - 类 中的方法com.github.jarvisframework.tool.core.thread.SyncFinisher
-
开始工作
- startIndex - 类 中的变量com.github.jarvisframework.tool.core.collection.ArrayIter
-
起始位置
- startTimeNanos - 类 中的变量com.github.jarvisframework.tool.core.date.StopWatch
-
开始时间
- startWith(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
字符串是否以给定字符开始
- startWith(CharSequence, CharSequence, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
- startWith(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
是否以指定字符串开头
- startWithAny(CharSequence, CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串是否以任何一个字符串开始
给定字符串和数组为空都返回false
- startWithIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
是否以指定字符串开头,忽略大小写
- startYear - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser
-
- state(boolean, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
检查boolean表达式,当检查结果为false时抛出 IllegalStateException。
- state(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Assert
-
检查boolean表达式,当检查结果为false时抛出 IllegalStateException。
- StatefulException - com.github.jarvisframework.tool.core.exception中的异常错误
-
带有状态码的异常
- StatefulException() - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.StatefulException
-
- StatefulException(String) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.StatefulException
-
- StatefulException(String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.StatefulException
-
- StatefulException(Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.StatefulException
-
- StatefulException(String, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.StatefulException
-
- StatefulException(int, String) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.StatefulException
-
- StatefulException(int, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.StatefulException
-
- StatefulException(int, String, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.StatefulException
-
- status - 异常错误 中的变量com.github.jarvisframework.tool.core.exception.StatefulException
-
- step(T, T, int) - 接口 中的方法com.github.jarvisframework.tool.core.lang.Range.Steper
-
增加步进
增加步进后的返回值如果为null则表示步进结束
用户需根据end参数自行定义边界,当达到边界时返回null表示结束,否则Range中边界对象无效,会导致无限循环
- steper - 类 中的变量com.github.jarvisframework.tool.core.lang.Range
-
步进
- stop() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
停止当前任务
- StopWatch - com.github.jarvisframework.tool.core.date中的类
-
秒表封装
此工具用于存储一组任务的耗时时间,并一次性打印对比。
- StopWatch() - 类 的构造器com.github.jarvisframework.tool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch(String) - 类 的构造器com.github.jarvisframework.tool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch(String, boolean) - 类 的构造器com.github.jarvisframework.tool.core.date.StopWatch
-
构造,不启动任何任务
- StopWatch.TaskInfo - com.github.jarvisframework.tool.core.date中的类
-
存放任务名称和花费时间对象
- str(Object, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组
2、对象数组会调用Arrays.toString方法
- str(Object, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组
2、对象数组会调用Arrays.toString方法
- str(byte[], String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将byte数组转为字符串
- str(byte[], Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
解码字节码
- str(Byte[], String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将Byte数组转为字符串
- str(Byte[], Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
解码字节码
- str(ByteBuffer, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将编码的byteBuffer数据转换为字符串
- str(ByteBuffer, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将编码的byteBuffer数据转换为字符串
- str(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
- Strategy() - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateParser.Strategy
-
- strategy - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser.StrategyAndWidth
-
- StrategyAndWidth(FastDateParser.Strategy, int) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateParser.StrategyAndWidth
-
- StrategyParser(Calendar) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateParser.StrategyParser
-
- strBuilder() - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
创建com.github.jarvisframework.tool.core.text.StringBuilder对象
- strBuilder(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
创建com.github.jarvisframework.tool.core.text.StringBuilder对象
- strBuilder(CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
创建com.github.jarvisframework.tool.core.text.StringBuilder对象
- StreamProgress - com.github.jarvisframework.tool.core.io中的接口
-
Stream进度条
- StringBuilder - com.github.jarvisframework.tool.core.text中的类
-
可复用的字符串生成器,非线程安全
- StringBuilder() - 类 的构造器com.github.jarvisframework.tool.core.text.StringBuilder
-
构造
- StringBuilder(int) - 类 的构造器com.github.jarvisframework.tool.core.text.StringBuilder
-
构造
- StringBuilder(CharSequence...) - 类 的构造器com.github.jarvisframework.tool.core.text.StringBuilder
-
构造
- StringConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
字符串转换器
- StringConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.StringConverter
-
- StringFormatter - com.github.jarvisframework.tool.core.text中的类
-
字符串格式化工具
- StringFormatter() - 类 的构造器com.github.jarvisframework.tool.core.text.StringFormatter
-
- StringLiteral(String) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.StringLiteral
-
Constructs a new instance of StringLiteral to hold the specified value.
- StringSpliter - com.github.jarvisframework.tool.core.text中的类
-
字符串切分器
- StringSpliter() - 类 的构造器com.github.jarvisframework.tool.core.text.StringSpliter
-
- stringToUnicode(String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
String的字符串转换成unicode的String
- StringUtils - com.github.jarvisframework.tool.core.util中的类
-
字符串工具类
- StringUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.StringUtils
-
- strip(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去除两边的指定字符串
- strip(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去除两边的指定字符串
- stripIgnoreCase(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去除两边的指定字符串,忽略大小写
- stripIgnoreCase(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去除两边的指定字符串,忽略大小写
- strIpToLong(String) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
把xxx.xxx.xxx.xxx类型的转为long类型的IP
- strToBcd(String) - 类 中的静态方法com.github.jarvisframework.tool.core.codec.BCD
-
字符串转BCD码
- sub(List<T>, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
截取集合的部分
- sub(List<T>, int, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
截取集合的部分
- sub(Collection<T>, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
截取集合的部分
- sub(Collection<T>, int, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
截取集合的部分
- sub(List<T>, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
截取集合的部分
- sub(List<T>, int, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
截取集合的部分
- sub(T[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取子数组
- sub(byte[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取子数组
- sub(int[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取子数组
- sub(long[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取子数组
- sub(short[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取子数组
- sub(char[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取子数组
- sub(double[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取子数组
- sub(float[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取子数组
- sub(boolean[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取子数组
- sub(Object, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取子数组
- sub(Object, int, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
获取子数组
- sub(float, float) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的减法运算
- sub(float, double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的减法运算
- sub(double, float) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的减法运算
- sub(double, double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的减法运算
- sub(Double, Double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的减法运算
- sub(Number, Number) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(Number...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(String...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(BigDecimal...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
提供精确的减法运算
如果传入多个值为null或者空,则返回0
- sub(CharSequence, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
改进JDK subString
index从0开始计算,最后一个字符为-1
如果from和to位置一样,返回 ""
如果from或to为负数,则按照length从后向前数位置,如果绝对值大于字符串长度,则from归到0,to归到length
如果经过修正的index中from大于to,则互换from和to example:
abcdefgh 2 3 =》 c
abcdefgh 2 -3 =》 cde
- subAfter(CharSequence, CharSequence, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下:
StringUtils.subAfter(null, *, false) = null
StringUtils.subAfter("", *, false) = ""
StringUtils.subAfter(*, null, false) = ""
StringUtils.subAfter("abc", "a", false) = "bc"
StringUtils.subAfter("abcba", "b", false) = "cba"
StringUtils.subAfter("abc", "c", false) = ""
StringUtils.subAfter("abc", "d", false) = ""
StringUtils.subAfter("abc", "", false) = "abc"
- subAfter(CharSequence, char, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串,举例如下:
StringUtils.subAfter(null, *, false) = null
StringUtils.subAfter("", *, false) = ""
StringUtils.subAfter("abc", 'a', false) = "bc"
StringUtils.subAfter("abcba", 'b', false) = "cba"
StringUtils.subAfter("abc", 'c', false) = ""
StringUtils.subAfter("abc", 'd', false) = ""
- subBefore(CharSequence, CharSequence, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串为空串"",则返回空串,如果分隔字符串未找到,返回原字符串,举例如下:
StringUtils.subBefore(null, *, false) = null
StringUtils.subBefore("", *, false) = ""
StringUtils.subBefore("abc", "a", false) = ""
StringUtils.subBefore("abcba", "b", false) = "a"
StringUtils.subBefore("abc", "c", false) = "ab"
StringUtils.subBefore("abc", "d", false) = "abc"
StringUtils.subBefore("abc", "", false) = ""
StringUtils.subBefore("abc", null, false) = "abc"
- subBefore(CharSequence, char, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串未找到,返回原字符串,举例如下:
StringUtils.subBefore(null, *, false) = null
StringUtils.subBefore("", *, false) = ""
StringUtils.subBefore("abc", 'a', false) = ""
StringUtils.subBefore("abcba", 'b', false) = "a"
StringUtils.subBefore("abc", 'c', false) = "ab"
StringUtils.subBefore("abc", 'd', false) = "abc"
- subBetween(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
截取指定字符串中间部分,不包括标识字符串
栗子:
StringUtils.subBetween("wx[b]yz", "[", "]") = "b"
StringUtils.subBetween(null, *, *) = null
StringUtils.subBetween(*, null, *) = null
StringUtils.subBetween(*, *, null) = null
StringUtils.subBetween("", "", "") = ""
StringUtils.subBetween("", "", "]") = null
StringUtils.subBetween("", "[", "]") = null
StringUtils.subBetween("yabcz", "", "") = ""
StringUtils.subBetween("yabcz", "y", "z") = "abc"
StringUtils.subBetween("yabczyabcz", "y", "z") = "abc"
- subBetween(CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
截取指定字符串中间部分,不包括标识字符串
栗子:
StringUtils.subBetween(null, *) = null
StringUtils.subBetween("", "") = ""
StringUtils.subBetween("", "tag") = null
StringUtils.subBetween("tagabctag", null) = null
StringUtils.subBetween("tagabctag", "") = ""
StringUtils.subBetween("tagabctag", "tag") = "abc"
- subBetweenAll(CharSequence, CharSequence, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
截取指定字符串多段中间部分,不包括标识字符串
栗子:
StringUtils.subBetweenAll("wx[b]y[z]", "[", "]") = ["b","z"]
StringUtils.subBetweenAll(null, *, *) = []
StringUtils.subBetweenAll(*, null, *) = []
StringUtils.subBetweenAll(*, *, null) = []
StringUtils.subBetweenAll("", "", "") = []
StringUtils.subBetweenAll("", "", "]") = []
StringUtils.subBetweenAll("", "[", "]") = []
StringUtils.subBetweenAll("yabcz", "", "") = []
StringUtils.subBetweenAll("yabcz", "y", "z") = ["abc"]
StringUtils.subBetweenAll("yabczyabcz", "y", "z") = ["abc","abc"]
StringUtils.subBetweenAll("[yabc[zy]abcz]", "[", "]"); = ["zy"] 重叠时只截取内部,
- subByCodePoint(CharSequence, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
通过CodePoint截取字符串,可以截断Emoji
- submit(Runnable) - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- submit(Callable<T>) - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- submit(Runnable, T) - 类 中的方法com.github.jarvisframework.tool.core.thread.DelegatedExecutorService
-
- submit(Callable<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.GlobalThreadPool
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- submit(Runnable) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.GlobalThreadPool
-
执行有返回值的异步方法
Future代表一个异步执行的操作,通过get()方法可以获得操作的结果,如果异步操作还没有完成,则,get()会使当前线程阻塞
- subPath(String, File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得相对子路径
栗子:
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) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获得相对子路径,忽略大小写
栗子:
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) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
获取指定位置的子路径部分,支持负数,例如起始为-1表示从后数第一个节点位置
- subPathBeforePackage(File) - 类 中的方法com.github.jarvisframework.tool.core.lang.ClassScanner
-
截取文件绝对路径中包名之前的部分
- subPre(CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切割指定位置之前部分的字符串
- subPreGbk(CharSequence, int, CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
截取部分字符串,这里一个汉字的长度认为是2
- subSequence(int, int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
- subString(int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
返回自定段的字符串
- subString(int, int) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
返回自定段的字符串
- subSuf(CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切割指定位置之后部分的字符串
- subSufByLength(CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切割指定长度的后部分的字符串
StringUtils.subSufByLength("abcde", 3) = "cde"
StringUtils.subSufByLength("abcde", 0) = ""
StringUtils.subSufByLength("abcde", -5) = ""
StringUtils.subSufByLength("abcde", -1) = ""
StringUtils.subSufByLength("abcde", 5) = "abcde"
StringUtils.subSufByLength("abcde", 10) = "abcde"
StringUtils.subSufByLength(null, 3) = null
- subtract(Collection<T>, Collection<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
计算集合的单差集,即只返回【集合1】中有,但是【集合2】中没有的元素,例如:
subtract([1,2,3,4],[2,3,4,5]) -》 [1]
- subtractToList(Collection<T>, Collection<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
计算集合的单差集,即只返回【集合1】中有,但是【集合2】中没有的元素,例如:
subtractToList([1,2,3,4],[2,3,4,5]) -》 [1]
- subWithLength(String, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
截取字符串,从指定位置开始,截取指定长度的字符串
author weibaohui
- SUNDAY - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
星期日
- swap(int[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
交换数组中两个位置的值
- swap(long[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
交换数组中两个位置的值
- swap(double[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
交换数组中两个位置的值
- swap(float[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
交换数组中两个位置的值
- swap(boolean[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
交换数组中两个位置的值
- swap(byte[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
交换数组中两个位置的值
- swap(char[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
交换数组中两个位置的值
- swap(short[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
交换数组中两个位置的值
- swap(T[], int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
交换数组中两个位置的值
- swap(Object, int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
交换数组中两个位置的值
- swapCase(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
切换给定字符串中的大小写。
- sync(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.thread.ThreadUtils
-
阻塞当前线程,保证在main方法中执行不被退出
- SyncFinisher - com.github.jarvisframework.tool.core.thread中的类
-
description
- SyncFinisher(int) - 类 的构造器com.github.jarvisframework.tool.core.thread.SyncFinisher
-
构造
- SyncFinisher.Worker - com.github.jarvisframework.tool.core.thread中的类
-
工作者,为一个线程
- systemCharset() - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharsetUtils
-
- systemCharsetName() - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharsetUtils
-
- SystemClock - com.github.jarvisframework.tool.core.date中的类
-
系统时钟
高并发场景下System.currentTimeMillis()的性能问题的优化
System.currentTimeMillis()的调用比new一个普通对象要耗时的多(具体耗时高出多少我还没测试过,有人说是100倍左右)
System.currentTimeMillis()之所以慢是因为去跟系统打了一次交道
后台定时更新时钟,JVM退出时,线程自动回收
- SystemClock(long) - 类 的构造器com.github.jarvisframework.tool.core.date.SystemClock
-
构造
- SystemClock.InstanceHolder - com.github.jarvisframework.tool.core.date中的类
-
单例
- SystemGlobal - com.github.jarvisframework.tool.core.properties中的类
-
Spring解析的属性配置对象
- SystemGlobal() - 类 的构造器com.github.jarvisframework.tool.core.properties.SystemGlobal
-
- TAB - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- TAB - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- TableMap<K,V> - com.github.jarvisframework.tool.core.map中的类
-
可重复键和值的Map
通过键值单独建立List方式,使键值对一一对应,实现正向和反向两种查找
无论是正向还是反向,都是遍历列表查找过程,相比标准的HashMap要慢,数据越多越慢
- TableMap(int) - 类 的构造器com.github.jarvisframework.tool.core.map.TableMap
-
构造
- TableMap(K[], V[]) - 类 的构造器com.github.jarvisframework.tool.core.map.TableMap
-
构造
- TableMap.Entry<K,V> - com.github.jarvisframework.tool.core.map中的类
-
- tail(File, LineHandler) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- tail(File, Charset, LineHandler) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- tail(File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
此方法会阻塞当前线程
- Tailer - com.github.jarvisframework.tool.core.io.file中的类
-
文件内容跟随器,实现类似Linux下"tail -f"命令功能
- Tailer(File, LineHandler) - 类 的构造器com.github.jarvisframework.tool.core.io.file.Tailer
-
构造,默认UTF-8编码
- Tailer(File, LineHandler, int) - 类 的构造器com.github.jarvisframework.tool.core.io.file.Tailer
-
构造,默认UTF-8编码
- Tailer(File, Charset, LineHandler) - 类 的构造器com.github.jarvisframework.tool.core.io.file.Tailer
-
构造
- Tailer(File, Charset, LineHandler, int, long) - 类 的构造器com.github.jarvisframework.tool.core.io.file.Tailer
-
构造
- Tailer.ConsoleLineHandler - com.github.jarvisframework.tool.core.io.file中的类
-
命令行打印的行处理器
- targetComponentType - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
目标元素类型
- targetType - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.ArrayConverter
-
- targetType - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.CastConverter
-
- targetType - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.DateConverter
-
- targetType - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.NumberConverter
-
- targetType - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.PrimitiveConverter
-
- targetType - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.ReferenceConverter
-
- targetType - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
- taskCount - 类 中的变量com.github.jarvisframework.tool.core.date.StopWatch
-
总任务数
- TaskInfo(String, long) - 类 的构造器com.github.jarvisframework.tool.core.date.StopWatch.TaskInfo
-
- taskList - 类 中的变量com.github.jarvisframework.tool.core.date.StopWatch
-
- taskName - 类 中的变量com.github.jarvisframework.tool.core.date.StopWatch.TaskInfo
-
- TEMPLATE_VAR - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Console
-
- TemporalAccessorConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
JDK8中新加入的java.time包对象解析转换器
支持的对象包括:
java.time.Instant
java.time.LocalDateTime
java.time.LocalDate
java.time.LocalTime
java.time.ZonedDateTime
java.time.OffsetDateTime
java.time.OffsetTime
- TemporalAccessorConverter(Class<?>) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
构造
- TemporalAccessorConverter(Class<?>, String) - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.TemporalAccessorConverter
-
构造
- test(Runnable) - 类 中的方法com.github.jarvisframework.tool.core.thread.ConcurrencyTester
-
执行测试
- TextField(int, String[]) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TextField
-
Constructs an instance of TextField with the specified field and values.
- TextSimilarity - com.github.jarvisframework.tool.core.text中的类
-
文本相似度计算
工具类提供者:【杭州】fineliving
- TextSimilarity() - 类 的构造器com.github.jarvisframework.tool.core.text.TextSimilarity
-
- thisDayOfMonth() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- thisDayOfWeek() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- thisDayOfWeekEnum() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- thisHour(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- thisMillsecond() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- thisMinute() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- thisMonth() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- thisMonthEnum() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- thisSecond() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- thisWeekOfMonth() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- thisWeekOfYear() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- thisYear() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
- threadFactory - 类 中的变量com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
线程工厂,用于自定义线程创建
- ThreadFactoryBuilder - com.github.jarvisframework.tool.core.thread中的类
-
ThreadFactory创建器
参考:Guava的ThreadFactoryBuilder
- ThreadFactoryBuilder() - 类 的构造器com.github.jarvisframework.tool.core.thread.ThreadFactoryBuilder
-
- threadNumber - 类 中的变量com.github.jarvisframework.tool.core.thread.NamedThreadFactory
-
线程组
- threadPool - 类 中的变量com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
Spring线程池
- threadSize - 类 中的变量com.github.jarvisframework.tool.core.thread.SyncFinisher
-
- ThreadTaskExecutor - com.github.jarvisframework.tool.core.threadexecutor中的类
-
异步处理线程管理类
- ThreadTaskExecutor() - 类 的构造器com.github.jarvisframework.tool.core.threadexecutor.ThreadTaskExecutor
-
- ThreadUtils - com.github.jarvisframework.tool.core.thread中的类
-
线程池工具
- ThreadUtils() - 类 的构造器com.github.jarvisframework.tool.core.thread.ThreadUtils
-
- THURSDAY - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
星期四
- tilNextMillis(long) - 类 中的方法com.github.jarvisframework.tool.core.lang.Snowflake
-
循环等待下一个时间
- tilNextMillis(long) - 类 中的方法com.github.jarvisframework.tool.core.SnowflakeIdWorker
-
阻塞到下一个毫秒,直到获得新的时间戳
- time - 类 中的变量com.github.jarvisframework.tool.core.date.TimeInterval
-
- TIME - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
时间正则
- timeGen() - 类 中的方法com.github.jarvisframework.tool.core.SnowflakeIdWorker
-
返回以毫秒为单位的当前时间
- TimeInterval - com.github.jarvisframework.tool.core.date中的类
-
计时器
计算某个过程花费的时间,精确到毫秒
- TimeInterval() - 类 的构造器com.github.jarvisframework.tool.core.date.TimeInterval
-
构造,默认使用毫秒计数
- TimeInterval(boolean) - 类 的构造器com.github.jarvisframework.tool.core.date.TimeInterval
-
构造
- timeInterval - 类 中的变量com.github.jarvisframework.tool.core.thread.ConcurrencyTester
-
- timeNanos - 类 中的变量com.github.jarvisframework.tool.core.date.StopWatch.TaskInfo
-
- timer() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
计时器
计算某个过程花费的时间,精确到毫秒
- timer(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
计时器
计算某个过程花费的时间,精确到毫秒
- timestamp() - 类 中的方法com.github.jarvisframework.tool.core.lang.UUID
-
与此 UUID 相关联的时间戳值。
- timestampLeftShift - 类 中的变量com.github.jarvisframework.tool.core.lang.Snowflake
-
- timestampLeftShift - 类 中的变量com.github.jarvisframework.tool.core.SnowflakeIdWorker
-
时间截向左移22位(5+5+12)
- timeToSecond(String) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
HH:mm:ss 时间格式字符串转为秒数
参考:https://github.com/iceroot
- timeZone - 类 中的变量com.github.jarvisframework.tool.core.date.DateTime
-
时区
- timeZone - 类 中的变量com.github.jarvisframework.tool.core.date.format.AbstractDateBasic
-
The time zone.
- TimeZoneConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
TimeZone转换器
- TimeZoneConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.TimeZoneConverter
-
- TimeZoneDisplayKey(TimeZone, boolean, int, Locale) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TimeZoneDisplayKey
-
Constructs an instance of TimeZoneDisplayKey with the specified properties.
- TimeZoneNameRule(TimeZone, Locale, int) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TimeZoneNameRule
-
Constructs an instance of TimeZoneNameRule with the specified properties.
- TimeZoneNumberRule(boolean) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TimeZoneNumberRule
-
Constructs an instance of TimeZoneNumberRule with the specified properties.
- TimeZoneStrategy(Locale) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateParser.TimeZoneStrategy
-
Construct a Strategy that parses a TimeZone
- toArray() - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
返回快速缓冲中的数据
- toArray(int, int) - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteBuffer
-
返回快速缓冲中的数据
- toArray(List<String>) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringSpliter
-
List转Array
- toArray(ByteBuffer) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
- toArray(Iterator<T>, Class<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将集合转为数组
- toArray(Iterable<T>, Class<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将集合转为数组
- toArray(Collection<T>, Class<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
将集合转为数组
- toBean(Object, Class<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
对象或Map转Bean
- toBean(Object, Class<T>, CopyOptions) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
对象或Map转Bean
- toBean(Class<T>, ValueProvider<String>, CopyOptions) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
ServletRequest 参数转Bean
- toBean(T) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
转换为Bean对象
- toBean(T, boolean) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
转换为Bean对象
- toBean(Class<T>) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
填充Value Object对象
- toBeanIgnoreCase(Object, Class<T>, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
对象或Map转Bean,忽略字段转换时发生的异常
- toBeanIgnoreCase(T) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
转换为Bean对象
- toBeanIgnoreCase(Class<T>) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
填充Value Object对象,忽略大小写
- toBeanIgnoreError(Object, Class<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
对象或Map转Bean,忽略字段转换时发生的异常
- toBeanWithCamelCase(T) - 类 中的方法com.github.jarvisframework.tool.core.lang.Dictionary
-
转换为Bean对象,并使用驼峰法模式转换
- toBigDecimal(Object, BigDecimal) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为BigDecimal
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBigDecimal(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为BigDecimal
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
- toBigDecimal(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.NumberConverter
-
转换为BigDecimal
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBigDecimal(Number) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toBigDecimal(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toBigInteger(Object, BigInteger) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBigInteger(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toBigInteger(Object) - 类 中的方法com.github.jarvisframework.tool.core.convert.impl.NumberConverter
-
转换为BigInteger
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBigInteger(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
Hex(16进制)字符串转为BigInteger
- toBin(int) - 类 中的静态方法com.github.jarvisframework.tool.core.net.Ipv4Utils
-
- toBoolean(Object, Boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为boolean
String支持的值为:true、false、yes、ok、no,1,0 如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toBoolean(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为boolean
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toBoolean(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
转换字符串为boolean值
- toBooleanArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Boolean数组
- toBuffered(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
- toBuffered(OutputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
- toByte(Object, Byte) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为byte
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toByte(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为byte
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toByte(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为byte
- toByte(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toByte(String, byte) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toByteArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Byte数组
- toByteArray() - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteArrayOutputStream
-
转为Byte数组
- toByteObj(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为Byte
- toBytes(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
int值转byte数组,使用大端字节序(高位字节在前,低位字节在后)
见:http://www.ruanyifeng.com/blog/2016/11/byte-order.html
- toCalendar() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- toCalendar(Locale) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转换为Calendar
- toCalendar(TimeZone) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转换为Calendar
- toCalendar(TimeZone, Locale) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转换为Calendar
- toCamelCase(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将下划线方式命名的字符串转换为驼峰式。
- toCamelCaseMap(Map<K, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
将已知Map转换为key为驼峰风格的Map
如果KEY为非String类型,保留原值
- toChar(Object, Character) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为字符
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toChar(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为字符
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toChar(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为char
- toChar(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
获取给定字符的Char值
- toCharacter(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为Character
- toCharArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Character数组
- toChinese(int, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.NumberChineseFormatter
-
把一个 0~9999 之间的整数转换为汉字的字符串,如果是 0 则返回 ""
- toChinese() - 枚举 中的方法com.github.jarvisframework.tool.core.date.WeekEnum
-
转换为中文名
- toChinese(String) - 枚举 中的方法com.github.jarvisframework.tool.core.date.WeekEnum
-
转换为中文名
- toCollection(Iterable<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
- toCollection(Class<?>, Class<?>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为集合类
- toCombination(AnnotatedElement) - 类 中的静态方法com.github.jarvisframework.tool.core.annotation.AnnotationUtils
-
将指定的被注解的元素转换为组合注解元素
- toCopyOnWriteArrayList(Collection<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
新建一个CopyOnWriteArrayList
- toDate(Object, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Date
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toDate(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Date
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
- toDate(LocalDateTime) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
将LocalDateTime转换为Date类型
- toDateStr() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转为"yyyy-MM-dd" 格式字符串
- today() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
当前日期,格式 yyyy-MM-dd
- toDBC(String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
全角转半角
- toDBC(String, Set<Character>) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
替换全角为半角
- toDigit(char, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将十六进制字符转换成一个整数
- toDouble(Object, Double) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为double
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toDouble(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为double
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toDouble(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为double
- toDouble(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toDouble(String, double) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toDoubleArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Double数组
- toDoubleObj(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为double
- toEnum(Class<E>, Object, E) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值
- toEnum(Class<E>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Enum对象
如果给定的值为空,或者转换失败,返回默认值null
- toFloat(Object, Float) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Float
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toFloat(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Float
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toFloat(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为float
- toFloat(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toFloat(String, float) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toFloatArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Float数组
- toFloatObj(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为Float
- toHex(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
字符串转换成十六进制字符串,结果为小写
- toHex(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
byte数组转16进制串
- toHex(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
转为16进制字符串
- toHex(long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
转为16进制字符串
- toInstant(Object, Date) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
Instant
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toInstant(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
CalendarInstant对象
- toInstant(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
Date对象转换为Instant对象
- toInstant(TemporalAccessor) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
Date对象转换为Instant对象
- toInt(Object, Integer) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为int
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toInt(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为int
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toInt(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为int
- toInt(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
byte数组转int,使用大端字节序(高位字节在前,低位字节在后)
见:http://www.ruanyifeng.com/blog/2016/11/byte-order.html
- toInt(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
字符转int
- toInt(String, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
字符转int
- toIntArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Integer数组
- toInteger(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为Integer
- toIntSecond(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
格式化成yyMMddHHmm后转换为int型
- toJdkDate() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转换为
Date
考虑到很多框架(例如Hibernate)的兼容性,提供此方法返回JDK原生的Date对象
- toLinkedList(T...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
新建LinkedList
- toList() - 类 中的方法com.github.jarvisframework.tool.core.collection.BoundedPriorityQueue
-
- toList(T...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
数组转为ArrayList
- toList(Iterable<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
Iterator转List
不判断,直接生成新的List
- toList(Iterator<E>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
Iterator转List
不判断,直接生成新的List
- toList(T...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
新建一个ArrayList
- toList(Collection<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
新建一个ArrayList
- toList(Iterable<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
- toList(Iterator<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
- toList(Enumeration<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
- toList(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为ArrayList,元素类型默认Object
- toList(Class<T>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为ArrayList
- toListMap(Iterable<? extends Map<K, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
行转列,合并相同的键,值合并为列表
将Map列表中相同key的值组成列表做为Map的value
是
CollectionUtils.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>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
将列表转成值为List的HashMap
- toListMap(Iterable<T>, Function<T, K>, Function<T, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
将列表转成值为List的HashMap
- toListMap(Map<K, List<V>>, Iterable<T>, Function<T, K>, Function<T, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
将列表转成值为List的HashMap
- toListMap(Iterable<? extends Map<K, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
行转列,合并相同的键,值合并为列表
将Map列表中相同key的值组成列表做为Map的value
是
MapUtils.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) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
LocalDateTime
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toLocalDateTime(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为LocalDateTime
如果给定的值为空,或者转换失败,返回null
转换失败不会报错
- toLocalDateTime(Calendar) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
- toLocalDateTime(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils
-
将Date转换为LocalDateTime类型
- toLocalDateTime(Instant) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
Instant 转换为 LocalDateTime,使用系统默认时区
- toLocalDateTime(Date) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
Date 转换为
LocalDateTime,使用系统默认时区
- toLong(Object, Long) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为long
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toLong(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为long
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toLong(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为long
- toLong(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
字符转数long
- toLong(String, long) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
字符转数long
- toLongArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Long数组
- toLongObj(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为Long
- toMap(Iterable<Map.Entry<K, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
将Entry集合转换为HashMap
- toMap(Object[]) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
将数组转换为Map(HashMap),支持数组元素类型为:
Map.Entry
长度大于1的数组(取前两个值),如果不满足跳过此元素
Iterable 长度也必须大于1(取前两个值),如果不满足跳过此元素
Iterator 长度也必须大于1(取前两个值),如果不满足跳过此元素
Map<Object, Object> colorMap = CollectionUtils.toMap(new String[][] {{
{"RED", "#FF0000"},
{"GREEN", "#00FF00"},
{"BLUE", "#0000FF"}});
参考:commons-lang
- toMap(Iterable<V>, Map<K, V>, Func1<V, K>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,元素作为值
- toMap(Iterable<E>, Map<K, V>, Func1<E, K>, Func1<E, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,按照valueFunc函数规则根据元素对象生成value组成新的Map
- toMap(Iterable<Map.Entry<K, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
将Entry集合转换为HashMap
- toMap(Iterable<K>, Iterable<V>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Iterable<K>, Iterable<V>, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Iterator<K>, Iterator<V>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Iterator<K>, Iterator<V>, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
将键列表和值列表转换为Map
以键为准,值与键位置需对应。
- toMap(Iterable<V>, Function<V, K>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
将列表转成HashMap
- toMap(Iterable<T>, Function<T, K>, Function<T, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
将列表转成HashMap
- toMap(Map<K, V>, Iterable<T>, Function<T, K>, Function<T, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
将列表转成Map
- toMap(Iterator<V>, Map<K, V>, Func1<V, K>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
Iterator转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,元素作为值
- toMap(Iterator<E>, Map<K, V>, Func1<E, K>, Func1<E, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
集合转换为Map,转换规则为:
按照keyFunc函数规则根据元素对象生成Key,按照valueFunc函数规则根据元素对象生成value组成新的Map
- toMap(Class<K>, Class<V>, Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Map
- toMapList(Map<K, ? extends Iterable<V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
列转行。
- toMapList(Map<K, ? extends Iterable<V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
列转行。
- toMarkSupportStream(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
- tomorrow() - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
明天
- toMsStr() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- toNumber(Object, Number) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Number
如果给定的值为空,或者转换失败,返回默认值
转换失败不会报错
- toNumber(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Number
如果给定的值为空,或者转换失败,返回默认值null
转换失败不会报错
- toNumberArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Number数组
- toObjectArray(Map<?, ?>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
将键值对转换为二维数组,第一维是key,第二纬是value
- toParameterizedType(Type) - 类 中的静态方法com.github.jarvisframework.tool.core.util.TypeUtils
-
- toPrimitiveByteArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Byte数组
- toProxyBean(Class<T>) - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
将Map代理为指定接口的动态代理对象
- toPushbackStream(InputStream, int) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
- toSBC(String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
半角转全角
- toSBC(String, Set<Character>) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
半角转全角
- toShort(Object, Short) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Short
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toShort(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Short
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toShort(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为short
- toShort(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toShort(String, short) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toShortArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为Short数组
- toShortObj(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
boolean值转为Short
- toSqlDate() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- toStr(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.net.url.UrlQuery
-
对象转换为字符串,用于URL的Query中
- toStr(Number, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toStr(Number) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
- toStream(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
String 转为流
- toStream(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
String 转为流
- toStream(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
文件转为流
- toStream(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
String 转为流
- toString() - 类 中的方法com.github.jarvisframework.tool.core.bean.DynaBean
-
- toString(Object, String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为字符串
如果给定的值为null,或者转换失败,返回默认值
转换失败不会报错
- toString(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为字符串
如果给定的值为null,或者转换失败,返回默认值null
转换失败不会报错
- toString() - 类 中的方法com.github.jarvisframework.tool.core.date.BetweenFormat
-
- toString(BetweenFormat.Level) - 类 中的方法com.github.jarvisframework.tool.core.date.DateBetween
-
格式化输出时间差
- toString() - 类 中的方法com.github.jarvisframework.tool.core.date.DateBetween
-
- toString() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
如果时区被设置,会转换为其时区对应的时间,否则转换为当前地点对应的时区
- toString(TimeZone) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
如果时区不为null,会转换为其时区对应的时间,否则转换为当前时间对应的时区
- toString(String) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转为字符串
- toString(DatePrinter) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转为字符串
- toString(DateFormat) - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转为字符串
- toString() - 类 中的方法com.github.jarvisframework.tool.core.date.format.AbstractDateBasic
-
- toString() - 类 中的方法com.github.jarvisframework.tool.core.date.format.FastDateFormat
-
- toString() - 类 中的方法com.github.jarvisframework.tool.core.date.StopWatch
-
- toString() - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteArrayOutputStream
-
- toString(String) - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteArrayOutputStream
-
转为字符串
- toString(Charset) - 类 中的方法com.github.jarvisframework.tool.core.io.FastByteArrayOutputStream
-
转为字符串
- toString() - 类 中的方法com.github.jarvisframework.tool.core.io.resource.ClassPathResource
-
- toString() - 类 中的方法com.github.jarvisframework.tool.core.io.resource.UrlResource
-
返回路径
- toString() - 类 中的方法com.github.jarvisframework.tool.core.lang.mutable.MutableObject
-
- toString() - 类 中的方法com.github.jarvisframework.tool.core.lang.Optional
-
Returns a non-empty string representation of this Optional suitable for
debugging.
- toString() - 类 中的方法com.github.jarvisframework.tool.core.lang.ParameterizedTypeImpl
-
- toString() - 类 中的方法com.github.jarvisframework.tool.core.lang.Tuple
-
- toString() - 类 中的方法com.github.jarvisframework.tool.core.lang.TypeReference
-
- toString() - 类 中的方法com.github.jarvisframework.tool.core.lang.UUID
-
返回此UUID 的字符串表现形式。
- toString(boolean) - 类 中的方法com.github.jarvisframework.tool.core.lang.UUID
-
返回此UUID 的字符串表现形式。
- toString() - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- toString() - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- toString() - 类 中的方法com.github.jarvisframework.tool.core.net.url.UrlQuery
-
- toString(char) - 类 中的静态方法com.github.jarvisframework.tool.core.text.AsciiStringCache
-
字符转为字符串
如果为ASCII字符,使用缓存
- toString(boolean) - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
生成字符串
- toString() - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
生成字符串
- toString(String) - 类 中的静态方法com.github.jarvisframework.tool.core.text.UnicodeUtils
-
Unicode字符串转为普通字符串
Unicode字符串的表现方式为:\\uXXXX
- toString(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
数组或集合转String
- toString(boolean, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
将boolean转换为字符串
BooleanUtils.toString(true, "true", "false") = "true"
BooleanUtils.toString(false, "true", "false") = "false"
- toString(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.CharUtils
-
字符转为字符串
如果为ASCII字符,使用缓存
- toString(Enum<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.util.EnumUtils
-
- toString(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
将Object转为String
策略为:
1、null转为"null"
2、调用Convert.toStr(Object)转换
- toString(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
调用对象的toString方法,null会返回“null”
- toStringAndReset() - 类 中的方法com.github.jarvisframework.tool.core.text.StringBuilder
-
重置并返回生成的字符串
- toStringArray(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
转换为String数组
- toStringDefaultTimeZone() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转为"yyyy-MM-dd HH:mm:ss" 格式字符串
时区使用当前地区的默认时区
- toStringOnOff(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
将boolean转换为字符串 'on' 或者 'off'.
- toStringTrueFalse(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
将boolean转换为字符串 'true' 或者 'false'.
- toStringYesNo(boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.BooleanUtils
-
将boolean转换为字符串 'yes' 或者 'no'.
- toSymbolCase(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将驼峰式命名的字符串转换为使用符号连接方式。
- totalLength(CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.text.StringBuilder
-
给定字符串数组的总长度
null字符长度定义为0
- totalLength(CharSequence...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串数组的总长度
null字符长度定义为0
- totalPage(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.PageUtils
-
根据总数计算总页数
- totalTimeNanos - 类 中的变量com.github.jarvisframework.tool.core.date.StopWatch
-
总运行时间
- toTimestamp() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
- toTimeStr() - 类 中的方法com.github.jarvisframework.tool.core.date.DateTime
-
转为"HH:mm:ss" 格式字符串
- toTreeSet(Collection<T>, Comparator<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
将集合转换为排序后的TreeSet
- touch(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(File) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(File, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- touch(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.FileUtils
-
创建文件及其父目录,如果这个文件存在,直接返回这个文件
此方法不对File对象类型做判断,如果File不存在,无法判断其类型
- toUnderlineCase(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将驼峰式命名的字符串转换为下划线方式。
- toUnicode(String) - 类 中的静态方法com.github.jarvisframework.tool.core.text.UnicodeUtils
-
字符串编码为Unicode形式
- toUnicode(String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.text.UnicodeUtils
-
字符串编码为Unicode形式
- toUnicodeHex(int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将指定int值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如:
'我' =》你
- toUnicodeHex(char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.HexUtils
-
将指定char值转换为Unicode字符串形式,常用于特殊字符(例如汉字)转Unicode形式
转换的字符串如果u后不足4位,则前面用0填充,例如:
'我' =》你
- toUnsignedByteArray(BigInteger) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
以无符号字节数组的形式返回传入值。
- toUnsignedByteArray(int, BigInteger) - 类 中的静态方法com.github.jarvisframework.tool.core.util.NumberUtils
-
以无符号字节数组的形式返回传入值。
- toURI(URL) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
转URL为URI
- toURI(URL, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
转URL为URI
- toURI(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
转字符串为URI
- toURI(String, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
转字符串为URI
- toUrlForHttp(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
将URL字符串转换为URL对象,并做必要验证
- toUrlForHttp(String, URLStreamHandler) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
将URL字符串转换为URL对象,并做必要验证
- toUtf8Stream(String) - 类 中的静态方法com.github.jarvisframework.tool.core.io.IOUtils
-
String 转为UTF-8编码的字节流流
- TRADITIONAL_DIGITS - 类 中的静态变量com.github.jarvisframework.tool.core.convert.NumberChineseFormatter
-
繁体中文形式
- TRADITIONAL_UNITS - 类 中的静态变量com.github.jarvisframework.tool.core.convert.NumberChineseFormatter
-
繁体中文单位
- trans(Collection<F>, Function<? super F, ? extends T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
使用给定的转换函数,转换源集合为新类型的集合
- trans(Iterator<F>, Function<? super F, ? extends T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.IterUtils
-
- trans(Spliterator<F>, Function<? super F, ? extends T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.SpliteratorUtils
-
- TransCollection<F,T> - com.github.jarvisframework.tool.core.collection中的类
-
使用给定的转换函数,转换源集合为新类型的集合
- TransCollection(Collection<F>, Function<? super F, ? extends T>) - 类 的构造器com.github.jarvisframework.tool.core.collection.TransCollection
-
构造
- transform(String) - 类 中的静态方法com.github.jarvisframework.tool.core.math.Calculator
-
将表达式中负数的符号更改
- transientSupport - 类 中的变量com.github.jarvisframework.tool.core.bean.copier.CopyOptions
-
是否支持transient关键字修饰和@Transient注解,如果支持,被修饰的字段或方法对应的字段将被忽略。
- TransIter<F,T> - com.github.jarvisframework.tool.core.collection中的类
-
- TransIter(Iterator<? extends F>, Function<? super F, ? extends T>) - 类 的构造器com.github.jarvisframework.tool.core.collection.TransIter
-
构造
- TransSpliterator<F,T> - com.github.jarvisframework.tool.core.collection中的类
-
- TransSpliterator(Spliterator<F>, Function<? super F, ? extends T>) - 类 的构造器com.github.jarvisframework.tool.core.collection.TransSpliterator
-
- transThree(String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.NumberWordFormatter
-
制作叁位的数
s.length = 3
- transToStartEnd(int, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.PageUtils
-
将页数和每页条目数转换为开始位置和结束位置
此方法用于包括结束位置的分页方法
例如:
页码:0,每页10 =》 [0, 10]
页码:1,每页10 =》 [10, 20]
……
当
PageUtils.setFirstPageNo(int)设置为1时:
页码:1,每页10 =》 [0, 10]
页码:2,每页10 =》 [10, 20]
……
- transTwo(String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.NumberWordFormatter
-
两位
- trim(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
除去字符串头尾部的空白,如果字符串是null,依然返回null。
- trim(String[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
给定字符串数组全部做去首尾空格
- trim(CharSequence, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
除去字符串头尾部的空白符,如果字符串是null,依然返回null。
- trimEnd(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
除去字符串尾部的空白,如果字符串是null,则返回null。
- trimStart(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
除去字符串头部的空白,如果字符串是null,则返回null。
- trimStrFields(T, String...) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanUtils
-
把Bean里面的String属性做trim操作。
- trimToEmpty(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
除去字符串头尾部的空白,如果字符串是null,返回""。
- trimToNull(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
除去字符串头尾部的空白,如果字符串是null,返回""。
- TRUE_ARRAY - 类 中的静态变量com.github.jarvisframework.tool.core.util.BooleanUtils
-
表示为真的字符串
- truncate(Calendar, DateFieldEnum) - 类 中的静态方法com.github.jarvisframework.tool.core.date.CalendarUtils
-
修改日期为某个时间字段起始时间
- truncate(Date, DateFieldEnum) - 类 中的静态方法com.github.jarvisframework.tool.core.date.DateUtils
-
修改日期为某个时间字段起始时间
- tryAdvance(Consumer<? super T>) - 类 中的方法com.github.jarvisframework.tool.core.collection.TransSpliterator
-
- tryConvertEnum(Object, Class) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.impl.EnumConverter
-
尝试找到类似转换的静态方法调用实现转换
- tryCreateCaller() - 类 中的静态方法com.github.jarvisframework.tool.core.lang.caller.CallerUtils
-
- tryLoadInnerClass(String, ClassLoader, boolean) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ClassLoaderUtils
-
尝试转换并加载内部类,例如java.lang.Thread.State =》java.lang.Thread$State
- tryLock() - 类 中的方法com.github.jarvisframework.tool.core.thread.lock.NoLock
-
- tryLock(long, TimeUnit) - 类 中的方法com.github.jarvisframework.tool.core.thread.lock.NoLock
-
- trySplit() - 类 中的方法com.github.jarvisframework.tool.core.collection.TransSpliterator
-
- TUESDAY - 类 中的静态变量com.github.jarvisframework.tool.core.date.DateTimeUtils
-
星期二
- Tuple - com.github.jarvisframework.tool.core.lang中的类
-
不可变数组类型,用于多值返回
多值可以支持每个元素值类型不同
- Tuple(Object...) - 类 的构造器com.github.jarvisframework.tool.core.lang.Tuple
-
构造
- TwelveHourField(FastDatePrinter.NumberRule) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwelveHourField
-
Constructs an instance of TwelveHourField with the specified NumberRule.
- TwentyFourHourField(FastDatePrinter.NumberRule) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwentyFourHourField
-
Constructs an instance of TwentyFourHourField with the specified NumberRule.
- twepoch - 类 中的变量com.github.jarvisframework.tool.core.lang.Snowflake
-
- TwoDigitMonthField() - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitMonthField
-
Constructs an instance of TwoDigitMonthField.
- TwoDigitNumberField(int) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitNumberField
-
Constructs an instance of TwoDigitNumberField with the specified field.
- TwoDigitYearField() - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.TwoDigitYearField
-
Constructs an instance of TwoDigitYearField.
- type - 类 中的变量com.github.jarvisframework.tool.core.lang.TypeReference
-
泛型参数
- TypeReference<T> - com.github.jarvisframework.tool.core.lang中的类
-
Type类型参考
通过构建一个类型参考子类,可以获取其泛型参数中的Type类型。
- TypeReference() - 类 的构造器com.github.jarvisframework.tool.core.lang.TypeReference
-
构造
- TypeUtils - com.github.jarvisframework.tool.core.util中的类
-
针对
Type 的工具类封装
最主要功能包括:
1.
- TypeUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.TypeUtils
-
- TzInfo(TimeZone, boolean) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDateParser.TimeZoneStrategy.TzInfo
-
- tzNames - 类 中的变量com.github.jarvisframework.tool.core.date.format.FastDateParser.TimeZoneStrategy
-
- uncaughtExceptionHandler - 类 中的变量com.github.jarvisframework.tool.core.thread.ThreadFactoryBuilder
-
未捕获异常处理器
- UNDERLINE - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharUtils
-
- UNDERLINE - 类 中的静态变量com.github.jarvisframework.tool.core.util.StringUtils
-
- unGzip(byte[], String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
Gzip解压缩处理
- unGzip(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
Gzip解压处理
- unGzip(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
Gzip解压处理
- unGzip(InputStream, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
Gzip解压处理
- unicodeToString(String) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
unicode的String转换成String的字符串
- UnicodeUtils - com.github.jarvisframework.tool.core.text中的类
-
提供Unicode字符串和普通字符串之间的转换
- UnicodeUtils() - 类 的构造器com.github.jarvisframework.tool.core.text.UnicodeUtils
-
- union(Collection<T>, Collection<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
两个集合的并集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最多的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c],此结果中只保留了三个c
- union(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
多个集合的并集
针对一个集合中存在多个相同元素的情况,计算两个集合中此元素的个数,保留最多的个数
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c],此结果中只保留了三个c
- unionAll(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
多个集合的完全并集,类似于SQL中的“UNION ALL”
针对一个集合中存在多个相同元素的情况,保留全部元素
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c, c, c, a, b, c, c]
- unionDistinct(Collection<T>, Collection<T>, Collection<T>...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
多个集合的非重复并集,类似于SQL中的“UNION DISTINCT”
针对一个集合中存在多个相同元素的情况,只保留一个
例如:集合1:[a, b, c, c, c],集合2:[a, b, c, c]
结果:[a, b, c],此结果中只保留了一个c
- UNIX_SEPARATOR - 类 中的静态变量com.github.jarvisframework.tool.core.io.FileUtils
-
类Unix路径分隔符
- unlock() - 类 中的方法com.github.jarvisframework.tool.core.thread.lock.NoLock
-
- unmodifiable(Collection<? extends T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
转为只读集合
- unmodifiable(List<T>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.ListUtils
-
将对应List转换为不可修改的List
- unmodifiable(Map<K, V>) - 类 中的静态方法com.github.jarvisframework.tool.core.map.MapUtils
-
将对应Map转换为不可修改的Map
- UnpaddedMonthField() - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.UnpaddedMonthField
-
Constructs an instance of UnpaddedMonthField.
- UnpaddedNumberField(int) - 类 的构造器com.github.jarvisframework.tool.core.date.format.FastDatePrinter.UnpaddedNumberField
-
Constructs an instance of UnpadedNumberField with the specified field.
- unserialize(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ObjectUtils
-
- unWrap(Class<?>) - 枚举 中的静态方法com.github.jarvisframework.tool.core.convert.BasicType
-
包装类转为原始类,非包装类返回原类
- unWrap(Class<?>) - 类 中的静态方法com.github.jarvisframework.tool.core.convert.Convert
-
包装类转为原始类,非包装类返回原类
- unwrap(Throwable) - 类 中的静态方法com.github.jarvisframework.tool.core.exception.ExceptionUtils
-
剥离反射引发的InvocationTargetException、UndeclaredThrowableException中间异常,返回业务本身的异常
- unWrap(Integer...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
包装类数组转为原始类型数组
- unWrap(Long...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
包装类数组转为原始类型数组
- unWrap(Character...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
包装类数组转为原始类型数组
- unWrap(Byte...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
包装类数组转为原始类型数组
- unWrap(Short...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
包装类数组转为原始类型数组
- unWrap(Float...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
包装类数组转为原始类型数组
- unWrap(Double...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
包装类数组转为原始类型数组
- unWrap(Boolean...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ArrayUtils
-
包装类数组转为原始类型数组
- unWrap(CharSequence, String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去掉字符包装,如果未被包装则返回原字符串
- unWrap(CharSequence, char, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去掉字符包装,如果未被包装则返回原字符串
- unWrap(CharSequence, char) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
去掉字符包装,如果未被包装则返回原字符串
- unWrapIfPossible(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.bean.BeanPath
-
对于非表达式去除单引号
- unzip(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压到文件名相同的目录中,默认编码UTF-8
- unzip(String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压到文件名相同的目录中
- unzip(File) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压到文件名相同的目录中,使用UTF-8编码
- unzip(File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压到文件名相同的目录中
- unzip(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压,默认UTF-8编码
- unzip(String, String, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压
- unzip(File, File) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压,默认使用UTF-8编码
- unzip(File, File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压
- unzip(ZipFile, File) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压
- unzip(InputStream, File, Charset) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压
ZIP条目不使用高速缓冲。
- unzip(ZipInputStream, File) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压
ZIP条目不使用高速缓冲。
- unzipFileBytes(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
从Zip文件中提取指定的文件为bytes
- unzipFileBytes(String, Charset, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
从Zip文件中提取指定的文件为bytes
- unzipFileBytes(File, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
从Zip文件中提取指定的文件为bytes
- unzipFileBytes(File, Charset, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
从Zip文件中提取指定的文件为bytes
- unZlib(byte[], String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
Zlib解压缩处理
- unZlib(byte[]) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压缩zlib
- unZlib(InputStream) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压缩zlib
- unZlib(InputStream, int) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
解压缩zlib
- upperFirst(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
大写首字母
例如:str = name, return Name
- upperFirstAndAddPre(CharSequence, String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
原字符串首字母大写并在其首部添加指定字符串 例如:str=name, preString=get =》 return getName
- URIConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
URI对象转换器
- URIConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.URIConverter
-
- url - 类 中的变量com.github.jarvisframework.tool.core.io.resource.UrlResource
-
- URL - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
URL
- URL - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
URL
- url(String) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
通过一个字符串形式的URL地址创建URL对象
- url(String, URLStreamHandler) - 类 中的静态方法com.github.jarvisframework.tool.core.util.UrlUtils
-
通过一个字符串形式的URL地址创建URL对象
- URL_HTTP - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
Http URL
- URL_HTTP - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
Http URL
- URL_PROTOCOL_FILE - 类 中的静态变量com.github.jarvisframework.tool.core.util.UrlUtils
-
URL 协议表示文件: "file"
- URL_PROTOCOL_JAR - 类 中的静态变量com.github.jarvisframework.tool.core.util.UrlUtils
-
URL 协议表示Jar文件: "jar"
- URL_PROTOCOL_VFS - 类 中的静态变量com.github.jarvisframework.tool.core.util.UrlUtils
-
URL 协议表示JBoss VFS资源: "vfs"
- URL_PROTOCOL_VFSFILE - 类 中的静态变量com.github.jarvisframework.tool.core.util.UrlUtils
-
URL 协议表示JBoss文件: "vfsfile"
- URL_PROTOCOL_VFSZIP - 类 中的静态变量com.github.jarvisframework.tool.core.util.UrlUtils
-
URL 协议表示JBoss zip文件: "vfszip"
- URL_PROTOCOL_WSJAR - 类 中的静态变量com.github.jarvisframework.tool.core.util.UrlUtils
-
URL 协议表示WebSphere文件: "wsjar"
- URL_PROTOCOL_ZIP - 类 中的静态变量com.github.jarvisframework.tool.core.util.UrlUtils
-
URL 协议表示zip文件: "zip"
- URL_SAFE_ENCODE_TABLE - 类 中的静态变量com.github.jarvisframework.tool.core.codec.Base64Encoder
-
URL安全的编码表,将 + 和 / 替换为 - 和 _
- URLConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
URL对象转换器
- URLConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.URLConverter
-
- URLDecoder - com.github.jarvisframework.tool.core.net中的类
-
URL解码,数据内容的类型是 application/x-www-form-urlencoded。
- URLDecoder() - 类 的构造器com.github.jarvisframework.tool.core.net.URLDecoder
-
- URLEncoder - com.github.jarvisframework.tool.core.net中的类
-
URL编码,数据内容的类型是 application/x-www-form-urlencoded。
- URLEncoder() - 类 的构造器com.github.jarvisframework.tool.core.net.URLEncoder
-
构造
[a-zA-Z0-9]默认不被编码
- URLEncoder(BitSet) - 类 的构造器com.github.jarvisframework.tool.core.net.URLEncoder
-
构造
- UrlQuery - com.github.jarvisframework.tool.core.net.url中的类
-
URL中查询字符串部分的封装,类似于:
key1=v1&key2=&key3=v3
- UrlQuery() - 类 的构造器com.github.jarvisframework.tool.core.net.url.UrlQuery
-
构造
- UrlQuery(Map<? extends CharSequence, ?>) - 类 的构造器com.github.jarvisframework.tool.core.net.url.UrlQuery
-
构造
- UrlResource - com.github.jarvisframework.tool.core.io.resource中的类
-
URL资源访问类
- UrlResource(URL) - 类 的构造器com.github.jarvisframework.tool.core.io.resource.UrlResource
-
构造
- UrlResource(URL, String) - 类 的构造器com.github.jarvisframework.tool.core.io.resource.UrlResource
-
构造
- UrlResource(File) - 类 的构造器com.github.jarvisframework.tool.core.io.resource.UrlResource
-
- UrlUtils - com.github.jarvisframework.tool.core.util中的类
-
URL(Uniform Resource Locator)统一资源定位符相关工具类
统一资源定位符,描述了一台特定服务器上某资源的特定位置。
- UrlUtils() - 类 的构造器com.github.jarvisframework.tool.core.util.UrlUtils
-
- useArrayBlockingQueue(int) - 类 中的方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
- useSynchronousQueue() - 类 中的方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
- useSynchronousQueue(boolean) - 类 中的方法com.github.jarvisframework.tool.core.thread.ExecutorBuilder
-
- useSystemClock - 类 中的变量com.github.jarvisframework.tool.core.lang.Snowflake
-
- UTC_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- UTC_MS_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- UTC_MS_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
UTC时间:yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
- UTC_MS_WITH_ZONE_OFFSET_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- UTC_MS_WITH_ZONE_OFFSET_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
UTC时间:yyyy-MM-dd'T'HH:mm:ssZ
- UTC_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
UTC时间:yyyy-MM-dd'T'HH:mm:ss'Z'
- UTC_SIMPLE_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- UTC_SIMPLE_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
UTC时间:yyyy-MM-dd'T'HH:mm:ss
- UTC_TIME_ZONE_WITH_OFFSET - 类 中的静态变量com.github.jarvisframework.tool.core.date.format.FastDateParser.TimeZoneStrategy
-
- UTC_WITH_ZONE_OFFSET_FORMAT - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
- UTC_WITH_ZONE_OFFSET_PATTERN - 类 中的静态变量com.github.jarvisframework.tool.core.date.DatePattern
-
UTC时间:yyyy-MM-dd'T'HH:mm:ssZ
- utf8Bytes(CharSequence) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
编码字符串,编码为UTF-8
- utf8Str(Object) - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
- UTF_8 - 类 中的静态变量com.github.jarvisframework.tool.core.util.CharsetUtils
-
UTF-8
- UtilException - com.github.jarvisframework.tool.core.exception中的异常错误
-
工具类的异常类
- UtilException(Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.UtilException
-
- UtilException(String) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.UtilException
-
- UtilException(String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.UtilException
-
- UtilException(String, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.UtilException
-
- UtilException(Throwable, String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.UtilException
-
- UUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
UUID
- UUID - com.github.jarvisframework.tool.core.lang中的类
-
提供通用唯一识别码(universally unique identifier)(UUID)实现,UUID表示一个128位的值。
- UUID(byte[]) - 类 的构造器com.github.jarvisframework.tool.core.lang.UUID
-
私有构造
- UUID(long, long) - 类 的构造器com.github.jarvisframework.tool.core.lang.UUID
-
使用指定的数据构造新的 UUID。
- UUID - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
UUID
- uuid() - 类 中的静态方法com.github.jarvisframework.tool.core.util.StringUtils
-
生成随机UUID
- UUID.Holder - com.github.jarvisframework.tool.core.lang中的类
-
- UUID_SIMPLE - 类 中的静态变量com.github.jarvisframework.tool.core.lang.PatternPool
-
不带横线的UUID
- UUID_SIMPLE - 类 中的静态变量com.github.jarvisframework.tool.core.lang.Validator
-
不带横线的UUID
- UUIDConverter - com.github.jarvisframework.tool.core.convert.impl中的类
-
UUID对象转换器转换器
- UUIDConverter() - 类 的构造器com.github.jarvisframework.tool.core.convert.impl.UUIDConverter
-
- validateBetween(Number, Number, Number, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
检查给定的数字是否在指定范围内
- validateBirthday(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证验证是否为生日
- validateChinese(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为汉字
- validateCitizenIdNumber(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为身份证号码(18位中国)
出生日期只支持到到2999年
- validateClassName(String) - 类 中的方法com.github.jarvisframework.tool.core.io.ValidateObjectInputStream
-
验证反序列化的类是否合法
- validateEmail(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为可用邮箱地址
- validateEmpty(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为空,非空时抛出异常
对于String类型判定是否为empty(null 或 "")
- validateEqual(Object, Object, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否相等,不相等抛出异常
- ValidateException - com.github.jarvisframework.tool.core.exception中的异常错误
-
验证异常
- ValidateException() - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.ValidateException
-
- ValidateException(String) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.ValidateException
-
- ValidateException(String, Object...) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.ValidateException
-
- ValidateException(Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.ValidateException
-
- ValidateException(String, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.ValidateException
-
- ValidateException(int, String) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.ValidateException
-
- ValidateException(int, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.ValidateException
-
- ValidateException(int, String, Throwable) - 异常错误 的构造器com.github.jarvisframework.tool.core.exception.ValidateException
-
- validateFalse(boolean, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
检查指定值是否为false
- validateFiles(File, File...) - 类 中的静态方法com.github.jarvisframework.tool.core.util.ZipUtils
-
判断压缩文件保存的路径是否为源文件路径的子文件夹,如果是,则抛出异常(防止无限递归压缩的发生)
- validateGeneral(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为英文字母 、数字和下划线
- validateGeneral(T, int, int, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为给定长度范围的英文字母 、数字和下划线
- validateGeneral(T, int, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为给定最小长度的英文字母 、数字和下划线
- validateGeneralWithChinese(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为中文字、英文字母、数字和下划线
- validateHex(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为Hex(16进制)字符串
- validateIpv4(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为IPV4地址
- validateIpv6(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为IPV6地址
- validateLetter(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否全部为字母组成,包括大写和小写字母和汉字
- validateLowerCase(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证字符串是否全部为小写字母
- validateMac(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为MAC地址
- validateMatchRegex(String, T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
- validateMobile(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为手机号码(中国)
- validateMoney(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为货币
- validateNotEmpty(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为非空,为空时抛出异常
对于String类型判定是否为empty(null 或 "")
- validateNotEmptyAndEqual(Object, Object, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值不等时抛出异常
- validateNotEmptyAndNotEqual(Object, Object, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否非空且与指定值相等
当数据为空时抛出验证异常
当两值相等时抛出异常
- validateNotEqual(Object, Object, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否不等,相等抛出异常
- validateNotNull(T, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
检查指定值是否非null
- validateNull(T, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
检查指定值是否为null
- validateNumber(String, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为数字
- ValidateObjectInputStream - com.github.jarvisframework.tool.core.io中的类
-
带有类验证的对象流,用于避免反序列化漏洞
详细见:https://xz.aliyun.com/t/41/
- ValidateObjectInputStream(InputStream, Class<?>...) - 类 的构造器com.github.jarvisframework.tool.core.io.ValidateObjectInputStream
-
构造
- validatePlateNumber(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为中国车牌号
- validateTrue(boolean, String, Object...) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
检查指定值是否为true
- validateUpperCase(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证字符串是否全部为大写字母
- validateUrl(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为URL
- validateUUID(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为UUID
包括带横线标准格式和不带横线的简单模式
- validateWord(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为字母(包括大写和小写字母)
- validateZipCode(T, String) - 类 中的静态方法com.github.jarvisframework.tool.core.lang.Validator
-
验证是否为邮政编码(中国)
- Validator - com.github.jarvisframework.tool.core.lang中的类
-
字段验证器
- Validator() - 类 的构造器com.github.jarvisframework.tool.core.lang.Validator
-
- value(String, Type) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.provider.BeanValueProvider
-
- value(String, Type) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.provider.DynaBeanValueProvider
-
- value(String, Type) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.provider.MapValueProvider
-
- value(T, Type) - 接口 中的方法com.github.jarvisframework.tool.core.bean.copier.ValueProvider
-
获取值
返回值一般需要匹配被注入类型,如果不匹配会调用默认转换 Convert#convert(Type, Object)实现转换
- value - 类 中的变量com.github.jarvisframework.tool.core.codec.Base64Decoder.IntWrapper
-
- value - 枚举 中的变量com.github.jarvisframework.tool.core.date.DateFieldEnum
-
- value - 枚举 中的变量com.github.jarvisframework.tool.core.date.MonthEnum
-
- value - 枚举 中的变量com.github.jarvisframework.tool.core.date.QuarterEnum
-
- value - 枚举 中的变量com.github.jarvisframework.tool.core.date.WeekEnum
-
- value - 枚举 中的变量com.github.jarvisframework.tool.core.io.file.LineSeparatorEnum
-
- value - 枚举 中的变量com.github.jarvisframework.tool.core.io.watch.WatchKindEnum
-
- value - 类 中的变量com.github.jarvisframework.tool.core.lang.mutable.MutableObject
-
- value - 类 中的变量com.github.jarvisframework.tool.core.lang.Optional
-
If non-null, the value; if null, indicates no value is present
- value - 类 中的变量com.github.jarvisframework.tool.core.map.TableMap.Entry
-
- value - 类 中的变量com.github.jarvisframework.tool.core.text.StringBuilder
-
存放的字符数组
- value - 枚举 中的变量com.github.jarvisframework.tool.core.util.ModifierUtils.ModifierType
-
修饰符枚举对应的int修饰符值
- VALUE_OF_METHOD_CACHE - 类 中的静态变量com.github.jarvisframework.tool.core.convert.impl.EnumConverter
-
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.bean.BeanDescCache
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.bean.BeanInfoCache
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.convert.BasicType
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.BetweenFormat.Level
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.DateFieldEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.DateModifier.ModifyType
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils.DateTimeFormat
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.DateUnitEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.MonthEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.QuarterEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.WeekEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.io.file.FileModeEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.io.file.LineSeparatorEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchKindEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法com.github.jarvisframework.tool.core.util.ModifierUtils.ModifierType
-
返回带有指定名称的该类型的枚举常量。
- ValueProvider<T> - com.github.jarvisframework.tool.core.bean.copier中的接口
-
值提供者,用于提供Bean注入时参数对应值得抽象接口
继承或匿名实例化此接口
在Bean注入过程中,Bean获得字段名,通过外部方式根据这个字段名查找相应的字段值,然后注入Bean
- valueProviderToBean(ValueProvider<String>, Object) - 类 中的方法com.github.jarvisframework.tool.core.bean.copier.BeanCopier
-
值提供器转Bean
此方法通过遍历目标Bean的字段,从ValueProvider查找对应值
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.bean.BeanDescCache
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.bean.BeanInfoCache
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values(Collection<Map<?, V>>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
获取指定Map列表中所有的Value
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.convert.BasicType
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.BetweenFormat.Level
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.DateFieldEnum
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.DateModifier.ModifyType
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.DateTimeUtils.DateTimeFormat
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.DateUnitEnum
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.MonthEnum
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.QuarterEnum
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.date.WeekEnum
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.io.file.FileModeEnum
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.io.file.LineSeparatorEnum
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.io.watch.WatchKindEnum
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- values() - 类 中的方法com.github.jarvisframework.tool.core.map.MapProxy
-
- values() - 类 中的方法com.github.jarvisframework.tool.core.map.MapWrapper
-
- values - 类 中的变量com.github.jarvisframework.tool.core.map.TableMap
-
- values() - 类 中的方法com.github.jarvisframework.tool.core.map.TableMap
-
- values() - 枚举 中的静态方法com.github.jarvisframework.tool.core.util.ModifierUtils.ModifierType
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
- valuesOfKeys(Map<K, V>, K...) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- valuesOfKeys(Map<K, V>, Iterable<K>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- valuesOfKeys(Map<K, V>, Iterator<K>) - 类 中的静态方法com.github.jarvisframework.tool.core.collection.CollectionUtils
-
从Map中获取指定键列表对应的值列表
如果key在map中不存在或key对应值为null,则返回值列表对应位置的值也为null
- valueType - 类 中的变量com.github.jarvisframework.tool.core.convert.impl.MapConverter
-
值类型
- variant() - 类 中的方法com.github.jarvisframework.tool.core.lang.UUID
-
与此 UUID 相关联的变体号。
- version() - 类 中的方法com.github.jarvisframework.tool.core.lang.UUID
-
与此 UUID 相关联的版本号.
- VersionComparator - com.github.jarvisframework.tool.core.comparator中的类
-
版本比较器
比较两个版本的大小
排序时版本从小到大排序,即比较时小版本在前,大版本在后
支持如:1.3.20.8,6.82.20160101,8.5a/8.5c等版本形式
参考:https://www.cnblogs.com/shihaiming/p/6286575.html
- VersionComparator() - 类 的构造器com.github.jarvisframework.tool.core.comparator.VersionComparator
-
默认构造