- index() - Method in class org.tio.utils.hutool.FastByteBuffer
-
当前缓冲位于缓冲区的索引位
- INDEX_NOT_FOUND - Static variable in class org.tio.utils.hutool.ArrayUtil
-
数组中元素未找到的下标,值为-1
- INDEX_NOT_FOUND - Static variable in class org.tio.utils.hutool.StrUtil
-
- indexOf(ByteBuffer, char, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
-
- indexOf(T[], Object) - Static method in class org.tio.utils.hutool.ArrayUtil
-
- indexOf(CharSequence, char) - Static method in class org.tio.utils.hutool.StrUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int) - Static method in class org.tio.utils.hutool.StrUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, char, int, int) - Static method in class org.tio.utils.hutool.StrUtil
-
指定范围内查找指定字符
- indexOf(CharSequence, CharSequence, int, boolean) - Static method in class org.tio.utils.hutool.StrUtil
-
指定范围内反向查找字符串
- indexOfIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
-
指定范围内查找字符串,忽略大小写
StrUtil.indexOfIgnoreCase(null, *, *) = -1
StrUtil.indexOfIgnoreCase(*, null, *) = -1
StrUtil.indexOfIgnoreCase("", "", 0) = 0
StrUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2
StrUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1
StrUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
StrUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2
StrUtil.indexOfIgnoreCase("abc", "", 9) = -1
- indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
-
指定范围内查找字符串
StrUtil.indexOfIgnoreCase(null, *, *) = -1
StrUtil.indexOfIgnoreCase(*, null, *) = -1
StrUtil.indexOfIgnoreCase("", "", 0) = 0
StrUtil.indexOfIgnoreCase("aabaabaa", "A", 0) = 0
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 0) = 2
StrUtil.indexOfIgnoreCase("aabaabaa", "AB", 0) = 1
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 3) = 5
StrUtil.indexOfIgnoreCase("aabaabaa", "B", 9) = -1
StrUtil.indexOfIgnoreCase("aabaabaa", "B", -1) = 2
StrUtil.indexOfIgnoreCase("aabaabaa", "", 2) = 2
StrUtil.indexOfIgnoreCase("abc", "", 9) = -1
- IntObjectHashMap<V> - Class in org.tio.utils.collection
-
A hash map implementation of
IntObjectMap that uses open addressing for keys.
- IntObjectHashMap() - Constructor for class org.tio.utils.collection.IntObjectHashMap
-
- IntObjectHashMap(int) - Constructor for class org.tio.utils.collection.IntObjectHashMap
-
- IntObjectHashMap(int, float) - Constructor for class org.tio.utils.collection.IntObjectHashMap
-
- IntObjectMap<V> - Interface in org.tio.utils.collection
-
Interface for a primitive map that uses ints as keys.
- IntObjectMap.PrimitiveEntry<V> - Interface in org.tio.utils.collection
-
- IPropSupport - Interface in org.tio.utils.prop
-
属性支持接口
- isArray(Object) - Static method in class org.tio.utils.hutool.ArrayUtil
-
对象是否为数组对象
- isBlank(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
-
字符串是否为空白 空白的定义如下:
1、为null
2、为不可见字符(如空格)
3、""
- isCanceled() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
-
- isEmpty() - Method in class org.tio.utils.cache.AbstractCache
-
- isEmpty() - Method in interface org.tio.utils.cache.Cache
-
缓存是否为空
- isEmpty() - Method in class org.tio.utils.collection.IntObjectHashMap
-
- isEmpty() - Method in class org.tio.utils.collection.MultiValueMap
-
- isEmpty(Collection<?>) - Static method in class org.tio.utils.hutool.CollUtil
-
集合是否为空
- isEmpty() - Method in class org.tio.utils.hutool.FastByteBuffer
-
- isEmpty(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
-
字符串是否为空,空的定义如下:
1、为null
2、为""
- isExpired() - Method in class org.tio.utils.cache.CacheObj
-
判断是否过期
- isFirstPage() - Method in class org.tio.utils.page.Page
-
- isFull() - Method in class org.tio.utils.cache.AbstractCache
-
- isFull() - Method in interface org.tio.utils.cache.Cache
-
缓存是否已满,仅用于有空间限制的缓存对象
- isLastPage() - Method in class org.tio.utils.page.Page
-
- isMatch(Pattern, String) - Static method in class org.tio.utils.hutool.Validator
-
通过正则表达式验证
- isNeededExecute() - Method in class org.tio.utils.thread.pool.AbstractQueueRunnable
-
- isNeededExecute() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
-
- isNotBlank(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
-
字符串是否为非空白 空白的定义如下:
1、不为null
2、不为不可见字符(如空格)
3、不为""
- isNotEmpty(Collection<?>) - Static method in class org.tio.utils.hutool.CollUtil
-
集合是否为非空
- isNumber(String) - Static method in class org.tio.utils.hutool.Validator
-
是否为数字
- isPresent(String) - Static method in class org.tio.utils.hutool.ClassUtil
-
确定class是否可以被加载
- isPruneExpiredActive() - Method in class org.tio.utils.cache.AbstractCache
-
只有设置公共缓存失效时长或每个对象单独的失效时长时清理可用
- isRunning() - Method in class org.tio.utils.timer.TimingWheelThread
-
- isShutdownInitiated() - Method in class org.tio.utils.timer.TimingWheelThread
-
- isSubEquals(CharSequence, int, CharSequence, int, int, boolean) - Static method in class org.tio.utils.hutool.StrUtil
-
截取两个字符串的不同部分(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
- schedulePrune(long) - Method in class org.tio.utils.cache.TimedCache
-
定时清理
- SEMI_COL - Static variable in interface org.tio.utils.SysConst
-
;
- set(K, V) - Method in class org.tio.utils.collection.MultiValueMap
-
- set(String, Object) - Method in interface org.tio.utils.prop.IPropSupport
-
设置属性
- set(String, Object) - Method in class org.tio.utils.prop.MapPropSupport
-
- setAll(Map<K, V>) - Method in class org.tio.utils.collection.MultiValueMap
-
- setBoolean(int, boolean) - Method in class org.tio.utils.hutool.FastByteBuffer
-
设置 boolean 值,true 为 1,false 为 0
- setByte(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
-
设定指定位置的字节
- setBytes(int, byte[]) - Method in class org.tio.utils.hutool.FastByteBuffer
-
设置指定 index 的 byte
- setBytes(int, byte[], int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
-
设置字节
- setCanceled(boolean) - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
-
- setDoubleBE(int, double) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出双精度浮点
- setDoubleLE(int, double) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出双精度浮点
- setFloatBE(int, float) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出单精度浮点
- setFloatLE(int, float) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出单精度浮点
- setIntBE(int, long) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出 4 个字节,大端模式
- setIntLE(int, long) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出 4 个字节,小端模式
- setList(List<T>) - Method in class org.tio.utils.page.Page
-
- setList(TimerTaskList) - Method in class org.tio.utils.timer.TimerTaskEntry
-
- setListener(CacheListener<K, V>) - Method in class org.tio.utils.cache.AbstractCache
-
设置监听
- setListener(CacheListener<K, V>) - Method in interface org.tio.utils.cache.Cache
-
设置监听
- setListener(CacheListener<K, V>) - Method in class org.tio.utils.cache.LRUCache
-
- setLongBE(int, long) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出 8 个字节,大端模式
- setLongLE(int, long) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出 8 个字节,小端模式
- setMediumBE(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出 3 个字节,大端模式
- setMediumLE(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出 3 个字节,小端模式
- setPageNumber(Integer) - Method in class org.tio.utils.page.Page
-
- setPageSize(Integer) - Method in class org.tio.utils.page.Page
-
- setShortBE(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出 short,大端模式
- setShortLE(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
-
写出 short,小端模式
- setTimerTaskEntry(TimerTaskEntry) - Method in class org.tio.utils.timer.TimerTask
-
- setTotalPage(Integer) - Method in class org.tio.utils.page.Page
-
- setTotalRow(Integer) - Method in class org.tio.utils.page.Page
-
- setValue(V) - Method in interface org.tio.utils.collection.IntObjectMap.PrimitiveEntry
-
Sets the value for this entry.
- sha1(String) - Static method in class org.tio.utils.mica.DigestUtils
-
sha1
- sha1(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
-
sha1
- sha1Hex(String) - Static method in class org.tio.utils.mica.DigestUtils
-
sha1Hex
- sha1Hex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
-
sha1Hex
- sha224(String) - Static method in class org.tio.utils.mica.DigestUtils
-
SHA224
- sha224(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
-
SHA224
- sha224Hex(String) - Static method in class org.tio.utils.mica.DigestUtils
-
SHA224Hex
- sha224Hex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
-
SHA224Hex
- sha256(String) - Static method in class org.tio.utils.mica.DigestUtils
-
sha256Hex
- sha256(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
-
sha256Hex
- sha256Hex(String) - Static method in class org.tio.utils.mica.DigestUtils
-
sha256Hex
- sha256Hex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
-
sha256Hex
- sha384(String) - Static method in class org.tio.utils.mica.DigestUtils
-
sha384
- sha384(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
-
sha384
- sha384Hex(String) - Static method in class org.tio.utils.mica.DigestUtils
-
sha384Hex
- sha384Hex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
-
sha384Hex
- sha512(String) - Static method in class org.tio.utils.mica.DigestUtils
-
sha512Hex
- sha512(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
-
sha512Hex
- sha512Hex(String) - Static method in class org.tio.utils.mica.DigestUtils
-
sha512Hex
- sha512Hex(byte[]) - Static method in class org.tio.utils.mica.DigestUtils
-
sha512Hex
- shutdown() - Method in class org.tio.utils.timer.SystemTimer
-
- shutdown() - Method in interface org.tio.utils.timer.Timer
-
关闭定时器服务,待执行的任务将不会被执行
- shutdown() - Method in class org.tio.utils.timer.TimingWheelThread
-
- size() - Method in class org.tio.utils.cache.AbstractCache
-
- size() - Method in interface org.tio.utils.cache.Cache
-
缓存的对象数量
- size() - Method in class org.tio.utils.collection.IntObjectHashMap
-
- size() - Method in class org.tio.utils.collection.MultiValueMap
-
- size() - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
-
- size() - Method in class org.tio.utils.hutool.FastByteBuffer
-
- size() - Method in class org.tio.utils.timer.SystemTimer
-
- size() - Method in interface org.tio.utils.timer.Timer
-
取得待执行的任务数量
- skipBytes(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
-
skip bytes
- SLASH - Static variable in interface org.tio.utils.SysConst
-
斜扛
- sleep(long) - Static method in class org.tio.utils.thread.ThreadUtils
-
挂起当前线程
- slowEquals(String, String) - Static method in class org.tio.utils.mica.DigestUtils
-
比较字符串,避免字符串因为过长,产生耗时
- slowEquals(byte[], byte[]) - Static method in class org.tio.utils.mica.DigestUtils
-
比较 byte 数组,避免字符串因为过长,产生耗时
- Snack3JsonAdapter - Class in org.tio.utils.json
-
hutool json 适配器
- Snack3JsonAdapter() - Constructor for class org.tio.utils.json.Snack3JsonAdapter
-
- Snack3JsonAdapter(Options) - Constructor for class org.tio.utils.json.Snack3JsonAdapter
-
- Snowflake - Class in org.tio.utils.hutool
-
Twitter的Snowflake 算法
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
- Snowflake(long, long) - Constructor for class org.tio.utils.hutool.Snowflake
-
构造
- SPACE - Static variable in interface org.tio.utils.SysConst
-
一个空格
- SPACE_ - Static variable in interface org.tio.utils.SysConst
-
- split(ByteBuffer, int) - Static method in class org.tio.utils.buffer.ByteBufferUtil
-
- split(String, String) - Static method in class org.tio.utils.hutool.StrUtil
-
split str
- stackTrace() - Static method in class org.tio.utils.thread.ThreadUtils
-
stackTrace
- start() - Method in class org.tio.utils.timer.DefaultTimerTaskService
-
- start() - Method in interface org.tio.utils.timer.TimerTaskService
-
启动
- startWith(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
-
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
- startWith(CharSequence, char) - Static method in class org.tio.utils.hutool.StrUtil
-
字符串是否以给定字符开始
- startWith(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
-
是否以指定字符串开头
- startWithIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
-
是否以指定字符串开头,忽略大小写
- stop() - Method in class org.tio.utils.timer.DefaultTimerTaskService
-
- stop() - Method in interface org.tio.utils.timer.TimerTaskService
-
停止
- str(Object, String) - Static method in class org.tio.utils.hutool.StrUtil
-
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
- str(Object, Charset) - Static method in class org.tio.utils.hutool.StrUtil
-
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
- str(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
-
- STR_AMP - Static variable in interface org.tio.utils.SysConst
-
&
- STR_COL - Static variable in interface org.tio.utils.SysConst
-
:
- STR_EQ - Static variable in interface org.tio.utils.SysConst
-
=
- streamToString(InputStream) - Static method in class org.tio.utils.hutool.ResourceUtil
-
读取流
- StrTemplateParser - Class in org.tio.utils.mica
-
字符串模板解析
- StrTemplateParser(String) - Constructor for class org.tio.utils.mica.StrTemplateParser
-
构造函数
- StrUtil - Class in org.tio.utils.hutool
-
- StrUtil() - Constructor for class org.tio.utils.hutool.StrUtil
-
- sub(CharSequence, int, int) - Static method in class org.tio.utils.hutool.StrUtil
-
改进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) - Static method in class org.tio.utils.hutool.StrUtil
-
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串
栗子:
StrUtil.subAfter(null, *) = null
StrUtil.subAfter("", *) = ""
StrUtil.subAfter(*, null) = ""
StrUtil.subAfter("abc", "a") = "bc"
StrUtil.subAfter("abcba", "b") = "cba"
StrUtil.subAfter("abc", "c") = ""
StrUtil.subAfter("abc", "d") = ""
StrUtil.subAfter("abc", "") = "abc"
- subBefore(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
-
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串为空串"",则返回空串,如果分隔字符串未找到,返回原字符串
栗子:
StrUtil.subBefore(null, *) = null
StrUtil.subBefore("", *) = ""
StrUtil.subBefore("abc", "a") = ""
StrUtil.subBefore("abcba", "b") = "a"
StrUtil.subBefore("abc", "c") = "ab"
StrUtil.subBefore("abc", "d") = "abc"
StrUtil.subBefore("abc", "") = ""
StrUtil.subBefore("abc", null) = "abc"
- subBetween(CharSequence, CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
-
截取指定字符串中间部分,不包括标识字符串
栗子:
StrUtil.subBetween("wx[b]yz", "[", "]") = "b"
StrUtil.subBetween(null, *, *) = null
StrUtil.subBetween(*, null, *) = null
StrUtil.subBetween(*, *, null) = null
StrUtil.subBetween("", "", "") = ""
StrUtil.subBetween("", "", "]") = null
StrUtil.subBetween("", "[", "]") = null
StrUtil.subBetween("yabcz", "", "") = ""
StrUtil.subBetween("yabcz", "y", "z") = "abc"
StrUtil.subBetween("yabczyabcz", "y", "z") = "abc"
- subBetween(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
-
截取指定字符串中间部分,不包括标识字符串
栗子:
StrUtil.subBetween(null, *) = null
StrUtil.subBetween("", "") = ""
StrUtil.subBetween("", "tag") = null
StrUtil.subBetween("tagabctag", null) = null
StrUtil.subBetween("tagabctag", "") = ""
StrUtil.subBetween("tagabctag", "tag") = "abc"
- submit(Runnable, R) - Method in class org.tio.utils.thread.pool.SynThreadPoolExecutor
-
- subPre(CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
-
切割指定位置之前部分的字符串
- subPreGbk(CharSequence, int, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
-
截取部分字符串,这里一个汉字的长度认为是2
- subSuf(CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
-
切割指定位置之后部分的字符串
- subSufByLength(CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
-
切割指定长度的后部分的字符串
StrUtil.subSufByLength("abcde", 3) = "cde"
StrUtil.subSufByLength("abcde", 0) = ""
StrUtil.subSufByLength("abcde", -5) = ""
StrUtil.subSufByLength("abcde", -1) = ""
StrUtil.subSufByLength("abcde", 5) = "abcde"
StrUtil.subSufByLength("abcde", 10) = "abcde"
StrUtil.subSufByLength(null, 3) = null
- subWithLength(String, int, int) - Static method in class org.tio.utils.hutool.StrUtil
-
截取字符串,从指定位置开始,截取指定长度的字符串
author weibaohui
- SynThreadPoolExecutor - Class in org.tio.utils.thread.pool
-
- SynThreadPoolExecutor(int, int, long, BlockingQueue<Runnable>, ThreadFactory) - Constructor for class org.tio.utils.thread.pool.SynThreadPoolExecutor
-
- SynThreadPoolExecutor(int, int, long, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler) - Constructor for class org.tio.utils.thread.pool.SynThreadPoolExecutor
-
- SysConst - Interface in org.tio.utils
-
- SystemTimer - Class in org.tio.utils.timer
-
SystemTimer
- SystemTimer() - Constructor for class org.tio.utils.timer.SystemTimer
-
- SystemTimer(String) - Constructor for class org.tio.utils.timer.SystemTimer
-
- SystemTimer(long, int, String) - Constructor for class org.tio.utils.timer.SystemTimer
-
- SystemTimer(long, int, long, String) - Constructor for class org.tio.utils.timer.SystemTimer
-