索引

A B C D E F G H I J L M N O P R S T U V W Y Z  使   
常量字段值|所有程序包|所有类和接口|序列化表格

A

abbreviate(TimeUnit) - 类中的静态方法 cn.wjybxx.base.time.TimeUtils
获取时间单位的字符串缩写
AbstractConstant - cn.wjybxx.base中的类
 
AbstractConstant(Constant.Builder) - 类的构造器 cn.wjybxx.base.AbstractConstant
 
accept(T, U, V) - 接口中的方法 cn.wjybxx.base.function.TriConsumer
 
acquire() - 接口中的方法 cn.wjybxx.base.io.ArrayPool
返回池中一个默认大小的数组
acquire() - 类中的方法 cn.wjybxx.base.io.ConcurrentArrayPool
 
acquire() - 类中的方法 cn.wjybxx.base.io.LocalByteArrayPool
 
acquire() - 类中的方法 cn.wjybxx.base.io.LocalCharArrayPool
 
acquire() - 类中的方法 cn.wjybxx.base.io.LocalStringBuilderPool
 
acquire() - 类中的方法 cn.wjybxx.base.io.SimpleArrayPool
 
acquire() - 类中的方法 cn.wjybxx.base.io.StringBuilderPool
 
acquire() - 类中的方法 cn.wjybxx.base.pool.DefaultObjectPool
 
acquire() - 接口中的方法 cn.wjybxx.base.pool.ObjectPool
从池中租借一个对象
acquire() - 类中的方法 cn.wjybxx.base.pool.SingleObjectPool
 
acquire(int) - 接口中的方法 cn.wjybxx.base.io.ArrayPool
1.返回的字节数组可能大于期望的数组长度4 2.默认情况下不清理
acquire(int) - 类中的方法 cn.wjybxx.base.io.ConcurrentArrayPool
 
acquire(int) - 类中的方法 cn.wjybxx.base.io.LocalByteArrayPool
 
acquire(int) - 类中的方法 cn.wjybxx.base.io.LocalCharArrayPool
 
acquire(int) - 类中的方法 cn.wjybxx.base.io.SimpleArrayPool
 
acquire(int, boolean) - 接口中的方法 cn.wjybxx.base.io.ArrayPool
 
acquire(int, boolean) - 类中的方法 cn.wjybxx.base.io.ConcurrentArrayPool
 
acquire(int, boolean) - 类中的方法 cn.wjybxx.base.io.LocalByteArrayPool
 
acquire(int, boolean) - 类中的方法 cn.wjybxx.base.io.LocalCharArrayPool
 
acquire(int, boolean) - 类中的方法 cn.wjybxx.base.io.SimpleArrayPool
 
add(double) - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
加上操作数
add(float) - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
加上操作数
add(int) - 类中的方法 cn.wjybxx.base.mutable.MutableInt
加上操作数
add(int, E) - 类中的方法 cn.wjybxx.base.collection.SmallArrayList
 
add(long) - 类中的方法 cn.wjybxx.base.mutable.MutableLong
加上操作数
add(E) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
add(E) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
 
add(E) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
add(E) - 类中的方法 cn.wjybxx.base.collection.SmallArrayList
 
add(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
add(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
add(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
add(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
add(Number) - 接口中的方法 cn.wjybxx.base.mutable.MutableNumber
 
addAll(ArrayList<E>, Collection<? extends E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
addAll(Collection<? extends E>) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
addAll(Collection<? extends E>) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
批量添加元素
addAll(Collection<? extends E>) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
addAndGet(double) - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
返回加上操作数后的值
addAndGet(float) - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
返回加上操作数后的值
addAndGet(int) - 类中的方法 cn.wjybxx.base.mutable.MutableInt
返回加上操作数后的值
addAndGet(long) - 类中的方法 cn.wjybxx.base.mutable.MutableLong
返回加上操作数后的值
addFirst(E) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
addFirst(E) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
addFirst(E) - 类中的方法 cn.wjybxx.base.collection.SmallArrayList
 
addLast(E) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
addLast(E) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
addLast(E) - 类中的方法 cn.wjybxx.base.collection.SmallArrayList
 
Alias - cn.wjybxx.base.annotation中的批注接口
用于为字段或类型等定义别名
allowDiscardHead() - 枚举类中的方法 cn.wjybxx.base.collection.DequeOverflowBehavior
 
allowDiscardTail() - 枚举类中的方法 cn.wjybxx.base.collection.DequeOverflowBehavior
 
alwaysFalse() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
alwaysTrue() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
andThen(TriConsumer<? super T, ? super U, ? super V>) - 接口中的方法 cn.wjybxx.base.function.TriConsumer
 
andThen(Function<? super R, ? extends W>) - 接口中的方法 cn.wjybxx.base.function.TriFunction
 
append(char) - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 
append(CharSequence) - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 
append(CharSequence, int, int) - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 
apply(T, U, V) - 接口中的方法 cn.wjybxx.base.function.TriFunction
 
ArrayPool<T> - cn.wjybxx.base.io中的接口
数组池 Java不是真泛型,因此泛型不是数组元素的类型,而是数组的类型。
ArrayPoolBuilder<T> - cn.wjybxx.base.io中的类
 
ArrayPoolBuilder(Class<T>) - 类的构造器 cn.wjybxx.base.io.ArrayPoolBuilder
 
ArrayPoolBuilder.ConcurrentArrayPoolBuilder<T> - cn.wjybxx.base.io中的类
 
ArrayPoolBuilder.SimpleArrayPoolBuilder<T> - cn.wjybxx.base.io中的类
 
ASCENDING - 枚举类 中的枚举常量 cn.wjybxx.base.SortOrder
升序
asTuple2() - 类中的方法 cn.wjybxx.base.tuple.Tuple3
 

B

beginItr() - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
开始迭代
Beta - cn.wjybxx.base.annotation中的批注接口
用于标注接口/方法还不稳定
BetterCancellationException - cn.wjybxx.base.concurrent中的异常错误类
该异常可以传递取消码
BetterCancellationException(int) - 异常错误类的构造器 cn.wjybxx.base.concurrent.BetterCancellationException
 
BetterCancellationException(int, String) - 异常错误类的构造器 cn.wjybxx.base.concurrent.BetterCancellationException
 
biAlwaysFalse() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
biAlwaysTrue() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
bitCount(int) - 类中的静态方法 cn.wjybxx.base.MathCommon
计算int32值中1的数量
bitCount(long) - 类中的静态方法 cn.wjybxx.base.MathCommon
计算int64值中1的数量
BitCountFast(int) - 类中的静态方法 cn.wjybxx.base.MathCommon
计算int值中1的数量 -- 适用于多数位为0的情况
BitCountFast(long) - 类中的静态方法 cn.wjybxx.base.MathCommon
计算int值中1的数量 -- 适用于多数位为0的情况
BitFlags - cn.wjybxx.base中的类
比特标记工具类 tips: Commons-Lang3有个BitField
BitFlags() - 类的构造器 cn.wjybxx.base.BitFlags
 
blankToDef(String, String) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
空白字符串转默认字符串 -- 避免string泛型转换
blankToDef(T, T) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
空白字符串转默认字符串
BoundedArrayDeque<E> - cn.wjybxx.base.collection中的类
滑动式双端队列 1.当达到容量限制时,将自动移除另一端的元素。
BoundedArrayDeque(int, DequeOverflowBehavior) - 类的构造器 cn.wjybxx.base.collection.BoundedArrayDeque
 
build() - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
 
build() - 类中的方法 cn.wjybxx.base.Constant.Builder
 
build() - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder
 
build() - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder.ConcurrentArrayPoolBuilder
 
build() - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder.SimpleArrayPoolBuilder
 
Builder(String) - 类的构造器 cn.wjybxx.base.Constant.Builder
 
ByteBufferUtils - cn.wjybxx.base.io中的类
 
ByteBufferUtils() - 类的构造器 cn.wjybxx.base.io.ByteBufferUtils
 

C

CachedTimeProvider - cn.wjybxx.base.time中的接口
该接口表示实现类是基于缓存时间戳的,需要外部定时去更新 线程安全性取决于实现类
CancelCodeBuilder - cn.wjybxx.base.concurrent中的类
 
CancelCodeBuilder() - 类的构造器 cn.wjybxx.base.concurrent.CancelCodeBuilder
 
CancelCodes - cn.wjybxx.base.concurrent中的类
取消码辅助类
capacity(int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
计算hash结构的默认数组大小
CaseMode - cn.wjybxx.base中的枚举类
大小写模式
checkArgument(boolean) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkArgument(boolean, Object) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkBetween(int, int, int) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查value是否在指定范围内
checkBetween(int, int, int, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查value是否在指定范围内
checkBetween(long, long, long) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查value是否在指定范围内
checkBetween(long, long, long, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查value是否在指定范围内
checkBuffer(byte[], int, int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
检查buffer参数
checkBuffer(int, int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
检查buffer参数
checkBuffer(int, int, int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
检查buffer参数
checkCode(int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
检查取消码的合法性
checkedForNumber(int) - 接口中的方法 cn.wjybxx.base.EnumLiteMap
通过数字找到对应的枚举
checkElementIndex(int, int) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkElementIndex(int, int, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkInterrupted() - 类中的静态方法 cn.wjybxx.base.ThreadUtils
检查线程中断状态。
checkName(String) - 接口中的静态方法 cn.wjybxx.base.Constant
检查name的合法性
checkNoneWhiteSpace(String) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNoneWhiteSpace(String, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNonNegative(int) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查数字似乎为‘非负数’
checkNonNegative(int, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查数字似乎为‘非负数’
checkNonNegative(long) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查数字似乎为‘非负数’
checkNonNegative(long, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查数字似乎为‘非负数’
checkNotBlank(String) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNotBlank(String, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNotEmpty(Object[]) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNotEmpty(Object[], String) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNotEmpty(String) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNotEmpty(String, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNotEmpty(Collection<?>) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNotEmpty(Collection<?>, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNotNull(T) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNotNull(T, Object) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNullElements(Object[]) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查数组里是否存在null,如果元素里存在null则抛出异常
checkNullElements(Object[], String) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查数组里是否存在null,如果元素里存在null则抛出异常
checkNullElements(Collection<?>) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查集合里是否存在null,如果元素里存在null则抛出异常
checkNullElements(Collection<?>, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkNumberContinuity(List<T>, Integer) - 类中的静态方法 cn.wjybxx.base.EnumUtils
检查枚举的number是从指定值开始且连续
checkNumberContinuity(List<T>, Integer, ToIntFunction<? super T>) - 类中的静态方法 cn.wjybxx.base.EnumUtils
检查枚举中的number是否连续 注意:如果集合为空的话,这里不会抛出异常
checkNumberDuplicate(List<T>) - 类中的静态方法 cn.wjybxx.base.EnumUtils
检查枚举中的number是否存在重复
checkNumberDuplicate(List<T>, ToIntFunction<? super T>) - 类中的静态方法 cn.wjybxx.base.EnumUtils
检查枚举中的number是否存在重复
checkPositive(int) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查数字是否为正数
checkPositive(int, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查数字是否为正数
checkPositive(long) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查数字是否为正数
checkPositive(long, String) - 类中的静态方法 cn.wjybxx.base.Preconditions
检查数字是否为正数
checkState(boolean) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
checkState(boolean, Object) - 类中的静态方法 cn.wjybxx.base.Preconditions
 
CIRCLE_BUFFER - 枚举类 中的枚举常量 cn.wjybxx.base.collection.DequeOverflowBehavior
环形缓冲 -- 首部插入时覆盖尾部;尾部插入时覆盖首部。
clamp(double, double, double) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
clamp(double, float, float) - 类中的静态方法 cn.wjybxx.base.MathCommon
将double值约束到float范围
clamp(float, float, float) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
clamp(int, int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
clamp(long, int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
将long值约束到int范围
clamp(long, long, long) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
clamp01(double) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
clamp01(float) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
ClassScanner - cn.wjybxx.base中的类
 
clear() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
clear() - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
clear() - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
 
clear() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
clear() - 类中的方法 cn.wjybxx.base.io.ConcurrentArrayPool
 
clear() - 类中的方法 cn.wjybxx.base.io.LocalByteArrayPool
 
clear() - 类中的方法 cn.wjybxx.base.io.LocalCharArrayPool
 
clear() - 类中的方法 cn.wjybxx.base.io.LocalStringBuilderPool
 
clear() - 类中的方法 cn.wjybxx.base.io.SimpleArrayPool
 
clear() - 类中的方法 cn.wjybxx.base.io.StringBuilderPool
 
clear() - 类中的方法 cn.wjybxx.base.pool.DefaultObjectPool
 
clear() - 接口中的方法 cn.wjybxx.base.pool.ObjectPool
释放此池中的所有对象 (如果属于特殊资源,可不清理)
clear() - 类中的方法 cn.wjybxx.base.pool.SingleObjectPool
 
clear(Collection<?>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
clear(Map<?, ?>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
CLEAR - 接口中的静态变量 cn.wjybxx.base.pool.ResetPolicy
 
CLEAR_MAP - 接口中的静态变量 cn.wjybxx.base.pool.ResetPolicy
 
clearIgnoringIndexes() - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
clearIgnoringIndexes() - 接口中的方法 cn.wjybxx.base.collection.IndexedCollection
清除队列中的所有元素,并不更新队列中节点的索引,通常用在最后清理释放内存的时候。
clearInterrupted() - 类中的静态方法 cn.wjybxx.base.ThreadUtils
清除中断
clone() - 类中的方法 cn.wjybxx.base.AbstractConstant
 
close() - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 
close() - 接口中的方法 cn.wjybxx.base.IRegistration
重复调用不应该抛出异常 -- 视为已关闭。
cn.wjybxx.base - 程序包 cn.wjybxx.base
 
cn.wjybxx.base.annotation - 程序包 cn.wjybxx.base.annotation
 
cn.wjybxx.base.collection - 程序包 cn.wjybxx.base.collection
 
cn.wjybxx.base.concurrent - 程序包 cn.wjybxx.base.concurrent
 
cn.wjybxx.base.ex - 程序包 cn.wjybxx.base.ex
 
cn.wjybxx.base.function - 程序包 cn.wjybxx.base.function
 
cn.wjybxx.base.io - 程序包 cn.wjybxx.base.io
 
cn.wjybxx.base.mutable - 程序包 cn.wjybxx.base.mutable
 
cn.wjybxx.base.pool - 程序包 cn.wjybxx.base.pool
 
cn.wjybxx.base.reflect - 程序包 cn.wjybxx.base.reflect
 
cn.wjybxx.base.time - 程序包 cn.wjybxx.base.time
 
cn.wjybxx.base.tuple - 程序包 cn.wjybxx.base.tuple
 
collectionIndex(Object) - 接口中的方法 cn.wjybxx.base.collection.IndexedElement
获取对象在集合中的索引
collectionIndex(Object) - 类中的方法 cn.wjybxx.base.collection.RefIndexedElement
 
collectionIndex(Object, int) - 接口中的方法 cn.wjybxx.base.collection.IndexedElement
设置其在集合中的索引
collectionIndex(Object, int) - 类中的方法 cn.wjybxx.base.collection.RefIndexedElement
 
CollectionUtils - cn.wjybxx.base中的类
 
comment() - 批注接口 中的元素 cn.wjybxx.base.annotation.Priority
注释
comment() - 批注接口 中的元素 cn.wjybxx.base.annotation.StableName
自定义注释
compareTo(Constant) - 类中的方法 cn.wjybxx.base.AbstractConstant
 
compareTo(MutableDouble) - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
compareTo(MutableFloat) - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
compareTo(MutableInt) - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
compareTo(MutableLong) - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
composeIntToLong(int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
将两个int聚合为long
composeShortToInt(short, short) - 类中的静态方法 cn.wjybxx.base.MathCommon
将两个short聚合为int
ConcurrentArrayPool<T> - cn.wjybxx.base.io中的类
简单并发数组池实现。
ConcurrentArrayPool(ArrayPoolBuilder.ConcurrentArrayPoolBuilder<T>) - 类的构造器 cn.wjybxx.base.io.ConcurrentArrayPool
 
ConcurrentArrayPoolBuilder(Class<T>) - 类的构造器 cn.wjybxx.base.io.ArrayPoolBuilder.ConcurrentArrayPoolBuilder
 
Constant - cn.wjybxx.base中的接口
常量
Constant.Builder - cn.wjybxx.base中的类
 
ConstantFactory<T> - cn.wjybxx.base中的接口
只有可通过基础的Builder构建的常量才会使用到Factory
ConstantMap<T> - cn.wjybxx.base中的类
常量池快照字典。
ConstantPool<T> - cn.wjybxx.base中的类
常量池
contains(Object) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
contains(Object) - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
contains(Object) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
基于equals查询一个元素是否在List中
contains(Object) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
containsAll(Collection<?>) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
containsAll(Collection<?>) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
containsCustom(List<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
containsRef(Object) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
基于引用相等查询一个元素是否在List中
containsRef(List<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
containsRef(T[], Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
判断是否存在给定元素的引用
containsTyped(T) - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
containsTyped(T) - 接口中的方法 cn.wjybxx.base.collection.IndexedPriorityQueue
 
containsWhitespace(CharSequence) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
是否包含不可见字符
correctTime(long) - 类中的方法 cn.wjybxx.base.time.Regulator
校准时间
create(String) - 类中的静态方法 cn.wjybxx.base.time.StopWatch
创建一个停表
createStarted(String) - 类中的静态方法 cn.wjybxx.base.time.StopWatch
创建一个已启动的停表

D

declaringPool() - 类中的方法 cn.wjybxx.base.AbstractConstant
 
declaringPool() - 接口中的方法 cn.wjybxx.base.Constant
声明常量的池 注意:只有同一个池下的常量才可以比较。
decrement() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
减1
decrement() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
减1
decrement() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
减1
decrement() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
减1
decrementAndGet() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
返回减1后的值
decrementAndGet() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
返回减1后的值
decrementAndGet() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
返回减1后的值
decrementAndGet() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
返回减1后的值
DEFAULT_FORMATTER - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
默认时间格式器
DEFAULT_PATTERN - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
默认的时间格式
DefaultIndexedPriorityQueue<T> - cn.wjybxx.base.collection中的类
参考自Netty的实现
DefaultIndexedPriorityQueue(Comparator<? super T>) - 类的构造器 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
DefaultIndexedPriorityQueue(Comparator<? super T>, int) - 类的构造器 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
DefaultObjectPool<T> - cn.wjybxx.base.pool中的类
对象池的默认实现
DefaultObjectPool(Supplier<? extends T>, ResetPolicy<? super T>) - 类的构造器 cn.wjybxx.base.pool.DefaultObjectPool
 
DefaultObjectPool(Supplier<? extends T>, ResetPolicy<? super T>, int) - 类的构造器 cn.wjybxx.base.pool.DefaultObjectPool
 
defaultValue(Class<T>) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
获取一个类型的默认值
DelayedCompressList<E> - cn.wjybxx.base.collection中的类
迭代期间延迟压缩空间的List,在迭代期间删除元素只会清理元素,不会减少size,而插入元素会添加到List末尾并增加size 1.不支持插入Null -- 理论上做的到,但会导致较高的复杂度,也很少有需要。
DelayedCompressList() - 类的构造器 cn.wjybxx.base.collection.DelayedCompressList
 
DelayedCompressList(int) - 类的构造器 cn.wjybxx.base.collection.DelayedCompressList
 
DelayedCompressList(Collection<? extends E>) - 类的构造器 cn.wjybxx.base.collection.DelayedCompressList
 
DequeOverflowBehavior - cn.wjybxx.base.collection中的枚举类
有界双端队列的溢出策略
DESCENDING - 枚举类 中的枚举常量 cn.wjybxx.base.SortOrder
降序 -- -1对序列化不是很友好,但-1表意清楚
descendingIterator() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
descendingIterator() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
differDays(long, long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
计算两个时间戳相差的天数
differWeeks(long, long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
计算两个时间戳相差的周数
Disable(int) - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
禁用选项
DISCARD_HEAD - 枚举类 中的枚举常量 cn.wjybxx.base.collection.DequeOverflowBehavior
丢弃首部 -- 当尾部插入元素时,允许覆盖首部;首部插入时抛出异常。
DISCARD_TAIL - 枚举类 中的枚举常量 cn.wjybxx.base.collection.DequeOverflowBehavior
丢弃尾部 -- 当首部插入元素时,允许覆盖尾部;尾部插入时抛出异常。
disjoint(Collection<?>, Collection<?>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
如果两个集合没有任何公共元素,则返回true
divide(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
divide(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
divide(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
divide(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
divide(Number) - 接口中的方法 cn.wjybxx.base.mutable.MutableNumber
 
DO_NOTHING - 接口中的静态变量 cn.wjybxx.base.pool.ResetPolicy
 
DOUBLE_ROUNDING_ERROR - 类中的静态变量 cn.wjybxx.base.MathCommon
 
doubleValue() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
doubleValue() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
doubleValue() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
doubleValue() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
doubleValue() - 接口中的方法 cn.wjybxx.base.mutable.MutableNumber
 

E

elapsed() - 类中的方法 cn.wjybxx.base.time.StopWatch
获取开始到现在消耗的总时间
elapsed(TimeUnit) - 类中的方法 cn.wjybxx.base.time.StopWatch
获取开始到现在消耗的总时间
element() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
element() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
EMPTY - 枚举类 中的枚举常量 cn.wjybxx.base.OptionalBool
 
EMPTY_BOOLEAN_ARRAY - 类中的静态变量 cn.wjybxx.base.CollectionUtils
 
EMPTY_BYTE_ARRAY - 类中的静态变量 cn.wjybxx.base.CollectionUtils
 
EMPTY_CLASS_ARRAY - 类中的静态变量 cn.wjybxx.base.CollectionUtils
 
EMPTY_DOUBLE_ARRAY - 类中的静态变量 cn.wjybxx.base.CollectionUtils
 
EMPTY_FLOAT_ARRAY - 类中的静态变量 cn.wjybxx.base.CollectionUtils
 
EMPTY_INT_ARRAY - 类中的静态变量 cn.wjybxx.base.CollectionUtils
 
EMPTY_LONG_ARRAY - 类中的静态变量 cn.wjybxx.base.CollectionUtils
 
EMPTY_OBJECT_ARRAY - 类中的静态变量 cn.wjybxx.base.CollectionUtils
 
EMPTY_STRING_ARRAY - 类中的静态变量 cn.wjybxx.base.CollectionUtils
 
emptyBiConsumer() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
emptyConsumer() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
EmptyDequeue<E> - cn.wjybxx.base.collection中的类
 
EmptyDequeue() - 类的构造器 cn.wjybxx.base.collection.EmptyDequeue
 
emptyDoubleConsumer() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
emptyIntConsumer() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
emptyLongConsumer() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
emptyRunnable() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
emptyToDef(String, String) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
空字符串转默认字符串 -- 避免string泛型转换
emptyToDef(T, T) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
空字符串转默认字符串
Enable(int) - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
启用选项
END_OF_DAY - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
一天的结束:午夜 23:59:59
endItr() - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
迭代结束 -- 必须在finally块中调用,否则可能使List处于无效状态
ensureMutable() - 接口中的方法 cn.wjybxx.base.mutable.MutabilityValidator
 
EnumLite - cn.wjybxx.base中的接口
轻量枚举 相对于Enum.ordinal()Enum.name(),我们自定义的EnumLite.getNumber()会更加稳定。
EnumLiteMap<T> - cn.wjybxx.base中的接口
实现类应该保持为不可变
EnumUtils - cn.wjybxx.base中的类
 
equals(Object) - 类中的方法 cn.wjybxx.base.AbstractConstant
 
equals(Object) - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
equals(Object) - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
equals(Object) - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
equals(Object) - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
equals(Object) - 类中的方法 cn.wjybxx.base.mutable.MutableObject
 
equals(Object) - 类中的方法 cn.wjybxx.base.tuple.Tuple2
 
equals(Object) - 类中的方法 cn.wjybxx.base.tuple.Tuple3
 
ErrorCodeException - cn.wjybxx.base.ex中的异常错误类
用于返回一个错误码结果,Rpc底层会对此做特殊支持
ErrorCodeException(int, String) - 异常错误类的构造器 cn.wjybxx.base.ex.ErrorCodeException
 
execute(String, Object) - 接口中的方法 cn.wjybxx.base.ExtensibleObject
执行一个命令(用于扩展方法)。
exists(String) - 类中的方法 cn.wjybxx.base.ConstantMap
 
exists(String) - 类中的方法 cn.wjybxx.base.ConstantPool
 
ExtensibleObject - cn.wjybxx.base中的接口
可扩展的对象。

F

FALSE - 枚举类 中的枚举常量 cn.wjybxx.base.OptionalBool
 
fillInStackTrace() - 异常错误类中的方法 cn.wjybxx.base.concurrent.StacklessCancellationException
 
findAllClass(String) - 类中的静态方法 cn.wjybxx.base.ClassScanner
从包package中获取所有的Class
findClasses(String, Predicate<String>, Predicate<Class<?>>) - 类中的静态方法 cn.wjybxx.base.ClassScanner
加载指定包下符合条件的class
findClasses(String, Predicate<String>, Predicate<Class<?>>, ClassLoader) - 类中的静态方法 cn.wjybxx.base.ClassScanner
加载指定包下符合条件的class
findFirst(List<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
findLast(List<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
findTypeMatcher(T, Class<? super T>, String) - 类中的静态方法 cn.wjybxx.base.reflect.TypeParameterMatcher
查找指定泛型参数对应的类型匹配器。
findTypeParameter(T, Class<? super T>, String) - 类中的静态方法 cn.wjybxx.base.reflect.TypeParameterFinder
从instance所属的类开始,查找在superClazzOrInterfaced定义的泛型参数typeParamName的具体类型 (该方法更安全)
findTypeParameterUnsafe(Class<T>, Class<? super T>, String) - 类中的静态方法 cn.wjybxx.base.reflect.TypeParameterFinder
从指定类开始查找在superClazzOrInterfaced定义的泛型参数typeParamName的具体类型。
first(Collection<E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
获取集合的首个元素
firstCharToLowerCase(String) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
首字母小写
firstCharToUpperCase(String) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
首字母大写
firstEntry(Map<K, V>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
firstKey(Map<K, ?>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
firstOrDefault(Collection<E>, E) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
如果集合不为空,则返回第一个元素,否则返回默认值
firstOrDefault(List<E>, E) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
FLOAT_ROUNDING_ERROR - 类中的静态变量 cn.wjybxx.base.MathCommon
 
floatValue() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
floatValue() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
floatValue() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
floatValue() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
floatValue() - 接口中的方法 cn.wjybxx.base.mutable.MutableNumber
 
flush() - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 
forceReady(long) - 类中的方法 cn.wjybxx.base.time.Regulator
强制使用当前时间更新调节器。
forEach(Consumer<? super E>) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
forEach(Consumer<? super E>) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
迭代List内的元素,该快捷方式不会迭代迭代期间新增的元素 如果需要元素的下标,请使用DelayedCompressList.forEach(ObjIntConsumer)
forEach(Consumer<? super E>) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
forEach(ObjIntConsumer<? super E>) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
迭代List内的元素,该快捷方式不会迭代迭代期间新增的元素
formatTime(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
将 毫秒时间 格式化为 默认字符串格式TimeUtils.DEFAULT_PATTERN
formatTime(long, DateTimeFormatter) - 类中的方法 cn.wjybxx.base.time.TimeHelper
将 毫秒时间 格式化为 指定格式
forName(List<T>, String) - 类中的静态方法 cn.wjybxx.base.EnumUtils
通过名字查找枚举。
forNameIgnoreCase(List<T>, String) - 类中的静态方法 cn.wjybxx.base.EnumUtils
通过名字查找枚举(忽略名字的大小写)。
forNumber(int) - 枚举类中的静态方法 cn.wjybxx.base.collection.DequeOverflowBehavior
序列化
forNumber(int) - 接口中的方法 cn.wjybxx.base.EnumLiteMap
通过数字找到对应的枚举
forNumber(int) - 枚举类中的静态方法 cn.wjybxx.base.OptionalBool
 
forNumber(int) - 枚举类中的静态方法 cn.wjybxx.base.SortOrder
 
forNumber(int, T) - 接口中的方法 cn.wjybxx.base.EnumLiteMap
 
FunctionUtils - cn.wjybxx.base.function中的类
 
FunctionUtils() - 类的构造器 cn.wjybxx.base.function.FunctionUtils
 

G

get() - 类中的方法 cn.wjybxx.base.collection.RefIndexedElement
 
get() - 类中的方法 cn.wjybxx.base.pool.DefaultObjectPool
 
get() - 接口中的方法 cn.wjybxx.base.pool.ObjectPool
该接口更多用于适配,不建议直接使用
get() - 类中的方法 cn.wjybxx.base.pool.SingleObjectPool
 
get(int) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
获取指定位置的元素
get(String) - 类中的方法 cn.wjybxx.base.ConstantMap
获取一个常量,若不存在关联的常量则返回null。
get(String) - 类中的方法 cn.wjybxx.base.ConstantPool
获取一个常量,若不存在关联的常量则返回null。
getAndAdd(double) - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
返回当前值
getAndAdd(float) - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
返回当前值
getAndAdd(int) - 类中的方法 cn.wjybxx.base.mutable.MutableInt
返回当前值
getAndAdd(long) - 类中的方法 cn.wjybxx.base.mutable.MutableLong
返回当前值
getAndDecrement() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
减1并返回当前值
getAndDecrement() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
减1并返回当前值
getAndDecrement() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
减1并返回当前值
getAndDecrement() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
减1并返回当前值
getAndIncrement() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
加1并返回当前值
getAndIncrement() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
加1并返回当前值
getAndIncrement() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
加1并返回当前值
getAndIncrement() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
加1并返回当前值
getAndSet(T) - 类中的方法 cn.wjybxx.base.mutable.MutableObject
 
getArrayType() - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder
 
getAsBool() - 枚举类中的方法 cn.wjybxx.base.OptionalBool
 
getBool(String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getBool(String, boolean) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getBuilder() - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 
getByte(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
 
getCacheIndex() - 类中的方法 cn.wjybxx.base.Constant.Builder
获取分配的高速缓存索引 -- -1表示未设置。
getCallerInfo(int) - 类中的静态方法 cn.wjybxx.base.ThreadUtils
获取调用者信息。
getCallerInfo(Predicate<StackWalker.StackFrame>) - 类中的静态方法 cn.wjybxx.base.ThreadUtils
获取调用者信息。
getCode() - 异常错误类中的方法 cn.wjybxx.base.concurrent.BetterCancellationException
取消码
getContext() - 类中的方法 cn.wjybxx.base.time.Regulator
任务关联的上下文
getCount() - 类中的方法 cn.wjybxx.base.time.Regulator
已触发次数
getDeclaringPool() - 类中的方法 cn.wjybxx.base.Constant.Builder
 
getDefCapacity() - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder
默认分配的数组空间大小
getDegree() - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
紧急程度
getDegree(int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
计算取消码终归的紧急程度
getDelay(long) - 类中的方法 cn.wjybxx.base.time.Regulator
获取下次执行的延迟
getDeltaTime() - 类中的方法 cn.wjybxx.base.time.Regulator
如果是固定频率的调节器,应该使用Regulator.getPeriod()获取更新间隔。
getDeltaTime() - 接口中的方法 cn.wjybxx.base.time.Timepiece
当前帧和前一帧之间的时间跨度 -- Timepiece.update(int)
getDouble(String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getDouble(String, double) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getErrorCode() - 异常错误类中的方法 cn.wjybxx.base.ex.ErrorCodeException
 
getExtBlackboard() - 接口中的方法 cn.wjybxx.base.ExtensibleObject
获取对象的扩展黑板(用于临时存储属性) 注意:必须是对象的一个属性字段。
getField(int, int, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
 
getField(long, long, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
 
getFirst() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
getFirst() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
getFirst() - 类中的方法 cn.wjybxx.base.tuple.Tuple2
 
getFirst() - 类中的方法 cn.wjybxx.base.tuple.Tuple3
 
getFirstDelay() - 类中的方法 cn.wjybxx.base.time.Regulator
 
getFloat(String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getFloat(String, float) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getFrameCount() - 接口中的方法 cn.wjybxx.base.time.Timepiece
获取运行帧数 -- 每秒60帧可运行410天
getGenericSuperType(Class<T>, Class<? super T>) - 类中的静态方法 cn.wjybxx.base.reflect.TypeParameterFinder
获取包含泛型信息的超类(或接口)
getId() - 类中的方法 cn.wjybxx.base.Constant.Builder
 
getIdOrThrow() - 类中的方法 cn.wjybxx.base.Constant.Builder
 
getInstance() - 类中的静态方法 cn.wjybxx.base.collection.EmptyDequeue
 
getInt(String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getInt(String, int) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getInt16(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
大端:从buffer中读取一个Int16
getInt16LE(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
小端:从buffer中读取一个Int16
getInt32(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
大端:从buffer中读取一个Int32
getInt32LE(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
小端:从buffer中读取一个Int32
getInt64(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
大端:从buffer中读取一个Int64
getInt64LE(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
小端:从buffer中读取一个Int64
getKey() - 类中的方法 cn.wjybxx.base.tuple.Tuple2
 
getLast() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
getLast() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
getLastUpdateTime() - 类中的方法 cn.wjybxx.base.time.Regulator
获取上次成功更新的时间戳 它的具体含义取悦于更新时使用的curTime的含义。
getLog() - 类中的方法 cn.wjybxx.base.time.StopWatch
获取最终log。
getLong(String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getLong(String, long) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getMaxCapacity() - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder
可缓存的数组的最大空间 -- 超过大小的数组销毁
getName() - 类中的方法 cn.wjybxx.base.Constant.Builder
 
getName() - 类中的方法 cn.wjybxx.base.time.StopWatch
停表的名字
getNumber() - 枚举类中的方法 cn.wjybxx.base.collection.DequeOverflowBehavior
 
getNumber() - 接口中的方法 cn.wjybxx.base.EnumLite
 
getNumber() - 枚举类中的方法 cn.wjybxx.base.OptionalBool
 
getNumber() - 枚举类中的方法 cn.wjybxx.base.SortOrder
 
getOffsetMillis() - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取时区的毫秒偏移量
getOffsetSeconds() - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取时区的秒偏移量
getOrDefault(List<E>, int, E) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
注意:如果list包含null,且def也是null,则返回Null时无法判断是否来自集合。
getOrThrow(String) - 类中的方法 cn.wjybxx.base.ConstantMap
获取一个常量,若不存在关联的常量则抛出异常
getOrThrow(String) - 类中的方法 cn.wjybxx.base.ConstantPool
获取一个常量,若不存在关联的常量则抛出异常
getOrThrow(Map<K, V>, K) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
如果给定键不存在则抛出异常
getOrThrow(Map<K, V>, K, String) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
getPeriod() - 类中的方法 cn.wjybxx.base.time.Regulator
 
getPoolSize() - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder
对象池大小 - 等于0则不缓存
getPoolSize() - 类中的方法 cn.wjybxx.base.pool.DefaultObjectPool
 
getReason() - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
取消的原因
getReason(int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
计算取消码中的原因
getSecond() - 类中的方法 cn.wjybxx.base.tuple.Tuple2
 
getSecond() - 类中的方法 cn.wjybxx.base.tuple.Tuple3
 
getSortedLog() - 类中的方法 cn.wjybxx.base.time.StopWatch
获取按照时间消耗排序后的log。
getString(String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getString(String, String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getThird() - 类中的方法 cn.wjybxx.base.tuple.Tuple3
 
getTime() - 接口中的方法 cn.wjybxx.base.time.Timepiece
 
getTime() - 接口中的方法 cn.wjybxx.base.time.TimeProvider
获取当前的时间戳 时间的单位需要自行约定,通常是毫秒
getTimeBeginOfMonth(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取本月的开始时间戳 本月第一天的 00:00:00.000
getTimeBeginOfMonth(long, int) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取月的开始时间戳
getTimeBeginOfToday(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取指定时间戳所在日期的00:00:00的毫秒时间戳
getTimeBeginOfWeek(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取指定时间戳所在周的周一00:00:00的毫秒时间戳
getTimeEndOfMonth(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取本月的结束时间戳 本月最后一天的23:59:59.999
getTimeEndOfMonth(long, int) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取月的结束时间戳
getTimeEndOfToday(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取指定时间戳所在日期的23:59:59的毫秒时间戳
getTimeEndOfWeek(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取指定时间戳所在周的周日23:59:59.999的毫秒时间戳
getTimeHourOfToday(long, int) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取当天特定小时的时间戳
getUInt32(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
大端:从buffer中读取一个Int32
getUInt32LE(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
小端:从buffer中读取一个Int32
getUInt48(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
大端:从buffer中读取一个UInt48
getUInt48LE(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
小端:从buffer中读取一个Int48
getUnifiedHashCode(String) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
获取跨语言统一的HashCode
getUnsignedByte(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
 
getValue() - 接口中的方法 cn.wjybxx.base.mutable.Mutable
获取当前值
getValue() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
getValue() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
getValue() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
getValue() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
getValue() - 类中的方法 cn.wjybxx.base.mutable.MutableObject
 
getValue() - 类中的方法 cn.wjybxx.base.tuple.Tuple2
 
getZoneOffset() - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取时区偏移

H

hashCode() - 类中的方法 cn.wjybxx.base.AbstractConstant
 
hashCode() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
hashCode() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
hashCode() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
hashCode() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
hashCode() - 类中的方法 cn.wjybxx.base.mutable.MutableObject
 
hashCode() - 类中的方法 cn.wjybxx.base.tuple.Tuple2
 
hashCode() - 类中的方法 cn.wjybxx.base.tuple.Tuple3
 
hashCode(Object) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
hashCode(Object...) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
hashCode(Object, Object) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
hashCode(Object, Object, Object) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
HH_MM - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
时分的格式化器
HH_MM_SS - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
时分秒的格式化器
higherIntOfLong(long) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
higherShortOfInt(int) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
HOURS_PER_DAY - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1天的小时数
HOURS_PER_WEEK - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1周的小时数

I

id() - 类中的方法 cn.wjybxx.base.AbstractConstant
 
id() - 接口中的方法 cn.wjybxx.base.Constant
注意: 1.
identity() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
IMMUTABLE - 接口中的静态变量 cn.wjybxx.base.mutable.MutabilityValidator
 
increment() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
加1
increment() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
加1
increment() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
加1
increment() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
加1
incrementAndGet() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
返回加1后的值
incrementAndGet() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
返回加1后的值
incrementAndGet() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
返回加1后的值
incrementAndGet() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
返回加1后的值
index(Object) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
基于equals查找元素在List中的位置
INDEX_NOT_FOUND - 类中的静态变量 cn.wjybxx.base.collection.DelayedCompressList
 
INDEX_NOT_FOUND - 类中的静态变量 cn.wjybxx.base.CollectionUtils
 
INDEX_NOT_FOUNT - 接口中的静态变量 cn.wjybxx.base.collection.IndexedElement
注意:未插入的节点的所以必须初始化为该值
indexCustom(Predicate<? super E>) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
自定义index查询;自定义查询时不支持查找null
IndexedCollection<E> - cn.wjybxx.base.collection中的接口
在元素身上存储了索引信息的集合。
IndexedElement - cn.wjybxx.base.collection中的接口
被索引的元素 1.索引信息存储在元素上,可大幅提高查找效率; 2.如果对象可能存在多个集合中,慎重实现该接口,更建议为每个集合设置一个粘合对象;
IndexedPriorityQueue<T> - cn.wjybxx.base.collection中的接口
参考自netty的实现 由于Collection中的API是基于Object的,不利于查询性能,添加了一些限定类型的方法。
indexOfCustom(List<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
indexOfRef(Object) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
基于引用相等查找元素在List中的位置
indexOfRef(List<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
查找对象引用在数组中的索引
indexOfRef(List<?>, Object, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
查找对象引用在List中的索引
indexOfRef(T[], Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
查找对象引用在数组中的索引
indexOfRef(T[], Object, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
查找对象引用在数组中的索引
InfiniteLoopException - cn.wjybxx.base.ex中的异常错误类
死循环预防
InfiniteLoopException() - 异常错误类的构造器 cn.wjybxx.base.ex.InfiniteLoopException
 
InfiniteLoopException(String) - 异常错误类的构造器 cn.wjybxx.base.ex.InfiniteLoopException
 
InfiniteLoopException(String, Throwable) - 异常错误类的构造器 cn.wjybxx.base.ex.InfiniteLoopException
 
InfiniteLoopException(String, Throwable, boolean, boolean) - 异常错误类的构造器 cn.wjybxx.base.ex.InfiniteLoopException
 
InfiniteLoopException(Throwable) - 异常错误类的构造器 cn.wjybxx.base.ex.InfiniteLoopException
 
INST1 - 异常错误类中的静态变量 cn.wjybxx.base.concurrent.StacklessCancellationException
 
INSTANCE - 类中的静态变量 cn.wjybxx.base.collection.EmptyDequeue
 
INSTANCE - 类中的静态变量 cn.wjybxx.base.io.LocalByteArrayPool
 
INSTANCE - 类中的静态变量 cn.wjybxx.base.io.LocalCharArrayPool
 
INSTANCE - 类中的静态变量 cn.wjybxx.base.io.LocalStringBuilderPool
 
instOf(int) - 异常错误类中的静态方法 cn.wjybxx.base.concurrent.StacklessCancellationException
 
INT_MASK1 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
INT_MASK2 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
INT_MASK3 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
INT_MASK4 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
INT48_MAX_VALUE - 类中的静态变量 cn.wjybxx.base.MathCommon
有符号48位整数的最大值(140737488355327L)
INT48_MIN_VALUE - 类中的静态变量 cn.wjybxx.base.MathCommon
有符号48位整数的最小值(-140737488355328L)
Internal - cn.wjybxx.base.annotation中的批注接口
该注解注解的类/方法表示为内部实现,外部不要使用
intValue() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
intValue() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
intValue() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
intValue() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
intValue() - 接口中的方法 cn.wjybxx.base.mutable.MutableNumber
 
inverseMap(Map<K, V>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
inverseMap(Map<K, V>, Map<V, K>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
invert() - 枚举类中的方法 cn.wjybxx.base.CaseMode
 
IORuntimeException - cn.wjybxx.base.io中的异常错误类
用于替代IOException的非受检异常。
IORuntimeException() - 异常错误类的构造器 cn.wjybxx.base.io.IORuntimeException
 
IORuntimeException(String) - 异常错误类的构造器 cn.wjybxx.base.io.IORuntimeException
 
IORuntimeException(String, Throwable) - 异常错误类的构造器 cn.wjybxx.base.io.IORuntimeException
 
IORuntimeException(String, Throwable, boolean, boolean) - 异常错误类的构造器 cn.wjybxx.base.io.IORuntimeException
 
IORuntimeException(Throwable) - 异常错误类的构造器 cn.wjybxx.base.io.IORuntimeException
 
IRegistration - cn.wjybxx.base中的接口
注册监听器产生的句柄。
isAnySet(int, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
是否设置了mask关联的任意bit
isAnySet(long, long) - 类中的静态方法 cn.wjybxx.base.BitFlags
是否设置了mask关联的任意bit
isBetween(double, double, double) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isBetween(float, float, float) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isBetween(int, int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isBetween(long, long, long) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isBetween(short, short, short) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isBlank(CharSequence) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
isBlank(String) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
isCancelling(int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
取消码是否表示已收到取消信号
isChecked(Throwable) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
是否是受检异常
isClear() - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder
数组在归还时是否清理数组内容
isDelayed() - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
是否处于延迟压缩状态;是否在迭代期间删除了元素
isEmpty() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
isEmpty() - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
isEmpty() - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
判断list是否为空 注意:迭代期间删除的元素并不会导致size变化,因此该值是一个不准确的值。
isEmpty() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
isEmpty() - 接口中的方法 cn.wjybxx.base.EnumLiteMap
 
isEmpty() - 枚举类中的方法 cn.wjybxx.base.OptionalBool
 
isEmpty(CharSequence) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
isEmpty(Collection<?>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
isEmpty(Map<?, ?>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
isEqual(double, double) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isEqual(double, double, double) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isEqual(float, float) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isEqual(float, float, float) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isEven(int) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isFalse() - 枚举类中的方法 cn.wjybxx.base.OptionalBool
 
isFromFuture(int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
取消信号是否来自future接口
isInt48(long) - 类中的静态方法 cn.wjybxx.base.MathCommon
判断一个数是否是有效的int48
isInterruptible() - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
是否中断线程
isInterruptible(int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
取消指令中是否要求了中断线程
isIterating() - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
当前是否正在迭代
isLowerCase() - 枚举类中的方法 cn.wjybxx.base.CaseMode
 
isNotSetAt(int, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
是否未设置指定下标的bit
isNotSetAt(long, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
是否未设置指定下标的bit
isNull() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
isNumberContinuity(List<T>) - 类中的静态方法 cn.wjybxx.base.EnumUtils
枚举的数字是否连续
isNumberContinuity(List<T>, ToIntFunction<? super T>) - 类中的静态方法 cn.wjybxx.base.EnumUtils
枚举的数字是否连续
isOdd(int) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isPeriodic() - 类中的方法 cn.wjybxx.base.time.Regulator
 
isPowerOfTwo(int) - 类中的静态方法 cn.wjybxx.base.MathCommon
判断一个值是否是2的整次幂
isPresent() - 枚举类中的方法 cn.wjybxx.base.OptionalBool
 
isReady(long) - 类中的方法 cn.wjybxx.base.time.Regulator
 
isRealEmpty() - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
查询List是否真的为空 如果当前正在迭代,则可能产生遍历统计的情况,要注意开销问题。
isRequireCacheIndex() - 类中的方法 cn.wjybxx.base.Constant.Builder
 
isRunning() - 类中的方法 cn.wjybxx.base.time.StopWatch
停表是否处于运行状态
isSameDay(long, long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
判断两个时间是否是同一天 (同样的两个时间戳,在不同的时区,结果可能不同)
isSameWeek(long, long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
判断两个时间是否是同一周
isSet(int, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
是否设置了mask关联的所有bit
isSet(long, long) - 类中的静态方法 cn.wjybxx.base.BitFlags
是否设置了mask关联的所有bit
isSetAt(int, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
是否设置了指定下标的bit
isSetAt(long, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
是否设置了指定下标的bit
isStarted() - 类中的方法 cn.wjybxx.base.time.StopWatch
停表是否已启动,且尚未停止
isStopped() - 类中的方法 cn.wjybxx.base.time.StopWatch
停表是否已停止
isSuspended() - 类中的方法 cn.wjybxx.base.time.StopWatch
停表是否处于挂起/暂停状态
isTrue() - 枚举类中的方法 cn.wjybxx.base.OptionalBool
 
isUInt32(long) - 类中的静态方法 cn.wjybxx.base.MathCommon
判断一个数是否是有效的uint32
isUInt48(long) - 类中的静态方法 cn.wjybxx.base.MathCommon
判断一个数是否是有效的uint48
isUnchecked(Throwable) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
是否是非受检异常 -- 通常指运行时异常
isUpperCase() - 枚举类中的方法 cn.wjybxx.base.CaseMode
 
isWithoutRemove() - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
是否无需立即从任务队列中删除
isWithoutRemove(int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
取消指令中是否要求了无需删除
isZero(double) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isZero(double, double) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isZero(float) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
isZero(float, float) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
iterator() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
iterator() - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
iterator() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 

J

joint(Collection<?>, Collection<?>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
如果两个集合存在公共元素,则返回true
joinUninterruptedly(Thread) - 类中的静态方法 cn.wjybxx.base.ThreadUtils
 

L

lastChar(CharSequence) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
获取字符串的尾字符
lastIndex(Object) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
基于equals逆向查找元素在List中的位置
lastIndexCustom(Predicate<? super E>) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
自定义lastIndex查询;自定义查询时不支持查找null
lastIndexOfCustom(List<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
lastIndexOfRef(Object) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
基于引用相等逆向查找元素在List中的位置
lastIndexOfRef(List<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
反向查找对象引用在List中的索引
lastIndexOfRef(List<?>, Object, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
反向查找对象引用在List中的索引
lastIndexOfRef(T[], Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
反向查找对象引用在数组中的索引
lastIndexOfRef(T[], Object, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
反向查找对象引用在数组中的索引
lastOrDefault(List<E>, E) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
length(CharSequence) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
lengthOfMonth(LocalDateTime) - 类中的静态方法 cn.wjybxx.base.time.TimeUtils
获取月份的天数,总是忘记api...
listStepElapsed() - 类中的方法 cn.wjybxx.base.time.StopWatch
获取当前已有的步骤耗时信息
loadPropertiesFromFile(File) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
loadPropertiesFromFile(String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
从普通文件中读取原始的配置
loadPropertiesFromJar(String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
从jar包读取配置原始的配置
loadPropertiesFromJar(String, ClassLoader) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
LocalByteArrayPool - cn.wjybxx.base.io中的类
基于ThreadLocal的简单buffer池 (默认不支持扩容,因此用途有限 -- 外部可以归还扩容后的数组) (netty的ByteBuf池化是做得比较好的)
LocalByteArrayPool() - 类的构造器 cn.wjybxx.base.io.LocalByteArrayPool
 
LocalCharArrayPool - cn.wjybxx.base.io中的类
基于ThreadLocal的简单buffer池 (默认不支持扩容,因此用途有限 -- 外部可以归还扩容后的数组)
LocalCharArrayPool() - 类的构造器 cn.wjybxx.base.io.LocalCharArrayPool
 
localInst() - 类中的方法 cn.wjybxx.base.io.LocalByteArrayPool
获取线程本地实例 - 慎用;定义为实例方法,以免和LocalByteArrayPool.INSTANCE的提示冲突
localInst() - 类中的方法 cn.wjybxx.base.io.LocalCharArrayPool
获取线程本地实例 - 慎用;定义为实例方法,以免和LocalCharArrayPool.INSTANCE的提示冲突
localInst() - 类中的方法 cn.wjybxx.base.io.LocalStringBuilderPool
获取线程本地实例 - 慎用;定义为实例方法,以免和LocalStringBuilderPool.INSTANCE的提示冲突
LocalStringBuilderPool - cn.wjybxx.base.io中的类
基于ThreadLocal的Builder池
LocalStringBuilderPool() - 类的构造器 cn.wjybxx.base.io.LocalStringBuilderPool
 
logStep(String) - 类中的方法 cn.wjybxx.base.time.StopWatch
记录该步骤的耗时
LONG_MASK1 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
LONG_MASK2 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
LONG_MASK3 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
LONG_MASK4 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
LONG_MASK5 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
LONG_MASK6 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
LONG_MASK7 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
LONG_MASK8 - 类中的静态变量 cn.wjybxx.base.MathCommon
 
LONG_MAX_POWER_OF_TWO - 类中的静态变量 cn.wjybxx.base.MathCommon
 
longValue() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
longValue() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
longValue() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
longValue() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
longValue() - 接口中的方法 cn.wjybxx.base.mutable.MutableNumber
 
LOWER_CASE - 枚举类 中的枚举常量 cn.wjybxx.base.CaseMode
 
lowerIntOfLong(long) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
lowerShortOfInt(int) - 类中的静态方法 cn.wjybxx.base.MathCommon
 

M

mapping(T[]) - 类中的静态方法 cn.wjybxx.base.EnumUtils
根据枚举的values建立索引;
mapping(T[], boolean) - 类中的静态方法 cn.wjybxx.base.EnumUtils
根据枚举的values建立索引;
MarkInterface - cn.wjybxx.base.annotation中的批注接口
用于标注目标接口为标记接口
MASK_DEGREE - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
紧迫程度的掩码(4it)-- 0表示未指定
MASK_FROM_FUTURE - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
表示取消信号来自Future的取消接口
MASK_INTERRUPT - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
中断的掩码 (1bit)
MASK_REASON - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
原因的掩码 1.如果cancelCode不包含其它信息,就等于reason 2.设定为20位,可达到100W
MASK_REVERSED - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
预留4bit
MASK_WITHOUT_REMOVE - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
告知任务无需执行删除逻辑 -- 慎用
matchInstance(Object) - 类中的方法 cn.wjybxx.base.reflect.TypeParameterMatcher
查询实例是否与泛型参数匹配
matchType(Class<?>) - 类中的方法 cn.wjybxx.base.reflect.TypeParameterMatcher
查询指定类是否是泛型参数的子类
MathCommon - cn.wjybxx.base中的类
 
MathCommon() - 类的构造器 cn.wjybxx.base.MathCommon
 
max(double, double, double) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
max(float, float, float) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
max(int, int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
max(long, long, long) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
max(short, short) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
max(short, short, short) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
MAX_DEGREE - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
最大紧急程度
MAX_POWER_OF_TWO - 类中的静态变量 cn.wjybxx.base.MathCommon
 
MAX_REASON - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
最大取消原因
MILLIS_PER_DAY - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1天的毫秒数
MILLIS_PER_HOUR - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1小时的毫秒数
MILLIS_PER_MINUTE - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1分钟的毫秒数
MILLIS_PER_SECOND - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1秒的毫秒数
MILLIS_PER_WEEK - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1周的毫秒数
min(double, double, double) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
min(float, float, float) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
min(int, int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
min(long, long, long) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
min(short, short) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
min(short, short, short) - 类中的静态方法 cn.wjybxx.base.MathCommon
 
MINUTES_PER_DAY - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1天的分钟数
MINUTES_PER_HOUR - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1小时的分钟数
MINUTES_PER_WEEK - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1周的分钟数
multiply(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
multiply(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
multiply(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
multiply(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
multiply(Number) - 接口中的方法 cn.wjybxx.base.mutable.MutableNumber
 
multiplyAndClamp(int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
求两个int的乘积,溢出时clamp到int范围
multiplyAndClamp(int, int, int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
求两个int的乘积,同时clamp到给定的范围
multiplyToInt(short, short) - 类中的静态方法 cn.wjybxx.base.MathCommon
两个short安全相乘,返回一个int,避免越界;相乘之后再强转可能越界.
multiplyToLong(int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
两个int安全相乘,返回一个long,避免越界;相乘之后再强转可能越界。
MutabilityValidator - cn.wjybxx.base.mutable中的接口
可变性校验
Mutable<T> - cn.wjybxx.base.mutable中的接口
主要为基础值类型提供可变性
MutableDouble - cn.wjybxx.base.mutable中的类
 
MutableDouble() - 类的构造器 cn.wjybxx.base.mutable.MutableDouble
 
MutableDouble(double) - 类的构造器 cn.wjybxx.base.mutable.MutableDouble
 
MutableDouble(Number) - 类的构造器 cn.wjybxx.base.mutable.MutableDouble
 
MutableDouble(String) - 类的构造器 cn.wjybxx.base.mutable.MutableDouble
 
MutableFloat - cn.wjybxx.base.mutable中的类
 
MutableFloat() - 类的构造器 cn.wjybxx.base.mutable.MutableFloat
 
MutableFloat(float) - 类的构造器 cn.wjybxx.base.mutable.MutableFloat
 
MutableFloat(Number) - 类的构造器 cn.wjybxx.base.mutable.MutableFloat
 
MutableFloat(String) - 类的构造器 cn.wjybxx.base.mutable.MutableFloat
 
MutableInt - cn.wjybxx.base.mutable中的类
 
MutableInt() - 类的构造器 cn.wjybxx.base.mutable.MutableInt
 
MutableInt(int) - 类的构造器 cn.wjybxx.base.mutable.MutableInt
 
MutableInt(Number) - 类的构造器 cn.wjybxx.base.mutable.MutableInt
 
MutableInt(String) - 类的构造器 cn.wjybxx.base.mutable.MutableInt
 
MutableLong - cn.wjybxx.base.mutable中的类
 
MutableLong() - 类的构造器 cn.wjybxx.base.mutable.MutableLong
 
MutableLong(long) - 类的构造器 cn.wjybxx.base.mutable.MutableLong
 
MutableLong(Number) - 类的构造器 cn.wjybxx.base.mutable.MutableLong
 
MutableLong(String) - 类的构造器 cn.wjybxx.base.mutable.MutableLong
 
MutableNumber<T> - cn.wjybxx.base.mutable中的接口
 
MutableObject<T> - cn.wjybxx.base.mutable中的类
 
MutableObject() - 类的构造器 cn.wjybxx.base.mutable.MutableObject
 
MutableObject(T) - 类的构造器 cn.wjybxx.base.mutable.MutableObject
 

N

name() - 类中的方法 cn.wjybxx.base.AbstractConstant
 
name() - 接口中的方法 cn.wjybxx.base.Constant
注意: 1.
names() - 类中的方法 cn.wjybxx.base.ConstantMap
 
NANOS_PER_DAY - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1天的纳秒数
NANOS_PER_HOURS - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1小时的纳秒数
NANOS_PER_MILLI - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1毫秒的纳秒数
NANOS_PER_MINUTES - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1分钟的纳秒数
NANOS_PER_SECOND - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1秒的纳秒数
newArrayList(E) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newArrayList(E, E) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newArrayList(E, E, E) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newConcurrentBuilder(Class<T>) - 类中的静态方法 cn.wjybxx.base.io.ArrayPoolBuilder
 
newConstant(Constant.Builder) - 接口中的方法 cn.wjybxx.base.ConstantFactory
 
newConstantMap() - 类中的方法 cn.wjybxx.base.ConstantPool
创建一个当前常量池的快照
newDelayedCompressList() - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newDelayedCompressList(int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newDelayedCompressList(Collection<? extends E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newFixedDelay(long, long) - 类中的静态方法 cn.wjybxx.base.time.Regulator
 
newFixedRate(long, long) - 类中的静态方法 cn.wjybxx.base.time.Regulator
 
newHashMap(int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
创建一个能存储指定元素数量的HashMap
newHashMap(K, V) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
创建一个包含初始kv的HashMap
newHashMap(K, V, K, V) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newHashSet(int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newIdentityHashMap(int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newIdentityHashSet(int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newInstance(Constant.Builder) - 类中的方法 cn.wjybxx.base.ConstantPool
创建一个常量,如果已存在关联的常量,则抛出异常。
newInstance(String) - 类中的方法 cn.wjybxx.base.ConstantPool
创建一个常量,如果已存在关联的常量,则抛出异常。
newLinkedHashMap(int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
创建一个能存储指定元素数量的LinkedHashMap
newLinkedHashMap(K, V) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
创建一个包含初始kv的LinkedHashMap
newLinkedHashMap(K, V, K, V) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newLinkedHashSet(int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newOnce(long) - 类中的静态方法 cn.wjybxx.base.time.Regulator
 
newPool(ConstantFactory<? extends T>) - 类中的静态方法 cn.wjybxx.base.ConstantPool
 
newPool(ConstantFactory<? extends T>, int) - 类中的静态方法 cn.wjybxx.base.ConstantPool
 
newSimpleBuilder(Class<T>) - 类中的静态方法 cn.wjybxx.base.io.ArrayPoolBuilder
 
newTimepiece() - 类中的静态方法 cn.wjybxx.base.time.TimeProviders
创建一个基于deltaTime更新的时间提供器,用在一些特殊的场合。
newTimeProvider(long) - 类中的静态方法 cn.wjybxx.base.time.TimeProviders
创建一个支持缓存的时间提供器,但不是线程安全的。
nextPowerOfTwo(int) - 类中的静态方法 cn.wjybxx.base.MathCommon
计算num最接近下一个整2次幂;如果自身是2的整次幂,则会返回自身
nextPowerOfTwo(long) - 类中的静态方法 cn.wjybxx.base.MathCommon
计算num最接近下一个整2次幂;如果自身是2的整次幂,则会返回自身
NoLogRequiredException - cn.wjybxx.base.ex中的接口
如果一个异常实现了该接口,那么当其被捕获时,我们并不为其自动记录日志。
NONE - 枚举类 中的枚举常量 cn.wjybxx.base.SortOrder
无序
notNull() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
nullToArrayList(List<E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
如果列表为Null,则返回空数组列表
nullToDef(V, V) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
如果给定参数为null,则返回给定的默认值,否则返回值本身 Objects.requireNonNullElse(Object, Object)不允许def为null
nullToEmptyList(List<E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
如果列表为Null,则返回空列表
number - 枚举类中的变量 cn.wjybxx.base.SortOrder
 

O

ObjectPool<T> - cn.wjybxx.base.pool中的接口
简单对象池
ObjectUtils - cn.wjybxx.base中的类
一些基础的扩展
ObjectUtils() - 类的构造器 cn.wjybxx.base.ObjectUtils
 
of(A, B) - 类中的静态方法 cn.wjybxx.base.tuple.Tuple2
 
of(A, B, C) - 类中的静态方法 cn.wjybxx.base.tuple.Tuple3
 
of(E) - 类中的静态方法 cn.wjybxx.base.collection.RefIndexedElement
 
of(ZoneOffset) - 类中的静态方法 cn.wjybxx.base.time.TimeHelper
 
offer(E) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
offer(E) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
offer(T) - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
offerFirst(E) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
offerFirst(E) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
offerLast(E) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
offerLast(E) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
OFFSET_DEGREE - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
紧急度的偏移量
OFFSET_REASON - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
取消原因的偏移量
OptionalBool - cn.wjybxx.base中的枚举类
使用Boolean类型容易忘记检查null
orElse(boolean) - 枚举类中的方法 cn.wjybxx.base.OptionalBool
 
orElseThrow() - 枚举类中的方法 cn.wjybxx.base.OptionalBool
 

P

parallelStream() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
parallelStream() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
parseTimeMillis(String) - 类中的方法 cn.wjybxx.base.time.TimeHelper
解析为毫秒时间戳
parseTimeMillis(String, DateTimeFormatter) - 类中的方法 cn.wjybxx.base.time.TimeHelper
解析为毫秒时间戳
peek() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
peek() - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
peek() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
peekFirst() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
peekFirst() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
peekLast() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
peekLast() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
poll() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
poll() - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
poll() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
pollFirst() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
pollFirst() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
pollLast() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
pollLast() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
pop() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
pop() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
position(Buffer, int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
JDK9+的代码跑在JDK8上的兼容问题
Preconditions - cn.wjybxx.base中的类
这里包含了一些我们常用的前置条件检查,没有做太多的优化。
Preconditions() - 类的构造器 cn.wjybxx.base.Preconditions
 
Priority - cn.wjybxx.base.annotation中的批注接口
用于配置目标的优先级
priorityChanged(T) - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
priorityChanged(T) - 接口中的方法 cn.wjybxx.base.collection.IndexedPriorityQueue
队列中节点元素的优先级发生变化时,将通过该方法通知队列调整
push(E) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
push(E) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 

R

ReadOnlyAfterInit - cn.wjybxx.base.annotation中的批注接口
用于标识一个只读在完成初始化以后是只读的,即:安全发布后可用于多线程访问
realSize() - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
获取list的真实大小 如果当前正在迭代,则可能产生遍历统计的情况,要注意开销问题。
REASON_DEFAULT - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
默认原因
REASON_SHUTDOWN - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
Executor关闭 -- Executor关闭不一定会取消任务
REASON_TIMEOUT - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
执行超时
recoveryInterrupted() - 类中的静态方法 cn.wjybxx.base.ThreadUtils
恢复中断
recoveryInterrupted(Throwable) - 类中的静态方法 cn.wjybxx.base.ThreadUtils
如果是中断异常,则恢复线程中断状态,否则不产生效用
RefIndexedElement<E> - cn.wjybxx.base.collection中的类
 
Regulator - cn.wjybxx.base.time中的类
频率调节器 - 可理解为轮询式Timer调度器。
release(byte[]) - 类中的方法 cn.wjybxx.base.io.LocalByteArrayPool
 
release(byte[], boolean) - 类中的方法 cn.wjybxx.base.io.LocalByteArrayPool
 
release(char[]) - 类中的方法 cn.wjybxx.base.io.LocalCharArrayPool
 
release(char[], boolean) - 类中的方法 cn.wjybxx.base.io.LocalCharArrayPool
 
release(StringBuilder) - 类中的方法 cn.wjybxx.base.io.LocalStringBuilderPool
 
release(StringBuilder) - 类中的方法 cn.wjybxx.base.io.StringBuilderPool
 
release(T) - 接口中的方法 cn.wjybxx.base.io.ArrayPool
归还数组到池 是否清理数组取决于配置和实现
release(T) - 类中的方法 cn.wjybxx.base.io.ConcurrentArrayPool
 
release(T) - 类中的方法 cn.wjybxx.base.io.SimpleArrayPool
 
release(T) - 类中的方法 cn.wjybxx.base.pool.DefaultObjectPool
 
release(T) - 接口中的方法 cn.wjybxx.base.pool.ObjectPool
将指定的对象放入池中 - 重置策略却决于ResetPolicy
release(T) - 类中的方法 cn.wjybxx.base.pool.SingleObjectPool
 
release(T, boolean) - 接口中的方法 cn.wjybxx.base.io.ArrayPool
归还数组到池
release(T, boolean) - 类中的方法 cn.wjybxx.base.io.ConcurrentArrayPool
 
release(T, boolean) - 类中的方法 cn.wjybxx.base.io.SimpleArrayPool
 
releaseAll(Collection<? extends T>) - 类中的方法 cn.wjybxx.base.pool.DefaultObjectPool
 
releaseAll(Collection<? extends T>) - 接口中的方法 cn.wjybxx.base.pool.ObjectPool
将指定的对象放入池中 - 重置策略却决于ResetPolicy
releaseAll(Collection<? extends T>) - 类中的方法 cn.wjybxx.base.pool.SingleObjectPool
 
remove() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
remove() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
remove(Object) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
remove(Object) - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
remove(Object) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
根据equals相等删除元素
remove(Object) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
removeAll(ArrayList<E>, Collection<? extends E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
removeAll(Collection<?>) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
removeAll(Collection<?>) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
removeAt(int) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
删除给定位置的元素
removeAt(List<E>, int, boolean) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
删除指定位置的元素,可以选择是否保持列表中元素的顺序,当不需要保持顺序时可以对删除性能进行优化 注意:应当小心使用该特性,能够使用该特性的场景不多,应当慎之又慎。
removeFirst() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
removeFirst() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
removeFirstMatch(Collection<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
移除集合中第一个匹配的元素
removeFirstMatch(List<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
移除list中第一个匹配的元素 -- 最好是数组列表
removeFirstN(List<?>, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
删除list的前n个元素
removeFirstOccurrence(Object) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
removeFirstOccurrence(Object) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
removeIf(Predicate<? super E>) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
removeIf(Predicate<? super E>) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
removeLast() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
removeLast() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
removeLastMatch(List<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
移除List中最后一个匹配的元素 -- 最好是数组列表
removeLastN(List<?>, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
删除list的后n个元素
removeLastOccurrence(Object) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
removeLastOccurrence(Object) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
removeRef(Object) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
根据引用相等删除元素
removeRef(Collection<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
使用“==”删除第一个匹配的元素
removeRef(List<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
使用“==”删除对象
removeRef(List<?>, Object, boolean) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
使用“==”删除对象
removeTyped(T) - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
removeTyped(T) - 接口中的方法 cn.wjybxx.base.collection.IndexedPriorityQueue
 
reset() - 类中的方法 cn.wjybxx.base.time.StopWatch
重置停表 注意:为了安全起见,请要么在代码的开始重置,要么在finally块中重置。
reset(T) - 接口中的方法 cn.wjybxx.base.pool.ResetPolicy
 
ResetPolicy<T> - cn.wjybxx.base.pool中的接口
对象池对象的重置策略。
restart() - 类中的方法 cn.wjybxx.base.time.StopWatch
restart() - 接口中的方法 cn.wjybxx.base.time.Timepiece
重新启动计时 - 累积时间和deltaTime都清零。
restart(long) - 类中的方法 cn.wjybxx.base.time.Regulator
重新启动调节器 (没有单独的start方法,因为逻辑无区别)
restart(long, int, int) - 接口中的方法 cn.wjybxx.base.time.Timepiece
重新启动计时器
resume() - 类中的方法 cn.wjybxx.base.time.StopWatch
恢复计时
retainAll(Collection<?>) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
retainAll(Collection<?>) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
rethrow(Throwable) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
抛出原始异常,消除编译时警告
reversed() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 

S

SECONDS_PER_DAY - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1天的秒数
SECONDS_PER_HOUR - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1小时的秒数
SECONDS_PER_MINUTE - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1分钟的秒数
SECONDS_PER_WEEK - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
1周的秒数
set(int, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
启用指定bit
set(int, int, boolean) - 类中的静态方法 cn.wjybxx.base.BitFlags
设置指定bit位 -- 全0或全1
set(int, E) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
将给定元素赋值到给定位置
set(long, long) - 类中的静态方法 cn.wjybxx.base.BitFlags
启用指定bit
set(long, long, boolean) - 类中的静态方法 cn.wjybxx.base.BitFlags
设置指定bit位 -- 全0或全1
setAt(int, int, boolean) - 类中的静态方法 cn.wjybxx.base.BitFlags
设置指定下标的bit
setAt(long, int, boolean) - 类中的静态方法 cn.wjybxx.base.BitFlags
设置指定下标的bit
setByte(byte[], int, byte) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
 
setByte(byte[], int, int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
 
setCacheIndex(int) - 类中的方法 cn.wjybxx.base.Constant.Builder
设置高速缓存索引 -- 该方法由ConstantPool调用
setCapacity(int, DequeOverflowBehavior) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
setClear(boolean) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder.ConcurrentArrayPoolBuilder
 
setClear(boolean) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder
 
setClear(boolean) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder.SimpleArrayPoolBuilder
 
setContext(Object) - 类中的方法 cn.wjybxx.base.time.Regulator
 
setDefCapacity(int) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder.ConcurrentArrayPoolBuilder
 
setDefCapacity(int) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder
 
setDefCapacity(int) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder.SimpleArrayPoolBuilder
 
setDegree(int) - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
 
setDegree(int, int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
设置紧急程度
setDeltaTime(int) - 接口中的方法 cn.wjybxx.base.time.Timepiece
在不修改当前时间戳的情况下修改deltaTime (仅仅用在补偿的时候,慎用)
setField(int, int, int, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
 
setField(long, long, int, long) - 类中的静态方法 cn.wjybxx.base.BitFlags
 
setFirstDelay(long) - 类中的方法 cn.wjybxx.base.time.Regulator
 
setFrameCount(int) - 接口中的方法 cn.wjybxx.base.time.Timepiece
在不修改当前时间戳的情况下修改frameCount (慎用)
setId(Object, int) - 类中的方法 cn.wjybxx.base.Constant.Builder
设置常量的id - id通常由管理常量的常量池分配
setInt16(byte[], int, short) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
大端:向buffer中写入一个Int16
setInt16LE(byte[], int, short) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
小端:向buffer中写入一个Int16
setInt32(byte[], int, int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
大端:向buffer中写入一个Int32
setInt32LE(byte[], int, int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
小端:向buffer中写入一个Int32
setInt64(byte[], int, long) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
大端:向buffer中写入一个Int64
setInt64LE(byte[], int, long) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
小端:向buffer中写入一个Int64
setInterruptible(boolean) - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
 
setInterruptible(int, boolean) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
设置中断标记
setMaxCapacity(int) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder.ConcurrentArrayPoolBuilder
 
setMaxCapacity(int) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder
 
setMaxCapacity(int) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder.SimpleArrayPoolBuilder
 
setPeriod(long) - 类中的方法 cn.wjybxx.base.time.Regulator
 
setPoolSize(int) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder.ConcurrentArrayPoolBuilder
 
setPoolSize(int) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder
 
setPoolSize(int) - 类中的方法 cn.wjybxx.base.io.ArrayPoolBuilder.SimpleArrayPoolBuilder
 
setReason(int) - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
 
setReason(int, int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
设置取消原因
setRequireCacheIndex(boolean) - 类中的方法 cn.wjybxx.base.Constant.Builder
设置是否需要分配高速缓存索引
setTime(long) - 接口中的方法 cn.wjybxx.base.time.CachedTimeProvider
 
setTime(long) - 接口中的方法 cn.wjybxx.base.time.Timepiece
设置当前时间
setUInt32(byte[], int, long) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
大端:向buffer中写入一个Int32
setUInt32LE(byte[], int, long) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
小端:向buffer中写入一个Int32
setUInt48(byte[], int, long) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
大端:向buffer中写入一个UInt48
setUInt48LE(byte[], int, long) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
小端:向buffer中写入一个Int48
setValue(double) - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
setValue(float) - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
setValue(int) - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
setValue(long) - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
setValue(B) - 类中的方法 cn.wjybxx.base.tuple.Tuple2
 
setValue(Double) - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
setValue(Float) - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
setValue(Integer) - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
setValue(Long) - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
setValue(T) - 接口中的方法 cn.wjybxx.base.mutable.Mutable
 
setValue(T) - 类中的方法 cn.wjybxx.base.mutable.MutableObject
 
setWithoutRemove(boolean) - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
 
setWithoutRemove(int, boolean) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
设置是否不立即删除
SHARED_BYTE_ARRAY_POOL - 类中的静态变量 cn.wjybxx.base.io.ConcurrentArrayPool
全局共享字节数组池
SHARED_CHAR_ARRAY_POOL - 类中的静态变量 cn.wjybxx.base.io.ConcurrentArrayPool
全局共享char数组池 -- charArray的使用频率稍低
SHARED_RANDOM - 类中的静态变量 cn.wjybxx.base.MathCommon
 
SimpleArrayPool<T> - cn.wjybxx.base.io中的类
简单数组池实现
SimpleArrayPool(ArrayPoolBuilder.SimpleArrayPoolBuilder<T>) - 类的构造器 cn.wjybxx.base.io.SimpleArrayPool
 
SimpleArrayPool(Class<T>, int, int, int) - 类的构造器 cn.wjybxx.base.io.SimpleArrayPool
 
SimpleArrayPool(Class<T>, int, int, int, boolean) - 类的构造器 cn.wjybxx.base.io.SimpleArrayPool
 
SimpleArrayPoolBuilder(Class<T>) - 类的构造器 cn.wjybxx.base.io.ArrayPoolBuilder.SimpleArrayPoolBuilder
 
SingleObjectPool<T> - cn.wjybxx.base.pool中的类
只缓存单个对象对象池 相比直接使用共享对象,使用该缓存池可避免递归调用带来的bug
SingleObjectPool(Supplier<? extends T>, ResetPolicy<? super T>) - 类的构造器 cn.wjybxx.base.pool.SingleObjectPool
 
size() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
size() - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
size() - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
获取list的当前大小 注意:迭代期间删除的元素并不会导致size变化,因此该值是一个不准确的值。
size() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
size() - 类中的方法 cn.wjybxx.base.ConstantMap
常量对象数
size() - 类中的方法 cn.wjybxx.base.ConstantPool
 
size() - 接口中的方法 cn.wjybxx.base.EnumLiteMap
 
sleepQuietly(long) - 类中的静态方法 cn.wjybxx.base.ThreadUtils
安静地睡眠一会儿
SmallArrayList<E> - cn.wjybxx.base.collection中的类
用于数据量较少的情况下,避免较大的初始容量
SmallArrayList() - 类的构造器 cn.wjybxx.base.collection.SmallArrayList
 
SmallArrayList(Collection<? extends E>) - 类的构造器 cn.wjybxx.base.collection.SmallArrayList
 
sort(Comparator<? super E>) - 类中的方法 cn.wjybxx.base.collection.DelayedCompressList
 
sortedValues() - 接口中的方法 cn.wjybxx.base.EnumLiteMap
获取有序的所有枚举实例(根据number排序)
SortOrder - cn.wjybxx.base中的枚举类
排序类型枚举
SourceFileRef - cn.wjybxx.base.annotation中的批注接口
用于标注关联的源文件 保留策略修改为Runtime,我们可以在运行时查找关联的类,从而进行动态绑定
spliterator() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
spliterator() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
StableName - cn.wjybxx.base.annotation中的批注接口
用于标识方法或字段等的名字是稳定的(或应该保持稳定) 通常是为生成的代码服务
StacklessCancellationException - cn.wjybxx.base.concurrent中的异常错误类
不打印堆栈的取消异常
StacklessCancellationException(int) - 异常错误类的构造器 cn.wjybxx.base.concurrent.StacklessCancellationException
 
StacklessCancellationException(int, String) - 异常错误类的构造器 cn.wjybxx.base.concurrent.StacklessCancellationException
 
start() - 类中的方法 cn.wjybxx.base.time.StopWatch
开始计时。
START_OF_DAY - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
一天的开始:午夜 00:00:00 The time of midnight at the start of the day, '00:00'.
Stateful - cn.wjybxx.base.annotation中的批注接口
用于标记一个类是有状态的
Stateless - cn.wjybxx.base.annotation中的批注接口
用于标记一个类是无状态的,也就是线程安全的
stepElapsed() - 类中的方法 cn.wjybxx.base.time.StopWatch
获取当前步骤已消耗的时间
stepElapsed(TimeUnit) - 类中的方法 cn.wjybxx.base.time.StopWatch
获取当前步骤已消耗的时间
stop() - 类中的方法 cn.wjybxx.base.time.StopWatch
停止计时
stop(String) - 类中的方法 cn.wjybxx.base.time.StopWatch
停止计时。
StopWatch - cn.wjybxx.base.time中的类
停表 -- 用于监测每一步的耗时和总耗时。
StopWatch(String) - 类的构造器 cn.wjybxx.base.time.StopWatch
 
stream() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
stream() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
streamOf(Iterable<T>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
Converts interable to a non-parallel stream.
streamOf(Iterator<T>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
Converts iterator to a stream.
StringBuilderPool - cn.wjybxx.base.io中的类
 
StringBuilderPool(int, int) - 类的构造器 cn.wjybxx.base.io.StringBuilderPool
 
StringBuilderPool(int, int, int) - 类的构造器 cn.wjybxx.base.io.StringBuilderPool
 
StringBuilderWriter - cn.wjybxx.base.io中的类
修改自StringWriter
StringBuilderWriter() - 类的构造器 cn.wjybxx.base.io.StringBuilderWriter
 
StringBuilderWriter(int) - 类的构造器 cn.wjybxx.base.io.StringBuilderWriter
 
StringBuilderWriter(StringBuilder) - 类的构造器 cn.wjybxx.base.io.StringBuilderWriter
 
subtract(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
subtract(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
subtract(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
subtract(Number) - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
subtract(Number) - 接口中的方法 cn.wjybxx.base.mutable.MutableNumber
 
sumAndClamp(int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
求两个int的和,溢出时clamp到int范围
sumAndClamp(int, int, int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
求两个int的和,同时clamp到给定的范围
suspend() - 类中的方法 cn.wjybxx.base.time.StopWatch
暂停计时
SYSTEM - 类中的静态变量 cn.wjybxx.base.time.TimeHelper
系统时区对应的辅助类实例
systemMillisProvider() - 类中的静态方法 cn.wjybxx.base.time.TimeProviders
获取[毫秒]实时时间提供器
systemNanosProvider() - 类中的静态方法 cn.wjybxx.base.time.TimeProviders
获取[纳秒]实时时间提供器
SystemPropsUtils - cn.wjybxx.base中的类
系统属性工具类 除了系统属性外,我们不会再使用properties格式的配置文件,会选择json或dson.
SystemPropsUtils() - 类的构造器 cn.wjybxx.base.SystemPropsUtils
 

T

ThreadUtils - cn.wjybxx.base中的类
 
ThreadUtils() - 类的构造器 cn.wjybxx.base.ThreadUtils
 
THROW_EXCEPTION - 枚举类 中的枚举常量 cn.wjybxx.base.collection.DequeOverflowBehavior
抛出异常
throwUnchecked(T) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
如果异常是非受检异常,则直接抛出,否则返回异常对象。
TimeHelper - cn.wjybxx.base.time中的类
主要封装与时区相关的方法 (去除继承限制,子类应当保持实现为不可变)
TimeHelper(ZoneOffset) - 类的构造器 cn.wjybxx.base.time.TimeHelper
 
timeOfDayMillis(long) - 类中的静态方法 cn.wjybxx.base.time.TimeUtils
 
timeOfDaySeconds(int) - 类中的静态方法 cn.wjybxx.base.time.TimeUtils
 
Timepiece - cn.wjybxx.base.time中的接口
增量式计时器,需要外部每帧调用Timepiece.update(int)累积时间
TimeProvider - cn.wjybxx.base.time中的接口
时间提供者,用户外部获取时间 线程安全性取决于具体实现
TimeProviders - cn.wjybxx.base.time中的类
 
TimeUtils - cn.wjybxx.base.time中的类
时间工具类 -- 以毫秒为基本单位。
toArray() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
toArray() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
toArray(IntFunction<T[]>) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
toArray(IntFunction<T[]>) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
toArray(T[]) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
toArray(T[]) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
toArrayList(E[]) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
toArrayList(E[], int, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
toBiConsumer(BiFunction<T, U, R>) - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
toBiFunction(BiConsumer<T, U>) - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
toBiFunction(BiConsumer<T, U>, R) - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
toBitSet(Collection<T>) - 类中的静态方法 cn.wjybxx.base.EnumUtils
 
toBitSet(T...) - 类中的静态方法 cn.wjybxx.base.EnumUtils
 
toBoxBool() - 枚举类中的方法 cn.wjybxx.base.OptionalBool
获取装箱值
toCase(String) - 枚举类中的方法 cn.wjybxx.base.CaseMode
 
toConsumer(Function<T, R>) - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
toDateTime(long) - 类中的方法 cn.wjybxx.base.time.TimeUtils
 
toEpochMillis(LocalDateTime) - 类中的方法 cn.wjybxx.base.time.TimeHelper
LocalDateTime转换为时区无关的毫秒时间戳。
toEpochMillis(LocalDateTime) - 类中的静态方法 cn.wjybxx.base.time.TimeUtils
 
toFunction(Consumer<T>) - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
toFunction(Consumer<T>, R) - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
toImmutableEnumMap(Map<K, V>, Class<K>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
转换为不可变的EnumMap,用于需要保持高效查询的场景
toImmutableEnumSet(Collection<E>, Class<E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
转换为不可变的EnumSet,用户需要保持高效查询效率的场景
toImmutableLinkedHashMap(Map<K, V>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
转换为不可变的LinkedHashMap,通常用于需要保留Key的顺序的场景
toImmutableLinkedHashSet(Collection<E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
转换为不可变的LinkedHashSet,用于需要保持元素顺序的场景
toImmutableList(Collection<E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
toImmutableList(Collection<E>, Comparator<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
toImmutableMap(Map<K, V>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
toImmutableMultiEnumMap(Map<K, ? extends Collection<V>>, Class<K>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
转换为不可变的EnumMap,用于需要保持高效查询的场景
toImmutableMultiLinkedHashMap(Map<K, ? extends Collection<V>>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
转换为不可变的LinkedHashMap,通常用于需要保留Key的顺序的场景
toImmutableMultiMap(Map<K, ? extends Collection<V>>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
toImmutableSet(Collection<E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
toList(E[]) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
toList(E[], int, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
toLocalDateTime(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
将毫秒时间转换为LocalDateTime
toLocalDateTimeIgnoreMs(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
将毫秒时间转换为LocalDateTime,并忽略毫秒。
toLocalEpochDay(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
计算在本地时区下的纪元天数
toMillis(long, long) - 类中的静态方法 cn.wjybxx.base.time.TimeUtils
将秒时间和毫秒时间合并为毫秒时间
toMillisOfDay(LocalTime) - 类中的静态方法 cn.wjybxx.base.time.TimeUtils
 
toSecondOfDay(LocalTime) - 类中的静态方法 cn.wjybxx.base.time.TimeUtils
 
toString() - 类中的方法 cn.wjybxx.base.AbstractConstant
 
toString() - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 
toString() - 类中的方法 cn.wjybxx.base.mutable.MutableDouble
 
toString() - 类中的方法 cn.wjybxx.base.mutable.MutableFloat
 
toString() - 类中的方法 cn.wjybxx.base.mutable.MutableInt
 
toString() - 类中的方法 cn.wjybxx.base.mutable.MutableLong
 
toString() - 类中的方法 cn.wjybxx.base.mutable.MutableObject
 
toString() - 枚举类中的方法 cn.wjybxx.base.OptionalBool
 
toString() - 类中的方法 cn.wjybxx.base.time.StopWatch
格式: StopWatch[name={name}ms][a={a}ms,b={b}ms...] 1.
toString() - 类中的方法 cn.wjybxx.base.tuple.Tuple2
 
toString() - 类中的方法 cn.wjybxx.base.tuple.Tuple3
 
toString(Object, String) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
toString(LocalDate) - 类中的静态方法 cn.wjybxx.base.time.TimeHelper
固定格式: yyyy-MM-dd
toString(LocalDateTime) - 类中的方法 cn.wjybxx.base.time.TimeHelper
组合下来4中格式: yyyy-MM-ddTHH:mm:ssZ yyyy-MM-ddTHH:mm:ss.SSSZ yyyy-MM-ddTHH:mm:ss±HH:mm yyyy-MM-ddTHH:mm:ss.SSS±HH:mm
toString(LocalTime) - 类中的静态方法 cn.wjybxx.base.time.TimeHelper
两种格式 HH:mm:ss HH:mm:ss.SSS 毫秒数不为0时
toString(ZoneOffset) - 类中的静态方法 cn.wjybxx.base.time.TimeHelper
两种格式 Z ±HH:mm
toStringFunction() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
toStringIfNotNull(Object) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
TriConsumer<T,U,V> - cn.wjybxx.base.function中的接口
 
TriFunction<T,U,V,R> - cn.wjybxx.base.function中的接口
 
TRUE - 枚举类 中的枚举常量 cn.wjybxx.base.OptionalBool
 
Tuple2<A,B> - cn.wjybxx.base.tuple中的类
二元组
Tuple2(A, B) - 类的构造器 cn.wjybxx.base.tuple.Tuple2
 
Tuple3<A,B,C> - cn.wjybxx.base.tuple中的类
三元组
Tuple3(A, B, C) - 类的构造器 cn.wjybxx.base.tuple.Tuple3
 
TypeParameterFinder - cn.wjybxx.base.reflect中的类
泛型参数具体类型查找器。
TypeParameterFinder() - 类的构造器 cn.wjybxx.base.reflect.TypeParameterFinder
 
TypeParameterMatcher - cn.wjybxx.base.reflect中的类
类型参数匹配器
TypeParameterMatcher() - 类的构造器 cn.wjybxx.base.reflect.TypeParameterMatcher
 

U

UINT32_MAX_VALUE - 类中的静态变量 cn.wjybxx.base.MathCommon
32位无符号整数的最大值
UINT48_MAX_VALUE - 类中的静态变量 cn.wjybxx.base.MathCommon
48位无符号整数的最大值
union(List<E>, List<? extends E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
连接列表
union(List<E>, List<? extends E>, List<E>...) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
连接多个列表
unorderedRemoveIf(List<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
删除满足条件的元素,且不保持列表中元素的顺序 -- 慎用该方法。
unset(int, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
删除指定bit
unset(long, long) - 类中的静态方法 cn.wjybxx.base.BitFlags
删除指定bit
unsetField(int, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
 
unsetField(long, long) - 类中的静态方法 cn.wjybxx.base.BitFlags
 
update(int) - 接口中的方法 cn.wjybxx.base.time.Timepiece
累加时间
UPPER_CASE - 枚举类 中的枚举常量 cn.wjybxx.base.CaseMode
 

V

value() - 批注接口 中的元素 cn.wjybxx.base.annotation.Alias
 
value() - 批注接口 中的元素 cn.wjybxx.base.annotation.Priority
权重值
value() - 批注接口 中的元素 cn.wjybxx.base.annotation.SourceFileRef
 
valueOf(boolean) - 枚举类中的静态方法 cn.wjybxx.base.OptionalBool
返回带有指定名称的该类的枚举常量。
valueOf(Boolean) - 枚举类中的静态方法 cn.wjybxx.base.OptionalBool
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 cn.wjybxx.base.CaseMode
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 cn.wjybxx.base.collection.DequeOverflowBehavior
返回带有指定名称的该类的枚举常量。
valueOf(String) - 类中的方法 cn.wjybxx.base.ConstantPool
获取给定名字对应的常量。
valueOf(String) - 枚举类中的静态方法 cn.wjybxx.base.OptionalBool
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 cn.wjybxx.base.SortOrder
返回带有指定名称的该类的枚举常量。
values() - 枚举类中的静态方法 cn.wjybxx.base.CaseMode
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 cn.wjybxx.base.collection.DequeOverflowBehavior
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 类中的方法 cn.wjybxx.base.ConstantMap
 
values() - 类中的方法 cn.wjybxx.base.ConstantPool
注意: 1.该操作是个高开销的操作。
values() - 接口中的方法 cn.wjybxx.base.EnumLiteMap
获取映射的所有枚举实例(声明序)。
values() - 枚举类中的静态方法 cn.wjybxx.base.OptionalBool
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 cn.wjybxx.base.SortOrder
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
VisibleForTesting - cn.wjybxx.base.annotation中的批注接口
用于表述某个元素的开放权限仅用于测试

W

wjybxx.commons.base - 模块 wjybxx.commons.base
可以被个人所有开源项目依赖的的基础模块
WORKING_DIR - 类中的静态变量 cn.wjybxx.base.SystemPropsUtils
工作目录
wrapComparator(Comparator<? super E>) - 类中的静态方法 cn.wjybxx.base.collection.RefIndexedElement
 
write(char[], int, int) - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 
write(int) - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 
write(String) - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 
write(String, int, int) - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 

Y

YYYY_MM_DD - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
年月日的格式化器

Z

ZONE_OFFSET_CST - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
中国时区
ZONE_OFFSET_SYSTEM - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
系统时区
ZONE_OFFSET_UTC - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
UTC时区
zoneOffset - 类中的变量 cn.wjybxx.base.time.TimeHelper
 

一些技巧 - 类 cn.wjybxx.base.ConstantPool中的搜索标记

使

使用方式 - 类 cn.wjybxx.base.collection.DelayedCompressList中的搜索标记

缺陷 - 类 cn.wjybxx.base.io.ConcurrentArrayPool中的搜索标记

队列 OR 栈 - 类 cn.wjybxx.base.pool.DefaultObjectPool中的搜索标记
A B C D E F G H I J L M N O P R S T U V W Y Z  使   
常量字段值|所有程序包|所有类和接口|序列化表格