Index

A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

abs(int) - Static method in class cloud.opencode.base.core.OpenMath
Absolute value (safe: throws on Integer.MIN_VALUE instead of returning negative) 绝对值 (safe: throws on Integer.MIN_VALUE instead of returning negative) 绝对值 (安全:对 Integer.MIN_VALUE 抛出异常而非返回负数)
abs(long) - Static method in class cloud.opencode.base.core.OpenMath
Absolute value (long, safe: throws on Long.MIN_VALUE instead of returning negative) 绝对值(long, safe: throws on Long.MIN_VALUE instead of returning negative) 绝对值(long,安全:对 Long.MIN_VALUE 抛出异常而非返回负数)
accept(T) - Method in interface cloud.opencode.base.core.func.CheckedConsumer
Executes an operation that may throw a checked exception 执行操作,可能抛出受检异常
acceptQuietly(T) - Method in interface cloud.opencode.base.core.func.CheckedConsumer
Silently executes, ignoring exceptions 静默执行,忽略异常
add(Number...) - Static method in class cloud.opencode.base.core.OpenNumber
High-precision addition of multiple Number values.
add(String, boolean) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds a name-value pair for a boolean value.
add(String, char) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds a name-value pair for a char value.
add(String, double) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds a name-value pair for a double value.
add(String, float) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds a name-value pair for a float value.
add(String, int) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds a name-value pair for an int value.
add(String, long) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds a name-value pair for a long value.
add(String, Object) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds a name-value pair.
add(BigDecimal, BigDecimal) - Static method in class cloud.opencode.base.core.OpenMath
High-precision addition of two BigDecimal values.
add(T[], int, T) - Static method in class cloud.opencode.base.core.OpenArray
Inserts an element at the specified index.
add(T[], T) - Static method in class cloud.opencode.base.core.OpenArray
Appends an element to the end of the array.
addAll(T[], T...) - Static method in class cloud.opencode.base.core.OpenArray
Concatenates two arrays into a new array.
addBom(byte[]) - Static method in class cloud.opencode.base.core.OpenCharset
Adds 添加 UTF-8 BOM
addValue(boolean) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds an unnamed boolean value.
addValue(char) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds an unnamed char value.
addValue(double) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds an unnamed double value.
addValue(float) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds an unnamed float value.
addValue(int) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds an unnamed int value.
addValue(long) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds an unnamed long value.
addValue(Object) - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Adds an unnamed value.
all() - Static method in class cloud.opencode.base.core.Range
Creates a range containing all values (-∞, +∞).
allEqual() - Static method in class cloud.opencode.base.core.Ordering
Returns an ordering that treats all values as equal.
allMatch(Stream, Predicate) - Static method in class cloud.opencode.base.core.OpenStream
Checks if all elements match 检查是否所有元素都匹配
allNonNull() - Method in record class cloud.opencode.base.core.tuple.Pair
Checks if all values are non-null 检查是否都非 null
allNonNull() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Checks if all values are non-null 检查是否都非 null
allNonNull() - Method in record class cloud.opencode.base.core.tuple.Triple
Checks if all values are non-null 检查是否都非 null
allocateInstance(Class) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Allocates an instance (without calling constructor) 分配实例(不调用构造器)
allocateMemory(long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Allocates direct memory 分配直接内存
allPresent(Optional...) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Checks if all Optionals have a value present 检查所有 Optional 是否都存在值
alphabetic() - Method in class cloud.opencode.base.core.random.VerifyCodeUtil.Builder
 
alphabetic(int) - Static method in class cloud.opencode.base.core.random.VerifyCodeUtil
Generates an alphabetic verification code 生成字母验证码
alphanumeric() - Method in class cloud.opencode.base.core.random.VerifyCodeUtil.Builder
 
alphanumeric(int) - Static method in class cloud.opencode.base.core.random.VerifyCodeUtil
Generates an alphanumeric verification code 生成字母数字混合验证码
alreadyClosed(String) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalStateException
Creates 创建"已关闭"异常
alreadyExists(String, Object) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalStateException
Creates 创建"已存在"异常
and(boolean...) - Static method in class cloud.opencode.base.core.OpenBoolean
Logical AND operation 逻辑与操作
and(boolean...) - Static method in class cloud.opencode.base.core.primitives.Booleans
Returns true if all values are true (logical AND) | 所有值为 true 时返回 true(逻辑与)
and(CheckedPredicate) - Method in interface cloud.opencode.base.core.func.CheckedPredicate
Logical AND 逻辑与
and(Sort) - Method in class cloud.opencode.base.core.page.Sort
 
andThen(PropertyConverter) - Method in interface cloud.opencode.base.core.bean.PropertyConverter
Chained converter 链式转换器
andThen(CheckedConsumer) - Method in interface cloud.opencode.base.core.func.CheckedConsumer
Composes two CheckedConsumers 组合两个 CheckedConsumer
andThen(CheckedFunction) - Method in interface cloud.opencode.base.core.func.CheckedFunction
Composes functions (executes this function first, then after) 组合函数(先执行本函数,再执行 after)
andThen(CheckedRunnable) - Method in interface cloud.opencode.base.core.func.CheckedRunnable
Composes two CheckedRunnables 组合两个 CheckedRunnable
anyMatch(Stream, Predicate) - Static method in class cloud.opencode.base.core.OpenStream
Checks if any element matches 检查是否有元素匹配
anyPresent(Optional...) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Checks if any Optional has a value present 检查是否有任意 Optional 存在值
appendTo(A, Iterable) - Method in class cloud.opencode.base.core.Joiner
Appends the joined string to the given appendable.
appendTo(A, Iterable) - Method in class cloud.opencode.base.core.Joiner.MapJoiner
Appends the joined entries to the given Appendable.
appendTo(A, Object...) - Method in class cloud.opencode.base.core.Joiner
Appends the joined string to the given appendable.
appendTo(A, Iterator) - Method in class cloud.opencode.base.core.Joiner
Appends the joined string to the given appendable.
appendTo(A, Map) - Method in class cloud.opencode.base.core.Joiner.MapJoiner
Appends the joined map to the given Appendable.
appendTo(StringBuilder, Iterable) - Method in class cloud.opencode.base.core.Joiner
Appends the joined string to the given StringBuilder.
appendTo(StringBuilder, Iterable) - Method in class cloud.opencode.base.core.Joiner.MapJoiner
Appends the joined entries to the given StringBuilder.
appendTo(StringBuilder, Object...) - Method in class cloud.opencode.base.core.Joiner
Appends the joined string to the given StringBuilder.
appendTo(StringBuilder, Map) - Method in class cloud.opencode.base.core.Joiner.MapJoiner
Appends the joined map to the given StringBuilder.
apply(A, B, C) - Method in interface cloud.opencode.base.core.tuple.Triple.TriFunction
 
apply(Triple.TriFunction) - Method in record class cloud.opencode.base.core.tuple.Triple
Applies a tri-function 应用三元函数
apply(BiFunction) - Method in record class cloud.opencode.base.core.tuple.Pair
Applies a bi-function 应用二元函数
apply(T) - Method in interface cloud.opencode.base.core.func.CheckedFunction
Applies the function, may throw a checked exception 应用函数,可能抛出受检异常
apply(T1, T2, T3) - Method in interface cloud.opencode.base.core.thread.StructuredTaskUtil.TriFunction
Apply the function to three arguments
apply(T, U, V) - Method in interface cloud.opencode.base.core.stream.OptionalUtil.TriFunction
Applies this function | 应用此函数
applyOrDefault(T, R) - Method in interface cloud.opencode.base.core.func.CheckedFunction
Silently applies, returning the default value on exception 静默应用,异常时返回默认值
applyQuietly(T) - Method in interface cloud.opencode.base.core.func.CheckedFunction
Silently applies, returning null on exception 静默应用,异常时返回 null
arrayBaseOffset(Class) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets the array base offset 获取数组基础偏移量
arrayIndexScale(Class) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets the array element scale factor 获取数组元素缩放因子
arrayVarHandle(Class) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets the VarHandle for an array 获取数组的 VarHandle
asc(String) - Static method in record class cloud.opencode.base.core.page.Sort.Order
 
ASC - Enum constant in enum class cloud.opencode.base.core.page.Sort.Direction
Ascending order | 升序
asList(boolean...) - Static method in class cloud.opencode.base.core.primitives.Booleans
Converts a boolean array to a List | 将 boolean 数组转换为 List
asList(byte...) - Static method in class cloud.opencode.base.core.primitives.Bytes
Converts to a List 转为 List
asList(char...) - Static method in class cloud.opencode.base.core.primitives.Chars
 
asList(double...) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
asList(float...) - Static method in class cloud.opencode.base.core.primitives.Floats
 
asList(int...) - Static method in class cloud.opencode.base.core.primitives.Ints
Converts to List 转为 List
asList(long...) - Static method in class cloud.opencode.base.core.primitives.Longs
Converts to List 转为 List
asList(short...) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
atLeast(C) - Static method in class cloud.opencode.base.core.Range
Creates a range with no upper bound [lower, +∞).
atMost(C) - Static method in class cloud.opencode.base.core.Range
Creates a range with no lower bound (-∞, upper].
AttributeConverter<X,Y> - Interface in cloud.opencode.base.core.convert
AttributeConverter - SPI for bidirectional type conversion between two types.
averageInt(IntStream) - Static method in class cloud.opencode.base.core.OpenStream
Gets average of integers 获取整数平均值

B

batch(Stream, int) - Static method in class cloud.opencode.base.core.OpenStream
Splits stream into batches of fixed size 将Stream分割成固定大小的批次
batchStream(Collection, int) - Static method in class cloud.opencode.base.core.OpenStream
Creates a stream of batches 创建批次流
BeanBuilder<T> - Class in cloud.opencode.base.core.builder
Bean Builder - Fluent builder for JavaBeans JavaBean 构建器 - JavaBean 的流式构建器
BeanBuilder(Class) - Constructor for class cloud.opencode.base.core.builder.BeanBuilder
Creates a BeanBuilder for the given class | 为指定类创建 BeanBuilder
BeanPath - Class in cloud.opencode.base.core.bean
Bean Path Utility Class - Nested property path access Bean 路径访问工具 - 嵌套属性路径访问
BeanPath.IndexSegment - Record Class in cloud.opencode.base.core.bean
Index segment | 索引段
BeanPath.MapKeySegment - Record Class in cloud.opencode.base.core.bean
Map key segment | Map 键段
BeanPath.PathSegment - Interface in cloud.opencode.base.core.bean
Path segment interface | 路径段接口
BeanPath.PropertySegment - Record Class in cloud.opencode.base.core.bean
Property segment | 属性段
binaryToDecimal(String) - Static method in class cloud.opencode.base.core.OpenRadix
Converts binary to decimal 二进制转十进制
binaryToHex(String) - Static method in class cloud.opencode.base.core.OpenRadix
Converts binary to hexadecimal 二进制转十六进制
Booleans - Class in cloud.opencode.base.core.primitives
Boolean Array Utility Class - Guava-style operations for boolean primitive arrays boolean 数组工具类 - Guava 风格的 boolean 原始类型数组操作
build() - Method in class cloud.opencode.base.core.builder.BeanBuilder
 
build() - Method in interface cloud.opencode.base.core.builder.Builder
Builds the target object.
build() - Method in class cloud.opencode.base.core.builder.MapBuilder
 
build() - Method in class cloud.opencode.base.core.builder.RecordBuilder
 
build() - Method in class cloud.opencode.base.core.random.VerifyCodeUtil.Builder
 
build() - Method in class cloud.opencode.base.core.thread.NamedThreadFactory.Builder
 
buildAndValidate(Consumer) - Method in class cloud.opencode.base.core.builder.BeanBuilder
Builds and validates the bean | 构建并验证 Bean
buildAndValidate(Consumer) - Method in class cloud.opencode.base.core.builder.RecordBuilder
Builds the record and validates it with the given validator 构建并验证
builder() - Static method in class cloud.opencode.base.core.random.VerifyCodeUtil
Gets the verification code builder 获取验证码构建器
builder() - Static method in class cloud.opencode.base.core.thread.NamedThreadFactory
Builder 构建器
Builder<T> - Interface in cloud.opencode.base.core.builder
Builder Interface - Functional interface for object building 构建器接口 - 对象构建的函数式接口
Builder() - Constructor for class cloud.opencode.base.core.random.VerifyCodeUtil.Builder
 
Builder() - Constructor for class cloud.opencode.base.core.thread.NamedThreadFactory.Builder
 
by(Sort.Direction, String) - Static method in class cloud.opencode.base.core.page.Sort
 
by(Sort.Direction, String...) - Static method in class cloud.opencode.base.core.page.Sort
 
by(Sort.Order...) - Static method in class cloud.opencode.base.core.page.Sort
 
by(String) - Static method in class cloud.opencode.base.core.page.Sort
 
by(List) - Static method in class cloud.opencode.base.core.page.Sort
 
Bytes - Class in cloud.opencode.base.core.primitives
Byte Array Utility Class - Guava-style operations for byte primitive arrays byte 数组工具类 - Guava 风格的 byte 原始类型数组操作
BYTES - Static variable in class cloud.opencode.base.core.primitives.Bytes
 
BYTES - Static variable in class cloud.opencode.base.core.primitives.Chars
 
BYTES - Static variable in class cloud.opencode.base.core.primitives.Doubles
 
BYTES - Static variable in class cloud.opencode.base.core.primitives.Floats
 
BYTES - Static variable in class cloud.opencode.base.core.primitives.Ints
 
BYTES - Static variable in class cloud.opencode.base.core.primitives.Longs
 
BYTES - Static variable in class cloud.opencode.base.core.primitives.Shorts
 
byteToHex(byte) - Static method in class cloud.opencode.base.core.OpenHex
Converts a single byte to a hex string 单字节转十六进制字符串

C

call() - Method in interface cloud.opencode.base.core.func.CheckedCallable
Executes and returns a result, may throw a checked exception 执行并返回结果,可能抛出受检异常
callOrDefault(V) - Method in interface cloud.opencode.base.core.func.CheckedCallable
Silently calls, returning the default value on exception 静默调用,异常时返回默认值
callQuietly() - Method in interface cloud.opencode.base.core.func.CheckedCallable
Silently calls, returning null on exception 静默调用,异常时返回 null
callWhere(ScopedValue, T, ScopedValue.CallableOp) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Bind a value to a ScopedValue and execute a CallableOp task 将值绑定到 ScopedValue 并执行 CallableOp 任务
callWhere(ScopedValue, T1, ScopedValue, T2, ScopedValue.CallableOp) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Bind two values to two ScopedValues and execute a CallableOp task 将两个值绑定到两个 ScopedValue 并执行 CallableOp 任务
callWithContext(String, T, Supplier) - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Executes in the specified context and returns a result 在指定上下文中执行并返回结果
canEncode(String, Charset) - Static method in class cloud.opencode.base.core.OpenCharset
Checks 检查字符串是否可用指定字符集编码
canonical(Function) - Method in class cloud.opencode.base.core.Range
Returns a canonical form of this range using the given domain.
ceil(double, int) - Static method in class cloud.opencode.base.core.OpenMath
Rounds a double value up to the specified number of decimal places.
Chars - Class in cloud.opencode.base.core.primitives
Char Array Utility Class - Guava-style operations for char primitive arrays char 数组工具类 - Guava 风格的 char 原始类型数组操作
charset(String) - Static method in class cloud.opencode.base.core.OpenCharset
Gets 获取字符集,null 安全(返回 UTF-8)
charset(String, Charset) - Static method in class cloud.opencode.base.core.OpenCharset
Gets 获取字符集,带默认值
charsetOptional(String) - Static method in class cloud.opencode.base.core.OpenCharset
Safely gets the charset 安全获取字符集
checkArgument(boolean) - Static method in class cloud.opencode.base.core.Preconditions
Checks the argument condition, otherwise throws OpenIllegalArgumentException 检查参数条件,否则抛出 OpenIllegalArgumentException
checkArgument(boolean, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks the argument condition, otherwise throws OpenIllegalArgumentException with message 检查参数条件,否则抛出带消息的 OpenIllegalArgumentException
checkArgument(boolean, String, Object...) - Static method in class cloud.opencode.base.core.Preconditions
Checks the argument condition, otherwise throws OpenIllegalArgumentException with formatted message 检查参数条件,否则抛出格式化消息的 OpenIllegalArgumentException
CheckedCallable<V> - Interface in cloud.opencode.base.core.func
Checked Callable - Enhanced Callable with convenience methods 可抛出受检异常的 Callable - 增强 JDK Callable 提供便捷方法
checkedCast(long) - Static method in class cloud.opencode.base.core.OpenNumber
Converts a long to an int, throwing ArithmeticException on overflow.
checkedCast(long) - Static method in class cloud.opencode.base.core.primitives.Ints
Checked conversion (long to int, throws on overflow) 检查转换(long 转 int,溢出则抛异常)
checkedCast(long) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
CheckedConsumer<T> - Interface in cloud.opencode.base.core.func
Checked Consumer - Consumer that can throw checked exceptions 可抛出受检异常的 Consumer - 扩展 JDK Consumer 支持受检异常
CheckedFunction<T,R> - Interface in cloud.opencode.base.core.func
Checked Function - Function that can throw checked exceptions 可抛出受检异常的 Function - 扩展 JDK Function 支持受检异常
CheckedPredicate<T> - Interface in cloud.opencode.base.core.func
Checked Predicate - Predicate that can throw checked exceptions 可抛出受检异常的 Predicate - 扩展 JDK Predicate 支持受检异常
CheckedRunnable - Interface in cloud.opencode.base.core.func
Checked Runnable - Runnable that can throw checked exceptions 可抛出受检异常的 Runnable - 扩展 JDK Runnable 支持受检异常
CheckedSupplier<T> - Interface in cloud.opencode.base.core.func
Checked Supplier - Supplier that can throw checked exceptions 可抛出受检异常的 Supplier - 扩展 JDK Supplier 支持受检异常
checkElementIndex(int, int) - Static method in class cloud.opencode.base.core.Preconditions
Checks if the element index is valid [0, size) 检查元素索引是否有效 [0, size)
checkElementIndex(int, int, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks if the element index is valid [0, size) 检查元素索引是否有效 [0, size)
checkNotNull(T) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the object is not null, otherwise throws NullPointerException 检查对象非空,否则抛出 NullPointerException
checkNotNull(T, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the object is not null, otherwise throws NullPointerException with message 检查对象非空,否则抛出带消息的 NullPointerException
checkNotNull(T, String, Object...) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the object is not null, otherwise throws NullPointerException with formatted message 检查对象非空,否则抛出格式化消息的 NullPointerException
checkPositionIndex(int, int) - Static method in class cloud.opencode.base.core.Preconditions
Checks if the position index is valid [0, size] 检查位置索引是否有效 [0, size]
checkPositionIndex(int, int, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks if the position index is valid [0, size] 检查位置索引是否有效 [0, size]
checkPositionIndexes(int, int, int) - Static method in class cloud.opencode.base.core.Preconditions
Checks if the position range is valid [start, end] and end <= size.
checkState(boolean) - Static method in class cloud.opencode.base.core.Preconditions
Checks the state condition, otherwise throws OpenIllegalStateException 检查状态条件,否则抛出 OpenIllegalStateException
checkState(boolean, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks the state condition, otherwise throws OpenIllegalStateException with message 检查状态条件,否则抛出带消息的 OpenIllegalStateException
checkState(boolean, String, Object...) - Static method in class cloud.opencode.base.core.Preconditions
Checks the state condition, otherwise throws OpenIllegalStateException with formatted message 检查状态条件,否则抛出格式化消息的 OpenIllegalStateException
clamp(double, double, double) - Static method in class cloud.opencode.base.core.OpenNumber
Clamps the double value to the range [min, max].
clamp(int, int, int) - Static method in class cloud.opencode.base.core.OpenNumber
Clamps the value to the range [min, max].
clamp(long, long, long) - Static method in class cloud.opencode.base.core.OpenNumber
Clamps the long value to the range [min, max].
classNameToPath(String) - Static method in class cloud.opencode.base.core.OpenClass
Converts a class name to a resource path by replacing '.' with '/'.
clear() - Static method in class cloud.opencode.base.core.singleton.Singleton
Clears all singletons 清除所有单例
clear() - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Clears all ThreadLocals for the current thread 清除当前线程的所有 ThreadLocal
clearBit(int, int) - Static method in class cloud.opencode.base.core.OpenBit
Clears the bit at the specified position 清除指定位置的位
clearBit(long, int) - Static method in class cloud.opencode.base.core.OpenBit
Clears the bit at the specified position (long) 清除指定位置的位(long)
clearCache() - Static method in class cloud.opencode.base.core.spi.SpiLoader
Clears the cache 清除缓存
clearCache(Class) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Clears the cache for the specified class 清除指定类的缓存
clone(T) - Static method in class cloud.opencode.base.core.OpenObject
Clones the object if it implements Cloneable, otherwise returns null.
cloneIfPossible(T) - Static method in class cloud.opencode.base.core.OpenObject
Clones the object if possible, otherwise returns the original.
closed(C, C) - Static method in class cloud.opencode.base.core.Range
Creates a closed range [lower, upper].
CLOSED - Enum constant in enum class cloud.opencode.base.core.Range.BoundType
 
closedOpen(C, C) - Static method in class cloud.opencode.base.core.Range
Creates a closed-open range [lower, upper).
closeFailed(String, Throwable) - Static method in exception class cloud.opencode.base.core.exception.OpenIOException
Creates 创建"关闭资源失败"异常
cloud.opencode.base.core - module cloud.opencode.base.core
OpenCode Base Core Module OpenCode 核心模块
cloud.opencode.base.core - package cloud.opencode.base.core
 
cloud.opencode.base.core.annotation - package cloud.opencode.base.core.annotation
 
cloud.opencode.base.core.assertion - package cloud.opencode.base.core.assertion
 
cloud.opencode.base.core.bean - package cloud.opencode.base.core.bean
 
cloud.opencode.base.core.builder - package cloud.opencode.base.core.builder
 
cloud.opencode.base.core.compare - package cloud.opencode.base.core.compare
 
cloud.opencode.base.core.container - package cloud.opencode.base.core.container
 
cloud.opencode.base.core.convert - package cloud.opencode.base.core.convert
 
cloud.opencode.base.core.exception - package cloud.opencode.base.core.exception
 
cloud.opencode.base.core.func - package cloud.opencode.base.core.func
 
cloud.opencode.base.core.page - package cloud.opencode.base.core.page
 
cloud.opencode.base.core.primitives - package cloud.opencode.base.core.primitives
 
cloud.opencode.base.core.random - package cloud.opencode.base.core.random
 
cloud.opencode.base.core.reflect - package cloud.opencode.base.core.reflect
 
cloud.opencode.base.core.singleton - package cloud.opencode.base.core.singleton
 
cloud.opencode.base.core.spi - package cloud.opencode.base.core.spi
 
cloud.opencode.base.core.stream - package cloud.opencode.base.core.stream
 
cloud.opencode.base.core.thread - package cloud.opencode.base.core.thread
 
cloud.opencode.base.core.tuple - package cloud.opencode.base.core.tuple
 
combine(Optional, Optional, BiFunction) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Combines two Optionals 组合两个 Optional
combine3(Optional, Optional, Optional, OptionalUtil.TriFunction) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Combines three Optionals 组合三个 Optional
compare(boolean, boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Compares 比较两个 Boolean
compare(boolean, boolean) - Static method in class cloud.opencode.base.core.primitives.Booleans
Compares two boolean values | 比较两个 boolean 值
compare(byte[], byte[]) - Static method in class cloud.opencode.base.core.primitives.Bytes
Compares two byte arrays 比较两个字节数组
compare(char, char) - Static method in class cloud.opencode.base.core.primitives.Chars
 
compare(double, double) - Static method in class cloud.opencode.base.core.OpenNumber
Compares two double values.
compare(double, double) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
compare(float, float) - Static method in class cloud.opencode.base.core.primitives.Floats
 
compare(int, int) - Static method in class cloud.opencode.base.core.OpenNumber
Compares two int values.
compare(int, int) - Static method in class cloud.opencode.base.core.primitives.Ints
Compares two int values 比较两个 int 值
compare(long, long) - Static method in class cloud.opencode.base.core.OpenNumber
Compares two long values.
compare(long, long) - Static method in class cloud.opencode.base.core.primitives.Longs
Compares two long values 比较两个 long 值
compare(short, short) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
compare(Object, Object) - Static method in class cloud.opencode.base.core.compare.CompareUtil
Compares two Comparable values.
compare(T, T) - Static method in class cloud.opencode.base.core.OpenObject
Compares two Comparable objects, with null treated as less than non-null.
compare(T, T, boolean) - Static method in class cloud.opencode.base.core.OpenObject
Compares two Comparable objects with configurable null ordering.
compareAndSetArrayInt(int[], int, int, int) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
CAS sets array element int CAS 设置数组元素 int
compareAndSetArrayLong(long[], int, long, long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
CAS sets array element long CAS 设置数组元素 long
compareAndSetArrayObject(Object[], int, Object, Object) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
CAS sets array element Object CAS 设置数组元素 Object
compareAndSetInt(VarHandle, Object, int, int) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
CAS sets int value (new API, no warnings) CAS 设置 int 值 (新 API,无警告)
compareAndSetLong(VarHandle, Object, long, long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
CAS sets long value (new API, no warnings) CAS 设置 long 值 (新 API,无警告)
compareAndSetObject(VarHandle, Object, Object, Object) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
CAS sets object reference (new API, no warnings) CAS 设置对象引用 (新 API,无警告)
compareAndSwapInt(Object, long, int, int) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
compareAndSwapLong(Object, long, long, long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
compareAndSwapObject(Object, long, Object, Object) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
compareUnsigned(byte, byte) - Static method in class cloud.opencode.base.core.primitives.Bytes
Unsigned comparison 无符号比较
CompareUtil - Class in cloud.opencode.base.core.compare
Compare Utility - Generic comparison operations for Comparable types 比较工具 - 对 Comparable 类型的通用比较操作
CompareUtil.Operator - Enum Class in cloud.opencode.base.core.compare
Comparison operators.
compose(CheckedFunction) - Method in interface cloud.opencode.base.core.func.CheckedFunction
Composes functions (executes before first, then this function) 组合函数(先执行 before,再执行本函数)
compose(Function, Supplier) - Static method in class cloud.opencode.base.core.Suppliers
Returns a new supplier that applies the given function to the value from the delegate.
concat(boolean[]...) - Static method in class cloud.opencode.base.core.primitives.Booleans
Concatenates multiple boolean arrays | 合并多个 boolean 数组
concat(byte[]...) - Static method in class cloud.opencode.base.core.primitives.Bytes
Concatenates multiple arrays | 合并多个数组
concat(char[]...) - Static method in class cloud.opencode.base.core.primitives.Chars
 
concat(double[]...) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
concat(float[]...) - Static method in class cloud.opencode.base.core.primitives.Floats
 
concat(int[]...) - Static method in class cloud.opencode.base.core.primitives.Ints
Concatenates multiple arrays 合并多个数组
concat(long[]...) - Static method in class cloud.opencode.base.core.primitives.Longs
Concatenates multiple arrays 合并多个数组
concat(short[]...) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
configure(Consumer) - Method in class cloud.opencode.base.core.builder.BeanBuilder
Configuration callback | 配置回调
configure(Consumer) - Method in class cloud.opencode.base.core.builder.MapBuilder
Configuration callback 配置回调
configure(Consumer) - Method in class cloud.opencode.base.core.builder.RecordBuilder
Applies a configuration callback to this builder 配置回调
constrainToRange(byte, byte, byte) - Static method in class cloud.opencode.base.core.primitives.Bytes
Constrains the value to the specified range 约束值在指定范围内
constrainToRange(char, char, char) - Static method in class cloud.opencode.base.core.primitives.Chars
 
constrainToRange(double, double, double) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
constrainToRange(float, float, float) - Static method in class cloud.opencode.base.core.primitives.Floats
 
constrainToRange(int, int, int) - Static method in class cloud.opencode.base.core.OpenNumber
Constrains the value to the range [min, max] (alias for clamp).
constrainToRange(int, int, int) - Static method in class cloud.opencode.base.core.primitives.Ints
Constrains the value within the specified range 约束值在指定范围内
constrainToRange(long, long, long) - Static method in class cloud.opencode.base.core.primitives.Longs
Constrains the value within the specified range 约束值在指定范围内
constrainToRange(short, short, short) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
ConstructorUtil - Class in cloud.opencode.base.core.reflect
Constructor Utility Class - Constructor reflection operations 构造器工具类 - 构造器反射操作
ContainerUtil - Class in cloud.opencode.base.core.container
Container Utility - Generic size/empty operations for Collection, Map, Array, CharSequence, Optional 容器工具 - 对 Collection、Map、Array、CharSequence、Optional 的通用 size/empty 操作
contains(boolean[], boolean) - Static method in class cloud.opencode.base.core.primitives.Booleans
Checks if the array contains the target | 检查数组是否包含目标值
contains(byte[], byte) - Static method in class cloud.opencode.base.core.primitives.Bytes
Checks whether the array contains the specified element | 检查数组是否包含指定元素
contains(char[], char) - Static method in class cloud.opencode.base.core.primitives.Chars
 
contains(double[], double) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
contains(float[], float) - Static method in class cloud.opencode.base.core.primitives.Floats
 
contains(int[], int) - Static method in class cloud.opencode.base.core.OpenArray
Returns true if an int array contains the specified element.
contains(int[], int) - Static method in class cloud.opencode.base.core.primitives.Ints
Checks if the array contains the specified element 检查数组是否包含指定元素
contains(long[], long) - Static method in class cloud.opencode.base.core.primitives.Longs
Checks if the array contains the specified element 检查数组是否包含指定元素
contains(short[], short) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
contains(C) - Method in class cloud.opencode.base.core.Range
Returns true if this range contains the given value.
contains(CharSequence, CharSequence) - Static method in class cloud.opencode.base.core.OpenStringBase
Checks if the string contains the specified substring 检查是否包含指定子串
contains(Class) - Static method in class cloud.opencode.base.core.singleton.Singleton
Checks if a singleton exists (by type) 检查单例是否存在(按类型)
contains(String) - Static method in class cloud.opencode.base.core.singleton.Singleton
Checks if a singleton exists (by name) 检查单例是否存在(按名称)
contains(String) - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Checks if the ThreadLocal exists 检查 ThreadLocal 是否存在
contains(Throwable, Class) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Checks 判断异常链中是否包含指定类型的异常
contains(T[], T) - Static method in class cloud.opencode.base.core.OpenArray
Returns true if the array contains the specified element.
containsAll(C...) - Method in class cloud.opencode.base.core.Range
Returns true if this range contains all given values.
containsAll(Iterable) - Method in class cloud.opencode.base.core.Range
Returns true if this range contains all values in the iterable.
containsKey(K) - Method in class cloud.opencode.base.core.builder.MapBuilder
Checks 检查是否包含键
convert(Object) - Method in interface cloud.opencode.base.core.convert.Converter
Converts 转换值为目标类型
convert(Object, TypeReference) - Static method in class cloud.opencode.base.core.convert.Convert
Generic type conversion (using TypeReference) 泛型转换(使用 TypeReference)
convert(Object, Class, Class, String) - Method in interface cloud.opencode.base.core.bean.PropertyConverter
Converts property value 转换属性值
convert(Object, Class) - Static method in class cloud.opencode.base.core.convert.Convert
Generic type conversion 泛型转换
convert(Object, Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Converts the type 类型转换
convert(Object, T) - Method in interface cloud.opencode.base.core.convert.Converter
Converts 转换值为目标类型
convert(String, int, int) - Static method in class cloud.opencode.base.core.OpenRadix
General radix conversion 通用进制转换
convert(String, String, String) - Static method in class cloud.opencode.base.core.OpenCharset
Converts 转换字符串编码(字符集名称)
convert(String, Charset, Charset) - Static method in class cloud.opencode.base.core.OpenCharset
Converts 转换字符串编码
Convert - Class in cloud.opencode.base.core.convert
Unified Type Conversion Entry - Static methods for type conversion 统一类型转换入口 - 类型转换的静态方法
Converter<T> - Interface in cloud.opencode.base.core.convert
Type Converter Interface - Core interface for type conversion 类型转换器接口 - 类型转换的核心接口
ConverterRegistry - Class in cloud.opencode.base.core.convert
Converter Registry - Manages registration and retrieval of type converters 转换器注册表 - 管理类型转换器的注册和获取
convertFrom(Y) - Method in interface cloud.opencode.base.core.convert.AttributeConverter
Converts the storage value back into the attribute value.
convertOptional(Object, Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
安全类型转换,返回 Optional
convertTo(X) - Method in interface cloud.opencode.base.core.convert.AttributeConverter
Converts the attribute value into the storage representation.
copyMemory(long, long, long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Copies memory 复制内存
copyProperties(Object, Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Copies properties with matching names and types 复制属性(同名同类型属性)
copyProperties(Object, Object, PropertyConverter) - Static method in class cloud.opencode.base.core.bean.OpenBean
Copies properties with a converter 复制属性(带转换器)
copyProperties(Object, Object, String...) - Static method in class cloud.opencode.base.core.bean.OpenBean
Copies properties with ignored properties 复制属性(带忽略属性)
copyProperties(Object, Object, Map) - Static method in class cloud.opencode.base.core.bean.OpenBean
Copies properties with property name mapping 复制属性(带属性映射)
copyToNew(Object, Class) - Static method in class cloud.opencode.base.core.bean.OpenBean
Copies to a new object 复制到新对象
copyToNew(Object, Class, String...) - Static method in class cloud.opencode.base.core.bean.OpenBean
Copies to a new object with ignored properties 复制到新对象(带忽略属性)
copyWith(T, String, Object) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Copies a Record and modifies the specified component 复制 Record 并修改指定组件
copyWith(T, Map) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Copies a Record and modifies multiple components 复制 Record 并修改多个组件
count(Class) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Gets the SPI service count 获取 SPI 服务数量
count(Stream) - Static method in class cloud.opencode.base.core.OpenStream
Counts elements 统计元素数量
countBits(int) - Static method in class cloud.opencode.base.core.OpenBit
Counts the number of set bits (number of 1s) 计算设置的位数(1 的个数)
countBits(long) - Static method in class cloud.opencode.base.core.OpenBit
Counts the number of set bits (long) 计算设置的位数(long)
countFalse(boolean...) - Static method in class cloud.opencode.base.core.primitives.Booleans
Counts the number of false values | 统计 false 值的数量
countLeadingZeros(int) - Static method in class cloud.opencode.base.core.OpenBit
Counts the number of leading zeros 计算前导零数量
countLeadingZeros(long) - Static method in class cloud.opencode.base.core.OpenBit
Counts the number of leading zeros (long) 计算前导零数量(long)
countTrailingZeros(int) - Static method in class cloud.opencode.base.core.OpenBit
Counts the number of trailing zeros 计算尾随零数量
countTrailingZeros(long) - Static method in class cloud.opencode.base.core.OpenBit
Counts the number of trailing zeros (long) 计算尾随零数量(long)
countTrue(boolean...) - Static method in class cloud.opencode.base.core.primitives.Booleans
Counts the number of true values | 统计 true 值的数量
create() - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Creates a ThreadLocal 创建 ThreadLocal
createCachedThreadPool(String) - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a cached thread pool 创建缓存线程池
createFixedThreadPool(int, String) - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a fixed-size thread pool 创建固定大小线程池
createInheritable() - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Creates an InheritableThreadLocal 创建 InheritableThreadLocal
createInheritableWithInitial(Supplier) - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Creates an InheritableThreadLocal with initial value 创建带初始值的 InheritableThreadLocal
createMask(int) - Static method in class cloud.opencode.base.core.OpenBit
Creates a bit mask 创建位掩码
createMaskLong(int) - Static method in class cloud.opencode.base.core.OpenBit
Creates a bit mask (long) 创建位掩码(long)
createScheduledThreadPool(int, String) - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a scheduled thread pool 创建调度线程池
createSingleThreadExecutor(String) - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a single-thread executor 创建单线程执行器
createStarted() - Static method in class cloud.opencode.base.core.Stopwatch
Creates and starts a stopwatch 创建并启动秒表
createUnstarted() - Static method in class cloud.opencode.base.core.Stopwatch
Creates an unstarted stopwatch 创建未启动的秒表
createVirtualThreadExecutor() - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a virtual thread executor (JDK 21+) 创建虚拟线程执行器 (JDK 21+)
createVirtualThreadExecutor(String) - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a virtual thread executor (with name prefix) 创建虚拟线程执行器(带名称前缀)
createWithInitial(Supplier) - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Creates a ThreadLocal with initial value 创建带初始值的 ThreadLocal
currentThread() - Static method in class cloud.opencode.base.core.thread.OpenThread
Gets the current thread 获取当前线程
currentThreadId() - Static method in class cloud.opencode.base.core.thread.OpenThread
Gets the current thread ID 获取当前线程 ID
currentThreadName() - Static method in class cloud.opencode.base.core.thread.OpenThread
Gets the current thread name 获取当前线程名称
custom(String) - Method in class cloud.opencode.base.core.random.VerifyCodeUtil.Builder
 

D

daemon(boolean) - Method in class cloud.opencode.base.core.thread.NamedThreadFactory.Builder
 
daemon(String) - Static method in class cloud.opencode.base.core.thread.NamedThreadFactory
Creates a daemon thread factory 创建守护线程工厂
decimalToBinary(long) - Static method in class cloud.opencode.base.core.OpenRadix
Converts decimal to binary 十进制转二进制
decimalToHexadecimal(long) - Static method in class cloud.opencode.base.core.OpenRadix
Converts decimal to hexadecimal 十进制转十六进制
decimalToHexadecimalLower(long) - Static method in class cloud.opencode.base.core.OpenRadix
Converts decimal to hexadecimal (lowercase) 十进制转十六进制(小写)
decimalToOctal(long) - Static method in class cloud.opencode.base.core.OpenRadix
Converts decimal to octal 十进制转八进制
decode(byte[]) - Static method in class cloud.opencode.base.core.OpenBase64
Decodes a Base64 byte array 将 Base64 字节数组解码
decode(String) - Static method in class cloud.opencode.base.core.OpenBase64
Decodes a Base64 string to a byte array 将 Base64 字符串解码为字节数组
decodeHex(char[]) - Static method in class cloud.opencode.base.core.OpenHex
Converts hex char array to byte array 十六进制字符数组转字节数组
decodeHex(String) - Static method in class cloud.opencode.base.core.OpenHex
Converts hex string to byte array 十六进制字符串转字节数组
decodeMime(String) - Static method in class cloud.opencode.base.core.OpenBase64
MIME 解码
decodeToString(String) - Static method in class cloud.opencode.base.core.OpenBase64
Decodes a Base64 string to a string (using UTF-8) 将 Base64 字符串解码为字符串(使用 UTF-8)
decodeToString(String, Charset) - Static method in class cloud.opencode.base.core.OpenBase64
Decodes a Base64 string to a string (with specified charset) 将 Base64 字符串解码为字符串(指定字符集)
decodeUrlSafe(String) - Static method in class cloud.opencode.base.core.OpenBase64
URL 安全解码
decodeUrlSafeToString(String) - Static method in class cloud.opencode.base.core.OpenBase64
URL 安全解码为字符串
decodingWrap(InputStream) - Static method in class cloud.opencode.base.core.OpenBase64
Creates 创建 Base64 解码输入流包装器
decodingWrapUrlSafe(InputStream) - Static method in class cloud.opencode.base.core.OpenBase64
Creates 创建 URL 安全 Base64 解码输入流包装器
deepCopyProperties(Object, Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Deep copies properties including nested objects 深度复制属性(包括嵌套对象)
deepEquals(Object, Object) - Static method in class cloud.opencode.base.core.OpenObject
Performs a deep equality comparison of two objects.
defaultCharset() - Static method in class cloud.opencode.base.core.OpenCharset
Gets 获取系统默认字符集
defaultConverter() - Static method in interface cloud.opencode.base.core.bean.PropertyConverter
Default converter (uses Convert utility) 默认转换器(使用 Convert 工具)
defaultIfBlank(String, String) - Static method in class cloud.opencode.base.core.OpenStringBase
Returns default value when blank 空白时返回默认值
defaultIfEmpty(String, String) - Static method in class cloud.opencode.base.core.OpenStringBase
Returns default value when empty 空时返回默认值
defaultIfEmpty(T, T) - Static method in class cloud.opencode.base.core.OpenObject
Returns the object if non-empty, otherwise returns the default value.
defaultIfNull(T, Supplier) - Static method in class cloud.opencode.base.core.OpenObject
Returns the object if non-null, otherwise invokes the supplier for the default value.
defaultIfNull(T, T) - Static method in class cloud.opencode.base.core.OpenObject
Returns the object if non-null, otherwise returns the default value.
desc(String) - Static method in record class cloud.opencode.base.core.page.Sort.Order
 
DESC - Enum constant in enum class cloud.opencode.base.core.page.Sort.Direction
Descending order | 降序
deserialize(byte[]) - Static method in class cloud.opencode.base.core.OpenObject
Deserializes a byte array to an object.
detect(byte[]) - Static method in class cloud.opencode.base.core.OpenCharset
Detects the likely charset of a byte array (simple detection) 检测字节数组可能的字符集(简单检测)
diff(Object, Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Gets the differing properties between two Beans 获取两个 Bean 的差异属性
diff(Object, Object, String...) - Static method in class cloud.opencode.base.core.bean.OpenBean
Gets the differing properties between two Beans for specified properties 获取两个 Bean 的差异属性(指定属性)
direction() - Method in record class cloud.opencode.base.core.page.Sort.Order
Returns the value of the direction record component.
distinctBy(Stream, Function) - Static method in class cloud.opencode.base.core.OpenStream
Distinct by key 按键去重
divide(BigDecimal, BigDecimal, int) - Static method in class cloud.opencode.base.core.OpenMath
High-precision division with half-up rounding.
divide(BigDecimal, BigDecimal, int) - Static method in class cloud.opencode.base.core.OpenNumber
High-precision division with half-up rounding.
divide(BigDecimal, BigDecimal, int, RoundingMode) - Static method in class cloud.opencode.base.core.OpenMath
High-precision division with specified rounding mode.
divide(BigDecimal, BigDecimal, int, RoundingMode) - Static method in class cloud.opencode.base.core.OpenNumber
High-precision division with specified rounding mode.
Doubles - Class in cloud.opencode.base.core.primitives
Double Array Utility Class - Guava-style operations for double primitive arrays double 数组工具类 - Guava 风格的 double 原始类型数组操作
dropWhile(Stream, Predicate) - Static method in class cloud.opencode.base.core.OpenStream
Drops elements while predicate is true 在谓词为真时跳过元素

E

elapsed() - Method in class cloud.opencode.base.core.Stopwatch
Returns the elapsed time as a Duration 返回经过的时间(Duration 格式)
elapsed(TimeUnit) - Method in class cloud.opencode.base.core.Stopwatch
Returns the elapsed time in the specified time unit 返回指定时间单位的经过时间
elapsedMillis() - Method in class cloud.opencode.base.core.Stopwatch
Returns the elapsed time in milliseconds 返回经过的毫秒数
elapsedNanos() - Method in class cloud.opencode.base.core.Stopwatch
Returns the elapsed time in nanoseconds 返回经过的纳秒数
elapsedSeconds() - Method in class cloud.opencode.base.core.Stopwatch
Returns the elapsed time in seconds 返回经过的秒数
empty() - Static method in record class cloud.opencode.base.core.tuple.Pair
Creates an empty Pair 创建空二元组
empty() - Static method in record class cloud.opencode.base.core.tuple.Quadruple
Creates an empty Quadruple 创建空四元组
empty() - Static method in record class cloud.opencode.base.core.tuple.Triple
Creates an empty Triple 创建空三元组
EMPTY - Static variable in class cloud.opencode.base.core.OpenStringBase
Empty string constant 空字符串常量
EMPTY_ARRAY - Static variable in class cloud.opencode.base.core.primitives.Booleans
Empty boolean array constant | 空 boolean 数组常量
EMPTY_ARRAY - Static variable in class cloud.opencode.base.core.primitives.Bytes
 
EMPTY_ARRAY - Static variable in class cloud.opencode.base.core.primitives.Chars
 
EMPTY_ARRAY - Static variable in class cloud.opencode.base.core.primitives.Doubles
 
EMPTY_ARRAY - Static variable in class cloud.opencode.base.core.primitives.Floats
 
EMPTY_ARRAY - Static variable in class cloud.opencode.base.core.primitives.Ints
Empty array constant 空数组常量
EMPTY_ARRAY - Static variable in class cloud.opencode.base.core.primitives.Longs
 
EMPTY_ARRAY - Static variable in class cloud.opencode.base.core.primitives.Shorts
 
EMPTY_BOOLEAN_ARRAY - Static variable in class cloud.opencode.base.core.OpenArray
 
EMPTY_BYTE_ARRAY - Static variable in class cloud.opencode.base.core.OpenArray
 
EMPTY_CHAR_ARRAY - Static variable in class cloud.opencode.base.core.OpenArray
 
EMPTY_DOUBLE_ARRAY - Static variable in class cloud.opencode.base.core.OpenArray
 
EMPTY_FLOAT_ARRAY - Static variable in class cloud.opencode.base.core.OpenArray
 
EMPTY_INT_ARRAY - Static variable in class cloud.opencode.base.core.OpenArray
 
EMPTY_LONG_ARRAY - Static variable in class cloud.opencode.base.core.OpenArray
 
EMPTY_OBJECT_ARRAY - Static variable in class cloud.opencode.base.core.OpenArray
 
EMPTY_SHORT_ARRAY - Static variable in class cloud.opencode.base.core.OpenArray
 
EMPTY_STRING_ARRAY - Static variable in class cloud.opencode.base.core.OpenArray
 
emptyPair() - Static method in class cloud.opencode.base.core.tuple.TupleUtil
Creates an empty Pair 创建空二元组
emptyQuadruple() - Static method in class cloud.opencode.base.core.tuple.TupleUtil
Creates an empty Quadruple 创建空四元组
emptyToNull(String) - Static method in class cloud.opencode.base.core.OpenStringBase
Converts empty string to null 空字符串转为 null
emptyTriple() - Static method in class cloud.opencode.base.core.tuple.TupleUtil
Creates an empty Triple 创建空三元组
encloseAll(C...) - Static method in class cloud.opencode.base.core.Range
Creates the minimal range enclosing all given values.
encloseAll(Iterable) - Static method in class cloud.opencode.base.core.Range
Creates the minimal range enclosing all values in the iterable.
encloses(Range) - Method in class cloud.opencode.base.core.Range
Returns true if this range encloses another range.
encode(byte[]) - Static method in class cloud.opencode.base.core.OpenBase64
Encodes a byte array to a Base64 string 将字节数组编码为 Base64 字符串
encode(String) - Static method in class cloud.opencode.base.core.OpenBase64
Encodes a string to Base64 (using UTF-8) 将字符串编码为 Base64(使用 UTF-8)
encode(String, Charset) - Static method in class cloud.opencode.base.core.OpenBase64
Encodes a string to Base64 (with specified charset) 将字符串编码为 Base64(指定字符集)
encodeHex(byte[]) - Static method in class cloud.opencode.base.core.OpenHex
Converts byte array to lowercase hex string 字节数组转十六进制字符串(小写)
encodeHexChars(byte[]) - Static method in class cloud.opencode.base.core.OpenHex
Converts byte array to hex char array 字节数组转十六进制字符数组
encodeHexChars(byte[], boolean) - Static method in class cloud.opencode.base.core.OpenHex
Converts byte array to hex char array 字节数组转十六进制字符数组
encodeHexUpper(byte[]) - Static method in class cloud.opencode.base.core.OpenHex
Converts byte array to uppercase hex string 字节数组转十六进制字符串(大写)
encodeMime(byte[]) - Static method in class cloud.opencode.base.core.OpenBase64
MIME 编码(每 76 字符换行)
encodeNoPadding(byte[]) - Static method in class cloud.opencode.base.core.OpenBase64
Encodes 编码但不添加填充字符 =
encodeToBytes(byte[]) - Static method in class cloud.opencode.base.core.OpenBase64
Encodes a byte array to a Base64 byte array 将字节数组编码为 Base64 字节数组
encodeUrlSafe(byte[]) - Static method in class cloud.opencode.base.core.OpenBase64
URL 安全编码(使用 - 和 _ 替代 + 和 /,无填充)
encodeUrlSafe(String) - Static method in class cloud.opencode.base.core.OpenBase64
URL 安全编码字符串
encodeUrlSafeNoPadding(byte[]) - Static method in class cloud.opencode.base.core.OpenBase64
URL 安全编码且无填充
encodingWrap(OutputStream) - Static method in class cloud.opencode.base.core.OpenBase64
Creates 创建 Base64 编码输出流包装器
encodingWrapUrlSafe(OutputStream) - Static method in class cloud.opencode.base.core.OpenBase64
Creates 创建 URL 安全 Base64 编码输出流包装器
endsWith(String, String) - Static method in class cloud.opencode.base.core.OpenStringBase
Checks if the string ends with the specified suffix 检查是否以指定后缀结束
ensureCapacity(byte[], int, int) - Static method in class cloud.opencode.base.core.primitives.Bytes
Ensures that array has minimum capacity, expanding if needed.
ensureCapacity(int[], int, int) - Static method in class cloud.opencode.base.core.primitives.Ints
Ensures that array has minimum capacity, expanding if needed.
ensureNonNull(boolean[]) - Static method in class cloud.opencode.base.core.primitives.Booleans
Returns the array itself or an empty array if null | 返回数组本身,若为 null 则返回空数组
ensureNonNull(byte[]) - Static method in class cloud.opencode.base.core.primitives.Bytes
 
ensureNonNull(char[]) - Static method in class cloud.opencode.base.core.primitives.Chars
 
ensureNonNull(double[]) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
ensureNonNull(float[]) - Static method in class cloud.opencode.base.core.primitives.Floats
 
ensureNonNull(int[]) - Static method in class cloud.opencode.base.core.primitives.Ints
Ensures the array is not null 确保数组不为 null
ensureNonNull(long[]) - Static method in class cloud.opencode.base.core.primitives.Longs
 
ensureNonNull(short[]) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
EQ - Enum constant in enum class cloud.opencode.base.core.compare.CompareUtil.Operator
 
equals(byte[], byte[]) - Static method in class cloud.opencode.base.core.primitives.Bytes
Checks whether two byte arrays are equal 比较字节数组是否相等
equals(CharSequence, CharSequence) - Static method in class cloud.opencode.base.core.OpenStringBase
Null-safe string comparison null 安全的字符串比较
equals(Object) - Method in record class cloud.opencode.base.core.bean.BeanPath.IndexSegment
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.bean.BeanPath.MapKeySegment
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.bean.BeanPath.PropertySegment
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.OpenStream.IndexedValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.page.PageRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class cloud.opencode.base.core.page.Sort
 
equals(Object) - Method in record class cloud.opencode.base.core.page.Sort.Order
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class cloud.opencode.base.core.Range
 
equals(Object) - Method in record class cloud.opencode.base.core.tuple.Pair
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.tuple.Quadruple
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.tuple.Triple
Indicates whether some other object is "equal to" this one.
equals(Object, Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Compares two Beans for equality on all properties 比较两个 Bean 是否相等(所有属性)
equals(Object, Object) - Static method in class cloud.opencode.base.core.compare.CompareUtil
Checks if two objects are equal using Objects.equals(Object, Object).
equals(Object, Object) - Static method in class cloud.opencode.base.core.OpenObject
Null-safe equality check. null 安全的对象比较
equals(Object, Object) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Compares two Records for equality (based on components) 比较两个 Record 是否相等(基于组件)
equals(Object, Object, String...) - Static method in class cloud.opencode.base.core.bean.OpenBean
Compares two Beans for equality on specified properties 比较两个 Bean 是否相等(指定属性)
equalsIgnoreCase(char, char) - Static method in class cloud.opencode.base.core.OpenChar
Compares two characters ignoring case 比较两个字符(忽略大小写)
equalsIgnoreCase(String, String) - Static method in class cloud.opencode.base.core.OpenStringBase
Null-safe case-insensitive comparison null 安全的忽略大小写比较
evaluate(int) - Method in enum class cloud.opencode.base.core.compare.CompareUtil.Operator
Evaluate the comparison result against this operator.
ExceptionUtil - Class in cloud.opencode.base.core.exception
Exception Utility - Exception chain analysis and handling utilities 异常工具类 - 异常链分析和处理工具
ExceptionUtil.CheckedRunnable - Interface in cloud.opencode.base.core.exception
A Runnable that may throw checked exceptions 可抛出受检异常的 Runnable
ExceptionUtil.CheckedSupplier<T> - Interface in cloud.opencode.base.core.exception
A Supplier that may throw checked exceptions 可抛出受检异常的 Supplier
excludeConfusing() - Method in class cloud.opencode.base.core.random.VerifyCodeUtil.Builder
 
exclusiveBetween(double, double, double) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言 double 值在排除边界的范围内
exclusiveBetween(long, long, long) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言 long 值在排除边界的范围内
exclusiveBetween(T, T, T) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言值在排除边界的范围内 (start, end)
exclusiveBetween(T, T, T, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言值在排除边界的范围内 (start, end)
executeAsync(Supplier, Duration) - Static method in class cloud.opencode.base.core.thread.OpenThread
Executes asynchronously with timeout 带超时的异步执行
exists(Object, String) - Static method in class cloud.opencode.base.core.bean.BeanPath
Checks if the path exists | 检查路径是否存在
Experimental - Annotation Interface in cloud.opencode.base.core.annotation
Marks an API as experimental.
explicit(List) - Static method in class cloud.opencode.base.core.Ordering
Returns an ordering based on the iteration order of explicit values.
explicit(T...) - Static method in class cloud.opencode.base.core.Ordering
Returns an ordering based on the iteration order of explicit values.
extractField(int, int, int) - Static method in class cloud.opencode.base.core.OpenBit
Extracts a bit field 提取位字段
extractField(long, int, int) - Static method in class cloud.opencode.base.core.OpenBit
Extracts a bit field (long) 提取位字段(long)

F

factorial(int) - Static method in class cloud.opencode.base.core.OpenMath
Calculates the factorial of n (n must be in [0, 20]).
factorialBig(int) - Static method in class cloud.opencode.base.core.OpenMath
Calculates the factorial of n as a BigInteger (arbitrary precision).
fibonacci(int) - Static method in class cloud.opencode.base.core.OpenMath
Returns the n-th Fibonacci number.
field() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
 
FieldUtil - Class in cloud.opencode.base.core.reflect
Field Utility Class - Field reflection operations 字段工具类 - 字段反射操作
fileNotFound(String) - Static method in exception class cloud.opencode.base.core.exception.OpenIOException
Creates 创建"文件未找到"异常
fileNotFound(Path) - Static method in exception class cloud.opencode.base.core.exception.OpenIOException
Creates 创建"文件未找到"异常
filter(T[], Predicate) - Static method in class cloud.opencode.base.core.OpenArray
Filters the array, returning a new array containing only elements matching the predicate.
filterAndMap(Optional, Predicate, Function) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Filters and maps 过滤并映射
filterNulls(Stream) - Static method in class cloud.opencode.base.core.OpenStream
Filters nulls from stream 从流中过滤空值
findFirst(Stream, Predicate) - Static method in class cloud.opencode.base.core.OpenStream
Finds first matching element 查找第一个匹配元素
findStaticVarHandle(Class, String, Class) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets the VarHandle for a static field 获取静态字段的 VarHandle
findVarHandle(Class, String, Class) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets the VarHandle for a field 获取字段的 VarHandle
first() - Method in record class cloud.opencode.base.core.page.PageRequest
 
first() - Method in record class cloud.opencode.base.core.tuple.Pair
Gets the first element (alias for left) 获取第一个元素(左值的别名)
first() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Returns the value of the first record component.
first() - Method in record class cloud.opencode.base.core.tuple.Triple
Returns the value of the first record component.
firstNonNull(Supplier, T...) - Static method in class cloud.opencode.base.core.OpenObject
Returns the first non-null value, falling back to the supplier if all are null.
firstNonNull(T...) - Static method in class cloud.opencode.base.core.OpenObject
Returns the first non-null value from the array, or null if all are null.
firstNonNull(T, T) - Static method in class cloud.opencode.base.core.MoreObjects
Returns the first of two given parameters that is not null.
firstPresent(Optional...) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Returns the first present Optional 返回第一个存在值的 Optional
firstPresentLazy(Supplier...) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Returns the first present Optional (using Supplier for lazy evaluation) 返回第一个存在值的 Optional(使用 Supplier 延迟计算)
fixedLength(int) - Static method in class cloud.opencode.base.core.Splitter
Creates a splitter that splits strings into fixed-length parts.
flatMapNullable(Optional, Function) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Transforms the value inside Optional, handling null 转换 Optional 内的值,处理 null
flatten(Optional) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Flattens Optional<Optional<T>> to Optional<T>.
flatten(Stream) - Static method in class cloud.opencode.base.core.OpenStream
Flattens nested streams 展平嵌套流
flattenCollections(Stream) - Static method in class cloud.opencode.base.core.OpenStream
Flattens nested collections 展平嵌套集合
flipBit(int, int) - Static method in class cloud.opencode.base.core.OpenBit
Flips the bit at the specified position 翻转指定位置的位
flipBit(long, int) - Static method in class cloud.opencode.base.core.OpenBit
Flips the bit at the specified position (long) 翻转指定位置的位(long)
Floats - Class in cloud.opencode.base.core.primitives
Float Array Utility Class - Guava-style operations for float primitive arrays float 数组工具类 - Guava 风格的 float 原始类型数组操作
floor(double, int) - Static method in class cloud.opencode.base.core.OpenMath
Rounds a double value down to the specified number of decimal places.
format(double, String) - Static method in class cloud.opencode.base.core.OpenNumber
Formats a double value using the given pattern.
format(String) - Static method in class cloud.opencode.base.core.OpenHex
Formats hex string with spaces between each byte pair 格式化十六进制字符串(每两位加空格)
format(BigDecimal, String) - Static method in class cloud.opencode.base.core.OpenNumber
Formats a BigDecimal value using the given pattern.
formatBinary(long) - Static method in class cloud.opencode.base.core.OpenRadix
Formats binary (groups of 4) 格式化二进制(每 4 位一组)
formatHex(long) - Static method in class cloud.opencode.base.core.OpenRadix
Formats hexadecimal (groups of 2) 格式化十六进制(每 2 位一组)
formatMoney(BigDecimal) - Static method in class cloud.opencode.base.core.OpenNumber
Formats a BigDecimal value as a currency string.
formatPercent(double, int) - Static method in class cloud.opencode.base.core.OpenNumber
Formats a double value as a percentage string with the given number of decimal places.
fourth() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Returns the value of the fourth record component.
freeMemory(long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Frees direct memory 释放直接内存
from(CheckedSupplier) - Static method in interface cloud.opencode.base.core.func.CheckedCallable
Converts a CheckedSupplier to a CheckedCallable 将 CheckedSupplier 转换为 CheckedCallable
from(Iterable) - Static method in class cloud.opencode.base.core.OpenStream
Creates a stream from an iterable 从Iterable创建Stream
from(Comparator) - Static method in class cloud.opencode.base.core.Ordering
Creates an ordering from an existing comparator.
from(Function) - Static method in class cloud.opencode.base.core.Ordering
Creates an ordering by extracting a comparable key.
from(Function, Comparator) - Static method in class cloud.opencode.base.core.Ordering
Creates an ordering by extracting a key and using a comparator.
from(Iterator) - Static method in class cloud.opencode.base.core.OpenStream
Creates a stream from an iterator 从Iterator创建Stream
from(Optional) - Static method in class cloud.opencode.base.core.OpenStream
Creates a stream from an optional 从Optional创建Stream
from(T) - Static method in class cloud.opencode.base.core.builder.BeanBuilder
Creates a builder from an existing instance | 从现有实例创建构建器
from(T) - Static method in class cloud.opencode.base.core.builder.OpenBuilder
Creates a JavaBean builder from an existing instance 从现有实例创建 JavaBean 构建器
from(T) - Static method in class cloud.opencode.base.core.builder.RecordBuilder
Creates a builder from an existing record instance 从现有 Record 创建构建器
fromBase(String, int) - Static method in class cloud.opencode.base.core.OpenRadix
Converts any radix to decimal (2-36) 任意进制转十进制(2-36)
fromBaseExtended(String, int) - Static method in class cloud.opencode.base.core.OpenRadix
Converts any radix to decimal (2-62, extended) 任意进制转十进制(2-62,扩展)
fromByteArray(byte[]) - Static method in class cloud.opencode.base.core.primitives.Chars
 
fromByteArray(byte[]) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
fromByteArray(byte[]) - Static method in class cloud.opencode.base.core.primitives.Floats
 
fromByteArray(byte[]) - Static method in class cloud.opencode.base.core.primitives.Ints
Converts byte array to int (big-endian) byte 数组转 int(大端序)
fromByteArray(byte[]) - Static method in class cloud.opencode.base.core.primitives.Longs
Converts byte array to long (big-endian) byte 数组转 long(大端序)
fromByteArray(byte[]) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
fromBytes(byte, byte, byte, byte) - Static method in class cloud.opencode.base.core.primitives.Ints
Converts 4 bytes to int 4 个字节转 int
fromBytes(byte, byte, byte, byte, byte, byte, byte, byte) - Static method in class cloud.opencode.base.core.primitives.Longs
Converts 8 bytes to long 8 个字节转 long
fromCodePoint(int) - Static method in class cloud.opencode.base.core.OpenChar
Converts from a code point to a character 从码点转字符
fromEntry(Map.Entry) - Static method in record class cloud.opencode.base.core.tuple.Pair
Creates a Pair from Map.Entry 从 Map.Entry 创建二元组
fromMap(Map, Class) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Converts a Map to Record Map 转 Record
fromRecord(Record, Class) - Static method in class cloud.opencode.base.core.bean.OpenBean
Converts a Record to a Bean Record 转 Bean
fromRecord(T) - Static method in class cloud.opencode.base.core.builder.OpenBuilder
Creates a builder from an existing Record 从现有 Record 创建构建器

G

gap(Range) - Method in class cloud.opencode.base.core.Range
Returns the gap between this range and another, if any.
GB18030() - Static method in class cloud.opencode.base.core.OpenCharset
 
GB2312() - Static method in class cloud.opencode.base.core.OpenCharset
 
GBK() - Static method in class cloud.opencode.base.core.OpenCharset
 
GBK_NAME - Static variable in class cloud.opencode.base.core.OpenCharset
 
gbkToUtf8(String) - Static method in class cloud.opencode.base.core.OpenCharset
GBK 转 UTF-8
gcd(int, int) - Static method in class cloud.opencode.base.core.OpenMath
Greatest Common Divisor (GCD) 最大公约数(GCD) Safe: throws ArithmeticException for Integer.MIN_VALUE inputs
gcd(long, long) - Static method in class cloud.opencode.base.core.OpenMath
Greatest Common Divisor (long) 最大公约数(long) Safe: throws ArithmeticException for Long.MIN_VALUE inputs
GE - Enum constant in enum class cloud.opencode.base.core.compare.CompareUtil.Operator
 
generate(int, String) - Static method in class cloud.opencode.base.core.random.VerifyCodeUtil
Generates a verification code with a custom character set 生成自定义字符集验证码
generate(Supplier) - Static method in class cloud.opencode.base.core.OpenStream
Generates an infinite stream 生成无限Stream
get() - Method in interface cloud.opencode.base.core.exception.ExceptionUtil.CheckedSupplier
 
get() - Method in interface cloud.opencode.base.core.func.CheckedSupplier
Gets 获取结果,可能抛出受检异常
get(Class) - Static method in class cloud.opencode.base.core.singleton.Singleton
Gets a singleton instance (by type) 获取单例实例(按类型)
get(Class, Supplier) - Static method in class cloud.opencode.base.core.singleton.Singleton
Gets a singleton instance, creates if absent 获取单例实例,不存在时创建
get(Object, String) - Static method in class cloud.opencode.base.core.bean.BeanPath
Gets a property value by path | 通过路径获取属性值
get(Object, String, Class) - Static method in class cloud.opencode.base.core.bean.BeanPath
Gets a property value by path with type conversion | 通过路径获取属性值(带类型转换)
get(ScopedValue) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Get the value of a ScopedValue 获取 ScopedValue 的值
get(String) - Static method in class cloud.opencode.base.core.singleton.Singleton
Gets a singleton instance (by name) 获取单例实例(按名称)
get(String) - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Gets the ThreadLocal value 获取 ThreadLocal 值
get(String, Supplier) - Static method in class cloud.opencode.base.core.singleton.Singleton
Gets a singleton instance, creates if absent (by name) 获取单例实例,不存在时创建(按名称)
get(String, T) - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Gets the ThreadLocal value, returns default when absent 获取 ThreadLocal 值,不存在时返回默认值
getAllConstructors(Class) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Gets all constructors 获取所有构造器
getAllFields(Class) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Gets all fields (including superclass) 获取所有字段(包括父类)
getAllInterfaces(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns all interfaces implemented by the class, including inherited interfaces.
getAllMethods(Class) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets all methods (including superclass) 获取所有方法(包括父类)
getAllSuperTypes(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns all superclasses and interfaces of the given class.
getAllThreads() - Static method in class cloud.opencode.base.core.thread.OpenThread
Gets all threads 获取所有线程
getAnnotation(Class) - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
Gets the specified annotation from this property 获取属性注解
getArrayClass(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the array type for the given component type.
getAvailableProcessors() - Static method in class cloud.opencode.base.core.stream.ParallelStreamUtil
Gets the available processor count 获取可用处理器数量
getByOrdinal(Class, int) - Static method in class cloud.opencode.base.core.OpenEnum
Gets an enum value by its ordinal 根据 ordinal 获取枚举值
getByte(long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Reads a byte from memory 从内存读取 byte
getCausalChain(Throwable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Gets 获取异常的因果链
getClassLoader() - Static method in class cloud.opencode.base.core.OpenClass
Returns the default ClassLoader for the current thread or this class.
getClassLoader(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the ClassLoader for the specified class.
getCodeSourceLocation(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the code source location URL for the given class.
getCommonSuperClass(Class, Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the closest common superclass of two classes, or Object.class if none.
getComponent() - Method in exception class cloud.opencode.base.core.exception.OpenException
Gets 获取组件名称
getComponentCount(Class) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Gets the Record component count 获取 Record 组件数量
getComponentGenericType(Class, String) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Gets the generic type of a component 获取组件的泛型类型
getComponentNames(Class) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Gets the list of Record component names 获取 Record 组件名列表
getComponents(Class) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Gets all components of the Record 获取 Record 的所有组件
getComponentType(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the component type of the given array class.
getComponentTypes(Class) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Gets the Record component type mapping 获取 Record 组件类型映射
getComponentValue(Object, String) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Gets the Record component value 获取 Record 组件值
getConstructor(Class, Class...) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Gets the constructor with specified parameter types 获取指定参数类型的构造器
getConstructors(Class) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Gets all constructors 获取所有构造器
getConstructorsWithAnnotation(Class, Class) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Gets constructors with the specified annotation 获取带有指定注解的构造器
getConverter(Type) - Static method in class cloud.opencode.base.core.convert.ConverterRegistry
Gets 获取转换器
getCurrent() - Method in class cloud.opencode.base.core.page.Page
 
getDeclaredFields(Class) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Gets declared fields (excluding superclass) 获取声明的字段(不包括父类)
getDeclaredMethods(Class) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets declared methods (excluding superclass) 获取声明的方法(不包括父类)
getDefaultConstructor(Class) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Gets the default constructor (no-arg) 获取默认构造器(无参)
getDefaultConstructor(Class) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Gets the default constructor 获取默认构造器
getDefaultValue(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Gets the default value for the type 获取类型的默认值
getDefaultValue(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the default value for the given type (null for non-primitive types).
getDouble(long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Reads a double from memory 从内存读取 double
getEnumByName(Class, String) - Static method in class cloud.opencode.base.core.OpenEnum
Gets an enum value by name 按名称获取枚举值
getEnumByNameIgnoreCase(Class, String) - Static method in class cloud.opencode.base.core.OpenEnum
Gets an enum value by name ignoring case 忽略大小写获取枚举值
getEnumByNameOptional(Class, String) - Static method in class cloud.opencode.base.core.OpenEnum
Gets an Optional-wrapped enum value 获取 Optional 包装的枚举值
getEnumByNameSafely(Class, String, E) - Static method in class cloud.opencode.base.core.OpenEnum
Safely gets an enum value with a default 安全获取枚举值(带默认值)
getEnumByValue(Class, V, Function) - Static method in class cloud.opencode.base.core.OpenEnum
Gets an enum by a custom value 按自定义值获取枚举
getEnumByValue(Class, V, Function, E) - Static method in class cloud.opencode.base.core.OpenEnum
Gets an enum by a custom value with a default 按自定义值获取枚举(带默认值)
getEnumList(Class) - Static method in class cloud.opencode.base.core.OpenEnum
Gets a list of all enum values 获取所有枚举值列表
getEnumNames(Class) - Static method in class cloud.opencode.base.core.OpenEnum
Gets a list of enum names 获取枚举名称列表
getEnumSet(Class) - Static method in class cloud.opencode.base.core.OpenEnum
Gets an EnumSet of all enum values 获取所有枚举值集合
getEnumValueMap(Class, Function) - Static method in class cloud.opencode.base.core.OpenEnum
Creates an enum value map 创建枚举值映射
getErrorCode() - Method in exception class cloud.opencode.base.core.exception.OpenException
Gets 获取错误码
getField(Class, String) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Gets the specified field 获取指定字段
getFieldByName(Class, String) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Gets a field by name 按名称获取字段
getFieldGenericType(Field) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Gets the generic type of a field 获取字段的泛型类型
getFieldMap(Class) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Creates a field name to field mapping 创建字段名到字段的映射
getFieldNames(Class) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Gets the list of field names 获取字段名列表
getFields(Class) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Gets all fields (including superclass) 获取所有字段(包括父类)
getFieldsByType(Class, Class) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Gets fields of the specified type 获取指定类型的字段
getFieldsWithAnnotation(Class, Class) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Gets fields with the specified annotation 获取带有指定注解的字段
getFieldValue(Object, String) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Gets the field value 获取字段值
getFirst(T[]) - Static method in class cloud.opencode.base.core.OpenArray
Returns the first element of the array wrapped in an Optional.
getFloat(long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Reads a float from memory 从内存读取 float
getFullName(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the fully-qualified name of the class.
getGenericParameterTypes(Method) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets the generic parameter types of a method 获取方法的泛型参数类型
getGenericReturnType(Method) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets the generic return type of a method 获取方法的泛型返回类型
getGenericType() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
Gets the generic type of this property 获取泛型类型
getGenericType(Field) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Gets the generic type of a field 获取字段的泛型类型
getGenericTypes(Type) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Gets the generic type arguments 获取泛型类型参数
getGetterMethods(Class) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets getter methods 获取 Getter 方法
getInstanceFields(Class) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Gets instance fields (non-static) 获取实例字段(非静态)
getInt(long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Reads an int from memory 从内存读取 int
getInterfaceGenericTypes(Class, Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Gets the generic type arguments of an interface 获取接口的泛型参数
getInterfaceTypeArguments(Class, Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the actual type arguments for the specified interface on the given class.
getIntVolatile(VarHandle, Object) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets int field value (volatile, new API) 获取 int 字段值 (volatile,新 API)
getIntVolatile(Object, long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
getJarPath(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the JAR file path for the given class, or null if not in a JAR.
getJavaVersion() - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets the current Java version 获取当前 Java 版本
getLast(T[]) - Static method in class cloud.opencode.base.core.OpenArray
Returns the last element of the array wrapped in an Optional.
getLastSegment(String) - Static method in class cloud.opencode.base.core.bean.BeanPath
Gets the last segment of the path | 获取路径的最后一段
getLong(long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Reads a long from memory 从内存读取 long
getLongVolatile(VarHandle, Object) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets long field value (volatile, new API) 获取 long 字段值 (volatile,新 API)
getLongVolatile(Object, long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
getMaxArgsConstructor(Class) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Gets the constructor with the most parameters 获取参数数量最多的构造器
getMemoryBackendName() - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets the name of the current memory backend 获取当前使用的内存后端名称
getMessage() - Method in exception class cloud.opencode.base.core.exception.OpenException
Gets 获取格式化的异常消息
getMessage(Throwable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Gets 获取异常消息,如果为 null 则返回异常类名
getMethod(Class, String, Class...) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets a method (exact parameter type match) 获取方法(精确匹配参数类型)
getMethod(Class, String, Class...) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Gets the specified method 获取指定方法
getMethodReturnGenericType(Method) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Gets the generic return type of a method 获取方法返回值的泛型类型
getMethods(Class) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Gets all methods (including superclass) 获取所有方法(包括父类)
getMethodsByName(Class, String) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets methods by name 按名称获取方法
getMethodsByReturnType(Class, Class) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets methods with the specified return type 获取指定返回类型的方法
getMethodsWithAnnotation(Class, Class) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets methods with the specified annotation 获取带有指定注解的方法
getMinArgsConstructor(Class) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Gets the constructor with the fewest parameters 获取参数数量最少的构造器
getNonNullPropertyNames(Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Gets all non-null property names 获取所有非空属性名
getNumericValue(char) - Static method in class cloud.opencode.base.core.OpenChar
Gets the numeric value of the character 获取字符的数值(用于比较)
getObjectVolatile(VarHandle, Object) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets object reference (volatile, new API) 获取对象引用 (volatile,新 API)
getObjectVolatile(Object, long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
getOffset() - Method in class cloud.opencode.base.core.page.Page
 
getOffset() - Method in record class cloud.opencode.base.core.page.PageRequest
 
getOptional(Object, String, Class) - Static method in class cloud.opencode.base.core.bean.BeanPath
Safely gets the value as Optional | 安全获取(返回 Optional)
getOrCompute(String, Supplier) - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Gets the ThreadLocal value, computes via Supplier when absent 获取 ThreadLocal 值,不存在时通过 Supplier 计算
getOrDefault(ScopedValue, T) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Get the value of a ScopedValue, or return a default value if not bound 获取 ScopedValue 的值,如果未绑定则返回默认值
getOrDefault(T) - Method in interface cloud.opencode.base.core.func.CheckedSupplier
Silently executes, returning the default value on exception 静默执行,异常时返回默认值
getOrders() - Method in class cloud.opencode.base.core.page.Sort
 
getPackageName(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the package name of the class.
getPackageName(String) - Static method in class cloud.opencode.base.core.OpenClass
Returns the package name extracted from the fully-qualified class name string.
getPages() - Method in class cloud.opencode.base.core.page.Page
 
getParallelism() - Static method in class cloud.opencode.base.core.stream.ParallelStreamUtil
Gets the ForkJoinPool parallelism 获取 ForkJoinPool 并行度
getParameterNames(Constructor) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Gets constructor parameter names (requires -parameters compile flag) 获取构造器参数名称(需要编译时 -parameters 参数)
getParentPath(String) - Static method in class cloud.opencode.base.core.bean.BeanPath
Gets the parent path | 获取路径的父路径
getPrimitiveClass(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Gets the primitive class 获取原始类型
getPrimitiveClass(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the primitive type corresponding to the given wrapper class.
getPrimitiveDefaultValue(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the default value for the given primitive type.
getProperty(Object, String) - Static method in class cloud.opencode.base.core.bean.OpenBean
Gets a property value 获取属性值
getProperty(Object, String, Class) - Static method in class cloud.opencode.base.core.bean.OpenBean
Gets a property value with type conversion 获取属性值(带类型转换)
getPropertyDescriptor(Class, String) - Static method in class cloud.opencode.base.core.bean.OpenBean
Gets the specified property descriptor 获取指定属性描述符
getPropertyDescriptors(Class) - Static method in class cloud.opencode.base.core.bean.OpenBean
Gets all property descriptors 获取所有属性描述符
getPropertyNameFromGetter(Method) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets the property name from a getter method name 从 Getter 方法名获取属性名
getPropertyNameFromSetter(Method) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets the property name from a setter method name 从 Setter 方法名获取属性名
getPropertyNames(Class) - Static method in class cloud.opencode.base.core.bean.OpenBean
Gets all property names 获取所有属性名
getPropertyOptional(Object, String, Class) - Static method in class cloud.opencode.base.core.bean.OpenBean
Safely gets a property value returning an Optional 安全获取属性值(返回 Optional)
getPropertyType(Class, String) - Static method in class cloud.opencode.base.core.bean.OpenBean
Gets the property type 获取属性类型
getPublicConstructors(Class) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Gets public constructors 获取公共构造器
getPublicFields(Class) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Gets public fields 获取公共字段
getPublicMethods(Class) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets public methods 获取公共方法
getQuietly() - Method in interface cloud.opencode.base.core.func.CheckedSupplier
Silently executes, returning null on exception 静默执行,异常时返回 null
getRawMessage() - Method in exception class cloud.opencode.base.core.exception.OpenException
Gets 获取原始消息(不含组件和错误码前缀)
getRawType() - Method in class cloud.opencode.base.core.convert.TypeReference
Gets the raw type (erased generic type) 获取原始类型
getRawType(Type) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Gets the raw type of a generic type 获取泛型的原始类型
getReadablePropertyNames(Class) - Static method in class cloud.opencode.base.core.bean.OpenBean
Gets all readable property names 获取所有可读属性名
getRecommendedThreshold() - Static method in class cloud.opencode.base.core.stream.ParallelStreamUtil
Gets the recommended parallel threshold 获取推荐的并行阈值
getRecords() - Method in class cloud.opencode.base.core.page.Page
 
getResource(String) - Static method in class cloud.opencode.base.core.OpenClass
Returns the URL of the resource with the given name from the classpath.
getResourceAsStream(String) - Static method in class cloud.opencode.base.core.OpenClass
Returns an InputStream for reading the named resource from the classpath.
getRootCause(Throwable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Gets 获取异常的根本原因
getRootCauseMessage(Throwable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Gets 获取根本原因的消息
getSetterMethods(Class) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets setter methods 获取 Setter 方法
getShort(long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Reads a short from memory 从内存读取 short
getShortName(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the short name of the class (last segment of the fully-qualified name).
getSimpleName(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the simple name of the class.
getSize() - Method in class cloud.opencode.base.core.page.Page
 
getStackTrace(Throwable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Gets 获取异常的堆栈跟踪字符串
getStaticFields(Class) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Gets static fields 获取静态字段
getStaticFieldValue(Class, String) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Gets the static field value 获取静态字段值
getStaticMethods(Class) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Gets static methods 获取静态方法
getSuperClasses(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns all superclasses of the given class, excluding Object.
getSuperclassGenericTypes(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Gets the generic type arguments of the superclass 获取父类的泛型参数
getSuperclassTypeArguments(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the actual type arguments of the generic superclass of the given class.
getThreadState(long) - Static method in class cloud.opencode.base.core.thread.OpenThread
Gets the thread state 获取线程状态
getTimeout() - Method in exception class cloud.opencode.base.core.exception.OpenTimeoutException
Gets 获取超时时长
getTotal() - Method in class cloud.opencode.base.core.page.Page
 
getType() - Method in class cloud.opencode.base.core.convert.TypeReference
Gets the full generic type 获取完整的泛型类型
getType(Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns the runtime type of the object, or null if the object is null.
getTypeArguments(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the type parameters declared on the given class.
getUnsafe() - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets the Unsafe instance 获取 Unsafe 实例
getValue(Object) - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
Gets the property value from the given bean 获取属性值
getValue(Object, Field) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Gets the field value 获取字段值
getWrapperClass(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Gets the wrapper class 获取包装类型
getWrapperClass(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns the wrapper class corresponding to the given primitive type.
getWritablePropertyNames(Class) - Static method in class cloud.opencode.base.core.bean.OpenBean
Gets all writable property names 获取所有可写属性名
greaterThan(C) - Static method in class cloud.opencode.base.core.Range
Creates a range with no upper bound (lower, +∞).
greatestOf(Iterable, int) - Method in class cloud.opencode.base.core.Ordering
Returns the k greatest elements in the given iterable.
groupBy(Stream, Function) - Static method in class cloud.opencode.base.core.OpenStream
Groups by key 按键分组
GT - Enum constant in enum class cloud.opencode.base.core.compare.CompareUtil.Operator
 

H

hasAnnotation(Class) - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
Checks whether this property has the specified annotation 检查是否有指定注解
hasBom(byte[]) - Static method in class cloud.opencode.base.core.OpenCharset
Checks 检查是否有 UTF-8 BOM
hasComponent(Class, String) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Checks if the Record has the specified component 检查 Record 是否有指定组件
hasConverter(Type) - Static method in class cloud.opencode.base.core.convert.ConverterRegistry
Checks 检查是否存在转换器
hasDefaultConstructor(Class) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Checks if a default constructor exists 检查是否有默认构造器
hasField() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
Checks whether this property has a corresponding field 是否有对应字段
hashCode() - Method in record class cloud.opencode.base.core.bean.BeanPath.IndexSegment
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.bean.BeanPath.MapKeySegment
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.bean.BeanPath.PropertySegment
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.OpenStream.IndexedValue
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.page.PageRequest
Returns a hash code value for this object.
hashCode() - Method in class cloud.opencode.base.core.page.Sort
 
hashCode() - Method in record class cloud.opencode.base.core.page.Sort.Order
Returns a hash code value for this object.
hashCode() - Method in class cloud.opencode.base.core.Range
 
hashCode() - Method in record class cloud.opencode.base.core.tuple.Pair
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.tuple.Triple
Returns a hash code value for this object.
hashCode(byte[]) - Static method in class cloud.opencode.base.core.primitives.Bytes
Computes the hash code of a byte array 计算字节数组哈希码
hashCode(Object...) - Static method in class cloud.opencode.base.core.OpenObject
Computes the hash code for the given values.
hashMap() - Static method in class cloud.opencode.base.core.builder.MapBuilder
Creates 创建 HashMap 构建器
hasLength(CharSequence) - Static method in class cloud.opencode.base.core.OpenStringBase
Checks if it has length (non-null and length > 0) 检查是否有长度(非 null 且长度 > 0)
hasLowerBound() - Method in class cloud.opencode.base.core.Range
Returns true if this range has a lower bound.
hasNext() - Method in class cloud.opencode.base.core.page.Page
 
hasNonAscii(String) - Static method in class cloud.opencode.base.core.OpenCharset
Checks 检查是否包含非 ASCII 字符
hasNonNullProperty(Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Checks whether there is any non-null property 检查是否有任意非空属性
hasNull() - Method in record class cloud.opencode.base.core.tuple.Pair
Checks if it contains a null value 检查是否包含 null 值
hasNull() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Checks if it contains a null value 检查是否包含 null 值
hasNull() - Method in record class cloud.opencode.base.core.tuple.Triple
Checks if it contains a null value 检查是否包含 null 值
hasPrevious() - Method in class cloud.opencode.base.core.page.Page
 
hasProperty(Class, String) - Static method in class cloud.opencode.base.core.bean.OpenBean
Checks whether a property exists 检查属性是否存在
hasService(Class) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Checks if the SPI service exists 检查 SPI 服务是否存在
hasText(CharSequence) - Static method in class cloud.opencode.base.core.OpenStringBase
Checks if it has text (non-blank) 检查是否有文本(非空白)
hasUpperBound() - Method in class cloud.opencode.base.core.Range
Returns true if this range has an upper bound.
hexadecimalToDecimal(String) - Static method in class cloud.opencode.base.core.OpenRadix
Converts hexadecimal to decimal 十六进制转十进制
hexToBinary(String) - Static method in class cloud.opencode.base.core.OpenRadix
Converts hexadecimal to binary 十六进制转二进制
hexToOctal(String) - Static method in class cloud.opencode.base.core.OpenRadix
Converts hexadecimal to octal 十六进制转八进制
highestOneBitPosition(int) - Static method in class cloud.opencode.base.core.OpenBit
Gets the position of the highest set bit 获取最高有效位的位置
highestOneBitPosition(long) - Static method in class cloud.opencode.base.core.OpenBit
Gets the position of the highest set bit (long) 获取最高有效位的位置(long)

I

identity() - Static method in interface cloud.opencode.base.core.bean.PropertyConverter
Identity converter that returns the original value 直接返回原值的转换器
identity() - Static method in interface cloud.opencode.base.core.func.CheckedFunction
Creates 创建恒等函数
identityHashCode(Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns the identity hash code of the object.
IdGenerator - Interface in cloud.opencode.base.core.random
ID Generator Interface - Contract for unique ID generation ID 生成器接口 - 唯一 ID 生成契约
ifPresentOrElse(Optional, Consumer, Runnable) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Executes an action if the value is present 执行操作,如果存在值
immutable() - Static method in exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
Creates 创建"不可变对象"异常
immutableSortedCopy(Iterable) - Method in class cloud.opencode.base.core.Ordering
Returns an immutable sorted copy of the given iterable.
inclusiveBetween(double, double, double) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言 double 值在包含边界的范围内
inclusiveBetween(long, long, long) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言 long 值在包含边界的范围内
inclusiveBetween(T, T, T) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言值在包含边界的范围内 [start, end]
inclusiveBetween(T, T, T, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言值在包含边界的范围内 [start, end]
index() - Method in record class cloud.opencode.base.core.bean.BeanPath.IndexSegment
Returns the value of the index record component.
index() - Method in record class cloud.opencode.base.core.OpenStream.IndexedValue
Returns the value of the index record component.
IndexedValue(long, T) - Constructor for record class cloud.opencode.base.core.OpenStream.IndexedValue
Creates an instance of a IndexedValue record class.
indexOf(boolean[], boolean) - Static method in class cloud.opencode.base.core.primitives.Booleans
Returns the first index of the target | 返回目标值的首个索引
indexOf(byte[], byte) - Static method in class cloud.opencode.base.core.primitives.Bytes
Finds the index of the specified element | 查找元素索引
indexOf(byte[], byte[]) - Static method in class cloud.opencode.base.core.primitives.Bytes
Finds the position of a sub-array 查找子数组位置
indexOf(byte[], byte, int, int) - Static method in class cloud.opencode.base.core.primitives.Bytes
Finds the index of the element within the specified range 在指定范围内查找元素索引
indexOf(char[], char) - Static method in class cloud.opencode.base.core.primitives.Chars
 
indexOf(double[], double) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
indexOf(float[], float) - Static method in class cloud.opencode.base.core.primitives.Floats
 
indexOf(int[], int) - Static method in class cloud.opencode.base.core.primitives.Ints
Finds the element index 查找元素索引
indexOf(int[], int[]) - Static method in class cloud.opencode.base.core.primitives.Ints
Finds the position of a sub-array in the array 查找子数组在数组中的位置
indexOf(int[], int, int, int) - Static method in class cloud.opencode.base.core.primitives.Ints
Finds the element index within the specified range 在指定范围内查找元素索引
indexOf(long[], long) - Static method in class cloud.opencode.base.core.primitives.Longs
Finds the element index 查找元素索引
indexOf(long[], long, int, int) - Static method in class cloud.opencode.base.core.primitives.Longs
Finds the element index within the specified range 在指定范围内查找元素索引
indexOf(short[], short) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
indexOf(T[], T) - Static method in class cloud.opencode.base.core.OpenArray
Returns the index of the first occurrence of the element in the array.
indexOf(T[], T, int) - Static method in class cloud.opencode.base.core.OpenArray
Returns the index of the first occurrence of the element starting from startIndex.
indexOutOfBounds(int, int) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Creates 创建"索引超出范围"异常
IndexSegment(String, int) - Constructor for record class cloud.opencode.base.core.bean.BeanPath.IndexSegment
Creates an instance of a IndexSegment record class.
inRange(char, char, char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is within the specified range 检查字符是否在指定范围内
inRange(int, int, int) - Static method in class cloud.opencode.base.core.OpenNumber
Returns true if the value is within the range [min, max].
inRange(long, long, long) - Static method in class cloud.opencode.base.core.OpenNumber
Returns true if the long value is within the range [min, max].
insert(int, int[], int...) - Static method in class cloud.opencode.base.core.OpenArray
Inserts multiple int elements at the specified index.
insert(int, T[], T...) - Static method in class cloud.opencode.base.core.OpenArray
Inserts multiple elements at the specified index.
insertField(int, int, int, int) - Static method in class cloud.opencode.base.core.OpenBit
Inserts a bit field 插入位字段
insertField(long, long, int, int) - Static method in class cloud.opencode.base.core.OpenBit
Inserts a bit field (long) 插入位字段(long)
interleave(Stream, Stream) - Static method in class cloud.opencode.base.core.OpenStream
Interleaves two streams 交错合并两个流
interrupt(Thread) - Static method in class cloud.opencode.base.core.thread.OpenThread
Interrupts the thread 中断线程
interrupted() - Static method in class cloud.opencode.base.core.thread.OpenThread
Checks and clears the interrupt status 检查并清除中断状态
intersection(Range) - Method in class cloud.opencode.base.core.Range
Returns the intersection of this range with another.
Ints - Class in cloud.opencode.base.core.primitives
Int Array Utility Class - Guava-style operations for int primitive arrays int 数组工具类 - Guava 风格的 int 原始类型数组操作
invalidState(String, String) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalStateException
Creates 创建"无效状态"异常
invoke(Object, Method, Object...) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Invokes a method 调用方法
invoke(Object, String, Object...) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Invokes a method 调用方法
invokeAll(List) - Static method in class cloud.opencode.base.core.thread.StructuredTaskUtil
Execute all tasks in parallel, all must succeed 并行执行所有任务,全部成功才返回
invokeAll(List, Duration) - Static method in class cloud.opencode.base.core.thread.StructuredTaskUtil
Execute all tasks in parallel with timeout, all must succeed 并行执行所有任务(带超时),全部成功才返回
invokeAny(List) - Static method in class cloud.opencode.base.core.thread.StructuredTaskUtil
Execute tasks in parallel, first to succeed wins 并行执行任务,任一成功即返回
invokeAny(List, Duration) - Static method in class cloud.opencode.base.core.thread.StructuredTaskUtil
Execute tasks in parallel with timeout, first to succeed wins 并行执行任务(带超时),任一成功即返回
invokeStatic(Class, String, Object...) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Invokes a static method 调用静态方法
invokeStatic(Method, Object...) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Invokes a static method 调用静态方法
isAbstract(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is abstract 检查是否为 abstract
isAbstract(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is abstract.
isAbstract(Class) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is abstract 检查是否为 abstract
isAbstract(Method) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Checks if the method is abstract 检查方法是否为 abstract
isAllEmpty(Object...) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if all of the values are empty.
isAllNull(Object...) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if all of the values are null.
isAlphanumeric(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is a letter or digit 检查是否为字母或数字
isAnonymousClass(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is an anonymous class.
isAnyEmpty(Object...) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if any of the values is empty.
isAnyNull(Object...) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if any of the values is null.
isArray(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Checks if the type is an array 检查是否为数组类型
isArray(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class represents an array type.
isArray(Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if the object is an array.
isAscending() - Method in enum class cloud.opencode.base.core.page.Sort.Direction
Returns true if this is ascending.
isAscii(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is ASCII (0-127) 检查是否为 ASCII 字符 (0-127)
isAscii(String) - Static method in class cloud.opencode.base.core.OpenCharset
Checks 检查是否为纯 ASCII 字符串
isAssignable(Class, Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Checks if the type is assignable 检查类型是否可赋值
isAssignable(Class, Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if subType is assignable to superType (considering primitive/wrapper conversions).
isAssignableFrom(Class, Class, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言类型可赋值
isAvailable() - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Checks if Unsafe is available 检查 Unsafe 是否可用
isBase64(String) - Static method in class cloud.opencode.base.core.OpenBase64
Checks 检查字符串是否为有效的 Base64 编码
isBase64UrlSafe(String) - Static method in class cloud.opencode.base.core.OpenBase64
Checks 检查字符串是否为有效的 URL 安全 Base64 编码
isBasicType(Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if the object is a primitive type or its wrapper.
isBinary(String) - Static method in class cloud.opencode.base.core.OpenRadix
Checks if the string is a valid binary string 验证是否为有效的二进制字符串
isBlank(CharSequence) - Static method in class cloud.opencode.base.core.OpenStringBase
Checks if blank (null, empty, or contains only whitespace) 检查是否为空白(null、空或只包含空白字符)
isBound(ScopedValue) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Check if a ScopedValue is bound in the current scope 检查 ScopedValue 是否在当前作用域中已绑定
isCollection(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Checks if the type is a collection 检查是否为集合类型
isCollection(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is a Collection or Map type.
isConnected(Range) - Method in class cloud.opencode.base.core.Range
Returns true if this range is connected to another range.
isControl(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is a control character 检查是否为控制字符
isCreatable(String) - Static method in class cloud.opencode.base.core.OpenNumber
Returns true if the string can be created as a Number (including hex and octal).
isDateTime(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Checks if the type is a date/time type 检查是否为日期时间类型
isDefault(Method) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Checks if the method is a default interface method 检查方法是否为 default 接口方法
isDigit(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is a digit 检查是否为数字
isDouble(String) - Static method in class cloud.opencode.base.core.OpenNumber
Returns true if the string can be parsed as a double value.
isEmpty() - Method in class cloud.opencode.base.core.Range
Returns true if this range is empty.
isEmpty(int[]) - Static method in class cloud.opencode.base.core.OpenArray
Returns true if an int array is null or has length zero.
isEmpty(CharSequence) - Static method in class cloud.opencode.base.core.OpenStringBase
Checks if empty (null or length is 0) 检查是否为空(null 或长度为 0)
isEmpty(Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Checks whether the Bean is empty (all properties are null or primitive defaults) 检查是否为空 Bean(所有属性为 null 或基本类型默认值)
isEmpty(Object) - Static method in class cloud.opencode.base.core.container.ContainerUtil
Checks if the container object is empty.
isEmpty(Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if the object is considered empty.
isEmpty(Object[]) - Static method in class cloud.opencode.base.core.OpenArray
Returns true if the array is null or has length zero.
isEnum(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is an enum type.
isEven(int) - Static method in class cloud.opencode.base.core.OpenMath
Returns true if the value is even.
isFalse(boolean, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言条件为 false
isFalse(Boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Checks 判断是否为 false
isFinal(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is final 检查是否为 final
isFinal(Class) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is final 检查是否为 final
isFinal(Field) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Checks if the field is final 检查字段是否为 final
isFinal(Member) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is final 检查是否为 final
isFinite(double) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
isFinite(float) - Static method in class cloud.opencode.base.core.primitives.Floats
 
isFirst() - Method in record class cloud.opencode.base.core.page.PageRequest
 
isGetter(Method) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Checks if the method is a getter 检查是否为 Getter 方法
isHexadecimal(String) - Static method in class cloud.opencode.base.core.OpenRadix
Checks if the string is a valid hexadecimal string 验证是否为有效的十六进制字符串
isHexDigit(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is a hex digit 检查是否为十六进制数字
isHexNumber(String) - Static method in class cloud.opencode.base.core.OpenHex
Checks whether the string is a hex number 判断是否为十六进制数
isHexString(String) - Static method in class cloud.opencode.base.core.OpenHex
Checks whether the string is a valid hex string 判断是否为有效的十六进制字符串
isInnerClass(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is a non-static inner class.
isInstance(Object, Class) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if the object is an instance of the specified class.
isInstanceOf(Class, Object, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言对象是指定类型的实例
isInteger(String) - Static method in class cloud.opencode.base.core.OpenNumber
Returns true if the string represents a valid integer.
isInterface(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is interface 检查是否为 interface
isInterface(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is an interface.
isInterface(Class) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is interface 检查是否为 interface
isInterrupted() - Static method in class cloud.opencode.base.core.thread.OpenThread
Checks if the current thread is interrupted 检查当前线程是否被中断
isLambdaClass(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class was generated by a lambda expression.
isLetter(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is a letter 检查是否为字母
isLocalClass(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is a local class.
isLong(String) - Static method in class cloud.opencode.base.core.OpenNumber
Returns true if the string can be parsed as a long value.
isLowerCase(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is lowercase 检查是否为小写字母
isMap(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
检查是否为 Map 类型
isNative(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is native 检查是否为 native
isNative(Method) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Checks if the method is native 检查方法是否为 native
isNegative(int) - Static method in class cloud.opencode.base.core.OpenMath
Returns true if the value is negative.
isNotBlank(CharSequence) - Static method in class cloud.opencode.base.core.OpenStringBase
Checks if not blank 检查是否非空白
isNotEmpty(CharSequence) - Static method in class cloud.opencode.base.core.OpenStringBase
Checks if not empty 检查是否非空
isNotEmpty(Object) - Static method in class cloud.opencode.base.core.container.ContainerUtil
Checks if the container object is not empty.
isNotEmpty(Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if the object is not considered empty.
isNotEmpty(Object[]) - Static method in class cloud.opencode.base.core.OpenArray
Returns true if the array is not null and has at least one element.
isNotFalse(Boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Checks 判断是否不为 false(null 或 true)
isNotNull(Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if the object is not null.
isNotNull(Object, String) - Static method in class cloud.opencode.base.core.bean.BeanPath
Checks if the value at path is not null | 检查路径值是否非 null
isNotTrue(Boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Checks 判断是否不为 true(null 或 false)
isNull(Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if the object is null.
isNull(Object, String) - Static method in class cloud.opencode.base.core.bean.BeanPath
Checks if the value at path is null | 检查路径值是否为 null
isNumber(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Checks if the type is a number 检查是否为数字类型
isNumber(String) - Static method in class cloud.opencode.base.core.OpenNumber
Returns true if the string represents a valid number.
ISO_8859_1 - Static variable in class cloud.opencode.base.core.OpenCharset
 
ISO_8859_1_NAME - Static variable in class cloud.opencode.base.core.OpenCharset
 
iso8859ToUtf8(String) - Static method in class cloud.opencode.base.core.OpenCharset
ISO-8859-1 转 UTF-8
isOctal(String) - Static method in class cloud.opencode.base.core.OpenRadix
Checks if the string is a valid octal string 验证是否为有效的八进制字符串
isOctalDigit(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is an octal digit 检查是否为八进制数字
isOdd(int) - Static method in class cloud.opencode.base.core.OpenMath
Returns true if the value is odd.
isOrdered(Iterable) - Method in class cloud.opencode.base.core.Ordering
Returns true if the iterable is sorted according to this ordering.
isPackagePrivate(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is package-private (no access modifier) 检查是否为包可见(无访问修饰符)
isPackagePrivate(Member) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is package-private 检查是否为包可见
isParallelRecommended(int) - Static method in class cloud.opencode.base.core.stream.ParallelStreamUtil
Checks if parallel stream is recommended 检查是否推荐使用并行流
isParallelRecommended(int, int) - Static method in class cloud.opencode.base.core.stream.ParallelStreamUtil
Checks if parallel stream is recommended (custom threshold) 检查是否推荐使用并行流(自定义阈值)
isParsable(String) - Static method in class cloud.opencode.base.core.OpenNumber
Returns true if the string can be parsed as a decimal number (no hex/octal).
isPositive(int) - Static method in class cloud.opencode.base.core.OpenMath
Returns true if the value is positive.
isPowerOfTwo(int) - Static method in class cloud.opencode.base.core.OpenBit
Checks whether the value is a power of two 检查是否为 2 的幂
isPowerOfTwo(long) - Static method in class cloud.opencode.base.core.OpenBit
Checks whether the value is a power of two (long) 检查是否为 2 的幂(long)
isPresent(String) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class with the given name is present on the classpath.
isPresent(String, ClassLoader) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is present using the specified ClassLoader.
isPrime(long) - Static method in class cloud.opencode.base.core.OpenMath
Returns true if n is a prime number.
isPrimitive(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Checks if the type is a primitive 检查是否为原始类型
isPrimitive(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class represents a primitive type.
isPrimitiveArray(Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if the object is a primitive array.
isPrimitiveOrWrapper(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Checks if the type is a primitive or wrapper 检查是否为原始类型或包装类型
isPrimitiveOrWrapper(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is a primitive type or its wrapper.
isPrimitiveOrWrapper(Class) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if the class is a primitive type or its wrapper.
isPrimitiveWrapper(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is a primitive wrapper type.
isPrintableAscii(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is a printable ASCII character (32-126) 检查是否为可打印 ASCII 字符 (32-126)
isPrivate(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is private 检查是否为 private
isPrivate(Constructor) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Checks if the constructor is private 检查构造器是否为 private
isPrivate(Member) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is private 检查是否为 private
isProtected(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is protected 检查是否为 protected
isProtected(Member) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is protected 检查是否为 protected
isPublic(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is public 检查是否为 public
isPublic(Class) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is public 检查是否为 public
isPublic(Constructor) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Checks if the constructor is public 检查构造器是否为 public
isPublic(Member) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is public 检查是否为 public
isReadable() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
Checks whether this property is readable 是否可读
isRecord(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is a record type.
isRecord(Class) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Checks if the class is a Record type 检查类是否为 Record 类型
isRecord(Object) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Checks if the object is a Record instance 检查对象是否为 Record 实例
isRunning() - Method in class cloud.opencode.base.core.Stopwatch
Returns whether the stopwatch is currently running 返回秒表是否正在运行
isSameLength(Object[], Object[]) - Static method in class cloud.opencode.base.core.OpenArray
Returns true if both arrays have the same length.
isSealed(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class is a sealed type.
isSetter(Method) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Checks if the method is a setter 检查是否为 Setter 方法
isSorted(int[]) - Static method in class cloud.opencode.base.core.OpenArray
Returns true if the int array is sorted in ascending order.
isSorted(int[]) - Static method in class cloud.opencode.base.core.primitives.Ints
Checks if the array is sorted 检查数组是否已排序
isSorted(long[]) - Static method in class cloud.opencode.base.core.primitives.Longs
Checks if the array is sorted 检查数组是否已排序
isSorted(T[]) - Static method in class cloud.opencode.base.core.OpenArray
Returns true if the Comparable array is sorted in ascending order.
isStatic(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is static 检查是否为 static
isStatic(Field) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Checks if the field is static 检查字段是否为 static
isStatic(Member) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is static 检查是否为 static
isStrict(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is strict (strictfp) 检查是否为 strict (strictfp)
isStrictlyOrdered(Iterable) - Method in class cloud.opencode.base.core.Ordering
Returns true if the iterable is strictly sorted according to this ordering.
isString(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Checks if the type is a String 检查是否为字符串类型
isSupported(String) - Static method in class cloud.opencode.base.core.OpenCharset
Checks 检查字符集名称是否有效
isSynchronized(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is synchronized 检查是否为 synchronized
isSynchronized(Method) - Static method in class cloud.opencode.base.core.reflect.MethodUtil
Checks if the method is synchronized 检查方法是否为 synchronized
isTransient(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is transient 检查是否为 transient
isTransient(Field) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Checks if the field is transient 检查字段是否为 transient
isTrue(boolean, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言条件为 true
isTrue(boolean, String, Object...) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言条件为 true(带格式化参数)
isTrue(Boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Checks 判断是否为 true
isUnsorted() - Method in class cloud.opencode.base.core.page.Sort
 
isUpperCase(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is uppercase 检查是否为大写字母
isUsingFFM() - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Checks if FFM API is being used 检查是否正在使用 FFM API
isValidEnum(Class, String) - Static method in class cloud.opencode.base.core.OpenEnum
Validates whether the enum name is valid 验证枚举名称是否有效
isValidEnumIgnoreCase(Class, String) - Static method in class cloud.opencode.base.core.OpenEnum
Validates whether the enum name is valid (case-insensitive) 验证枚举名称是否有效(忽略大小写)
isVirtualThread() - Static method in class cloud.opencode.base.core.thread.OpenThread
Checks if the current thread is a virtual thread 检查当前线程是否为虚拟线程
isVirtualThread(Thread) - Static method in class cloud.opencode.base.core.thread.OpenThread
Checks if the specified thread is a virtual thread 检查指定线程是否为虚拟线程
isVolatile(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Checks if the modifier is volatile 检查是否为 volatile
isVolatile(Field) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Checks if the field is volatile 检查字段是否为 volatile
isWhitespace(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is whitespace 检查是否为空白字符
isWrapper(Class) - Static method in class cloud.opencode.base.core.convert.TypeUtil
Checks if the type is a wrapper 检查是否为包装类型
isWrapperType(Class) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if the class is a primitive wrapper type.
isWritable() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
Checks whether this property is writable 是否可写
iterate(T, Predicate, UnaryOperator) - Static method in class cloud.opencode.base.core.OpenStream
Generates a finite stream with seed and predicate 使用种子和谓词生成有限Stream
iterate(T, UnaryOperator) - Static method in class cloud.opencode.base.core.OpenStream
Generates an infinite stream with seed 使用种子生成无限Stream

J

join(Iterable) - Method in class cloud.opencode.base.core.Joiner
Joins the given iterable into a string.
join(Iterable) - Method in class cloud.opencode.base.core.Joiner.MapJoiner
Joins the given map entries into a string.
join(Object...) - Method in class cloud.opencode.base.core.Joiner
Joins the given objects into a string.
join(String, boolean...) - Static method in class cloud.opencode.base.core.primitives.Booleans
Joins boolean values with a separator | 用分隔符连接 boolean 值
join(String, byte...) - Static method in class cloud.opencode.base.core.primitives.Bytes
Joins array elements into a string 数组转字符串
join(String, char...) - Static method in class cloud.opencode.base.core.primitives.Chars
 
join(String, double...) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
join(String, float...) - Static method in class cloud.opencode.base.core.primitives.Floats
 
join(String, int...) - Static method in class cloud.opencode.base.core.primitives.Ints
Converts the array to string 数组转字符串
join(String, long...) - Static method in class cloud.opencode.base.core.primitives.Longs
Converts the array to string 数组转字符串
join(String, short...) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
join(Iterator) - Method in class cloud.opencode.base.core.Joiner
Joins the given iterator into a string.
join(Map) - Method in class cloud.opencode.base.core.Joiner.MapJoiner
Joins the given map into a string.
Joiner - Class in cloud.opencode.base.core
Joiner - Fluent string joining utility 连接器 - 流式字符串连接工具
Joiner.MapJoiner - Class in cloud.opencode.base.core
A joiner that produces strings from map entries.
joining(Stream, CharSequence) - Static method in class cloud.opencode.base.core.OpenStream
Joins to string 连接为字符串
joining(Stream, CharSequence, CharSequence, CharSequence) - Static method in class cloud.opencode.base.core.OpenStream
Joins to string with prefix and suffix 使用前缀和后缀连接为字符串
joinPath(String...) - Static method in class cloud.opencode.base.core.bean.BeanPath
Concatenates path segments | 拼接路径

K

key() - Method in record class cloud.opencode.base.core.bean.BeanPath.MapKeySegment
Returns the value of the key record component.
key() - Method in record class cloud.opencode.base.core.tuple.Pair
Gets the key (alias for left, for Map scenarios) 获取键(左值的别名,用于 Map 场景)
keys() - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Gets all ThreadLocal keys 获取所有 ThreadLocal 的 key

L

lastIndexOf(boolean[], boolean) - Static method in class cloud.opencode.base.core.primitives.Booleans
Returns the last index of the target | 返回目标值的最后索引
lastIndexOf(byte[], byte) - Static method in class cloud.opencode.base.core.primitives.Bytes
Finds the index of the element searching from the end 从后向前查找元素索引
lastIndexOf(char[], char) - Static method in class cloud.opencode.base.core.primitives.Chars
 
lastIndexOf(double[], double) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
lastIndexOf(float[], float) - Static method in class cloud.opencode.base.core.primitives.Floats
 
lastIndexOf(int[], int) - Static method in class cloud.opencode.base.core.primitives.Ints
Finds the element index from the end 从后向前查找元素索引
lastIndexOf(int[], int, int, int) - Static method in class cloud.opencode.base.core.primitives.Ints
Finds the element index from the end within the specified range 在指定范围内从后向前查找元素索引
lastIndexOf(long[], long) - Static method in class cloud.opencode.base.core.primitives.Longs
Finds the element index from the end 从后向前查找元素索引
lastIndexOf(long[], long, int, int) - Static method in class cloud.opencode.base.core.primitives.Longs
Finds the element index from the end within the specified range 在指定范围内从后向前查找元素索引
lastIndexOf(short[], short) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
lastIndexOf(T[], T) - Static method in class cloud.opencode.base.core.OpenArray
Returns the index of the last occurrence of the element in the array.
lcm(int, int) - Static method in class cloud.opencode.base.core.OpenMath
Least Common Multiple (LCM) 最小公倍数(LCM) Safe: uses Math.absExact to detect overflow
lcm(long, long) - Static method in class cloud.opencode.base.core.OpenMath
Least Common Multiple (long) 最小公倍数(long) Safe: uses Math.absExact to detect overflow
LE - Enum constant in enum class cloud.opencode.base.core.compare.CompareUtil.Operator
 
leastOf(Iterable, int) - Method in class cloud.opencode.base.core.Ordering
Returns the k smallest elements in the given iterable.
left() - Method in record class cloud.opencode.base.core.tuple.Pair
Returns the value of the left record component.
left() - Method in record class cloud.opencode.base.core.tuple.Triple
Gets the left value (alias for first) 获取左值(第一个元素的别名)
length(int) - Method in class cloud.opencode.base.core.random.VerifyCodeUtil.Builder
 
length(CharSequence) - Static method in class cloud.opencode.base.core.OpenStringBase
Gets length in a null-safe manner null 安全获取长度
lessThan(C) - Static method in class cloud.opencode.base.core.Range
Creates a range with no lower bound (-∞, upper).
lexicographicalComparator() - Static method in class cloud.opencode.base.core.primitives.Ints
Gets the comparator 获取比较器
lexicographicalComparator() - Static method in class cloud.opencode.base.core.primitives.Longs
Gets the comparator 获取比较器
limit(int) - Method in class cloud.opencode.base.core.Splitter
Returns a splitter that limits the number of parts.
limit(Stream, long) - Static method in class cloud.opencode.base.core.OpenStream
Limits stream size 限制流大小
linkedHashMap() - Static method in class cloud.opencode.base.core.builder.MapBuilder
Creates 创建 LinkedHashMap 构建器
load(Class) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Loads SPI service implementations 加载 SPI 服务实现
load(Class, ClassLoader) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Loads SPI service implementations (with specified ClassLoader) 加载 SPI 服务实现(指定类加载器)
loadByType(Class, Class) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Filters SPI services by type 按类型过滤 SPI 服务
loadClass(String) - Static method in class cloud.opencode.base.core.OpenClass
Loads and initializes the class with the given name.
loadClass(String, boolean) - Static method in class cloud.opencode.base.core.OpenClass
Loads the class with the given name, optionally initializing it.
loadClass(String, ClassLoader) - Static method in class cloud.opencode.base.core.OpenClass
Loads and initializes the class using the specified ClassLoader.
loadClassOptional(String) - Static method in class cloud.opencode.base.core.OpenClass
Safely loads the class, returning an Optional.
loadClassSafely(String) - Static method in class cloud.opencode.base.core.OpenClass
Safely loads the class, returning null if it does not exist.
loadFirst(Class) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Loads the first SPI service implementation 加载第一个 SPI 服务实现
loadFirstOrDefault(Class, T) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Loads the first SPI service implementation, or uses the default 加载第一个 SPI 服务实现,不存在则使用默认值
loadStream(Class) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Lazily loads SPI service implementations as a Stream without eagerly materializing.
loadStream(Class, ClassLoader) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Lazily loads SPI service implementations as a Stream with a specified ClassLoader.
Longs - Class in cloud.opencode.base.core.primitives
Long Array Utility Class - Guava-style operations for long primitive arrays long 数组工具类 - Guava 风格的 long 原始类型数组操作
lowerBoundType() - Method in class cloud.opencode.base.core.Range
Returns the lower bound type.
lowerEndpoint() - Method in class cloud.opencode.base.core.Range
Returns the lower endpoint if present.
lowestOneBitPosition(int) - Static method in class cloud.opencode.base.core.OpenBit
Gets the position of the lowest set bit 获取最低有效位的位置
lowestOneBitPosition(long) - Static method in class cloud.opencode.base.core.OpenBit
Gets the position of the lowest set bit (long) 获取最低有效位的位置(long)
LT - Enum constant in enum class cloud.opencode.base.core.compare.CompareUtil.Operator
 

M

map(Function, Function, Function) - Method in record class cloud.opencode.base.core.tuple.Triple
Maps all elements simultaneously 同时映射所有元素
map(Function, Function) - Method in record class cloud.opencode.base.core.tuple.Pair
Maps both left and right values 同时映射左右值
map(T[], Function, Class) - Static method in class cloud.opencode.base.core.OpenArray
Maps each element of the array using the given mapper function.
MapBuilder<K,V> - Class in cloud.opencode.base.core.builder
Map Builder - Fluent builder for Map instances Map 构建器 - Map 实例的流式构建器
MapBuilder() - Constructor for class cloud.opencode.base.core.builder.MapBuilder
 
MapBuilder(Supplier) - Constructor for class cloud.opencode.base.core.builder.MapBuilder
 
mapFirst(Function) - Method in record class cloud.opencode.base.core.tuple.Quadruple
Maps the first element 映射第一个元素
mapFirst(Function) - Method in record class cloud.opencode.base.core.tuple.Triple
Maps the first element 映射第一个元素
mapFourth(Function) - Method in record class cloud.opencode.base.core.tuple.Quadruple
Maps the fourth element 映射第四个元素
mapIfPresent(Optional, Function) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Maps if present 存在时映射
MapKeySegment(String, String) - Constructor for record class cloud.opencode.base.core.bean.BeanPath.MapKeySegment
Creates an instance of a MapKeySegment record class.
mapLeft(Function) - Method in record class cloud.opencode.base.core.tuple.Pair
Maps the left value 映射左值
mapRight(Function) - Method in record class cloud.opencode.base.core.tuple.Pair
Maps the right value 映射右值
mapSecond(Function) - Method in record class cloud.opencode.base.core.tuple.Quadruple
Maps the second element 映射第二个元素
mapSecond(Function) - Method in record class cloud.opencode.base.core.tuple.Triple
Maps the second element 映射第二个元素
mapThird(Function) - Method in record class cloud.opencode.base.core.tuple.Quadruple
Maps the third element 映射第三个元素
mapThird(Function) - Method in record class cloud.opencode.base.core.tuple.Triple
Maps the third element 映射第三个元素
matchesPattern(CharSequence, String, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言字符串匹配正则
max(char...) - Static method in class cloud.opencode.base.core.primitives.Chars
 
max(double...) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
max(float...) - Static method in class cloud.opencode.base.core.primitives.Floats
 
max(int...) - Static method in class cloud.opencode.base.core.OpenNumber
Returns the maximum value in the int array.
max(int...) - Static method in class cloud.opencode.base.core.primitives.Ints
Returns the maximum value 返回最大值
max(long...) - Static method in class cloud.opencode.base.core.OpenNumber
Returns the maximum value in the long array.
max(long...) - Static method in class cloud.opencode.base.core.primitives.Longs
Returns the maximum value 返回最大值
max(short...) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
max(Iterable) - Method in class cloud.opencode.base.core.Ordering
Returns the maximum value in an iterable.
max(Stream, Comparator) - Static method in class cloud.opencode.base.core.OpenStream
Gets max element 获取最大元素
max(T, T) - Static method in class cloud.opencode.base.core.OpenNumber
Returns the larger of two Comparable values.
max(T, T) - Static method in class cloud.opencode.base.core.OpenObject
Returns the larger of the two Comparable values.
max(T, T) - Method in class cloud.opencode.base.core.Ordering
Returns the maximum of two values.
max(T, T, T...) - Method in class cloud.opencode.base.core.Ordering
Returns the maximum of the given values.
MAX_POWER_OF_TWO - Static variable in class cloud.opencode.base.core.primitives.Ints
 
MAX_POWER_OF_TWO - Static variable in class cloud.opencode.base.core.primitives.Longs
 
mean(double...) - Static method in class cloud.opencode.base.core.OpenMath
Calculates the arithmetic mean of the given values.
median(double...) - Static method in class cloud.opencode.base.core.OpenMath
Calculates the median of the given values.
memoize(Supplier) - Static method in class cloud.opencode.base.core.Suppliers
Returns a supplier that caches the instance supplied by the delegate and returns that value on subsequent calls to get().
memoizeWithExpiration(Supplier, long, TimeUnit) - Static method in class cloud.opencode.base.core.Suppliers
Returns a supplier that caches the instance supplied by the delegate and returns that value on subsequent calls to get().
memoizeWithExpiration(Supplier, Duration) - Static method in class cloud.opencode.base.core.Suppliers
Returns a supplier that caches the instance supplied by the delegate and returns that value on subsequent calls to get().
merge(Stream...) - Static method in class cloud.opencode.base.core.OpenStream
Merges multiple streams 合并多个流
MethodUtil - Class in cloud.opencode.base.core.reflect
Method Utility Class - Method reflection operations 方法工具类 - 方法反射操作
middle() - Method in record class cloud.opencode.base.core.tuple.Triple
Gets the middle value (alias for second) 获取中值(第二个元素的别名)
min(char...) - Static method in class cloud.opencode.base.core.primitives.Chars
 
min(double...) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
min(float...) - Static method in class cloud.opencode.base.core.primitives.Floats
 
min(int...) - Static method in class cloud.opencode.base.core.OpenNumber
Returns the minimum value in the int array.
min(int...) - Static method in class cloud.opencode.base.core.primitives.Ints
Returns the minimum value 返回最小值
min(long...) - Static method in class cloud.opencode.base.core.OpenNumber
Returns the minimum value in the long array.
min(long...) - Static method in class cloud.opencode.base.core.primitives.Longs
Returns the minimum value 返回最小值
min(short...) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
min(Iterable) - Method in class cloud.opencode.base.core.Ordering
Returns the minimum value in an iterable.
min(Stream, Comparator) - Static method in class cloud.opencode.base.core.OpenStream
Gets min element 获取最小元素
min(T, T) - Static method in class cloud.opencode.base.core.OpenNumber
Returns the smaller of two Comparable values.
min(T, T) - Static method in class cloud.opencode.base.core.OpenObject
Returns the smaller of the two Comparable values.
min(T, T) - Method in class cloud.opencode.base.core.Ordering
Returns the minimum of two values.
min(T, T, T...) - Method in class cloud.opencode.base.core.Ordering
Returns the minimum of the given values.
ModifierUtil - Class in cloud.opencode.base.core.reflect
Modifier Utility Class - Java modifier checking operations 修饰符工具类 - Java 修饰符检查操作
modPow(long, long, long) - Static method in class cloud.opencode.base.core.OpenMath
Computes (base ^ exponent) mod modulus using BigInteger.
MoreObjects - Class in cloud.opencode.base.core
MoreObjects - Extended Object utilities, including toString helper 扩展对象工具类 - 包含 toString 辅助工具
MoreObjects.ToStringHelper - Class in cloud.opencode.base.core
A helper class for building toString() implementations.
multiply(BigDecimal, BigDecimal) - Static method in class cloud.opencode.base.core.OpenMath
High-precision multiplication of two BigDecimal values.
multiply(BigDecimal, BigDecimal) - Static method in class cloud.opencode.base.core.OpenNumber
High-precision multiplication.

N

name() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
 
name(Enum) - Static method in class cloud.opencode.base.core.OpenEnum
Gets the name of the enum value 获取枚举的名称
namedSize() - Static method in class cloud.opencode.base.core.singleton.Singleton
Gets the count of all named singletons 获取所有命名单例数量
NamedThreadFactory - Class in cloud.opencode.base.core.thread
Named Thread Factory - Custom thread factory with naming support 命名线程工厂 - 支持自定义命名的线程工厂
NamedThreadFactory(String) - Constructor for class cloud.opencode.base.core.thread.NamedThreadFactory
 
NamedThreadFactory(String, boolean) - Constructor for class cloud.opencode.base.core.thread.NamedThreadFactory
 
NamedThreadFactory(String, boolean, int) - Constructor for class cloud.opencode.base.core.thread.NamedThreadFactory
 
NamedThreadFactory.Builder - Class in cloud.opencode.base.core.thread
 
namePrefix(String) - Method in class cloud.opencode.base.core.thread.NamedThreadFactory.Builder
 
natural() - Static method in class cloud.opencode.base.core.Ordering
Returns an ordering that uses the natural order of the values.
NE - Enum constant in enum class cloud.opencode.base.core.compare.CompareUtil.Operator
 
negate() - Method in interface cloud.opencode.base.core.func.CheckedPredicate
Negates 取反
negate(boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Negation operation 取反操作
negate(Boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Negation operation (Boolean, null returns null) 取反操作(Boolean,null 返回 null)
newArray(Class, int) - Static method in class cloud.opencode.base.core.OpenArray
Creates an array of the specified component type and length.
newInstance(Class) - Static method in class cloud.opencode.base.core.OpenClass
Creates a new instance of the given class using its no-arg constructor.
newInstance(Class) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Creates an instance using the default constructor 使用默认构造器创建实例
newInstance(Class) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Creates an instance (no-arg constructor) 创建实例(无参构造)
newInstance(Class, Object...) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Creates an instance (with constructor arguments) 创建实例(带参构造)
newInstance(Constructor, Object...) - Static method in class cloud.opencode.base.core.reflect.ConstructorUtil
Creates an instance 创建实例
newReader(InputStream) - Static method in class cloud.opencode.base.core.OpenCharset
Creates 创建 UTF-8 Reader
newReader(InputStream, Charset) - Static method in class cloud.opencode.base.core.OpenCharset
Creates 创建指定字符集的 Reader
newScopedValue() - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Create a new ScopedValue instance 创建新的 ScopedValue 实例
newThread(Runnable) - Method in class cloud.opencode.base.core.thread.NamedThreadFactory
 
newWriter(OutputStream) - Static method in class cloud.opencode.base.core.OpenCharset
Creates 创建 UTF-8 Writer
newWriter(OutputStream, Charset) - Static method in class cloud.opencode.base.core.OpenCharset
Creates 创建指定字符集的 Writer
next() - Method in record class cloud.opencode.base.core.page.PageRequest
 
nextId() - Method in interface cloud.opencode.base.core.random.IdGenerator
Generates the next ID 生成下一个 ID
nextIds(int) - Method in interface cloud.opencode.base.core.random.IdGenerator
Generates the specified number of IDs 生成指定数量的 ID
nextPowerOfTwo(int) - Static method in class cloud.opencode.base.core.OpenBit
Rounds up to the next power of two 向上舍入到下一个 2 的幂
nextPowerOfTwo(long) - Static method in class cloud.opencode.base.core.OpenBit
Rounds up to the next power of two (long) 向上舍入到下一个 2 的幂(long)
noConfusing(int) - Static method in class cloud.opencode.base.core.random.VerifyCodeUtil
Generates a non-confusing verification code (excludes 0, O, 1, I, L, etc.)
nonDaemon(String) - Static method in class cloud.opencode.base.core.thread.NamedThreadFactory
Creates a non-daemon thread factory 创建非守护线程工厂
noneMatch(Stream, Predicate) - Static method in class cloud.opencode.base.core.OpenStream
Checks if no elements match 检查是否没有元素匹配
nonNegative(String, Number) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Creates 创建"参数必须为非负数"异常
noNullElements(T[], String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言数组无 null 元素
noNullElements(T, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言集合无 null 元素
normalize(String) - Static method in class cloud.opencode.base.core.OpenHex
Removes spaces and separators from a hex string 移除十六进制字符串中的空格和分隔符
notBlank(String) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Creates 创建"参数不能为空白"异常
notBlank(T, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言字符串非空白
notEmpty(String) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Creates 创建"参数不能为空"异常
notEmpty(T[], String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言数组非空
notEmpty(T, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言字符串非空
notEmpty(T, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言集合非空
notEmpty(T, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言 Map 非空
notEquals(Object, Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns true if the two objects are not equal.
notFound(String, Object) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalStateException
Creates 创建"未找到"异常
notImplemented(String) - Static method in exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
Creates 创建"未实现"异常
notInitialized(String) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalStateException
Creates 创建"未初始化"异常
notNull(String) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Creates 创建"参数不能为 null"异常
notNull(T, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言对象非 null
notNull(T, String, Object...) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言对象非 null(带格式化参数)
nullSafeGet(T, Function) - Static method in class cloud.opencode.base.core.OpenObject
Null-safe property accessor: applies the getter and returns null if the object is null. null 安全的属性获取
nullSafeGet(T, Function, R) - Static method in class cloud.opencode.base.core.OpenObject
Null-safe property accessor with default value. null 安全的属性获取(带默认值)
nullSafeGetOptional(T, Function) - Static method in class cloud.opencode.base.core.OpenObject
Null-safe property accessor returning an Optional.
nullsFirst() - Method in class cloud.opencode.base.core.Ordering
Returns an ordering that treats null as less than all other values.
nullsLast() - Method in class cloud.opencode.base.core.Ordering
Returns an ordering that treats null as greater than all other values.
nullToEmpty(int[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a null int array to an empty int array.
nullToEmpty(long[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a null long array to an empty long array.
nullToEmpty(String) - Static method in class cloud.opencode.base.core.OpenStringBase
Converts null to empty string null 转为空字符串
nullToEmpty(T[], Class) - Static method in class cloud.opencode.base.core.OpenArray
Converts a null array to an empty array of the specified type.
numeric() - Method in class cloud.opencode.base.core.random.VerifyCodeUtil.Builder
 
numeric() - Static method in class cloud.opencode.base.core.random.VerifyCodeUtil
Generates a 6-digit numeric verification code 生成 6 位数字验证码
numeric(int) - Static method in class cloud.opencode.base.core.random.VerifyCodeUtil
Generates a numeric verification code of specified length 生成指定长度数字验证码
numericRange(int, int) - Static method in class cloud.opencode.base.core.random.VerifyCodeUtil
Generates a numeric verification code within a range 生成范围内的数字验证码

O

objectFieldOffset(Class, String) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
objectFieldOffset(Field) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
octalToDecimal(String) - Static method in class cloud.opencode.base.core.OpenRadix
Converts octal to decimal 八进制转十进制
octalToHex(String) - Static method in class cloud.opencode.base.core.OpenRadix
Converts octal to hexadecimal 八进制转十六进制
of() - Static method in class cloud.opencode.base.core.builder.MapBuilder
Creates 创建构建器
of(long, long) - Static method in class cloud.opencode.base.core.page.Page
 
of(long, long) - Static method in record class cloud.opencode.base.core.page.PageRequest
 
of(long, long, Sort) - Static method in record class cloud.opencode.base.core.page.PageRequest
 
of(A, B, C) - Static method in record class cloud.opencode.base.core.tuple.Triple
Creates a Triple 创建三元组
of(A, B, C, D) - Static method in record class cloud.opencode.base.core.tuple.Quadruple
Creates a Quadruple 创建四元组
of(Class) - Static method in class cloud.opencode.base.core.builder.BeanBuilder
Creates a BeanBuilder for the given class | 为指定类创建 BeanBuilder
of(Class) - Static method in class cloud.opencode.base.core.builder.RecordBuilder
Creates a new builder for the given record class 创建构建器
of(Runnable) - Static method in interface cloud.opencode.base.core.func.CheckedRunnable
Wraps a standard Runnable as a CheckedRunnable 将普通 Runnable 包装为 CheckedRunnable
of(String, Duration) - Static method in exception class cloud.opencode.base.core.exception.OpenTimeoutException
Creates 创建超时异常
of(String, Duration, Throwable) - Static method in exception class cloud.opencode.base.core.exception.OpenTimeoutException
Creates 创建超时异常(带原因)
of(Callable) - Static method in interface cloud.opencode.base.core.func.CheckedCallable
Wraps a JDK Callable as a CheckedCallable 将 JDK Callable 包装为 CheckedCallable
of(Consumer) - Static method in interface cloud.opencode.base.core.func.CheckedConsumer
Wraps a standard Consumer as a CheckedConsumer 将普通 Consumer 包装为 CheckedConsumer
of(Function) - Static method in interface cloud.opencode.base.core.func.CheckedFunction
Wraps a standard Function as a CheckedFunction 将普通 Function 包装为 CheckedFunction
of(Predicate) - Static method in interface cloud.opencode.base.core.func.CheckedPredicate
Wraps a standard Predicate as a CheckedPredicate 将普通 Predicate 包装为 CheckedPredicate
of(Supplier) - Static method in class cloud.opencode.base.core.builder.MapBuilder
Creates 创建构建器(指定 Map 实现)
of(Supplier) - Static method in interface cloud.opencode.base.core.func.CheckedSupplier
Wraps a standard Supplier as a CheckedSupplier 将普通 Supplier 包装为 CheckedSupplier
of(L, R) - Static method in record class cloud.opencode.base.core.tuple.Pair
Creates a Pair 创建二元组
of(T...) - Static method in class cloud.opencode.base.core.OpenArray
Creates an array containing the specified elements.
of(T...) - Static method in class cloud.opencode.base.core.OpenStream
Creates a stream from varargs 从可变参数创建Stream
ofBean(Class) - Static method in class cloud.opencode.base.core.builder.OpenBuilder
Creates 创建 JavaBean 构建器
ofHashMap() - Static method in class cloud.opencode.base.core.builder.OpenBuilder
Creates 创建 HashMap 构建器
ofInstance(T) - Static method in class cloud.opencode.base.core.Suppliers
Returns a supplier that always returns the same instance.
ofLinkedHashMap() - Static method in class cloud.opencode.base.core.builder.OpenBuilder
Creates 创建 LinkedHashMap 构建器
ofMap() - Static method in class cloud.opencode.base.core.builder.OpenBuilder
Creates 创建 Map 构建器
ofMap(Supplier) - Static method in class cloud.opencode.base.core.builder.OpenBuilder
Creates 创建 Map 构建器(指定实现)
ofRecord(Class) - Static method in class cloud.opencode.base.core.builder.OpenBuilder
Creates 创建 Record 构建器
ofSize(long) - Static method in record class cloud.opencode.base.core.page.PageRequest
 
ofTreeMap() - Static method in class cloud.opencode.base.core.builder.OpenBuilder
Creates 创建 TreeMap 构建器
omitEmptyStrings() - Method in class cloud.opencode.base.core.Splitter
Returns a splitter that omits empty strings from results.
omitNullValues() - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
When called, null values will be omitted from the output.
on(char) - Static method in class cloud.opencode.base.core.Joiner
Creates a joiner that uses the given separator.
on(char) - Static method in class cloud.opencode.base.core.Splitter
Creates a splitter that uses the given character as separator.
on(String) - Static method in class cloud.opencode.base.core.Joiner
Creates a joiner that uses the given separator.
on(String) - Static method in class cloud.opencode.base.core.Splitter
Creates a splitter that uses the given string as separator.
on(Pattern) - Static method in class cloud.opencode.base.core.Splitter
Creates a splitter that uses the given pattern as separator.
onPattern(String) - Static method in class cloud.opencode.base.core.Splitter
Creates a splitter that uses the given regex pattern as separator.
onResultOf(Function) - Method in class cloud.opencode.base.core.Ordering
Returns an ordering that applies a function before comparing.
open(C, C) - Static method in class cloud.opencode.base.core.Range
Creates an open range (lower, upper).
OPEN - Enum constant in enum class cloud.opencode.base.core.Range.BoundType
 
OpenArray - Class in cloud.opencode.base.core
Array Utility Class - Comprehensive array operations for primitive and object arrays 数组工具类 - 支持原始类型和对象数组的全面操作
OpenAssert - Class in cloud.opencode.base.core.assertion
Assertion Utility - Comprehensive assertion methods for validation 断言工具类 - 全面的验证断言方法
OpenBase64 - Class in cloud.opencode.base.core
Base64 Encoding/Decoding Utility Class - Standard, URL-safe and MIME encodings Base64 编解码工具类 - 标准、URL 安全和 MIME 编码
OpenBean - Class in cloud.opencode.base.core.bean
Bean Utility Class - JavaBean property operations and conversions Bean 工具类 - JavaBean 属性操作和转换
OpenBit - Class in cloud.opencode.base.core
Bit Manipulation Utility Class - Set, clear, flip, test, count, rotate and mask operations 位操作工具类 - 位设置、清除、翻转、测试、计数、旋转和掩码操作
OpenBoolean - Class in cloud.opencode.base.core
Boolean Utility Class - Conversion, logical operations and validation for boolean values 布尔值工具类 - 布尔值的转换、逻辑运算和验证
OpenBuilder - Class in cloud.opencode.base.core.builder
Builder Utility Class - Unified entry point for builders 构建器工具类 - 构建器统一入口
OpenChar - Class in cloud.opencode.base.core
Character Utility Class - Type checking, case conversion, ASCII and Unicode operations 字符工具类 - 类型检查、大小写转换、ASCII 和 Unicode 操作
OpenCharset - Class in cloud.opencode.base.core
Charset Utility Class - Charset conversion, detection and common charset constants 字符集工具类 - 字符集转换、检测和常用字符集常量
OpenClass - Class in cloud.opencode.base.core
Class Utility Class - Class loading, type checking, generics handling and classpath operations Class 工具类 - 类加载、类型判断、泛型处理和类路径操作
openClosed(C, C) - Static method in class cloud.opencode.base.core.Range
Creates an open-closed range (lower, upper].
OpenEnum - Class in cloud.opencode.base.core
Enum Utility Class - Validation, retrieval, mapping, filtering and conversion for enums 枚举工具类 - 枚举的验证、获取、映射、过滤和转换
OpenException - Exception Class in cloud.opencode.base.core.exception
OpenException - Unified exception base class for OpenCode components OpenException - OpenCode 组件统一异常基类
OpenException(String) - Constructor for exception class cloud.opencode.base.core.exception.OpenException
Creates 创建异常
OpenException(String, String, String) - Constructor for exception class cloud.opencode.base.core.exception.OpenException
Creates 创建异常(带组件和错误码)
OpenException(String, String, String, Throwable) - Constructor for exception class cloud.opencode.base.core.exception.OpenException
Creates 创建异常(完整参数)
OpenException(String, Throwable) - Constructor for exception class cloud.opencode.base.core.exception.OpenException
Creates 创建异常(带原因)
OpenHex - Class in cloud.opencode.base.core
Hexadecimal Utility Class - Hex encoding, decoding and validation 十六进制工具类 - 十六进制编码、解码和验证
OpenIllegalArgumentException - Exception Class in cloud.opencode.base.core.exception
Illegal Argument Exception - Parameter validation exception 参数校验异常 - 方法参数验证异常
OpenIllegalArgumentException(String) - Constructor for exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Creates 创建参数异常
OpenIllegalArgumentException(String, Throwable) - Constructor for exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Creates 创建参数异常(带原因)
OpenIllegalStateException - Exception Class in cloud.opencode.base.core.exception
Illegal State Exception - Object state validation exception 状态异常 - 对象状态验证异常
OpenIllegalStateException(String) - Constructor for exception class cloud.opencode.base.core.exception.OpenIllegalStateException
Creates 创建状态异常
OpenIllegalStateException(String, Throwable) - Constructor for exception class cloud.opencode.base.core.exception.OpenIllegalStateException
Creates 创建状态异常(带原因)
OpenIOException - Exception Class in cloud.opencode.base.core.exception
IO Exception Wrapper - Wrap checked IOException as unchecked IO 异常包装 - 将受检 IOException 包装为非受检异常
OpenIOException(String) - Constructor for exception class cloud.opencode.base.core.exception.OpenIOException
Creates 创建 IO 异常
OpenIOException(String, String, Throwable) - Constructor for exception class cloud.opencode.base.core.exception.OpenIOException
Creates 创建 IO 异常(指定错误码)
OpenIOException(String, Throwable) - Constructor for exception class cloud.opencode.base.core.exception.OpenIOException
Creates 创建 IO 异常(包装原始 IOException)
OpenMath - Class in cloud.opencode.base.core
Math Utility Class - High-precision arithmetic, statistics and number theory functions 数学工具类 - 高精度算术运算、统计函数和数论函数
OpenNumber - Class in cloud.opencode.base.core
Number Utility Class - Validation, parsing, conversion, formatting and arithmetic operations 数值工具类 - 验证、解析、转换、格式化和算术运算
OpenObject - Class in cloud.opencode.base.core
Object Utility Class - Comprehensive object operations 对象工具类 - 全面的对象操作支持
OpenRadix - Class in cloud.opencode.base.core
Radix Conversion Utility Class - Binary, octal, decimal, hexadecimal and custom radix conversions 进制转换工具类 - 二进制、八进制、十进制、十六进制和自定义进制转换
OpenRandom - Class in cloud.opencode.base.core.random
Random Utility Class - Comprehensive random generation utilities 随机工具类 - 全面的随机生成工具
OpenStream - Class in cloud.opencode.base.core
Stream Utility Class - Enhanced Stream operations with JDK 25 Gatherers support Stream工具类 - 增强的Stream操作,支持JDK 25 Gatherers
OpenStream.IndexedValue<T> - Record Class in cloud.opencode.base.core
Indexed value record 带索引的值记录
OpenStringBase - Class in cloud.opencode.base.core
Basic String Utility Class - Minimal string operations for core module 基础字符串工具类 - 核心模块的最小化字符串操作
OpenThread - Class in cloud.opencode.base.core.thread
Thread Utility Class - Thread pool creation and management 线程工具类 - 线程池创建和管理
OpenTimeoutException - Exception Class in cloud.opencode.base.core.exception
Timeout Exception - Operation timeout exception 超时异常 - 操作超时异常
OpenTimeoutException(String) - Constructor for exception class cloud.opencode.base.core.exception.OpenTimeoutException
Creates 创建超时异常
OpenTimeoutException(String, Throwable) - Constructor for exception class cloud.opencode.base.core.exception.OpenTimeoutException
Creates 创建超时异常(带原因)
OpenTimeoutException(String, Duration) - Constructor for exception class cloud.opencode.base.core.exception.OpenTimeoutException
Creates 创建超时异常(带超时时长)
OpenTimeoutException(String, Duration, Throwable) - Constructor for exception class cloud.opencode.base.core.exception.OpenTimeoutException
Creates 创建超时异常(完整参数)
OpenUnsupportedOperationException - Exception Class in cloud.opencode.base.core.exception
Unsupported Operation Exception - Operation not supported exception 不支持的操作异常 - 操作不支持异常
OpenUnsupportedOperationException(String) - Constructor for exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
Creates 创建不支持操作异常
OpenUnsupportedOperationException(String, Throwable) - Constructor for exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
Creates 创建不支持操作异常(带原因)
OptionalUtil - Class in cloud.opencode.base.core.stream
Optional Utility - Enhanced Optional operations Optional 工具类 - 增强的 Optional 操作
OptionalUtil.TriFunction<T,U,V,R> - Interface in cloud.opencode.base.core.stream
Three-argument function interface.
or(boolean...) - Static method in class cloud.opencode.base.core.OpenBoolean
Logical OR operation 逻辑或操作
or(boolean...) - Static method in class cloud.opencode.base.core.primitives.Booleans
Returns true if any value is true (logical OR) | 任一值为 true 时返回 true(逻辑或)
or(CheckedPredicate) - Method in interface cloud.opencode.base.core.func.CheckedPredicate
Logical OR 逻辑或
Order(String, Sort.Direction) - Constructor for record class cloud.opencode.base.core.page.Sort.Order
Creates an instance of a Order record class.
Ordering<T> - Class in cloud.opencode.base.core
Ordering - Fluent comparator builder 排序器 - 流式比较器构建器
Ordering() - Constructor for class cloud.opencode.base.core.Ordering
 
ordinal(Enum) - Static method in class cloud.opencode.base.core.OpenEnum
Gets the ordinal of the enum value 获取枚举的 ordinal
orElseGet(Optional, Supplier) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Gets the value or computes a default 获取值或计算默认值
orElseThrow(Optional, Supplier) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Throws an exception if empty 如果为空则抛出异常
orNull(Optional) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Gets the value or returns null 获取值或返回 null
outOfRange(String, Number, Number, Number) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Creates 创建"参数超出范围"异常

P

page() - Method in record class cloud.opencode.base.core.page.PageRequest
Returns the value of the page record component.
Page<T> - Class in cloud.opencode.base.core.page
Page - Pagination result container 分页 - 分页结果容器
Page() - Constructor for class cloud.opencode.base.core.page.Page
 
Page(long, long) - Constructor for class cloud.opencode.base.core.page.Page
 
PageRequest - Record Class in cloud.opencode.base.core.page
PageRequest - Immutable pagination request with sorting 分页请求 - 带排序的不可变分页请求
PageRequest(long, long, Sort) - Constructor for record class cloud.opencode.base.core.page.PageRequest
Creates an instance of a PageRequest record class.
pageSize() - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Gets the page size 获取页大小
pair(Map.Entry) - Static method in class cloud.opencode.base.core.tuple.TupleUtil
Creates a Pair from Map.Entry 从 Map.Entry 创建二元组
pair(L, R) - Static method in class cloud.opencode.base.core.tuple.TupleUtil
Creates a Pair 创建二元组
Pair<L,R> - Record Class in cloud.opencode.base.core.tuple
Pair - Immutable two-element tuple (Record implementation) 二元组 - 不可变的两元素元组(Record 实现)
Pair(L, R) - Constructor for record class cloud.opencode.base.core.tuple.Pair
Creates an instance of a Pair record class.
parallel(Callable, Callable, BiFunction) - Static method in class cloud.opencode.base.core.thread.StructuredTaskUtil
Execute two tasks in parallel and combine their results 并行执行两个任务并合并结果
parallel(Callable, Callable, BiFunction, Duration) - Static method in class cloud.opencode.base.core.thread.StructuredTaskUtil
Execute two tasks in parallel with timeout and combine their results 并行执行两个任务(带超时)并合并结果
parallel(Callable, Callable, Callable, StructuredTaskUtil.TriFunction) - Static method in class cloud.opencode.base.core.thread.StructuredTaskUtil
Execute three tasks in parallel and combine their results 并行执行三个任务并合并结果
parallelFilter(Collection, Predicate) - Static method in class cloud.opencode.base.core.OpenStream
Filters in parallel 并行过滤
parallelMap(Collection, int, Function) - Static method in class cloud.opencode.base.core.OpenStream
Processes in parallel with limited concurrency 使用有限并发进行并行处理
parallelMap(Collection, Function) - Static method in class cloud.opencode.base.core.OpenStream
Processes in parallel and collects results 并行处理并收集结果
parallelStream(Collection) - Static method in class cloud.opencode.base.core.stream.ParallelStreamUtil
Forces a parallel stream 强制使用并行流
ParallelStreamUtil - Class in cloud.opencode.base.core.stream
Parallel Stream Utility - Smart parallel/sequential stream selection 并行流工具类 - 智能选择并行/顺序流
parsePath(String) - Static method in class cloud.opencode.base.core.bean.BeanPath
Parses a path string into segments | 解析路径为段列表
partitionBy(Stream, Predicate) - Static method in class cloud.opencode.base.core.OpenStream
Partitions by predicate 按谓词分区
pathToClassName(String) - Static method in class cloud.opencode.base.core.OpenClass
Converts a resource path to a class name by replacing '/' with '.'.
peek(Stream, Consumer) - Static method in class cloud.opencode.base.core.OpenStream
Peeks at each element for debugging 查看每个元素用于调试
positive(String, Number) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Creates 创建"参数必须为正数"异常
pow(long, int) - Static method in class cloud.opencode.base.core.OpenMath
Computes base raised to the power of exponent using overflow-safe multiplication.
Preconditions - Class in cloud.opencode.base.core
Preconditions Class - Parameter validation and state checking (Guava-style) 前置条件校验类 - 参数校验和状态检查 (Guava 风格)
previous() - Method in record class cloud.opencode.base.core.page.PageRequest
 
priority(int) - Method in class cloud.opencode.base.core.thread.NamedThreadFactory.Builder
 
property() - Method in record class cloud.opencode.base.core.page.Sort.Order
Returns the value of the property record component.
PropertyConverter - Interface in cloud.opencode.base.core.bean
Property Converter Interface - Custom property conversion strategy 属性转换器接口 - 自定义属性转换策略
PropertyDescriptor - Class in cloud.opencode.base.core.bean
Bean Property Descriptor - Describes a single bean property Bean 属性描述符 - 描述单个 Bean 属性
PropertyDescriptor(String, Class, Method, Method, Field) - Constructor for class cloud.opencode.base.core.bean.PropertyDescriptor
 
PropertySegment(String) - Constructor for record class cloud.opencode.base.core.bean.BeanPath.PropertySegment
Creates an instance of a PropertySegment record class.
put(K, V) - Method in class cloud.opencode.base.core.builder.MapBuilder
Adds 添加键值对
putAll(Map) - Method in class cloud.opencode.base.core.builder.MapBuilder
Adds in batch 批量添加
putByte(long, byte) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Writes a byte to memory 写入 byte 到内存
putDouble(long, double) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Writes a double to memory 写入 double 到内存
putFloat(long, float) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Writes a float to memory 写入 float 到内存
putIf(boolean, K, V) - Method in class cloud.opencode.base.core.builder.MapBuilder
Conditionally adds a key-value pair 条件添加键值对
putIfNotNull(K, V) - Method in class cloud.opencode.base.core.builder.MapBuilder
Conditionally adds a key-value pair (adds when non-null) 条件添加键值对(非 null 时添加)
putInt(long, int) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Writes an int to memory 写入 int 到内存
putIntVolatile(VarHandle, Object, int) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Sets int field value (volatile, new API) 设置 int 字段值 (volatile,新 API)
putIntVolatile(Object, long, int) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
putLong(long, long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Writes a long to memory 写入 long 到内存
putLongVolatile(VarHandle, Object, long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Sets long field value (volatile, new API) 设置 long 字段值 (volatile,新 API)
putLongVolatile(Object, long, long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
putObjectVolatile(VarHandle, Object, Object) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Sets object reference (volatile, new API) 设置对象引用 (volatile,新 API)
putObjectVolatile(Object, long, Object) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
putShort(long, short) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Writes a short to memory 写入 short 到内存

Q

quadruple(A, B, C, D) - Static method in class cloud.opencode.base.core.tuple.TupleUtil
Creates a Quadruple 创建四元组
Quadruple<A,B,C,D> - Record Class in cloud.opencode.base.core.tuple
Quadruple - Immutable four-element tuple (Record implementation) 四元组 - 不可变的四元素元组(Record 实现)
Quadruple(A, B, C, D) - Constructor for record class cloud.opencode.base.core.tuple.Quadruple
Creates an instance of a Quadruple record class.

R

randomAlphabetic(int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random alphabetic string 生成随机字母字符串
randomAlphanumeric(int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random alphanumeric string 生成随机字母数字字符串
randomBoolean() - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random boolean 生成随机布尔值
randomBytes(int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random byte array 生成随机字节数组
randomDate(int, int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random date [startYear, endYear) 生成随机日期 [startYear, endYear)
randomDate(LocalDate, LocalDate) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random date (specified range) 生成随机日期(指定范围)
randomDouble() - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random double [0, 1) 生成随机浮点数 [0, 1)
randomDouble(double) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random double [0, bound) 生成随机浮点数 [0, bound)
randomDouble(double, double) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random double [origin, bound) 生成随机浮点数 [origin, bound)
randomElement(List) - Static method in class cloud.opencode.base.core.random.OpenRandom
Selects a random element from a list 从列表随机选择元素
randomElement(T...) - Static method in class cloud.opencode.base.core.random.OpenRandom
Selects a random element from an array 从数组随机选择元素
randomElements(List, int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Selects multiple random elements from a collection 从集合随机选择多个元素
randomInt(int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random integer [0, bound) 生成随机整数 [0, bound)
randomInt(int, int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random integer [origin, bound) 生成随机整数 [origin, bound)
randomLong(long) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random long [0, bound) 生成随机长整数 [0, bound)
randomLong(long, long) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random long [origin, bound) 生成随机长整数 [origin, bound)
randomLowerCase(int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random lowercase string 生成随机小写字母字符串
randomNumeric(int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random numeric string 生成随机数字字符串
randomString(int, String) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random string (custom character set) 生成随机字符串(自定义字符集)
randomUpperCase(int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a random uppercase string 生成随机大写字母字符串
range(int, int) - Static method in class cloud.opencode.base.core.OpenStream
Creates an int range stream 创建整数范围Stream
range(long, long) - Static method in class cloud.opencode.base.core.OpenStream
Creates a long range stream 创建长整数范围Stream
Range<C> - Class in cloud.opencode.base.core
Range - A contiguous span of values 范围 - 连续的值域
Range.BoundType - Enum Class in cloud.opencode.base.core
Bound type enum.
rangeClosed(int, int) - Static method in class cloud.opencode.base.core.OpenStream
Creates an int range stream (closed) 创建闭区间整数范围Stream
readFailed(String, Throwable) - Static method in exception class cloud.opencode.base.core.exception.OpenIOException
Creates 创建"读取失败"异常
readFailed(Path, Throwable) - Static method in exception class cloud.opencode.base.core.exception.OpenIOException
Creates 创建"读取失败"异常
readMethod() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
 
readOnly() - Static method in exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
Creates 创建"只读"异常
reallocateMemory(long, long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Reallocates direct memory 重新分配直接内存
reason() - Element in annotation interface cloud.opencode.base.core.annotation.Experimental
The reason this API is experimental.
RecordBuilder<T> - Class in cloud.opencode.base.core.builder
Record Builder - Fluent builder for Java Records Record 构建器 - Java Record 的流式构建器
RecordBuilder(Class) - Constructor for class cloud.opencode.base.core.builder.RecordBuilder
 
RecordUtil - Class in cloud.opencode.base.core.reflect
Record Utility Class - Java Record type operations Record 工具类 - Java Record 类型操作
ReflectUtil - Class in cloud.opencode.base.core.reflect
Reflection Utility Class - Core reflection operations with caching 反射工具类 - 核心反射操作,支持缓存优化
register(Class, T) - Static method in class cloud.opencode.base.core.singleton.Singleton
Registers a singleton instance (by type) 注册单例实例(按类型)
register(Type, Converter) - Static method in class cloud.opencode.base.core.convert.ConverterRegistry
Registers a converter 注册转换器
register(String, Object) - Static method in class cloud.opencode.base.core.singleton.Singleton
Registers a singleton instance (by name) 注册单例实例(按名称)
registerIfAbsent(Class, T) - Static method in class cloud.opencode.base.core.singleton.Singleton
Registers a singleton instance (if absent) 注册单例实例(如果不存在)
registerIfAbsent(String, T) - Static method in class cloud.opencode.base.core.singleton.Singleton
Registers a singleton instance (if absent, by name) 注册单例实例(如果不存在,按名称)
reload(Class) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Forces reload of SPI services 强制重新加载 SPI 服务
remove(Class) - Static method in class cloud.opencode.base.core.singleton.Singleton
Removes a singleton instance (by type) 移除单例实例(按类型)
remove(String) - Static method in class cloud.opencode.base.core.singleton.Singleton
Removes a singleton instance (by name) 移除单例实例(按名称)
remove(String) - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Removes the specified ThreadLocal 移除指定 ThreadLocal
remove(K) - Method in class cloud.opencode.base.core.builder.MapBuilder
Removes a key 移除键
remove(T[], int) - Static method in class cloud.opencode.base.core.OpenArray
Removes the element at the specified index.
removeAll(int[], int...) - Static method in class cloud.opencode.base.core.OpenArray
Removes elements at multiple indices from an int array.
removeAll(T[], int...) - Static method in class cloud.opencode.base.core.OpenArray
Removes elements at multiple indices.
removeBom(byte[]) - Static method in class cloud.opencode.base.core.OpenCharset
Removes the UTF-8 BOM header 移除 UTF-8 BOM 头
removeElement(T[], T) - Static method in class cloud.opencode.base.core.OpenArray
Removes the first occurrence of the specified element.
repeat(char, int) - Static method in class cloud.opencode.base.core.OpenChar
Repeats the character n times 重复字符 n 次
requireNonNullElseGet(T, Supplier) - Static method in class cloud.opencode.base.core.OpenObject
Returns the object if non-null, otherwise invokes the supplier (JDK 9+ style).
reset() - Method in class cloud.opencode.base.core.Stopwatch
Resets the stopwatch to zero and stops it 重置秒表为零并停止
resolveTypeArgument(Class, Class) - Static method in class cloud.opencode.base.core.OpenClass
Resolves the first type argument for the given generic superclass or interface.
reverse() - Method in enum class cloud.opencode.base.core.page.Sort.Direction
Returns the opposite direction.
reverse(boolean[]) - Static method in class cloud.opencode.base.core.primitives.Booleans
Reverses the array in-place | 原地反转数组
reverse(byte[]) - Static method in class cloud.opencode.base.core.primitives.Bytes
Reverses the array 反转数组
reverse(byte[], int, int) - Static method in class cloud.opencode.base.core.primitives.Bytes
Reverses the specified range of the array 反转数组指定范围
reverse(char[]) - Static method in class cloud.opencode.base.core.primitives.Chars
 
reverse(double[]) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
reverse(double[], int, int) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
reverse(float[]) - Static method in class cloud.opencode.base.core.primitives.Floats
 
reverse(int) - Static method in class cloud.opencode.base.core.OpenBit
Reverses all bits 反转所有位
reverse(int[]) - Static method in class cloud.opencode.base.core.OpenArray
Reverses the order of the elements in an int array.
reverse(int[]) - Static method in class cloud.opencode.base.core.primitives.Ints
Reverses the array 反转数组
reverse(int[], int, int) - Static method in class cloud.opencode.base.core.primitives.Ints
Reverses the specified range of the array 反转数组指定范围
reverse(long) - Static method in class cloud.opencode.base.core.OpenBit
Reverses all bits (long) 反转所有位(long)
reverse(long[]) - Static method in class cloud.opencode.base.core.primitives.Longs
Reverses the array 反转数组
reverse(long[], int, int) - Static method in class cloud.opencode.base.core.primitives.Longs
Reverses the specified range of the array 反转数组指定范围
reverse(short[]) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
reverse(T[]) - Static method in class cloud.opencode.base.core.OpenArray
Reverses the order of the elements in the array.
reverseBytes(int) - Static method in class cloud.opencode.base.core.OpenBit
Reverses the byte order 反转字节顺序
reverseBytes(long) - Static method in class cloud.opencode.base.core.OpenBit
Reverses the byte order (long) 反转字节顺序(long)
reversed() - Method in class cloud.opencode.base.core.Ordering
Returns the reverse ordering.
reversed() - Method in record class cloud.opencode.base.core.page.Sort.Order
 
right() - Method in record class cloud.opencode.base.core.tuple.Pair
Returns the value of the right record component.
right() - Method in record class cloud.opencode.base.core.tuple.Triple
Gets the right value (alias for third) 获取右值(第三个元素的别名)
rotate(double[], int) - Static method in class cloud.opencode.base.core.primitives.Doubles
Rotates the array 旋转数组
rotate(int[], int) - Static method in class cloud.opencode.base.core.primitives.Ints
Rotates the array 旋转数组
rotate(long[], int) - Static method in class cloud.opencode.base.core.primitives.Longs
Rotates the array 旋转数组
rotate(Object[], int) - Static method in class cloud.opencode.base.core.OpenArray
Rotates the elements of the array by the given distance (positive = right, negative = left).
rotateLeft(int, int) - Static method in class cloud.opencode.base.core.OpenBit
Rotates bits to the left 左旋转位
rotateLeft(long, int) - Static method in class cloud.opencode.base.core.OpenBit
Rotates bits to the left (long) 左旋转位(long)
rotateRight(int, int) - Static method in class cloud.opencode.base.core.OpenBit
Rotates bits to the right 右旋转位
rotateRight(long, int) - Static method in class cloud.opencode.base.core.OpenBit
Rotates bits to the right (long) 右旋转位(long)
round(double, int) - Static method in class cloud.opencode.base.core.OpenMath
Rounds a double value to the specified number of decimal places using half-up rounding.
round(double, int) - Static method in class cloud.opencode.base.core.OpenNumber
Rounds the double value to the specified number of decimal places.
round(BigDecimal, int) - Static method in class cloud.opencode.base.core.OpenNumber
Rounds the BigDecimal value to the specified scale using half-up rounding.
round(BigDecimal, int, RoundingMode) - Static method in class cloud.opencode.base.core.OpenNumber
Rounds the BigDecimal value to the specified scale with the given rounding mode.
roundHalfEven(BigDecimal, int) - Static method in class cloud.opencode.base.core.OpenNumber
Rounds the BigDecimal value using banker's rounding (HALF_EVEN).
run() - Method in interface cloud.opencode.base.core.exception.ExceptionUtil.CheckedRunnable
 
run() - Method in interface cloud.opencode.base.core.func.CheckedRunnable
Executes an operation that may throw a checked exception 执行操作,可能抛出受检异常
run(Callable) - Static method in class cloud.opencode.base.core.thread.StructuredTaskUtil
Execute a single task with structured concurrency semantics 使用结构化并发语义执行单个任务
run(Callable, Duration) - Static method in class cloud.opencode.base.core.thread.StructuredTaskUtil
Execute a single task with timeout 执行单个任务(带超时)
runAsync(Runnable) - Static method in class cloud.opencode.base.core.thread.OpenThread
Executes a task asynchronously 异步执行任务
runAsync(Runnable, Executor) - Static method in class cloud.opencode.base.core.thread.OpenThread
Executes a task asynchronously (with specified executor) 异步执行任务(指定执行器)
runQuietly() - Method in interface cloud.opencode.base.core.func.CheckedRunnable
Silently executes, ignoring exceptions 静默执行,忽略异常
runWhere(ScopedValue, T, Runnable) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Bind a value to a ScopedValue and execute a Runnable task 将值绑定到 ScopedValue 并执行 Runnable 任务
runWhere(ScopedValue, T1, ScopedValue, T2, Runnable) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Bind two values to two ScopedValues and execute a Runnable task 将两个值绑定到两个 ScopedValue 并执行 Runnable 任务
runWhere(ScopedValue, T1, ScopedValue, T2, ScopedValue, T3, Runnable) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Bind three values to three ScopedValues and execute a Runnable task 将三个值绑定到三个 ScopedValue 并执行 Runnable 任务
runWithContext(String, T, Runnable) - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Executes in the specified context 在指定上下文中执行

S

saturatedCast(long) - Static method in class cloud.opencode.base.core.OpenNumber
Converts a long to an int, clamping to Integer.MAX_VALUE or Integer.MIN_VALUE on overflow.
saturatedCast(long) - Static method in class cloud.opencode.base.core.primitives.Ints
Saturated conversion (long to int) 饱和转换(long 转 int)
saturatedCast(long) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
saturatedCast(BigDecimal) - Static method in class cloud.opencode.base.core.OpenNumber
Converts a BigDecimal to an int, clamping on overflow.
ScopedValueUtil - Class in cloud.opencode.base.core.thread
ScopedValue Utility - JDK 25 Scoped Values support (JEP 506) ScopedValue 工具类 - JDK 25 作用域值支持 (JEP 506)
second() - Method in record class cloud.opencode.base.core.tuple.Pair
Gets the second element (alias for right) 获取第二个元素(右值的别名)
second() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Returns the value of the second record component.
second() - Method in record class cloud.opencode.base.core.tuple.Triple
Returns the value of the second record component.
secureAlphanumeric(int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a secure random alphanumeric string 生成安全随机字母数字字符串
secureBytes(int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a secure random byte array 生成安全随机字节数组
secureInt(int) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a secure random integer 生成安全随机整数
secureLong() - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a secure random long 生成安全随机长整数
secureString(int, String) - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a secure random string (custom character set) 生成安全随机字符串(自定义字符集)
secureUUID() - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a secure UUID (based on SecureRandom) 生成安全 UUID(基于 SecureRandom)
sequentialStream(Collection) - Static method in class cloud.opencode.base.core.stream.ParallelStreamUtil
Forces a sequential stream 强制使用顺序流
serialize(Serializable) - Static method in class cloud.opencode.base.core.OpenObject
Serializes the object to a byte array.
set(Object, String, Object) - Static method in class cloud.opencode.base.core.bean.BeanPath
Sets a property value by path | 通过路径设置属性值
set(String, Object) - Method in class cloud.opencode.base.core.builder.BeanBuilder
Sets a property value | 设置属性值
set(String, Object) - Method in class cloud.opencode.base.core.builder.RecordBuilder
Sets a component value 设置组件值
set(String, T) - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Sets the ThreadLocal value 设置 ThreadLocal 值
set(Function, V) - Method in class cloud.opencode.base.core.builder.BeanBuilder
Type-safe property setting (using getter method reference) | 类型安全设置属性(使用 getter 方法引用)
setAll(Map) - Method in class cloud.opencode.base.core.builder.BeanBuilder
Sets multiple properties in batch | 批量设置属性
setAll(Map) - Method in class cloud.opencode.base.core.builder.RecordBuilder
Sets multiple component values at once 批量设置组件值
setBit(int, int) - Static method in class cloud.opencode.base.core.OpenBit
Sets the bit at the specified position 设置指定位置的位
setBit(long, int) - Static method in class cloud.opencode.base.core.OpenBit
Sets the bit at the specified position (long) 设置指定位置的位(long)
setCurrent(long) - Method in class cloud.opencode.base.core.page.Page
 
setFieldValue(Object, String, Object) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Sets the field value 设置字段值
setIf(boolean, String, Object) - Method in class cloud.opencode.base.core.builder.BeanBuilder
Conditionally sets a property | 条件设置属性
setIf(boolean, String, Object) - Method in class cloud.opencode.base.core.builder.RecordBuilder
Conditionally sets a component value 条件设置组件值
setIfNotNull(String, Object) - Method in class cloud.opencode.base.core.builder.BeanBuilder
Conditionally sets a property (sets when non-null) | 条件设置属性(非 null 时设置)
setIfNotNull(String, Object) - Method in class cloud.opencode.base.core.builder.RecordBuilder
Sets a component value only if the value is not null 条件设置组件值(非 null 时设置)
setMemory(long, long, byte) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Sets memory value 设置内存值
setProperties(Object, Map) - Static method in class cloud.opencode.base.core.bean.OpenBean
Sets multiple properties in batch 批量设置属性
setProperty(Object, String, Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Sets a property value 设置属性值
setPropertyWithConvert(Object, String, Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Sets a property value with type conversion 设置属性值(带类型转换)
setRecords(List) - Method in class cloud.opencode.base.core.page.Page
 
setSize(long) - Method in class cloud.opencode.base.core.page.Page
 
setStaticFieldValue(Class, String, Object) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Sets the static field value 设置静态字段值
setTotal(long) - Method in class cloud.opencode.base.core.page.Page
 
setValue(Object, Object) - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
Sets the property value on the given bean 设置属性值
setValue(Object, Field, Object) - Static method in class cloud.opencode.base.core.reflect.FieldUtil
Sets the field value 设置字段值
setWithCreate(Object, String, Object) - Static method in class cloud.opencode.base.core.bean.BeanPath
Sets a property value by path, auto-creating intermediate objects | 通过路径设置属性值(自动创建中间对象)
Shorts - Class in cloud.opencode.base.core.primitives
Short Array Utility Class - Guava-style operations for short primitive arrays short 数组工具类 - Guava 风格的 short 原始类型数组操作
shuffle(List) - Static method in class cloud.opencode.base.core.random.OpenRandom
Shuffles a list 打乱列表顺序
shuffle(T[]) - Static method in class cloud.opencode.base.core.OpenArray
Randomly shuffles the elements of the array.
shuffle(T[]) - Static method in class cloud.opencode.base.core.random.OpenRandom
Shuffles an array 打乱数组顺序
shutdownGracefully(ExecutorService, Duration) - Static method in class cloud.opencode.base.core.thread.OpenThread
Gracefully shuts down the thread pool 优雅关闭线程池
shutdownNow(ExecutorService) - Static method in class cloud.opencode.base.core.thread.OpenThread
Immediately shuts down the thread pool 立即关闭线程池
signum(int) - Static method in class cloud.opencode.base.core.OpenMath
Returns the signum of the value: -1, 0, or 1.
signum(long) - Static method in class cloud.opencode.base.core.OpenMath
Returns the signum of the long value: -1, 0, or 1.
simpleUUID() - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a simple UUID (without hyphens) 生成简单 UUID(无横线)
since() - Element in annotation interface cloud.opencode.base.core.annotation.Experimental
The version since which this API is experimental.
singleton(C) - Static method in class cloud.opencode.base.core.Range
Creates a singleton range [value, value].
Singleton - Class in cloud.opencode.base.core.singleton
Singleton Container - Global singleton instance registry 单例容器 - 全局单例实例注册表
size() - Method in class cloud.opencode.base.core.builder.MapBuilder
Gets 获取当前大小
size() - Static method in class cloud.opencode.base.core.convert.ConverterRegistry
Gets 获取所有已注册类型数量
size() - Method in record class cloud.opencode.base.core.page.PageRequest
Returns the value of the size record component.
size() - Static method in class cloud.opencode.base.core.singleton.Singleton
Gets the count of all type-based singletons 获取所有类型单例数量
size(Object) - Static method in class cloud.opencode.base.core.container.ContainerUtil
Returns the size of the container object.
skip(Stream, long) - Static method in class cloud.opencode.base.core.OpenStream
Skips first n elements 跳过前n个元素
skipNulls() - Method in class cloud.opencode.base.core.Joiner
Returns a joiner that skips null values.
skipNullValues() - Method in class cloud.opencode.base.core.Joiner.MapJoiner
Returns a map joiner that skips entries with null values.
sleep(Duration) - Static method in class cloud.opencode.base.core.thread.OpenThread
Puts the thread to sleep 线程睡眠
sleepInterruptibly(Duration) - Static method in class cloud.opencode.base.core.thread.OpenThread
Interruptible sleep 可中断睡眠
sleepMillis(long) - Static method in class cloud.opencode.base.core.thread.OpenThread
Puts the thread to sleep (milliseconds) 线程睡眠(毫秒)
sleepSeconds(long) - Static method in class cloud.opencode.base.core.thread.OpenThread
Puts the thread to sleep (seconds) 线程睡眠(秒)
slidingWindow(Collection, int) - Static method in class cloud.opencode.base.core.OpenStream
Creates a sliding window stream 创建滑动窗口流
slidingWindow(Collection, int, int) - Static method in class cloud.opencode.base.core.OpenStream
Creates a sliding window stream with custom step 创建自定义步长的滑动窗口流
sneakyThrow(Throwable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Silently throws a checked exception 静默抛出受检异常
sort() - Method in record class cloud.opencode.base.core.page.PageRequest
Returns the value of the sort record component.
Sort - Class in cloud.opencode.base.core.page
Sort - Sort specification for queries 排序 - 查询排序规范
Sort.Direction - Enum Class in cloud.opencode.base.core.page
Sort direction.
Sort.Order - Record Class in cloud.opencode.base.core.page
A single sort order: property + direction.
sortDescending(double[]) - Static method in class cloud.opencode.base.core.primitives.Doubles
Sorts in descending order 降序排序
sortDescending(double[], int, int) - Static method in class cloud.opencode.base.core.primitives.Doubles
Sorts the specified range in descending order 降序排序指定范围
sortDescending(int[]) - Static method in class cloud.opencode.base.core.primitives.Ints
Sorts in descending order 降序排序
sortDescending(int[], int, int) - Static method in class cloud.opencode.base.core.primitives.Ints
Sorts the specified range in descending order 降序排序指定范围
sortDescending(long[]) - Static method in class cloud.opencode.base.core.primitives.Longs
Sorts in descending order 降序排序
sortDescending(long[], int, int) - Static method in class cloud.opencode.base.core.primitives.Longs
Sorts the specified range in descending order 降序排序指定范围
sorted(Stream, Comparator) - Static method in class cloud.opencode.base.core.OpenStream
Sorts stream 排序流
sortedCopy(Iterable) - Method in class cloud.opencode.base.core.Ordering
Returns a sorted copy of the given iterable.
SPACE - Static variable in class cloud.opencode.base.core.OpenStringBase
Space string constant 空格字符串常量
span(Range) - Method in class cloud.opencode.base.core.Range
Returns the minimal range enclosing both this range and another.
SpiLoader - Class in cloud.opencode.base.core.spi
SPI Loader - Service Provider Interface loading utility SPI 加载器 - 服务提供者接口加载工具
split(CharSequence) - Method in class cloud.opencode.base.core.Splitter.MapSplitter
Splits the input into a map.
split(CharSequence) - Method in class cloud.opencode.base.core.Splitter
Splits the given string and returns an iterable of parts.
Splitter - Class in cloud.opencode.base.core
Splitter - Fluent string splitting utility 分割器 - 流式字符串分割工具
Splitter.MapSplitter - Class in cloud.opencode.base.core
A splitter that produces a map from key-value pair strings.
splitToList(CharSequence) - Method in class cloud.opencode.base.core.Splitter
Splits the given string and returns a list of parts.
splitToStream(CharSequence) - Method in class cloud.opencode.base.core.Splitter
Splits the given string and returns a stream of parts.
start() - Method in class cloud.opencode.base.core.Stopwatch
Starts or resumes the stopwatch 启动或恢复秒表
startsWith(String, String) - Static method in class cloud.opencode.base.core.OpenStringBase
Checks if the string starts with the specified prefix 检查是否以指定前缀开始
state(boolean, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言状态条件
staticFieldOffset(Field) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
stdDev(double...) - Static method in class cloud.opencode.base.core.OpenMath
Calculates the population standard deviation of the given values.
stop() - Method in class cloud.opencode.base.core.Stopwatch
Stops the stopwatch 停止秒表
Stopwatch - Class in cloud.opencode.base.core
Stopwatch - A lightweight timing utility for measuring elapsed time 秒表 - 用于测量经过时间的轻量级计时工具
stream(Collection) - Static method in class cloud.opencode.base.core.stream.ParallelStreamUtil
Selects sequential or parallel stream based on collection size 根据集合大小智能选择顺序/并行流
stream(Collection, int) - Static method in class cloud.opencode.base.core.stream.ParallelStreamUtil
Selects sequential or parallel stream based on collection size (custom threshold) 根据集合大小智能选择顺序/并行流(自定义阈值)
stream(Optional) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Converts to Stream 转为 Stream
StructuredTaskUtil - Class in cloud.opencode.base.core.thread
StructuredTaskScope Utility - JDK 25 Structured Concurrency support (JEP 505) 结构化并发工具类 - JDK 25 结构化并发支持 (JEP 505)
StructuredTaskUtil.TriFunction<T1,T2,T3,R> - Interface in cloud.opencode.base.core.thread
Functional interface for combining three values 用于合并三个值的函数式接口
subarray(byte[], int, int) - Static method in class cloud.opencode.base.core.OpenArray
Returns a byte subarray from startInclusive to endExclusive.
subarray(byte[], int, int) - Static method in class cloud.opencode.base.core.primitives.Bytes
Returns a sub-array 获取子数组
subarray(int[], int, int) - Static method in class cloud.opencode.base.core.OpenArray
Returns an int subarray from startInclusive to endExclusive.
subarray(long[], int, int) - Static method in class cloud.opencode.base.core.OpenArray
Returns a long subarray from startInclusive to endExclusive.
subarray(T[], int, int) - Static method in class cloud.opencode.base.core.OpenArray
Returns a subarray from startInclusive (inclusive) to endExclusive (exclusive).
subtract(BigDecimal, BigDecimal) - Static method in class cloud.opencode.base.core.OpenMath
High-precision subtraction of two BigDecimal values.
subtract(BigDecimal, BigDecimal) - Static method in class cloud.opencode.base.core.OpenNumber
High-precision subtraction.
sum(double...) - Static method in class cloud.opencode.base.core.OpenMath
Calculates the sum of the given double values.
sum(int...) - Static method in class cloud.opencode.base.core.OpenMath
Calculates the sum of the given int values using overflow-safe addition.
sum(long...) - Static method in class cloud.opencode.base.core.OpenMath
Calculates the sum of the given long values using overflow-safe addition.
sumDouble(DoubleStream) - Static method in class cloud.opencode.base.core.OpenStream
Gets sum of doubles 获取双精度数和
sumInt(IntStream) - Static method in class cloud.opencode.base.core.OpenStream
Gets sum of integers 获取整数和
sumLong(LongStream) - Static method in class cloud.opencode.base.core.OpenStream
Gets sum of longs 获取长整数和
Suppliers - Class in cloud.opencode.base.core
Suppliers - Utility methods for working with Supplier instances Supplier 工具类 - 提供 Supplier 实例的实用方法
supplyAsync(Supplier) - Static method in class cloud.opencode.base.core.thread.OpenThread
Executes asynchronously and returns a result 异步执行并返回结果
supplyAsync(Supplier, Executor) - Static method in class cloud.opencode.base.core.thread.OpenThread
Executes asynchronously and returns a result (with specified executor) 异步执行并返回结果(指定执行器)
swap() - Method in record class cloud.opencode.base.core.tuple.Pair
Swaps left and right values 交换左右值
swap(int[], int, int) - Static method in class cloud.opencode.base.core.OpenArray
Swaps two elements in an int array.
swap(Object[], int, int) - Static method in class cloud.opencode.base.core.OpenArray
Swaps two elements in the array.
swap(Object[], int, int, int) - Static method in class cloud.opencode.base.core.OpenArray
Swaps a series of elements of the given length starting at two offsets.
symbol() - Method in enum class cloud.opencode.base.core.compare.CompareUtil.Operator
Get the symbol representation.
synchronizedSupplier(Supplier) - Static method in class cloud.opencode.base.core.Suppliers
Returns a supplier that synchronizes on itself before calling the delegate's get() method.

T

takeWhile(Stream, Predicate) - Static method in class cloud.opencode.base.core.OpenStream
Takes elements while predicate is true 在谓词为真时获取元素
test(T) - Method in interface cloud.opencode.base.core.func.CheckedPredicate
Tests a condition that may throw a checked exception 测试条件,可能抛出受检异常
testBit(int, int) - Static method in class cloud.opencode.base.core.OpenBit
Tests whether the bit at the specified position is set 测试指定位置的位是否被设置
testBit(long, int) - Static method in class cloud.opencode.base.core.OpenBit
Tests whether the bit at the specified position is set (long) 测试指定位置的位是否被设置(long)
testOrDefault(T, boolean) - Method in interface cloud.opencode.base.core.func.CheckedPredicate
Silently tests, returning the specified default on exception 静默测试,异常时返回指定默认值
testQuietly(T) - Method in interface cloud.opencode.base.core.func.CheckedPredicate
Silently tests, returning false on exception 静默测试,异常时返回 false
thenComparing(Comparator) - Method in class cloud.opencode.base.core.Ordering
Returns a compound ordering with a secondary comparator.
thenComparing(Function) - Method in class cloud.opencode.base.core.Ordering
Returns a compound ordering using a key extractor.
third() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Returns the value of the third record component.
third() - Method in record class cloud.opencode.base.core.tuple.Triple
Returns the value of the third record component.
ThreadLocalUtil - Class in cloud.opencode.base.core.thread
ThreadLocal Utility - Global named ThreadLocal management ThreadLocal 工具类 - 全局命名的 ThreadLocal 管理
throwException(Throwable) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Throws an exception (unchecked) - uses sneaky throw, no Unsafe needed 抛出异常(不检查)- 使用 sneaky throw,无需 Unsafe
toArray() - Method in record class cloud.opencode.base.core.tuple.Pair
Converts to an array 转换为数组
toArray() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Converts to an array 转换为数组
toArray() - Method in record class cloud.opencode.base.core.tuple.Triple
Converts to an array 转换为数组
toArray(Collection) - Static method in class cloud.opencode.base.core.primitives.Bytes
Converts a Collection to an array 从 Collection 转为数组
toArray(Collection) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
toArray(Collection) - Static method in class cloud.opencode.base.core.primitives.Floats
 
toArray(Collection) - Static method in class cloud.opencode.base.core.primitives.Ints
Converts from Collection to array 从 Collection 转为数组
toArray(Collection) - Static method in class cloud.opencode.base.core.primitives.Longs
Converts from Collection to array 从 Collection 转为数组
toArray(Collection) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
toArray(Collection) - Static method in class cloud.opencode.base.core.primitives.Booleans
Converts a Collection to a boolean array | 将 Collection 转换为 boolean 数组
toArray(Collection) - Static method in class cloud.opencode.base.core.primitives.Chars
 
toBase(long, int) - Static method in class cloud.opencode.base.core.OpenRadix
Converts decimal to any radix (2-36) 十进制转任意进制(2-36)
toBaseExtended(long, int) - Static method in class cloud.opencode.base.core.OpenRadix
Converts decimal to any radix (2-62, extended) 十进制转任意进制(2-62,扩展)
toBean(Map, Class) - Static method in class cloud.opencode.base.core.bean.OpenBean
Converts a Map to a Bean Map 转 Bean
toBean(Map, Class, Map) - Static method in class cloud.opencode.base.core.bean.OpenBean
Converts a Map to a Bean with property name mapping Map 转 Bean(带属性映射)
toBeanFromUnderlineKey(Map, Class) - Static method in class cloud.opencode.base.core.bean.OpenBean
Converts a Map with underline keys to a Bean Map 转 Bean(下划线 key 转驼峰)
toBigDecimal(String) - Static method in class cloud.opencode.base.core.OpenNumber
Parses the string as a BigDecimal, returning null on failure.
toBigDecimal(String, BigDecimal) - Static method in class cloud.opencode.base.core.OpenNumber
Parses the string as a BigDecimal, returning the default value on failure.
toBigInteger(String) - Static method in class cloud.opencode.base.core.OpenNumber
Parses the string as a BigInteger, returning null on failure.
toBool(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Boolean
toBool(Object, Boolean) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Boolean,带默认值
toBoolean(int) - Static method in class cloud.opencode.base.core.OpenBoolean
Converts an integer to boolean (0 is false, others are true) 整数转 boolean(0 为 false,其他为 true)
toBoolean(Boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Boolean 转 boolean(null 安全)
toBoolean(String) - Static method in class cloud.opencode.base.core.OpenBoolean
Converts a string to boolean 字符串转 boolean
toBooleanObject(boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
boolean 转 Boolean
toBooleanObject(String) - Static method in class cloud.opencode.base.core.OpenBoolean
Converts a string to Boolean (null-safe) 字符串转 Boolean(null 安全)
toByte(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Byte
toByte(Object, Byte) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Byte,带默认值
toByteArray(char) - Static method in class cloud.opencode.base.core.primitives.Chars
 
toByteArray(double) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
toByteArray(float) - Static method in class cloud.opencode.base.core.primitives.Floats
 
toByteArray(int) - Static method in class cloud.opencode.base.core.primitives.Ints
Converts int to byte array (big-endian) int 转 byte 数组(大端序)
toByteArray(long) - Static method in class cloud.opencode.base.core.primitives.Longs
Converts long to byte array (big-endian) long 转 byte 数组(大端序)
toByteArray(short) - Static method in class cloud.opencode.base.core.primitives.Shorts
 
toBytes(String) - Static method in class cloud.opencode.base.core.OpenCharset
Converts a string to a byte array (UTF-8) 字符串转字节数组(UTF-8)
toBytes(String, String) - Static method in class cloud.opencode.base.core.OpenCharset
Converts a string to a byte array (specified charset name) 字符串转字节数组(指定字符集名称)
toBytes(String, Charset) - Static method in class cloud.opencode.base.core.OpenCharset
Converts a string to a byte array (specified charset) 字符串转字节数组(指定字符集)
toCallable() - Method in interface cloud.opencode.base.core.func.CheckedCallable
Converts 转换为 JDK Callable
toChar(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Character
toChar(Object, Character) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Character,带默认值
toCodePoint(char) - Static method in class cloud.opencode.base.core.OpenChar
Converts to a Unicode code point 转为 Unicode 码点
toDebugString(Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns a debug string with the object's class name, identity hash and value.
toDigit(char) - Static method in class cloud.opencode.base.core.OpenChar
Converts character to its numeric value (0-9) 字符转数字值(0-9)
toDigit(char, int) - Static method in class cloud.opencode.base.core.OpenChar
Converts character to its numeric value with the specified radix 字符转数字值(指定进制)
toDouble(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Double
toDouble(Object, Double) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Double,带默认值
toDouble(String, double) - Static method in class cloud.opencode.base.core.OpenNumber
Parses the string as a double, returning the default value on failure.
toEntry() - Method in record class cloud.opencode.base.core.tuple.Pair
Converts to Map.Entry 转换为 Map.Entry
toFirstPair() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Extracts the first two elements as a Pair 提取前两个元素为 Pair
toFirstPair() - Method in record class cloud.opencode.base.core.tuple.Triple
Extracts the first two elements as a Pair 提取前两个元素为 Pair
toFirstTriple() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Extracts the first three elements as a Triple 提取前三个元素为 Triple
toFloat(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Float
toFloat(Object, Float) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Float,带默认值
toFloat(String, float) - Static method in class cloud.opencode.base.core.OpenNumber
Parses the string as a float, returning the default value on failure.
toggleCase(char) - Static method in class cloud.opencode.base.core.OpenChar
Toggles the case 切换大小写
toHex(int) - Static method in class cloud.opencode.base.core.OpenHex
Converts an integer to a hex string 整数转十六进制字符串
toHex(long) - Static method in class cloud.opencode.base.core.OpenHex
Converts a long to a hex string 长整数转十六进制字符串
toHexString(char) - Static method in class cloud.opencode.base.core.OpenChar
Converts to a hexadecimal string 转十六进制字符串
toInt(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Integer
toInt(Object, Integer) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Integer,带默认值
toInt(String) - Static method in class cloud.opencode.base.core.OpenHex
Converts a hex string to an integer 十六进制字符串转整数
toInt(String, int) - Static method in class cloud.opencode.base.core.OpenNumber
Parses the string as an int, returning the default value on failure.
toIntArray(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 int 数组
toInteger(boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
boolean 转整数(true=1, false=0)
toInteger(Boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Boolean 转整数(null=0)
toLastPair() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Extracts the last two elements as a Pair 提取后两个元素为 Pair
toLastPair() - Method in record class cloud.opencode.base.core.tuple.Triple
Extracts the last two elements as a Pair 提取后两个元素为 Pair
toLastTriple() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Extracts the last three elements as a Triple 提取后三个元素为 Triple
toList(Object, Class) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 List
toList(T...) - Static method in class cloud.opencode.base.core.OpenArray
Converts an array to a mutable List.
toLong(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Long
toLong(Object, Long) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Long,带默认值
toLong(String) - Static method in class cloud.opencode.base.core.OpenHex
Converts a hex string to a long 十六进制字符串转长整数
toLong(String, long) - Static method in class cloud.opencode.base.core.OpenNumber
Parses the string as a long, returning the default value on failure.
toLongArray(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 long 数组
toLowerCase(char) - Static method in class cloud.opencode.base.core.OpenChar
Converts to lowercase 转为小写
toLowerCase(String) - Static method in class cloud.opencode.base.core.OpenStringBase
Safe lowercase conversion 安全转小写
toMap(Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Converts a Bean to a Map Bean 转 Map
toMap(Object) - Static method in class cloud.opencode.base.core.reflect.RecordUtil
Converts a Record to Map Record 转 Map
toMap(Object[][]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a two-dimensional array to a Map.
toMap(Object, String...) - Static method in class cloud.opencode.base.core.bean.OpenBean
Converts a Bean to a Map with ignored properties Bean 转 Map(带忽略属性)
toMap(Stream, Function) - Static method in class cloud.opencode.base.core.OpenStream
Collects to map with key extractor 使用键提取器收集为Map
toMap(Stream, Function, Function) - Static method in class cloud.opencode.base.core.OpenStream
Collects to map with key and value extractors 使用键和值提取器收集为Map
toMapNonNull(Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Converts a Bean to a Map with only non-null properties Bean 转 Map(仅包含非空属性)
toObject(boolean[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a boolean array to a Boolean array. boolean 数组转 Boolean 数组
toObject(byte[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a byte array to a Byte array. byte 数组转 Byte 数组
toObject(char[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a char array to a Character array. char 数组转 Character 数组
toObject(double[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a double array to a Double array. double 数组转 Double 数组
toObject(int[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts an int array to an Integer array. int 数组转 Integer 数组
toObject(long[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a long array to a Long array. long 数组转 Long 数组
toOptional(T) - Static method in class cloud.opencode.base.core.OpenObject
Wraps the object in an Optional.
toPage() - Method in record class cloud.opencode.base.core.page.PageRequest
 
toParallelIf(Stream, boolean) - Static method in class cloud.opencode.base.core.stream.ParallelStreamUtil
Converts the stream to parallel if the condition is met 将流转为并行流(如果条件满足)
toPrimitive(Boolean[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a Boolean array to a boolean array.
toPrimitive(Byte[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a Byte array to a byte array.
toPrimitive(Character[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a Character array to a char array.
toPrimitive(Double[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a Double array to a double array.
toPrimitive(Integer[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts an Integer array to an int array.
toPrimitive(Integer[], int) - Static method in class cloud.opencode.base.core.OpenArray
Converts an Integer array to an int array with a specified value for null elements.
toPrimitive(Long[]) - Static method in class cloud.opencode.base.core.OpenArray
Converts a Long array to a long array.
toRecord(Object, Class) - Static method in class cloud.opencode.base.core.bean.OpenBean
Converts a Bean to a Record Bean 转 Record
toSequential(Stream) - Static method in class cloud.opencode.base.core.stream.ParallelStreamUtil
Converts the stream to sequential 将流转为顺序流
toSet(Object, Class) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Set
toSet(T...) - Static method in class cloud.opencode.base.core.OpenArray
Converts an array to a Set.
toShort(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Short
toShort(Object, Short) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 Short,带默认值
toSql() - Method in record class cloud.opencode.base.core.page.Sort.Order
Renders this order as a SQL fragment, e.g.
toSql() - Method in class cloud.opencode.base.core.page.Sort
Renders this Sort as a SQL ORDER BY fragment (without the ORDER BY keyword).
toStr(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 String
toStr(Object, String) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 String,带默认值
toStrArray(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts 转换为 String 数组
toString() - Method in record class cloud.opencode.base.core.bean.BeanPath.IndexSegment
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.bean.BeanPath.MapKeySegment
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.bean.BeanPath.PropertySegment
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
 
toString() - Method in class cloud.opencode.base.core.convert.TypeReference
 
toString() - Method in class cloud.opencode.base.core.MoreObjects.ToStringHelper
Returns the formatted string representation.
toString() - Method in record class cloud.opencode.base.core.OpenStream.IndexedValue
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.core.page.Page
 
toString() - Method in record class cloud.opencode.base.core.page.PageRequest
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.page.Sort.Order
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.core.page.Sort
 
toString() - Method in class cloud.opencode.base.core.Range
 
toString() - Method in class cloud.opencode.base.core.Stopwatch
Returns a human-readable string representation of the elapsed time 返回人类可读的经过时间字符串
toString() - Method in record class cloud.opencode.base.core.tuple.Pair
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.tuple.Quadruple
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.tuple.Triple
Returns a string representation of this record class.
toString(byte[]) - Static method in class cloud.opencode.base.core.OpenCharset
Converts a byte array to a string (UTF-8) 字节数组转字符串(UTF-8)
toString(byte[], String) - Static method in class cloud.opencode.base.core.OpenCharset
Converts a byte array to a string (specified charset name) 字节数组转字符串(指定字符集名称)
toString(byte[], Charset) - Static method in class cloud.opencode.base.core.OpenCharset
Converts a byte array to a string (specified charset) 字节数组转字符串(指定字符集)
toString(char) - Static method in class cloud.opencode.base.core.OpenChar
Converts character to string (cache-optimized) 字符转字符串(缓存优化)
toString(int) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Gets the string representation of the modifiers 获取修饰符字符串表示
toString(Boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Boolean 转字符串
toString(Class) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Gets the modifier string of a class 获取类的修饰符字符串
toString(Object) - Static method in class cloud.opencode.base.core.OpenObject
Returns a string representation of the object, or "null" if the object is null.
toString(Object, String) - Static method in class cloud.opencode.base.core.OpenObject
Returns a string representation of the object, or the specified default if null.
toString(Member) - Static method in class cloud.opencode.base.core.reflect.ModifierUtil
Gets the modifier string of a member 获取成员的修饰符字符串
toStringHelper(Class) - Static method in class cloud.opencode.base.core.MoreObjects
Creates a ToStringHelper with the given class name.
toStringHelper(Object) - Static method in class cloud.opencode.base.core.MoreObjects
Creates a ToStringHelper for the given instance.
toStringHelper(String) - Static method in class cloud.opencode.base.core.MoreObjects
Creates a ToStringHelper with the given string as the class name.
toStringOnOff(Boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Converts to 转为 on/off 字符串
toStringYesNo(Boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Converts to 转为 yes/no 字符串
toStringYN(Boolean) - Static method in class cloud.opencode.base.core.OpenBoolean
Converts to 转为 Y/N 字符串
toUnderlineKeyMap(Object) - Static method in class cloud.opencode.base.core.bean.OpenBean
Converts a Bean to a Map with underline keys Bean 转 Map(驼峰转下划线 key)
toUnicode(char) - Static method in class cloud.opencode.base.core.OpenChar
Converts to Unicode representation (\\uXXXX) 转 Unicode 表示 (\\uXXXX)
toUnmodifiableList(Stream) - Static method in class cloud.opencode.base.core.OpenStream
Collects to unmodifiable list 收集为不可变列表
toUnmodifiableSet(Stream) - Static method in class cloud.opencode.base.core.OpenStream
Collects to unmodifiable set 收集为不可变集合
toUnsignedInt(byte) - Static method in class cloud.opencode.base.core.primitives.Bytes
Converts to an unsigned int 转为无符号 int
toUnsignedLong(byte) - Static method in class cloud.opencode.base.core.primitives.Bytes
Converts to an unsigned long 转为无符号 long
toUpperCase(char) - Static method in class cloud.opencode.base.core.OpenChar
Converts to uppercase 转为大写
toUpperCase(String) - Static method in class cloud.opencode.base.core.OpenStringBase
Safe uppercase conversion 安全转大写
treeMap() - Static method in class cloud.opencode.base.core.builder.MapBuilder
Creates 创建 TreeMap 构建器
trim(String) - Static method in class cloud.opencode.base.core.OpenStringBase
Safe trim 安全 trim
trimResults() - Method in class cloud.opencode.base.core.Splitter
Returns a splitter that trims whitespace from results.
trimResults(Function) - Method in class cloud.opencode.base.core.Splitter
Returns a splitter that trims results using the given function.
trimToEmpty(String) - Static method in class cloud.opencode.base.core.OpenStringBase
Returns empty string if empty after trim trim 后为空则返回空字符串
trimToNull(String) - Static method in class cloud.opencode.base.core.OpenStringBase
Returns null if empty after trim trim 后为空则返回 null
triple(A, B, C) - Static method in class cloud.opencode.base.core.tuple.TupleUtil
Creates a Triple 创建三元组
Triple<A,B,C> - Record Class in cloud.opencode.base.core.tuple
Triple - Immutable three-element tuple (Record implementation) 三元组 - 不可变的三元素元组(Record 实现)
Triple(A, B, C) - Constructor for record class cloud.opencode.base.core.tuple.Triple
Creates an instance of a Triple record class.
Triple.TriFunction<A,B,C,R> - Interface in cloud.opencode.base.core.tuple
Three-argument function interface 三元函数接口
tryParse(String) - Static method in class cloud.opencode.base.core.primitives.Doubles
 
tryParse(String) - Static method in class cloud.opencode.base.core.primitives.Floats
 
tryParse(String) - Static method in class cloud.opencode.base.core.primitives.Ints
Attempts to parse as int 尝试解析为 int
tryParse(String) - Static method in class cloud.opencode.base.core.primitives.Longs
Attempts to parse as long 尝试解析为 long
tryParse(String, int) - Static method in class cloud.opencode.base.core.primitives.Ints
Attempts to parse as int (specified radix) 尝试解析为 int(指定进制)
tryParse(String, int) - Static method in class cloud.opencode.base.core.primitives.Longs
Attempts to parse as long (specified radix) 尝试解析为 long(指定进制)
tryParseDouble(String) - Static method in class cloud.opencode.base.core.OpenNumber
Tries to parse the string as a double, returning OptionalDouble.empty() on failure.
tryParseInt(String) - Static method in class cloud.opencode.base.core.OpenNumber
Tries to parse the string as an int, returning OptionalInt.empty() on failure.
tryParseLong(String) - Static method in class cloud.opencode.base.core.OpenNumber
Tries to parse the string as a long, returning OptionalLong.empty() on failure.
tumblingWindow(Collection, int) - Static method in class cloud.opencode.base.core.OpenStream
Creates a tumbling window stream (non-overlapping) 创建翻滚窗口流(不重叠)
TupleUtil - Class in cloud.opencode.base.core.tuple
Tuple Factory Utility - Convenience methods for creating tuples 元组工厂工具类 - 提供创建元组的便捷方法
type() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
 
TypeReference<T> - Class in cloud.opencode.base.core.convert
Type Reference - Captures generic type information at runtime 类型引用 - 运行时捕获泛型类型信息
TypeReference() - Constructor for class cloud.opencode.base.core.convert.TypeReference
 
TypeUtil - Class in cloud.opencode.base.core.convert
Type Utility Class - Type checking, conversion and metadata operations 类型工具类 - 类型检查、转换和元数据操作

U

unchecked() - Method in interface cloud.opencode.base.core.func.CheckedConsumer
Converts 转换为标准 Consumer,受检异常包装为 RuntimeException
unchecked() - Method in interface cloud.opencode.base.core.func.CheckedFunction
Converts 转换为标准 Function,受检异常包装为 RuntimeException
unchecked() - Method in interface cloud.opencode.base.core.func.CheckedPredicate
Converts 转换为标准 Predicate,受检异常包装为 RuntimeException
unchecked() - Method in interface cloud.opencode.base.core.func.CheckedRunnable
Converts 转换为标准 Runnable,受检异常包装为 RuntimeException
unchecked() - Method in interface cloud.opencode.base.core.func.CheckedSupplier
Converts 转换为标准 Supplier,受检异常包装为 RuntimeException
unmodifiable() - Method in class cloud.opencode.base.core.builder.MapBuilder
Sets 设置为不可变
unregister(Type) - Static method in class cloud.opencode.base.core.convert.ConverterRegistry
Removes a converter 移除转换器
UnsafeUtil - Class in cloud.opencode.base.core.reflect
Unsafe Utility Class - Modern low-level operations utility 底层操作工具类 - 现代化的底层操作封装
unsorted() - Static method in class cloud.opencode.base.core.page.Sort
 
UNSORTED - Static variable in class cloud.opencode.base.core.page.Sort
Unsorted singleton.
unsupported(String) - Static method in exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
Creates 创建"不支持的操作"异常
unsupportedType(Class) - Static method in exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
Creates 创建"不支持的类型"异常
unwrap(Throwable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Unwraps a nested exception 解包嵌套异常
unwrap(Throwable, Class) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Unwraps an exception of a specific type 解包特定类型的异常
upperBoundType() - Method in class cloud.opencode.base.core.Range
Returns the upper bound type.
upperEndpoint() - Method in class cloud.opencode.base.core.Range
Returns the upper endpoint if present.
US_ASCII - Static variable in class cloud.opencode.base.core.OpenCharset
 
useForNull(String) - Method in class cloud.opencode.base.core.Joiner.MapJoiner
Returns a map joiner that replaces null values with the given text.
useForNull(String) - Method in class cloud.opencode.base.core.Joiner
Returns a joiner that replaces null values with the given text.
UTF_16 - Static variable in class cloud.opencode.base.core.OpenCharset
 
UTF_16BE - Static variable in class cloud.opencode.base.core.OpenCharset
 
UTF_16LE - Static variable in class cloud.opencode.base.core.OpenCharset
 
UTF_8 - Static variable in class cloud.opencode.base.core.OpenCharset
 
UTF_8_NAME - Static variable in class cloud.opencode.base.core.OpenCharset
 
utf8ToGbk(String) - Static method in class cloud.opencode.base.core.OpenCharset
UTF-8 转 GBK
uuid() - Static method in class cloud.opencode.base.core.random.OpenRandom
Generates a UUID 生成 UUID

V

validIndex(int, int) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言索引有效 [0, size)
validIndex(int, int, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言索引有效 [0, size)
validIndex(T[], int, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言数组索引有效
validIndex(T, int, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言字符序列索引有效
validIndex(T, int, String) - Static method in class cloud.opencode.base.core.assertion.OpenAssert
Asserts 断言集合索引有效
value() - Method in record class cloud.opencode.base.core.bean.BeanPath.IndexSegment
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.core.bean.BeanPath.MapKeySegment
Returns the value of the value record component.
value() - Method in interface cloud.opencode.base.core.bean.BeanPath.PathSegment
Returns the segment value | 返回段值
value() - Method in record class cloud.opencode.base.core.bean.BeanPath.PropertySegment
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.core.OpenStream.IndexedValue
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.core.tuple.Pair
Gets the value (alias for right, for Map scenarios) 获取值(右值的别名,用于 Map 场景)
valueOf(String) - Static method in enum class cloud.opencode.base.core.compare.CompareUtil.Operator
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.core.page.Sort.Direction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.core.Range.BoundType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cloud.opencode.base.core.compare.CompareUtil.Operator
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.core.page.Sort.Direction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.core.Range.BoundType
Returns an array containing the constants of this enum class, in the order they are declared.
variance(double...) - Static method in class cloud.opencode.base.core.OpenMath
Calculates the population variance of the given values.
VerifyCodeUtil - Class in cloud.opencode.base.core.random
Verification Code Utility - Generate secure verification codes 验证码工具类 - 生成安全验证码
VerifyCodeUtil.Builder - Class in cloud.opencode.base.core.random
Verification code builder 验证码构建器

W

where(ScopedValue, T) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Create a ScopedValue.Carrier with a single binding 创建带有单个绑定的 ScopedValue.Carrier
withFormatter(Function) - Method in class cloud.opencode.base.core.Joiner
Returns a joiner that formats values using the given function.
withKeyValueSeparator(char) - Method in class cloud.opencode.base.core.Joiner
Returns a map joiner using the given key-value separator.
withKeyValueSeparator(char) - Method in class cloud.opencode.base.core.Splitter
Returns a map splitter using the given key-value separator.
withKeyValueSeparator(Splitter) - Method in class cloud.opencode.base.core.Splitter
Returns a map splitter using the given splitter for key-value pairs.
withKeyValueSeparator(String) - Method in class cloud.opencode.base.core.Joiner
Returns a map joiner using the given key-value separator.
withKeyValueSeparator(String) - Method in class cloud.opencode.base.core.Splitter
Returns a map splitter using the given key-value separator.
withPage(long) - Method in record class cloud.opencode.base.core.page.PageRequest
 
withSort(Sort) - Method in record class cloud.opencode.base.core.page.PageRequest
 
wrap(IOException) - Static method in exception class cloud.opencode.base.core.exception.OpenIOException
Wraps 包装 IOException
wrapAndReturn(ExceptionUtil.CheckedSupplier) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Wraps 包装受检异常为运行时异常并返回结果
wrapAndThrow(ExceptionUtil.CheckedRunnable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Wraps 包装受检异常为运行时异常并抛出
writeFailed(String, Throwable) - Static method in exception class cloud.opencode.base.core.exception.OpenIOException
Creates 创建"写入失败"异常
writeFailed(Path, Throwable) - Static method in exception class cloud.opencode.base.core.exception.OpenIOException
Creates 创建"写入失败"异常
writeMethod() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
 

X

xor(boolean...) - Static method in class cloud.opencode.base.core.OpenBoolean
Logical XOR operation 逻辑异或操作
xor(boolean...) - Static method in class cloud.opencode.base.core.primitives.Booleans
Returns true if an odd number of values are true (logical XOR) | 奇数个 true 时返回 true(逻辑异或)

Z

zip(Stream, Stream, BiFunction) - Static method in class cloud.opencode.base.core.OpenStream
Zips two streams into pairs 将两个流合并成对
zipWithIndex(Stream) - Static method in class cloud.opencode.base.core.OpenStream
Zips stream with indices 将流与索引合并
A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form