索引

A B C D E F G H I J K 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.pool.ArrayLikePool
返回池中一个默认大小的数组
acquire() - 接口中的方法 cn.wjybxx.base.pool.ArrayPool
返回池中一个默认大小的数组
acquire() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool
 
acquire() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool
 
acquire() - 类中的方法 cn.wjybxx.base.pool.ConcurrentObjectPool
 
acquire() - 类中的方法 cn.wjybxx.base.pool.DefaultObjectPool
 
acquire() - 接口中的方法 cn.wjybxx.base.pool.ObjectPool
从池中租借一个对象
acquire() - 类中的方法 cn.wjybxx.base.pool.SingleObjectPool
 
acquire(int) - 接口中的方法 cn.wjybxx.base.pool.ArrayLikePool
1.返回的数组可能大于期望的数组长度 2.默认情况下不清理
acquire(int) - 接口中的方法 cn.wjybxx.base.pool.ArrayPool
1.返回的数组可能大于期望的数组长度 2.默认情况下不清理
acquire(int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool
 
acquire(int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool
 
acquire(int, boolean) - 接口中的方法 cn.wjybxx.base.pool.ArrayPool
 
acquire(int, boolean) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool
 
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.DefaultDynamicArray
 
add(E) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
添加元素 不论是否正在迭代,length一定会增加。
add(E) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
add(E) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
add(E) - 类中的方法 cn.wjybxx.base.collection.SmallArrayList
 
add(E) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
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.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
返回加上操作数后的值
addBucket(int, int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
addBucket(int, int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
addComponent(IComponent) - 接口中的方法 cn.wjybxx.base.fx.IEntity
添加组件
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
 
ARRAY_BOOL - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ARRAY_BYTE - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ARRAY_CHAR - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ARRAY_DOUBLE - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ARRAY_FLOAT - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ARRAY_INT - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ARRAY_LONG - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ARRAY_OBJECT - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ARRAY_SHORT - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ARRAY_STRING - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ArrayBucketConfig - cn.wjybxx.base.pool中的类
 
ArrayBucketConfig(int, int) - 类的构造器 cn.wjybxx.base.pool.ArrayBucketConfig
 
ArrayLikePool<T> - cn.wjybxx.base.pool中的接口
类数组(ArrayLike)对象池抽象 类数组的定义:对象和数组一样固定长度(空间),不可自动扩容,常见于数组的封装类。
ARRAYLIST - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ArrayPool<T> - cn.wjybxx.base.pool中的接口
数组池 Java不是真泛型,因此泛型不是数组元素的类型,而是数组的类型。
arrayRankSymbol(int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
ArrayUtils - cn.wjybxx.base中的类
数组工具类
ArrayUtils() - 类的构造器 cn.wjybxx.base.ArrayUtils
 
ASCENDING - 枚举类 中的枚举常量 cn.wjybxx.base.SortOrder
升序
asList(E[]) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
asList(E[], int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
asTuple2() - 类中的方法 cn.wjybxx.base.tuple.Tuple3
 

B

beginItr() - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
beginItr() - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
开始迭代
beginItr() - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
beginItr() - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
BEHAVIOR - 枚举类 中的枚举常量 cn.wjybxx.base.fx.ComponentKind
普通行为组件;即使有可以被框架调度的方法,也不会被调度
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
 
BetterIndexedPriorityQueue<T> - cn.wjybxx.base.collection中的类
参考自Netty的实现
BetterIndexedPriorityQueue(IndexedElementHelper<? super T>, Class<T>, Comparator<? super T>) - 类的构造器 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
 
BetterIndexedPriorityQueue(IndexedElementHelper<? super T>, Class<T>, Comparator<? super T>, int) - 类的构造器 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
虽然我们可以通过反射拿到T的类型,但明显用户传入更加高效
biAlwaysFalse() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
biAlwaysTrue() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
binarySearch(List<T>, int, int, ToIntFunction<? super T>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
如果元素存在,则返回元素对应的下标; 如果元素不存在,则返回(-(insertion point) - 1) 即: (index + 1) * -1 可得应当插入的下标。
binarySearch(List<T>, ToIntFunction<? super T>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
如果元素存在,则返回元素对应的下标; 如果元素不存在,则返回(-(insertion point) - 1) 即: (index + 1) * -1 可得应当插入的下标。
binarySearch(List<T>, T, int, int, Comparator<? super T>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
如果元素存在,则返回元素对应的下标; 如果元素不存在,则返回(-(insertion point) - 1) 即: (index + 1) * -1 可得应当插入的下标。
binarySearch(List<T>, T, Comparator<? super T>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
如果元素存在,则返回元素对应的下标; 如果元素不存在,则返回(-(insertion point) - 1) 即: (index + 1) * -1 可得应当插入的下标。
binarySearch(T[], int, int, ToIntFunction<? super T>) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
如果元素存在,则返回元素对应的下标; 如果元素不存在,则返回(-(insertion point) - 1) 即: (index + 1) * -1 可得应当插入的下标。
binarySearch(T[], ToIntFunction<? super T>) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
如果元素存在,则返回元素对应的下标; 如果元素不存在,则返回(-(insertion point) - 1) 即: (index + 1) * -1 可得应当插入的下标。
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
空白字符串转默认字符串
BOOL - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
BoundedArrayDeque<E> - cn.wjybxx.base.collection中的类
滑动式双端队列 1.当达到容量限制时,将自动移除另一端的元素。
BoundedArrayDeque(int, DequeOverflowBehavior) - 类的构造器 cn.wjybxx.base.collection.BoundedArrayDeque
 
box() - 类中的方法 cn.wjybxx.base.TypeInfo
基础类型装箱
BOXED_BOOL - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
BOXED_BYTE - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
BOXED_CHAR - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
BOXED_DOUBLE - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
BOXED_FLOAT - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
BOXED_INT - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
BOXED_LONG - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
BOXED_SHORT - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
BOXED_VOID - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
build() - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
 
build() - 类中的方法 cn.wjybxx.base.Constant.Builder
注意!
build() - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
build() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
build() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
Builder(PoolableArrayHandler<T>) - 类的构造器 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
Builder(String) - 类的构造器 cn.wjybxx.base.Constant.Builder
 
Builder(String) - 类的构造器 cn.wjybxx.base.fx.ComponentId.Builder
 
BYTE - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
ByteBufferUtils - cn.wjybxx.base.io中的类
 
ByteBufferUtils() - 类的构造器 cn.wjybxx.base.io.ByteBufferUtils
 

C

CachedTimeProvider - cn.wjybxx.base.time中的接口
该接口表示实现类是基于缓存时间戳的,需要外部定时去更新 线程安全性取决于实现类
canBeCancelled() - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
当前token是否可以进入取消状态
cancel() - 接口中的方法 cn.wjybxx.base.concurrent.ICancelTokenSource
使用默认原因取消
cancel(int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelTokenSource
将Token置为取消状态
cancelCode() - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
取消码 1.
CancelCodeBuilder - cn.wjybxx.base.concurrent中的类
 
CancelCodeBuilder() - 类的构造器 cn.wjybxx.base.concurrent.CancelCodeBuilder
 
CancelCodes - cn.wjybxx.base.concurrent中的类
取消码辅助类
cancelToken() - 接口中的方法 cn.wjybxx.base.concurrent.IContext
任务绑定的取消令牌(取消上下文) 1.每个任务可有独立的取消信号 -- 私有属性。
cancelToken() - 类中的方法 cn.wjybxx.base.concurrent.MiniContext
 
capacity(int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
计算hash结构的默认数组大小
capture(CancellationException) - 异常错误类中的静态方法 cn.wjybxx.base.concurrent.BetterCancellationException
捕获目标异常 -- 在目标异常的堆栈基础上增加当前堆栈。
CaseMode - cn.wjybxx.base中的枚举类
大小写模式
CAUGHT_EXCEPTION - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
延时任务:在出现异常后继续执行。
CHAR - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
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参数
checkCancel() - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
检测取消信号 如果收到取消信号,则抛出CancellationException
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.BetterIndexedPriorityQueue
 
clear() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
clear() - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
clear() - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
clear() - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
清空List 注意: 1.在迭代期间调用Clear是高风险行为,会清理自身迭代范围外的数据,可能影响其它迭代逻辑。
clear() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
clear() - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
clear() - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
clear() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool
 
clear() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool
 
clear() - 类中的方法 cn.wjybxx.base.pool.ConcurrentObjectPool
 
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
 
clearIgnoringIndexes() - 类中的方法 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
 
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
重复调用不应该抛出异常 -- 视为已关闭。
close() - 类中的方法 cn.wjybxx.base.Registration
 
close(long) - 接口中的方法 cn.wjybxx.base.IPooledCloseable
关闭资源
CLOSED - 类中的静态变量 cn.wjybxx.base.Registration
 
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.fx - 程序包 cn.wjybxx.base.fx
“fx”的意思是框架(FrameworkX)的意思
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
 
collectionIndex(Object, E) - 接口中的方法 cn.wjybxx.base.collection.IndexedElementHelper
获取对象在集合中的索引
collectionIndex(Object, E, int) - 接口中的方法 cn.wjybxx.base.collection.IndexedElementHelper
设置其在集合中的索引
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
 
ComponentDefine - cn.wjybxx.base.fx中的批注接口
默认的组件id定义注解 1.该注解不会被继承,使用子类的Class查询得到的将是另一个组件id。
ComponentId<T> - cn.wjybxx.base.fx中的类
组件id
ComponentId(ComponentId.Builder<T>) - 类的构造器 cn.wjybxx.base.fx.ComponentId
子类慎重重写
ComponentId.Builder<T> - cn.wjybxx.base.fx中的类
 
ComponentIdPool - cn.wjybxx.base.fx中的类
组件id池 1.常量池用于定义命名空间 2.用户使用的时候,应当封装一个静态类,尽量将常用的组件id都定义下来。
ComponentKind - cn.wjybxx.base.fx中的枚举类
组件类型
ComponentRedirect - cn.wjybxx.base.fx中的批注接口
组件重定向注解。
ComponentStatus - cn.wjybxx.base.fx中的枚举类
组件的状态
composeIntToLong(int, int) - 类中的静态方法 cn.wjybxx.base.MathCommon
将两个int聚合为long
composeShortToInt(short, short) - 类中的静态方法 cn.wjybxx.base.MathCommon
将两个short聚合为int
compress(boolean) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
compress(boolean) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
压缩数组空间
compress(boolean) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
compress(boolean) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
ConcurrentArrayLikePool<T> - cn.wjybxx.base.pool中的类
高性能的并发数组池实现 (未鉴定归属,可归还外部数组,适用简单场景)
ConcurrentArrayLikePool(ConcurrentArrayLikePool.Builder<T>) - 类的构造器 cn.wjybxx.base.pool.ConcurrentArrayLikePool
 
ConcurrentArrayLikePool.Builder<T> - cn.wjybxx.base.pool中的类
 
ConcurrentArrayPool<T> - cn.wjybxx.base.pool中的类
高性能的并发数组池实现 (未鉴定归属,可归还外部数组,适用简单场景)
ConcurrentArrayPool(ConcurrentArrayPool.Builder<T>) - 类的构造器 cn.wjybxx.base.pool.ConcurrentArrayPool
 
ConcurrentArrayPool.Builder<T> - cn.wjybxx.base.pool中的类
 
ConcurrentObjectPool<T> - cn.wjybxx.base.pool中的类
简单的固定大小的对象池实现 (未鉴定归属,可归还外部对象,适用简单场景)
ConcurrentObjectPool(Supplier<? extends T>, Consumer<? super T>) - 类的构造器 cn.wjybxx.base.pool.ConcurrentObjectPool
 
ConcurrentObjectPool(Supplier<? extends T>, Consumer<? super T>, int) - 类的构造器 cn.wjybxx.base.pool.ConcurrentObjectPool
 
ConcurrentObjectPool(Supplier<? extends T>, Consumer<? super T>, int, Predicate<? super T>) - 类的构造器 cn.wjybxx.base.pool.ConcurrentObjectPool
 
Constant - cn.wjybxx.base中的接口
常量
Constant.Builder<T> - cn.wjybxx.base中的类
 
ConstantFactory<T> - cn.wjybxx.base中的接口
只有可通过基础的Builder构建的常量才会使用到Factory
ConstantMap<T> - cn.wjybxx.base中的类
常量池快照字典。
ConstantPool<T> - cn.wjybxx.base中的类
常量池
contains(E) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
contains(E) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
基于equals查询一个元素是否在List中
contains(E) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
contains(E) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
contains(Object) - 类中的方法 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
 
contains(Object) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
contains(Object) - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
contains(Object) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
containsAll(Collection<?>) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
containsAll(Collection<?>) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
containsComponent(IComponent) - 接口中的方法 cn.wjybxx.base.fx.IEntity
是否包含指定组件
containsCustom(List<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
containsCustom(T[], Predicate<? super T>) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
containsNull() - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
containsNull() - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
判断数组是否包含Null元素,用于更快的判断是否为空。
containsNull() - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
containsNull() - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
containsRef(E) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
containsRef(E) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
基于引用相等查询一个元素是否在List中
containsRef(E) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
containsRef(E) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
containsRef(List<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
containsRef(T[], Object) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
判断是否存在给定元素的引用
containsTyped(E) - 接口中的方法 cn.wjybxx.base.collection.IndexedCollection
 
containsTyped(T) - 类中的方法 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
 
containsTyped(T) - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
containsWhitespace(CharSequence) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
是否包含不可见字符
correctTime(long) - 类中的方法 cn.wjybxx.base.time.Regulator
校准时间
countComponent() - 接口中的方法 cn.wjybxx.base.fx.IEntity
获取当前组件数量
countComponent(ComponentId<?>) - 接口中的方法 cn.wjybxx.base.fx.IEntity
统计指定组件id关联的组件数
create(ComponentId.Builder<T>) - 类中的方法 cn.wjybxx.base.fx.ComponentIdPool
构建一个组件id
create(ObjectPool<? super T>, int) - 接口中的方法 cn.wjybxx.base.pool.PoolableArrayHandler
创建对象
create(String) - 类中的静态方法 cn.wjybxx.base.time.StopWatch
创建一个停表
createStarted(String) - 类中的静态方法 cn.wjybxx.base.time.StopWatch
创建一个已启动的停表
customData() - 批注接口 中的元素 cn.wjybxx.base.fx.ComponentDefine
自定义切面数据 -- 用于自定义解析

D

DATA - 枚举类 中的枚举常量 cn.wjybxx.base.fx.ComponentKind
数据组件
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 - 异常错误类中的静态变量 cn.wjybxx.base.concurrent.StacklessCancellationException
 
DEFAULT_FORMATTER - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
默认时间格式器
DEFAULT_PATTERN - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
默认的时间格式
DefaultDynamicArray<E> - cn.wjybxx.base.collection中的类
默认的动态数组
DefaultDynamicArray(int) - 类的构造器 cn.wjybxx.base.collection.DefaultDynamicArray
 
DefaultDynamicArray(int, float) - 类的构造器 cn.wjybxx.base.collection.DefaultDynamicArray
 
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>, Consumer<? super T>) - 类的构造器 cn.wjybxx.base.pool.DefaultObjectPool
 
DefaultObjectPool(Supplier<? extends T>, Consumer<? super T>, int) - 类的构造器 cn.wjybxx.base.pool.DefaultObjectPool
 
DefaultObjectPool(Supplier<? extends T>, Consumer<? super T>, int, Predicate<? super T>) - 类的构造器 cn.wjybxx.base.pool.DefaultObjectPool
 
defaultValue(Class<T>) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
获取一个类型的默认值
delComponent(ComponentId<T>) - 接口中的方法 cn.wjybxx.base.fx.IEntity
删除指定组件id关联的第一个组件 -- 可能不支持通过该接口删除
delComponent(IComponent) - 接口中的方法 cn.wjybxx.base.fx.IEntity
删除组件
delComponents(ComponentId<T>) - 接口中的方法 cn.wjybxx.base.fx.IEntity
删除指定组件id关联的所有组件 -- 可能不支持通过该接口删除
delComponents(ComponentId<T>, List<? super T>) - 接口中的方法 cn.wjybxx.base.fx.IEntity
删除指定组件id关联的所有组件,返回删除的组件数量
delLastComponent(ComponentId<T>) - 接口中的方法 cn.wjybxx.base.fx.IEntity
删除指定组件id关联的最后一个组件 -- 可能不支持通过该接口删除
DequeOverflowBehavior - cn.wjybxx.base.collection中的枚举类
有界双端队列的溢出策略
DESCENDING - 枚举类 中的枚举常量 cn.wjybxx.base.SortOrder
降序 -- -1对序列化不是很友好,但-1表意清楚
descendingIterator() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
descendingIterator() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
destroy(T) - 接口中的方法 cn.wjybxx.base.pool.PoolableArrayHandler
销毁对象 1.对象未能归还到池中,或对象池清理时调用。
DESTROYED - 枚举类 中的枚举常量 cn.wjybxx.base.fx.ComponentStatus
已从实体上删除
differDays(long, long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
计算两个时间戳相差的天数
differWeeks(long, long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
计算两个时间戳相差的周数
disable(int, int) - 类中的静态方法 cn.wjybxx.base.concurrent.TaskOptions
禁用特定调度选项
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
 
DOUBLE - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
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
 
DynamicArray<E> - cn.wjybxx.base.collection中的接口
动态数组 (支持迭代期间删除元素和扩容)

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
 
elementCount() - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
elementCount() - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
非空元素数量,实时值。
elementCount() - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
elementCount() - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
EMPTY - 枚举类 中的枚举常量 cn.wjybxx.base.OptionalBool
 
EMPTY_BOOLEAN_ARRAY - 类中的静态变量 cn.wjybxx.base.ArrayUtils
 
EMPTY_BYTE_ARRAY - 类中的静态变量 cn.wjybxx.base.ArrayUtils
 
EMPTY_CLASS_ARRAY - 类中的静态变量 cn.wjybxx.base.ArrayUtils
 
EMPTY_DOUBLE_ARRAY - 类中的静态变量 cn.wjybxx.base.ArrayUtils
 
EMPTY_FLOAT_ARRAY - 类中的静态变量 cn.wjybxx.base.ArrayUtils
 
EMPTY_INT_ARRAY - 类中的静态变量 cn.wjybxx.base.ArrayUtils
 
EMPTY_LONG_ARRAY - 类中的静态变量 cn.wjybxx.base.ArrayUtils
 
EMPTY_OBJECT_ARRAY - 类中的静态变量 cn.wjybxx.base.ArrayUtils
 
EMPTY_STRING_ARRAY - 类中的静态变量 cn.wjybxx.base.ArrayUtils
 
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, int) - 类中的静态方法 cn.wjybxx.base.concurrent.TaskOptions
启用特定调度选项
Enable(int) - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
启用选项
enableFuncs - 类中的变量 cn.wjybxx.base.fx.ComponentId
启用的函数,扫描重写的方法计算得到
END_OF_DAY - 类中的静态变量 cn.wjybxx.base.time.TimeUtils
一天的结束:午夜 23:59:59
endItr() - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
endItr() - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
迭代结束 -- 特殊情况下可以反复调用该接口修复状态。
endItr() - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
endItr() - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
ensureCapacity(int) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
ensureCapacity(int) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
确保空间足够(减少不必要的扩容)
ensureCapacity(int) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
ensureCapacity(int) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
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(TypeInfo) - 类中的方法 cn.wjybxx.base.TypeInfo
避免走到不必要的重载
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.Registration
 
equals(Object) - 类中的方法 cn.wjybxx.base.tuple.Tuple2
 
equals(Object) - 类中的方法 cn.wjybxx.base.tuple.Tuple3
 
equals(Object) - 类中的方法 cn.wjybxx.base.TypeInfo
 
equals(Object) - 类中的方法 cn.wjybxx.base.TypeName
 
ErrorCodeException - cn.wjybxx.base.ex中的异常错误类
用于返回一个错误码结果,Rpc底层会对此做特殊支持
ErrorCodeException(int, String) - 异常错误类的构造器 cn.wjybxx.base.ex.ErrorCodeException
 
execute(Runnable) - 接口中的方法 cn.wjybxx.base.concurrent.IExecutor
在将来的某个时间执行给定的命令。
execute(Runnable) - 类中的方法 cn.wjybxx.base.concurrent.ImmediateExecutor
 
execute(Runnable, int) - 接口中的方法 cn.wjybxx.base.concurrent.IExecutor
在将来的某个时间执行给定的命令。
execute(Runnable, int) - 类中的方法 cn.wjybxx.base.concurrent.ImmediateExecutor
 
execute(String, Object) - 接口中的方法 cn.wjybxx.base.ExtensibleObject
执行一个命令(用于扩展方法)。
ExecutorCoreUtils - cn.wjybxx.base.concurrent中的类
该工具类用于实现代码复用 (主要涉及到取消令牌)
ExecutorCoreUtils() - 类的构造器 cn.wjybxx.base.concurrent.ExecutorCoreUtils
 
exists(String) - 类中的方法 cn.wjybxx.base.ConstantMap
 
exists(String) - 类中的方法 cn.wjybxx.base.ConstantPool
 
exists(String) - 类中的方法 cn.wjybxx.base.fx.ComponentIdPool
 
ExtensibleObject - cn.wjybxx.base中的接口
可扩展的对象。
extraInfo - 类中的变量 cn.wjybxx.base.fx.ComponentId
用户扩展数据 -- 必须的不可变的

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
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<?>, Class<?>, 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(List<E>, E) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
flags - 类中的变量 cn.wjybxx.base.fx.ComponentId
业务自定义flags
flags() - 批注接口 中的元素 cn.wjybxx.base.fx.ComponentDefine
用户自定义flags
FLOAT - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
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.EmptyDequeue
 
forEach(ObjIntConsumer<? super E>) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
forEach(ObjIntConsumer<? super E>) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
迭代数组内的元素,该快捷方式不会迭代迭代期间新增的元素
forEach(ObjIntConsumer<? super E>) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
forEach(ObjIntConsumer<? super E>) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
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.fx.ComponentKind
 
forNumber(int) - 枚举类中的静态方法 cn.wjybxx.base.fx.ComponentStatus
 
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
 
Future.cancel 的缺陷 - 接口 cn.wjybxx.base.concurrent.ICancelToken中的搜索标记

G

get() - 类中的方法 cn.wjybxx.base.collection.RefIndexedElement
 
get() - 类中的方法 cn.wjybxx.base.pool.ConcurrentObjectPool
已过时。
get() - 类中的方法 cn.wjybxx.base.pool.DefaultObjectPool
 
get() - 接口中的方法 cn.wjybxx.base.pool.ObjectPool
该接口更多用于适配,不建议直接使用
get() - 类中的方法 cn.wjybxx.base.pool.SingleObjectPool
 
get(int) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
get(int) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
获取指定位置的元素
get(int) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
get(int) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
get(String) - 类中的方法 cn.wjybxx.base.ConstantMap
获取一个常量,若不存在关联的常量则返回null。
get(String) - 类中的方法 cn.wjybxx.base.ConstantPool
获取一个常量,若不存在关联的常量则返回null。
get(String) - 类中的方法 cn.wjybxx.base.fx.ComponentIdPool
 
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
 
getArrayCapacity() - 类中的方法 cn.wjybxx.base.pool.ArrayBucketConfig
 
getArrayGrowFactor() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
数组成长系数
getArrayGrowFactor() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
数组成长系数
getArrayRank() - 类中的方法 cn.wjybxx.base.TypeInfo
获取数组的阶数 -- 非数组返回0
getArrayRank() - 类中的方法 cn.wjybxx.base.TypeName
数组的阶数(维度)。
getArrayRank(Class<?>) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
获取数组的阶数 -- 如果不是数组,则返回0
getArrayType() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
getAsBool() - 枚举类中的方法 cn.wjybxx.base.OptionalBool
 
getAvailableCount() - 类中的方法 cn.wjybxx.base.pool.ConcurrentObjectPool
可用对象数 注意:这只是一个估值,通常仅用于debug和测试用例
getBeginOfMonth(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取本月的开始时间戳 本月第一天的 00:00:00.000
getBeginOfMonth(long, int) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取月的开始时间戳
getBeginOfToday(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取指定时间戳所在日期的00:00:00的毫秒时间戳
getBeginOfWeek(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取指定时间戳所在周的周一00:00:00的毫秒时间戳
getBool(String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getBool(String, boolean) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getBucketGrowFactor() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
桶大小成长系数
getBucketGrowFactor() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
桶大小成长系数
getBucketInfo() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
getBucketInfo() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
getBuilder() - 类中的方法 cn.wjybxx.base.io.StringBuilderWriter
 
getByte(byte[], int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
 
getCacheCount() - 类中的方法 cn.wjybxx.base.pool.ArrayBucketConfig
 
getCacheIndex() - 类中的方法 cn.wjybxx.base.Constant.Builder
获取分配的高速缓存索引 -- -1表示未设置。
getCallerInfo(int) - 类中的静态方法 cn.wjybxx.base.ThreadUtils
获取调用者信息。
getCallerInfo(Predicate<StackWalker.StackFrame>) - 类中的静态方法 cn.wjybxx.base.ThreadUtils
获取调用者信息。
getCancelToken(Object, int) - 类中的静态方法 cn.wjybxx.base.concurrent.ExecutorCoreUtils
获取上下文中的取消令牌
getCapacity(T) - 接口中的方法 cn.wjybxx.base.pool.PoolableArrayHandler
获取实例的空间
getCid() - 接口中的方法 cn.wjybxx.base.fx.IComponent
获取组件id 注意:组件在添加到实体后,组件id必须保持稳定
getCode() - 异常错误类中的方法 cn.wjybxx.base.concurrent.BetterCancellationException
取消码
getComponent(ComponentId<T>) - 接口中的方法 cn.wjybxx.base.fx.IEntity
获取指定组件id关联的第一个组件
getComponents() - 接口中的方法 cn.wjybxx.base.fx.IEntity
实体绑定的所有组件 - 这通常是个快照,只有运行期不可变的实体,可以共享List
getComponents(ComponentId<T>) - 接口中的方法 cn.wjybxx.base.fx.IEntity
获取指定组件id关联的所有组件
getComponents(ComponentId<T>, List<? super T>) - 接口中的方法 cn.wjybxx.base.fx.IEntity
获取指定组件id关联的所有组件,返回返回的组件数量
getComponents(List<IComponent>) - 接口中的方法 cn.wjybxx.base.fx.IEntity
获取所有的组件 -- 可使用外部的List
getComponentType() - 类中的方法 cn.wjybxx.base.TypeInfo
获取数组的元素类型
getContext() - 类中的方法 cn.wjybxx.base.time.Regulator
任务关联的上下文
getCount() - 类中的方法 cn.wjybxx.base.time.Regulator
已触发次数
getDefCapacity() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
默认分配的数组空间大小
getDefCapacity() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
默认分配的数组空间大小
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
 
getEnableFuncs() - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
getEndOfMonth(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取本月的结束时间戳 本月最后一天的23:59:59.999
getEndOfMonth(long, int) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取月的结束时间戳
getEndOfToday(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取指定时间戳所在日期的23:59:59的毫秒时间戳
getEndOfWeek(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取指定时间戳所在周的周日23:59:59.999的毫秒时间戳
getEntity() - 接口中的方法 cn.wjybxx.base.fx.IComponent
获取组件挂载的实体,尚未挂载的情况下返回null
getErrorCode() - 异常错误类中的方法 cn.wjybxx.base.ex.ErrorCodeException
 
getExtBlackboard() - 接口中的方法 cn.wjybxx.base.ExtensibleObject
获取对象的扩展黑板(用于临时存储属性) 注意:必须是对象的一个属性字段。
getExtraInfo() - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
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
 
getFirstBucketLength() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
每个bucket存储多少个数组
getFirstBucketLength() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
每个bucket存储多少个数组
getFirstDelay() - 类中的方法 cn.wjybxx.base.time.Regulator
 
getFlags() - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
getFloat(String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getFloat(String, float) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getFrameCount() - 接口中的方法 cn.wjybxx.base.time.Timepiece
获取运行帧数 -- 每秒60帧可运行410天
getGenericSuperType(Class<?>, Class<?>) - 类中的静态方法 cn.wjybxx.base.reflect.TypeParameterFinder
获取包含泛型信息的超类(或接口)
getHandler() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
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
 
getKind() - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
getLast() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
getLast() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
getLastComponent(ComponentId<T>) - 接口中的方法 cn.wjybxx.base.fx.IEntity
获取指定组件id关联的最后一个组件
getLastUpdateTime() - 类中的方法 cn.wjybxx.base.time.Regulator
获取上次成功更新的时间戳 它的具体含义取悦于更新时使用的curTime的含义。
getLength() - 类中的方法 cn.wjybxx.base.pool.MpmcObjectBucket
桶的大小
getLog() - 类中的方法 cn.wjybxx.base.time.StopWatch
获取最终log。
getLong(String) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getLong(String, long) - 类中的静态方法 cn.wjybxx.base.SystemPropsUtils
 
getLookAhead() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
getLookAhead() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
getMaxCapacity() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
可缓存的数组的最大空间 -- 超过大小的数组销毁
getMaxCapacity() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
可缓存的数组的最大空间 -- 超过大小的数组销毁
getMaxCount() - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
getMountPath() - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
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.fx.ComponentKind
 
getNumber() - 枚举类中的方法 cn.wjybxx.base.fx.ComponentStatus
 
getNumber() - 枚举类中的方法 cn.wjybxx.base.OptionalBool
 
getNumber() - 枚举类中的方法 cn.wjybxx.base.SortOrder
 
getOffsetMillis() - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取时区的毫秒偏移量
getOffsetSeconds() - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取时区的秒偏移量
getOptions() - 接口中的方法 cn.wjybxx.base.concurrent.ITask
任务的调度选项
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(String) - 类中的方法 cn.wjybxx.base.fx.ComponentIdPool
 
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
 
getPoolId() - 类中的方法 cn.wjybxx.base.Constant.Builder
 
getPoolSize() - 类中的方法 cn.wjybxx.base.pool.ConcurrentObjectPool
获取池大小
getPoolSize() - 类中的方法 cn.wjybxx.base.pool.DefaultObjectPool
获取池大小
getPriority(int) - 类中的静态方法 cn.wjybxx.base.concurrent.TaskOptions
获取任务的优先级
getReason() - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
取消的原因
getReason(int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
计算取消码中的原因
getRootComponentType() - 类中的方法 cn.wjybxx.base.TypeInfo
获取最底层数组的元素类型
getRootComponentType(Class<?>) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
获取根元素的类型 -- 如果Type是数组,则返回最底层的元素类型;如果不是数组,则返回type
getRootElement() - 类中的方法 cn.wjybxx.base.TypeName
获取根元素类型。
getSchedulePhase(int) - 类中的静态方法 cn.wjybxx.base.concurrent.TaskOptions
获取任务的调度阶段
getSecond() - 类中的方法 cn.wjybxx.base.tuple.Tuple2
 
getSecond() - 类中的方法 cn.wjybxx.base.tuple.Tuple3
 
getSortedLog() - 类中的方法 cn.wjybxx.base.time.StopWatch
获取按照时间消耗排序后的log。
getStatus() - 接口中的方法 cn.wjybxx.base.fx.IComponent
获取组件的状态
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
获取当前的时间戳 时间的单位需要自行约定,通常是毫秒
getTimeHourOfToday(long, int) - 类中的方法 cn.wjybxx.base.time.TimeHelper
获取当天特定小时的时间戳
getTypeArg(int) - 类中的方法 cn.wjybxx.base.TypeInfo
获取指定下标实参
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(List<?>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
获取List的hashcode
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.Registration
 
hashCode() - 类中的方法 cn.wjybxx.base.tuple.Tuple2
 
hashCode() - 类中的方法 cn.wjybxx.base.tuple.Tuple3
 
hashCode() - 类中的方法 cn.wjybxx.base.TypeInfo
 
hashCode() - 类中的方法 cn.wjybxx.base.TypeName
 
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
 
HASHMAP - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
hasResource() - 类中的方法 cn.wjybxx.base.Registration
是否绑定了资源对象
hasTypeArgs() - 类中的方法 cn.wjybxx.base.TypeInfo
是否包含泛型参数
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

ICancelToken - cn.wjybxx.base.concurrent中的接口
取消令牌
ICancelTokenListener - cn.wjybxx.base.concurrent中的接口
该接口用于特殊需求时减少闭包
ICancelTokenSource - cn.wjybxx.base.concurrent中的接口
取消令牌源由任务的创建者(发起者)持有,具备取消权限。
IComponent - cn.wjybxx.base.fx中的接口
组件
IContext - cn.wjybxx.base.concurrent中的接口
异步任务的上下文 在异步和并发编程中,共享上下文是很必要的,且显式的共享优于隐式的共享。
id() - 类中的方法 cn.wjybxx.base.AbstractConstant
 
id() - 接口中的方法 cn.wjybxx.base.Constant
注意: 1.
identity() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
IEntity - cn.wjybxx.base.fx中的接口
组件模式的实体抽象
IExecutor - cn.wjybxx.base.concurrent中的接口
IExecutorExecutor的基础上增加了调度选项。
ImmediateExecutor - cn.wjybxx.base.concurrent中的类
 
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 - 类中的变量 cn.wjybxx.base.fx.ComponentId
高速缓存下标
INDEX_NOT_FOUND - 类中的静态变量 cn.wjybxx.base.ArrayUtils
 
INDEX_NOT_FOUND - 接口中的静态变量 cn.wjybxx.base.collection.IndexedElement
注意:未插入的节点的所以必须初始化为该值
INDEX_NOT_FOUND - 接口中的静态变量 cn.wjybxx.base.collection.IndexedElementHelper
注意:未插入的节点的所以必须初始化为该值
INDEX_NOT_FOUND - 类中的静态变量 cn.wjybxx.base.CollectionUtils
 
IndexedCollection<E> - cn.wjybxx.base.collection中的接口
在元素身上存储了索引信息的集合。
IndexedDynamicArray<E> - cn.wjybxx.base.collection中的类
元素被索引的动态数组 注意:会在元素上缓存在数组中的下标,因此indexremove系列方法总是使用引用相等查询。
IndexedDynamicArray(IndexedElementHelper<? super E>, int) - 类的构造器 cn.wjybxx.base.collection.IndexedDynamicArray
 
IndexedDynamicArray(IndexedElementHelper<? super E>, int, float) - 类的构造器 cn.wjybxx.base.collection.IndexedDynamicArray
 
IndexedElement - cn.wjybxx.base.collection中的接口
被索引的元素 1.索引信息存储在元素上,可大幅提高查找效率; 2.如果对象可能存在多个集合中,慎重实现该接口,更建议为每个集合设置一个粘合对象 -- RefIndexedElement
IndexedElementHelper<E> - cn.wjybxx.base.collection中的接口
该接口用于避免集合的中元素直接实现IndexedElement,以避免暴露不必要的接口
IndexedPriorityQueue<T> - cn.wjybxx.base.collection中的接口
参考自netty的实现 由于Collection中的API是基于Object的,不利于查询性能,添加了一些限定类型的方法。
indexOf(E) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
indexOf(E) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
根据equals查询下标
indexOf(E) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
indexOf(E) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
indexOf(List<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
查找对象引用在数组中的索引
indexOf(List<?>, Object, int, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
反向查找对象引用在List中的索引
indexOf(T[], Object) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
查找对象引用在数组中的索引
indexOf(T[], Object, int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
indexOfCustom(List<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
indexOfCustom(List<E>, Predicate<? super E>, int, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
indexOfCustom(T[], Predicate<? super T>) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
indexOfCustom(T[], Predicate<? super T>, int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
indexOfRef(E) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
indexOfRef(E) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
根据引用相等查询下标
indexOfRef(E) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
indexOfRef(E) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
indexOfRef(List<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
查找对象引用在数组中的索引
indexOfRef(List<?>, Object, int, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
反向查找对象引用在List中的索引
indexOfRef(T[], Object) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
查找对象引用在数组中的索引
indexOfRef(T[], Object, int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
indexOfWhitespace(CharSequence) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
索引首个空白字符
indexOfWhitespace(CharSequence, int) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
索引首个空白字符
inEventLoop() - 接口中的方法 cn.wjybxx.base.concurrent.SingleThreadExecutor
测试当前线程是否是Executor所在线程。
inEventLoop(Thread) - 接口中的方法 cn.wjybxx.base.concurrent.SingleThreadExecutor
测试给定线程是否是当前事件循环线程 1.注意:EventLoop接口约定是单线程的,不会并发执行提交的任务,但不约定整个生命周期都在同一个线程上,以允许在空闲的时候销毁线程。
inEventLoop(Executor) - 类中的静态方法 cn.wjybxx.base.concurrent.ExecutorCoreUtils
当时是否在事件循环线程
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
 
insert(int, E) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
insert(int, E) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
插入元素 不论是否正在迭代,length一定会增加。
insert(int, E) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
insert(int, E) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
INST - 类中的静态变量 cn.wjybxx.base.concurrent.ImmediateExecutor
 
INSTANCE - 类中的静态变量 cn.wjybxx.base.collection.EmptyDequeue
 
instOf(int) - 异常错误类中的静态方法 cn.wjybxx.base.concurrent.StacklessCancellationException
 
INT - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
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
 
IPooledCloseable - cn.wjybxx.base中的接口
池化的资源对象
IRegistration - cn.wjybxx.base中的接口
注册监听器产生的句柄。
isArray() - 类中的方法 cn.wjybxx.base.TypeName
是否是数组类型。
isArrayType() - 类中的方法 cn.wjybxx.base.TypeInfo
是否是数组
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
 
isCancelRequested() - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
是否已收到取消信号 任务的执行者将持有该令牌,在调度任务前会检测取消信号;如果任务已经开始,则由用户的任务自身检测取消和中断信号。
isCancelRequested(Object, int) - 类中的静态方法 cn.wjybxx.base.concurrent.ExecutorCoreUtils
获取上下文中的取消信号
isChecked(Throwable) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
是否是受检异常
isClear() - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
数组在归还时是否清理数组内容
isClosed() - 类中的方法 cn.wjybxx.base.Registration
资源对象是否已销毁 -- 是否已退出当前生命周期
isClosed(long) - 接口中的方法 cn.wjybxx.base.IPooledCloseable
查询资源对象是否已退出当前生命周期 注意:关联的资源已被销毁,不代表已归还到资源池。
isConstructedGenericArrayType() - 类中的方法 cn.wjybxx.base.TypeInfo
是否是已构造泛型数组
isConstructedGenericType() - 类中的方法 cn.wjybxx.base.TypeInfo
是否是已构造泛型类 -- 不适用数组
isDestroyed() - 枚举类中的方法 cn.wjybxx.base.fx.ComponentStatus
是否已经停止,已销毁也返回true
isDisabled(int, int) - 类中的静态方法 cn.wjybxx.base.concurrent.TaskOptions
是否未启用选项。
isEmpty() - 类中的方法 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
 
isEmpty() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
isEmpty() - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
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
 
isEnabled(int, int) - 类中的静态方法 cn.wjybxx.base.concurrent.TaskOptions
是否启用了所有选项
isEnum() - 类中的方法 cn.wjybxx.base.TypeInfo
是否是枚举
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接口
isGeneric() - 类中的方法 cn.wjybxx.base.TypeName
是否是泛型。
isGenericType() - 类中的方法 cn.wjybxx.base.TypeInfo
是否是泛型类 -- 不适用数组
isInlinable(Executor, int) - 类中的静态方法 cn.wjybxx.base.concurrent.ExecutorCoreUtils
判断是否可以不提交任务,而是立即执行
isInt48(long) - 类中的静态方法 cn.wjybxx.base.MathCommon
判断一个数是否是有效的int48
isInterruptible() - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
是否中断线程
isInterruptible(int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
取消指令中是否要求了中断线程
isIntersect(int, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
是否相交 -- 是否设置了mask关联的任意bit
isIntersect(long, long) - 类中的静态方法 cn.wjybxx.base.BitFlags
是否设置了mask关联的任意bit
isIterating() - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
isIterating() - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
当前是否正在迭代
isIterating() - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
isIterating() - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
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
 
isPrimitive() - 类中的方法 cn.wjybxx.base.TypeInfo
是否是基础类型
isPrivateScript() - 类中的方法 cn.wjybxx.base.fx.ComponentId
是否是私有脚本 --- 需要被框架调度
isReady(long) - 类中的方法 cn.wjybxx.base.time.Regulator
 
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
isShared() - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
isStarted() - 类中的方法 cn.wjybxx.base.time.StopWatch
停表是否已启动,且尚未停止
isStopped() - 枚举类中的方法 cn.wjybxx.base.fx.ComponentStatus
是否已经停止,已销毁也返回true
isStopped() - 类中的方法 cn.wjybxx.base.time.StopWatch
停表是否已停止
isStopping() - 枚举类中的方法 cn.wjybxx.base.fx.ComponentStatus
是否停止中,已停止也返回true
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
是否是非受检异常 -- 通常指运行时异常
isUnstarted() - 枚举类中的方法 cn.wjybxx.base.fx.ComponentStatus
是否尚未启动
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
 
ITask - cn.wjybxx.base.concurrent中的接口
Task是Executor中调度的任务抽象。
iterator() - 类中的方法 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
 
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
 

K

kind - 类中的变量 cn.wjybxx.base.fx.ComponentId
组件类型
kind() - 批注接口 中的元素 cn.wjybxx.base.fx.ComponentDefine
组件类型 -- 默认为脚本类型,即所有方法都生效

L

lastChar(CharSequence) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
获取字符串的尾字符
lastIndexOf(E) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
lastIndexOf(E) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
根据equals查询下标
lastIndexOf(E) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
lastIndexOf(E) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
lastIndexOf(List<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
反向查找对象引用在List中的索引
lastIndexOf(List<?>, Object, int, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
反向查找对象引用在List中的索引
lastIndexOf(T[], Object) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
反向查找对象引用在数组中的索引
lastIndexOf(T[], Object, int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
lastIndexOfCustom(List<E>, Predicate<? super E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
lastIndexOfCustom(List<E>, Predicate<? super E>, int, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
lastIndexOfCustom(T[], Predicate<? super T>) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
lastIndexOfCustom(T[], Predicate<? super T>, int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
lastIndexOfRef(E) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
lastIndexOfRef(E) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
根据引用相等查询下标
lastIndexOfRef(E) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
lastIndexOfRef(E) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
lastIndexOfRef(List<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
反向查找对象引用在List中的索引
lastIndexOfRef(List<?>, Object, int, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
反向查找对象引用在List中的索引
lastIndexOfRef(T[], Object) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
反向查找对象引用在数组中的索引
lastIndexOfRef(T[], Object, int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
lastIndexOfWhitespace(CharSequence) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
逆向索引首个空白字符
lastIndexOfWhitespace(CharSequence, int) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
逆向索引首个空白字符
lastOrDefault(List<E>, E) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
length() - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
length() - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
数组的当前长度
length() - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
length() - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
length(CharSequence) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
lengthOfMonth(LocalDateTime) - 类中的静态方法 cn.wjybxx.base.time.TimeUtils
获取月份的天数,总是忘记api...
LINKED_HASHMAP - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
LINKED_HASHSET - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
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
 
LOCAL_ORDER - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
本地序(可以与其它线程无序) 对于EventLoop内部的任务,启用该特征值可跳过全局队列,这在EventLoop是有界的情况下可以避免死锁或阻塞。
logStep(String) - 类中的方法 cn.wjybxx.base.time.StopWatch
记录该步骤的耗时
LONG - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
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

makeArrayType() - 类中的方法 cn.wjybxx.base.TypeInfo
构建数组类型
makeArrayType(int) - 类中的方法 cn.wjybxx.base.TypeInfo
构建数组类型 -- 可用于减少中间对象
mapping(T[]) - 类中的静态方法 cn.wjybxx.base.EnumUtils
根据枚举的values建立索引;
mapping(T[], boolean) - 类中的静态方法 cn.wjybxx.base.EnumUtils
根据枚举的values建立索引;
MarkInterface - cn.wjybxx.base.annotation中的批注接口
用于标注目标接口为标记接口
MASK_CTL_RESERVED - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
调度器使用的控制标识位(低8位) 调度器会擦除掉用户的低8位,存储调度器的信息
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_PRIORITY - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
延时任务的优先级,取值[0, 31] 1.
MASK_REASON - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
原因的掩码 1.如果cancelCode不包含其它信息,就等于reason 2.设定为20位,可达到100W
MASK_REVERSED - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
预留4bit
MASK_SCHEDULE_PHASE - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
任务的调度阶段,取值[0, 31]。
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_PRIORITY - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
优先级的最大值
MAX_REASON - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
最大取消原因
MAX_SCHEDULE_PHASE - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
调度阶段的最大值
maxCount - 类中的变量 cn.wjybxx.base.fx.ComponentId
最大可挂载数量
maxCount() - 批注接口 中的元素 cn.wjybxx.base.fx.ComponentDefine
最大组件数
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
 
MiniContext - cn.wjybxx.base.concurrent中的类
满足最小需要的Context实现。
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周的分钟数
mountPath - 类中的变量 cn.wjybxx.base.fx.ComponentId
挂载路径
mountPath() - 批注接口 中的元素 cn.wjybxx.base.fx.ComponentDefine
挂载路径
MpmcObjectBucket<E> - cn.wjybxx.base.pool中的类
这是一个特定实现的多生产者多消费者的数组队列(MpmcArrayQueue) 这里没有强制数组大小必须是2的幂,因为要严格保证池的大小符合预期。
MpmcObjectBucket(int) - 类的构造器 cn.wjybxx.base.pool.MpmcObjectBucket
 
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.TypeName
无泛型参数的类型别名(简单名,可包含命名空间)。
name() - 类中的方法 cn.wjybxx.base.AbstractConstant
 
name() - 接口中的方法 cn.wjybxx.base.Constant
注意: 1.
name() - 批注接口 中的元素 cn.wjybxx.base.fx.ComponentDefine
组件的名字 -- 默认使用Object.getClass()类的简单名
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秒的纳秒数
NEW - 枚举类 中的枚举常量 cn.wjybxx.base.fx.ComponentStatus
刚刚创建,尚未添加到实体
newArrayList() - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newArrayList(E) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newArrayList(E...) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newArrayList(E, E) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
 
newBuilder(PoolableArrayHandler<T>) - 类中的静态方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool
 
newBuilder(Class<T>) - 类中的静态方法 cn.wjybxx.base.pool.ConcurrentArrayPool
 
newBuilder(String) - 类中的静态方法 cn.wjybxx.base.fx.ComponentId
 
newConstant(Constant.Builder<T>) - 接口中的方法 cn.wjybxx.base.ConstantFactory
 
newConstantMap() - 类中的方法 cn.wjybxx.base.ConstantPool
创建一个当前常量池的快照
newConstantMap() - 类中的方法 cn.wjybxx.base.fx.ComponentIdPool
创建一个常量对象快照
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() - 接口中的方法 cn.wjybxx.base.concurrent.ICancelTokenSource
 
newInstance(boolean) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelTokenSource
创建一个同类型实例。
newInstance(Constant.Builder<? extends T>) - 类中的方法 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
创建一个只执行一次的Regulator
newPool() - 类中的静态方法 cn.wjybxx.base.fx.ComponentIdPool
创建一个新的池:即新的命名空间
newPool(ConstantFactory<? extends T>) - 类中的静态方法 cn.wjybxx.base.ConstantPool
 
newPool(ConstantFactory<? extends T>, int) - 类中的静态方法 cn.wjybxx.base.ConstantPool
 
newPool(Function<Class<?>, ComponentId.Builder<?>>) - 类中的静态方法 cn.wjybxx.base.fx.ComponentIdPool
创建一个新的池:即新的命名空间
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
无序
NONE - 接口中的静态变量 cn.wjybxx.base.concurrent.ICancelToken
永不取消的Token
NONE - 接口中的静态变量 cn.wjybxx.base.concurrent.IContext
空上下文 1.
notNull() - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
nullCount() - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
nullCount() - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
空元素数量,实时值。
nullCount() - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
nullCount() - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
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,则返回空列表
null元素比重 - 类 cn.wjybxx.base.collection.SmallDynamicArray中的搜索标记
number - 枚举类中的变量 cn.wjybxx.base.SortOrder
 

O

OBJECT - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
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(Class<?>) - 类中的静态方法 cn.wjybxx.base.TypeInfo
 
of(Class<?>, TypeInfo) - 类中的静态方法 cn.wjybxx.base.TypeInfo
 
of(Class<?>, TypeInfo...) - 类中的静态方法 cn.wjybxx.base.TypeInfo
 
of(Class<?>, TypeInfo, TypeInfo) - 类中的静态方法 cn.wjybxx.base.TypeInfo
 
of(Class<?>, Class<?>) - 类中的静态方法 cn.wjybxx.base.TypeInfo
 
of(Class<?>, Class<?>...) - 类中的静态方法 cn.wjybxx.base.TypeInfo
 
of(Class<?>, Class<?>, Class<?>) - 类中的静态方法 cn.wjybxx.base.TypeInfo
 
of(Class<?>, List<TypeInfo>) - 类中的静态方法 cn.wjybxx.base.TypeInfo
 
of(Class<?>, List<TypeInfo>, TypeInfo) - 类中的静态方法 cn.wjybxx.base.TypeInfo
用于继承其它类型的泛型参数
of(Class<?>, List<TypeInfo>, TypeInfo, TypeInfo) - 类中的静态方法 cn.wjybxx.base.TypeInfo
用于继承其它类型的泛型参数
of(ZoneOffset) - 类中的静态方法 cn.wjybxx.base.time.TimeHelper
 
offer(E) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
offer(E) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
offer(E) - 类中的方法 cn.wjybxx.base.pool.MpmcObjectBucket
尝试压入数组
offer(T) - 类中的方法 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
 
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_PRIORITY - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
优先级的存储偏移量
OFFSET_REASON - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
取消原因的偏移量
OFFSET_SCHEDULE_PHASE - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
优先级的存储偏移量
ofState(Object) - 类中的静态方法 cn.wjybxx.base.concurrent.MiniContext
 
ofState(Object, ICancelToken) - 类中的静态方法 cn.wjybxx.base.concurrent.MiniContext
 
onCancelRequested(ICancelToken, Object) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelTokenListener
该方法在取消令牌收到取消信号时执行
onDestroy() - 接口中的方法 cn.wjybxx.base.fx.IComponent
从实体上删除时调用; 1.只负责销毁自身的资源,数据也可能有较大的资源引用,因此也需要OnDestroy方法。
onReady() - 接口中的方法 cn.wjybxx.base.fx.IComponent
组件在挂载到实体后调用; 1.只能初始化自己的数据,不应该访问其它组件。
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
 
parse(String) - 类中的静态方法 cn.wjybxx.base.TypeName
将Dson格式类型名字符串转换为结构体
parseTimeMillis(String) - 类中的方法 cn.wjybxx.base.time.TimeHelper
解析为毫秒时间戳
parseTimeMillis(String, DateTimeFormatter) - 类中的方法 cn.wjybxx.base.time.TimeHelper
解析为毫秒时间戳
peek() - 类中的方法 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
 
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.BetterIndexedPriorityQueue
 
poll() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
poll() - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
poll() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
poll() - 类中的方法 cn.wjybxx.base.pool.MpmcObjectBucket
尝试弹出元素
pollFirst() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
pollFirst() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
pollLast() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
pollLast() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
PoolableArrayHandler<T> - cn.wjybxx.base.pool中的接口
类数组对象的处理器
poolId() - 类中的方法 cn.wjybxx.base.AbstractConstant
 
poolId() - 接口中的方法 cn.wjybxx.base.Constant
声明常量的池的id
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.BetterIndexedPriorityQueue
 
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

rawType - 类中的变量 cn.wjybxx.base.TypeInfo
原始类型 -- 可能是基础类型
ReadOnlyAfterInit - cn.wjybxx.base.annotation中的批注接口
用于标识一个只读在完成初始化以后是只读的,即:安全发布后可用于多线程访问
READY - 枚举类 中的枚举常量 cn.wjybxx.base.fx.ComponentStatus
已添加到实体,等待启动;非脚本组件会直接进入ComponentStatus.STOPPED的状态
reason() - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
取消的原因 (1~10为底层使用,10以上为用户自定义)T
REASON_DEFAULT - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
默认原因
REASON_SHUTDOWN - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
Executor关闭 -- Executor关闭不一定会取消任务
REASON_TIMEOUT - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
执行超时
REASON_TRIGGER_COUNT_LIMIT - 类中的静态变量 cn.wjybxx.base.concurrent.CancelCodes
执行超时,触发次数限制
recoveryInterrupted() - 类中的静态方法 cn.wjybxx.base.ThreadUtils
恢复中断
recoveryInterrupted(Throwable) - 类中的静态方法 cn.wjybxx.base.ThreadUtils
如果是中断异常,则恢复线程中断状态,否则不产生效用
RefIndexedElement<E> - cn.wjybxx.base.collection中的类
 
Registration - cn.wjybxx.base中的类
可关闭资源的句柄
Registration(IPooledCloseable, long) - 类的构造器 cn.wjybxx.base.Registration
 
Regulator - cn.wjybxx.base.time中的类
频率调节器 - 可理解为轮询式Timer调度器。
release(T) - 接口中的方法 cn.wjybxx.base.pool.ArrayPool
归还数组到池 是否清理数组取决于配置和实现
release(T) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool
 
release(T) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool
 
release(T) - 类中的方法 cn.wjybxx.base.pool.ConcurrentObjectPool
 
release(T) - 类中的方法 cn.wjybxx.base.pool.DefaultObjectPool
 
release(T) - 接口中的方法 cn.wjybxx.base.pool.ObjectPool
将指定的对象放入池中
release(T) - 类中的方法 cn.wjybxx.base.pool.SingleObjectPool
 
release(T, boolean) - 接口中的方法 cn.wjybxx.base.pool.ArrayPool
归还数组到池
release(T, boolean) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool
 
releaseAll(Collection<? extends T>) - 类中的方法 cn.wjybxx.base.pool.DefaultObjectPool
 
releaseAll(Collection<? extends T>) - 接口中的方法 cn.wjybxx.base.pool.ObjectPool
将指定的对象放入池中。
remove() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
remove() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
remove(E) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
remove(E) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
根据equals相等删除元素 注意:不论是否正在迭代,length都可能不会变化。
remove(E) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
remove(E) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
remove(Object) - 类中的方法 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
 
remove(Object) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
remove(Object) - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
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(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
移除集合中第一个匹配的元素
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
 
removeLastN(List<?>, int) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
删除list的后n个元素
removeLastOccurrence(Object) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
removeLastOccurrence(Object) - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
removeRef(E) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
removeRef(E) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
根据引用相等删除元素 注意:不论是否正在迭代,length都可能不会变化。
removeRef(E) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
removeRef(E) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
removeRef(Collection<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
使用“==”删除第一个匹配的元素
removeRef(List<?>, Object) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
使用“==”删除对象
removeRef(List<?>, Object, boolean) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
使用“==”删除对象
removeTyped(E) - 接口中的方法 cn.wjybxx.base.collection.IndexedCollection
 
removeTyped(T) - 类中的方法 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
 
removeTyped(T) - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
reset() - 类中的方法 cn.wjybxx.base.time.StopWatch
重置停表 注意:为了安全起见,请要么在代码的开始重置,要么在finally块中重置。
reset(T) - 接口中的方法 cn.wjybxx.base.pool.PoolableArrayHandler
重置对象数据
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
 
RUNNING - 枚举类 中的枚举常量 cn.wjybxx.base.fx.ComponentStatus
运行状态,脚本组件在调用Start成功后会进入该状态。

S

SCHEDULE_BARRIER - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
事件循环在执行该任务前必须先处理一次定时任务队列。
SCRIPT - 枚举类 中的枚举常量 cn.wjybxx.base.fx.ComponentKind
脚本行为组件;需要被框架调度的组件;具体接口取决于具体业务
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周的秒数
sequenceEqual(List<E>, List<E>) - 类中的静态方法 cn.wjybxx.base.CollectionUtils
比较List的相等性 -- 按序相等
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.DefaultDynamicArray
 
set(int, E) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
将给定元素赋值到给定位置
set(int, E) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
set(int, E) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
set(long, long) - 类中的静态方法 cn.wjybxx.base.BitFlags
启用指定bit
set(long, long, boolean) - 类中的静态方法 cn.wjybxx.base.BitFlags
设置指定bit位 -- 全0或全1
setArrayGrowFactor(double) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
setArrayGrowFactor(double) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
setAt(int, int, boolean) - 类中的静态方法 cn.wjybxx.base.BitFlags
设置指定下标的bit
setAt(long, int, boolean) - 类中的静态方法 cn.wjybxx.base.BitFlags
设置指定下标的bit
setBucketGrowFactor(double) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
setBucketGrowFactor(double) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
setByte(byte[], int, byte) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
 
setByte(byte[], int, int) - 类中的静态方法 cn.wjybxx.base.io.ByteBufferUtils
 
setCapacity(int, DequeOverflowBehavior) - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
setCid(ComponentId<?>) - 接口中的方法 cn.wjybxx.base.fx.IComponent
设置组件id 注意: 1.只有初始状态下可以设置 2.泛型类如果想指向不同的组件id,必须手动设置组件id
setClear(boolean) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
setContext(Object) - 类中的方法 cn.wjybxx.base.time.Regulator
 
setDefCapacity(int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
setDefCapacity(int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
setDegree(int) - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
 
setDegree(int, int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
设置紧急程度
setDeltaTime(int) - 接口中的方法 cn.wjybxx.base.time.Timepiece
在不修改当前时间戳的情况下修改deltaTime (仅仅用在补偿的时候,慎用)
setEnable(int, int, boolean) - 类中的静态方法 cn.wjybxx.base.concurrent.TaskOptions
启用或关闭特定选项
setEnableFuncs(long) - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
setExtraInfo(Object) - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
setField(int, int, int, int) - 类中的静态方法 cn.wjybxx.base.BitFlags
 
setField(long, long, int, long) - 类中的静态方法 cn.wjybxx.base.BitFlags
 
setFirstBucketLength(int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
setFirstBucketLength(int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
setFirstDelay(long) - 类中的方法 cn.wjybxx.base.time.Regulator
 
setFlags(long) - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
setFrameCount(int) - 接口中的方法 cn.wjybxx.base.time.Timepiece
在不修改当前时间戳的情况下修改frameCount (慎用)
setId(String, int, int) - 类中的方法 cn.wjybxx.base.Constant.Builder
设置常量的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
设置中断标记
setKind(ComponentKind) - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
setLookAhead(int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
setLookAhead(int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
setMaxCapacity(int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayLikePool.Builder
 
setMaxCapacity(int) - 类中的方法 cn.wjybxx.base.pool.ConcurrentArrayPool.Builder
 
setMaxCount(int) - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
setMountPath(String) - 类中的方法 cn.wjybxx.base.fx.ComponentId.Builder
 
setPeriod(long) - 类中的方法 cn.wjybxx.base.time.Regulator
 
setPriority(int, int) - 类中的静态方法 cn.wjybxx.base.concurrent.TaskOptions
设置优先级
setReason(int) - 类中的方法 cn.wjybxx.base.concurrent.CancelCodeBuilder
 
setReason(int, int) - 类中的静态方法 cn.wjybxx.base.concurrent.CancelCodes
设置取消原因
setRequireCacheIndex(boolean) - 类中的方法 cn.wjybxx.base.Constant.Builder
设置是否需要分配高速缓存索引
setSchedulePhase(int, int) - 类中的静态方法 cn.wjybxx.base.concurrent.TaskOptions
设置任务的调度阶段
setShared(boolean) - 类中的方法 cn.wjybxx.base.fx.ComponentId.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
设置是否不立即删除
SHARABLE - 类中的静态变量 cn.wjybxx.base.concurrent.MiniContext
 
shared - 类中的变量 cn.wjybxx.base.fx.ComponentId
是否是共享组件 -- 通常共享组件的所有方法都不被框架调用;甚至不会被注入实体的引用
shared() - 批注接口 中的元素 cn.wjybxx.base.fx.ComponentDefine
是否是共享组件
SHARED_BYTE_ARRAY_POOL - 类中的静态变量 cn.wjybxx.base.pool.ConcurrentArrayPool
全局共享字节数组池
SHARED_CHAR_ARRAY_POOL - 类中的静态变量 cn.wjybxx.base.pool.ConcurrentArrayPool
全局共享char数组池 -- charArray的使用频率稍低
SHARED_RANDOM - 类中的静态变量 cn.wjybxx.base.MathCommon
 
SHARED_STRING_BUILDER_POOL - 类中的静态变量 cn.wjybxx.base.pool.ConcurrentObjectPool
全局共享的StringBuilder
SHORT - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
shuffle(double[]) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
shuffle(float[]) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
shuffle(int[]) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
shuffle(long[]) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
shuffle(Object[]) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
SingleObjectPool<T> - cn.wjybxx.base.pool中的类
只缓存单个对象对象池 相比直接使用共享对象,使用该缓存池可避免递归调用带来的bug
SingleObjectPool(Supplier<? extends T>, Consumer<? super T>) - 类的构造器 cn.wjybxx.base.pool.SingleObjectPool
 
SingleObjectPool(Supplier<? extends T>, Consumer<? super T>, Predicate<? super T>) - 类的构造器 cn.wjybxx.base.pool.SingleObjectPool
 
SingleThreadExecutor - cn.wjybxx.base.concurrent中的接口
单线程的Executor
size() - 类中的方法 cn.wjybxx.base.collection.BetterIndexedPriorityQueue
 
size() - 类中的方法 cn.wjybxx.base.collection.BoundedArrayDeque
 
size() - 类中的方法 cn.wjybxx.base.collection.DefaultIndexedPriorityQueue
 
size() - 类中的方法 cn.wjybxx.base.collection.EmptyDequeue
 
size() - 类中的方法 cn.wjybxx.base.ConstantMap
常量对象数
size() - 类中的方法 cn.wjybxx.base.ConstantPool
 
size() - 接口中的方法 cn.wjybxx.base.EnumLiteMap
 
size() - 类中的方法 cn.wjybxx.base.pool.MpmcObjectBucket
当前元素数量
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
 
SmallDynamicArray<E> - cn.wjybxx.base.collection中的类
小型动态数组,最大支持64个监听器。
SmallDynamicArray(int) - 类的构造器 cn.wjybxx.base.collection.SmallDynamicArray
 
SmallDynamicArray(int, float) - 类的构造器 cn.wjybxx.base.collection.SmallDynamicArray
 
sort(Comparator<? super E>) - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
sort(Comparator<? super E>) - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
对数组元素进行排序 (该接口会强制压缩空间,再进行排序)
sort(Comparator<? super E>) - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
sort(Comparator<? super E>) - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
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
 
STAGE_LISTEN_CANCEL_TOKEN - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
监听用户上下文中包含的取消令牌
STAGE_TRY_INLINE - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
如果一个异步任务当前已在目标SingleThreadExecutor线程,则立即执行,而不提交任务。
STAGE_UNCANCELLABLE_CTX - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
默认情况下,Stage会在触发回调之前检测ctx否为IContextICancelToken类型,并检测取消信号。
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'.
STARTING - 枚举类 中的枚举常量 cn.wjybxx.base.fx.ComponentStatus
正在启动中,脚本组件在调用Start方法前进入该状态
state() - 接口中的方法 cn.wjybxx.base.concurrent.IContext
任务绑定的状态 1.任务之间通常不共享 -- 私有属性。
state() - 类中的方法 cn.wjybxx.base.concurrent.MiniContext
 
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
停止计时。
STOPPED - 枚举类 中的枚举常量 cn.wjybxx.base.fx.ComponentStatus
成功停止,非脚本组件会直接到该状态,脚本组件在调用Stop方法后会进入该状态
STOPPING - 枚举类 中的枚举常量 cn.wjybxx.base.fx.ComponentStatus
停止中,脚本组件在调用Stop方法前进入该状态
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.
STRING - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
STRING_HASHMAP - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
STRING_LINKED_HASHMAP - 类中的静态变量 cn.wjybxx.base.TypeInfo
 
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
 
SUCCESS - 异常错误类中的静态变量 cn.wjybxx.base.ex.ErrorCodeException
成功
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
暂停计时
swap(double[], int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
swap(float[], int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
swap(int[], int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
swap(long[], int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
swap(Object[], int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
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

TaskOptions - cn.wjybxx.base.concurrent中的类
任务调度选项
TaskOptions() - 类的构造器 cn.wjybxx.base.concurrent.TaskOptions
 
thenAccept(BiConsumer<? super ICancelToken, Object>, Object) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenAccept(BiConsumer<? super ICancelToken, Object>, Object, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
添加的action将在Token收到取消信号时执行 1.如果已收到取消请求,则给定的action会立即执行。
thenAccept(Consumer<? super ICancelToken>) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenAccept(Consumer<? super ICancelToken>, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
添加的action将在Token收到取消信号时执行 1.如果已收到取消请求,则给定的action会立即执行。
thenAcceptAsync(Executor, BiConsumer<? super ICancelToken, Object>, Object) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenAcceptAsync(Executor, BiConsumer<? super ICancelToken, Object>, Object, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenAcceptAsync(Executor, Consumer<? super ICancelToken>) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenAcceptAsync(Executor, Consumer<? super ICancelToken>, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenNotify(ICancelTokenListener, Object) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenNotify(ICancelTokenListener, Object, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
添加一个特定类型的监听器 (用于特殊需求时避免额外的闭包 - task经常需要监听取消令牌)
thenNotifyAsync(Executor, ICancelTokenListener, Object) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenNotifyAsync(Executor, ICancelTokenListener, Object, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenRun(Runnable) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenRun(Runnable, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenRun(Consumer<Object>, Object) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenRun(Consumer<Object>, Object, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenRunAsync(Executor, Runnable) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenRunAsync(Executor, Runnable, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenRunAsync(Executor, Consumer<Object>, Object) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenRunAsync(Executor, Consumer<Object>, Object, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenTransferTo(ICancelTokenSource) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenTransferTo(ICancelTokenSource, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
该接口用于方便构建子上下文 1.子token会在当前token进入取消状态时被取消 2.该接口本质是一个快捷方法,但允许子类优化
thenTransferToAsync(Executor, ICancelTokenSource) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
thenTransferToAsync(Executor, ICancelTokenSource, int) - 接口中的方法 cn.wjybxx.base.concurrent.ICancelToken
 
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
 
TIMEOUT - 异常错误类中的静态变量 cn.wjybxx.base.concurrent.StacklessCancellationException
 
TIMEOUT_BEFORE_RUN - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
延时任务:在执行任务前检测超时 1.
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
 
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.TimeHelper
将毫秒时间转换为LocalDateTime
toDateTime(long) - 类中的方法 cn.wjybxx.base.time.TimeUtils
 
toDateTimeIgnoreMs(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
将毫秒时间转换为LocalDateTime,并忽略毫秒部分。
toDoubleArray(List<Double>) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
toEpochDay(long) - 类中的方法 cn.wjybxx.base.time.TimeHelper
计算在本地时区下的纪元天数
toEpochDay(long, boolean) - 类中的方法 cn.wjybxx.base.time.TimeHelper
计算在本地时区下的纪元天数
toEpochMillis(LocalDateTime) - 类中的方法 cn.wjybxx.base.time.TimeHelper
LocalDateTime转换为时区无关的毫秒时间戳。
toEpochMillis(LocalDateTime) - 类中的静态方法 cn.wjybxx.base.time.TimeUtils
 
toFloatArray(List<Float>) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
toFunction(Consumer<T>) - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
toFunction(Consumer<T>, R) - 类中的静态方法 cn.wjybxx.base.function.FunctionUtils
 
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
 
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
 
toIntArray(List<Integer>) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
toList() - 类中的方法 cn.wjybxx.base.collection.DefaultDynamicArray
 
toList() - 接口中的方法 cn.wjybxx.base.collection.DynamicArray
将所有的非null元素转存到List
toList() - 类中的方法 cn.wjybxx.base.collection.IndexedDynamicArray
 
toList() - 类中的方法 cn.wjybxx.base.collection.SmallDynamicArray
 
toList(E[]) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
toList(E[], int, int) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
toLongArray(List<Long>) - 类中的静态方法 cn.wjybxx.base.ArrayUtils
 
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() - 类中的方法 cn.wjybxx.base.TypeInfo
 
toString() - 类中的方法 cn.wjybxx.base.TypeName
 
toString(Object, String) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
 
toString(StringBuilder) - 类中的方法 cn.wjybxx.base.TypeName
TypeName转换为Dson字符串格式
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
 
toTask(Runnable, int) - 类中的静态方法 cn.wjybxx.base.concurrent.ExecutorCoreUtils
 
toTask(Runnable, ICancelToken, int) - 类中的静态方法 cn.wjybxx.base.concurrent.ExecutorCoreUtils
 
toTask(Consumer<Object>, Object, int) - 类中的静态方法 cn.wjybxx.base.concurrent.ExecutorCoreUtils
 
TriConsumer<T,U,V> - cn.wjybxx.base.function中的接口
 
TriFunction<T,U,V,R> - cn.wjybxx.base.function中的接口
 
TRIGGER_COUNT_LIMIT - 异常错误类中的静态变量 cn.wjybxx.base.concurrent.StacklessCancellationException
 
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
 
typeArgs - 类中的变量 cn.wjybxx.base.TypeInfo
泛型实参信息 -- 当不为0时,应当和真实泛型参数个数相同
typeArgs - 类中的变量 cn.wjybxx.base.TypeName
泛型实参信息,无泛型时为空List
TypeInfo - cn.wjybxx.base中的类
类型信息
TypeName - cn.wjybxx.base中的类
结构化的类型名。
TypeName(String) - 类的构造器 cn.wjybxx.base.TypeName
 
TypeName(String, List<TypeName>) - 类的构造器 cn.wjybxx.base.TypeName
 
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

validate(T) - 接口中的方法 cn.wjybxx.base.pool.PoolableArrayHandler
验证对象的有效性
value() - 批注接口 中的元素 cn.wjybxx.base.annotation.Alias
 
value() - 批注接口 中的元素 cn.wjybxx.base.annotation.Beta
 
value() - 批注接口 中的元素 cn.wjybxx.base.annotation.Internal
注释
value() - 批注接口 中的元素 cn.wjybxx.base.annotation.Priority
权重值
value() - 批注接口 中的元素 cn.wjybxx.base.annotation.SourceFileRef
 
value() - 批注接口 中的元素 cn.wjybxx.base.fx.ComponentRedirect
真实的组件类型
valueOf(boolean) - 枚举类中的静态方法 cn.wjybxx.base.OptionalBool
返回带有指定名称的该类的枚举常量。
valueOf(Constant.Builder<? extends T>) - 类中的方法 cn.wjybxx.base.ConstantPool
获取或创建常量 如果已存在关联的常量,则返回关联的常量; 如果不存在关联的常量,额创建新的常量
valueOf(ComponentId.Builder<T>) - 类中的方法 cn.wjybxx.base.fx.ComponentIdPool
创建或使用既有的组件id
valueOf(Boolean) - 枚举类中的静态方法 cn.wjybxx.base.OptionalBool
返回带有指定名称的该类的枚举常量。
valueOf(Class<T>) - 类中的方法 cn.wjybxx.base.fx.ComponentIdPool
通过类型信息解析组件的id
valueOf(String) - 枚举类中的静态方法 cn.wjybxx.base.CaseMode
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 cn.wjybxx.base.collection.DequeOverflowBehavior
返回带有指定名称的该类的枚举常量。
valueOf(String) - 类中的方法 cn.wjybxx.base.ConstantPool
获取给定名字对应的常量。
valueOf(String) - 枚举类中的静态方法 cn.wjybxx.base.fx.ComponentKind
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 cn.wjybxx.base.fx.ComponentStatus
返回带有指定名称的该类的枚举常量。
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.fx.ComponentKind
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 cn.wjybxx.base.fx.ComponentStatus
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 cn.wjybxx.base.OptionalBool
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 cn.wjybxx.base.SortOrder
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
VisibleForTesting - cn.wjybxx.base.annotation中的批注接口
用于表述某个元素的开放权限仅用于测试
VOID - 类中的静态变量 cn.wjybxx.base.TypeInfo
 

W

WAKEUP_THREAD - 类中的静态变量 cn.wjybxx.base.concurrent.TaskOptions
唤醒事件循环线程 事件循环线程可能阻塞某些操作上,如果一个任务需要EventLoop及时处理,则可以启用该选项唤醒线程。
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

zeroToDef(int, int) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
0转默认值
zeroToDef(long, long) - 类中的静态方法 cn.wjybxx.base.ObjectUtils
0转默认值
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.DynamicArray中的搜索标记

如何中断线程 - 接口 cn.wjybxx.base.concurrent.ICancelToken中的搜索标记

数组泛型信息 - 类 cn.wjybxx.base.TypeInfo中的搜索标记

格式化样式 - 类 cn.wjybxx.base.TypeName中的搜索标记

监听器 - 接口 cn.wjybxx.base.concurrent.ICancelToken中的搜索标记
监听器管理 - 接口 cn.wjybxx.base.concurrent.ICancelToken中的搜索标记

约定 - 接口 cn.wjybxx.base.collection.DynamicArray中的搜索标记

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