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

abortIf(Predicate) - Method in class cloud.opencode.base.core.retry.Retry
Set a predicate to abort retry immediately when matched.
abortOn() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns the value of the abortOn record component.
abortOn(Class) - Method in class cloud.opencode.base.core.retry.Retry
Set the exception type to abort retry immediately.
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) - Method in class cloud.opencode.base.core.collect.OpenCollections.ListBuilder
Adds an element to this builder.
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(Iterable) - Method in class cloud.opencode.base.core.collect.OpenCollections.ListBuilder
Adds all elements from the iterable to this builder.
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
ADDED - Enum constant in enum class cloud.opencode.base.core.bean.ChangeType
Property exists only in the new object 属性仅存在于新对象中
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.
alive() - Method in record class cloud.opencode.base.core.process.ProcessInfo
Returns the value of the alive record component.
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(Codec) - Method in interface cloud.opencode.base.core.codec.Codec
Composes this codec with another, creating a pipeline: this encodes first, then after 将此编解码器与另一个组合,创建管道:先由此编码,再由 after 编码
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 存在值
append(List, T) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns a new unmodifiable list with the given element appended.
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.func.TriFunction
Applies this function to the given arguments.
apply(A, B, C, D) - Method in interface cloud.opencode.base.core.func.QuadFunction
Applies this function to the given arguments.
apply(QuadFunction) - Method in record class cloud.opencode.base.core.tuple.Quadruple
Applies a quad-function 应用四元函数
apply(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(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
arch() - Method in record class cloud.opencode.base.core.system.CpuInfo
Returns the value of the arch record component.
arch() - Method in record class cloud.opencode.base.core.system.OsInfo
Returns the value of the arch record component.
archDisplay() - Method in record class cloud.opencode.base.core.system.CpuInfo
Returns a display-friendly architecture name.
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 | 升序
ascii85() - Static method in class cloud.opencode.base.core.codec.OpenCodec
Returns an ASCII85 (Base85) codec 返回 ASCII85(Base85)编解码器
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.
availableProcessors() - Static method in class cloud.opencode.base.core.Environment
Returns the number of processors available to the JVM.
availableProcessors() - Method in record class cloud.opencode.base.core.system.CpuInfo
Returns the value of the availableProcessors record component.
availableProcessors() - Method in record class cloud.opencode.base.core.system.OsInfo
Returns the value of the availableProcessors record component.
averageInt(IntStream) - Static method in class cloud.opencode.base.core.OpenStream
Gets average of integers 获取整数平均值

B

backoff() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns the value of the backoff record component.
backoff(BackoffStrategy) - Method in class cloud.opencode.base.core.retry.Retry
Set the backoff strategy.
BackoffStrategy - Interface in cloud.opencode.base.core.retry
BackoffStrategy - Defines delay calculation between retry attempts 退避策略 - 定义重试之间的延迟计算方式
BackoffStrategy.Exponential - Record Class in cloud.opencode.base.core.retry
Exponential backoff - delay grows by a multiplier each attempt.
BackoffStrategy.ExponentialWithJitter - Record Class in cloud.opencode.base.core.retry
Exponential backoff with jitter - adds randomness to prevent thundering herd.
BackoffStrategy.Fibonacci - Record Class in cloud.opencode.base.core.retry
Fibonacci backoff - delay follows the Fibonacci sequence.
BackoffStrategy.Fixed - Record Class in cloud.opencode.base.core.retry
Fixed backoff - returns the same delay for every attempt.
base32() - Static method in class cloud.opencode.base.core.codec.OpenCodec
Returns a Base32 codec (RFC 4648, with padding) 返回 Base32 编解码器(RFC 4648,带填充)
base32NoPadding() - Static method in class cloud.opencode.base.core.codec.OpenCodec
Returns a Base32 codec without padding 返回无填充 Base32 编解码器
base64() - Static method in class cloud.opencode.base.core.codec.OpenCodec
Returns a standard Base64 codec (RFC 4648, with padding) 返回标准 Base64 编解码器(RFC 4648,带填充)
base64NoPadding() - Static method in class cloud.opencode.base.core.codec.OpenCodec
Returns a Base64 codec without padding 返回无填充 Base64 编解码器
base64UrlSafe() - Static method in class cloud.opencode.base.core.codec.OpenCodec
Returns a URL-safe Base64 codec (RFC 4648, without padding) 返回 URL 安全 Base64 编解码器(RFC 4648,无填充)
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
BeanBuilder.SerializableFunction<T,R> - Interface in cloud.opencode.base.core.builder
Serializable Function - A function interface that supports serialization for method reference resolution 可序列化函数 - 支持序列化的函数接口,用于方法引用解析
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 | 属性段
bimap(Function, Function) - Method in interface cloud.opencode.base.core.result.Either
Transform both sides 转换两侧的值
bimap(Function, Function) - Method in record class cloud.opencode.base.core.result.Either.Left
 
bimap(Function, Function) - Method in record class cloud.opencode.base.core.result.Either.Right
 
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.collect.OpenCollections.ListBuilder
Builds and returns an unmodifiable list containing all added elements.
build() - Method in class cloud.opencode.base.core.collect.OpenCollections.MapBuilder
Builds and returns an unmodifiable map containing all added entries.
build() - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Builds the ProcessConfig.
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(String...) - Static method in class cloud.opencode.base.core.process.ProcessConfig
Creates a new builder with the given command.
builder(List) - Static method in class cloud.opencode.base.core.process.ProcessConfig
Creates a new builder with the given command list.
builder(T, T) - Static method in class cloud.opencode.base.core.bean.ObjectDiff
Creates an advanced diff builder for the two objects 为两个对象创建高级差异比较构建器
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.Carrier, ScopedValue.CallableOp) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Call with multiple scoped value bindings via Carrier.
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
Deprecated.
Use ScopedValueUtil instead for virtual-thread-safe context propagation.
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.
cause() - Method in record class cloud.opencode.base.core.result.Result.Failure
Returns the value of the cause record component.
ceil(double, int) - Static method in class cloud.opencode.base.core.OpenMath
Rounds a double value up to the specified number of decimal places.
changeType() - Method in record class cloud.opencode.base.core.bean.Diff
Returns the value of the changeType record component.
ChangeType - Enum Class in cloud.opencode.base.core.bean
Change Type Enum - Describes the type of change between two object properties 变更类型枚举 - 描述两个对象属性之间的变更类型
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
checkBetween(int, int, int, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the value is between min and max (inclusive), returns the value for chaining.
checkBetween(long, long, long, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the value is between min and max (inclusive), returns the value for chaining.
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)
checkNonNegative(int, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the value is non-negative (>= 0), returns the value for chaining.
checkNonNegative(long, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the value is non-negative (>= 0), returns the value for chaining.
checkNotBlank(String, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the string is not null and not blank (after trimming), returns it for chaining.
checkNotEmpty(T, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the collection is not null and not empty, returns it for chaining.
checkNotEmpty(T, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the map is not null and not empty, returns it for chaining.
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.
checkPositive(int, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the value is positive (> 0), returns the value for chaining.
checkPositive(long, String) - Static method in class cloud.opencode.base.core.Preconditions
Checks that the value is positive (> 0), returns the value for chaining.
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
children() - Static method in class cloud.opencode.base.core.process.ProcessManager
Returns direct children of the current JVM process.
children(long) - Static method in class cloud.opencode.base.core.process.ProcessManager
Returns direct children of the process with the given PID.
chunk(List, int) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Splits a list into fixed-size chunks.
CIRCULAR_REFERENCE - Enum constant in enum class cloud.opencode.base.core.bean.ChangeType
Circular reference detected during deep comparison 深度比较时检测到循环引用
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
Deprecated.
Use ScopedValueUtil instead for virtual-thread-safe context propagation.
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
Core utilities and foundational classes for the OpenCode Base library.
cloud.opencode.base.core.annotation - package cloud.opencode.base.core.annotation
Common annotations used across the OpenCode Base framework.
cloud.opencode.base.core.assertion - package cloud.opencode.base.core.assertion
Assertion utilities for precondition and invariant checking.
cloud.opencode.base.core.bean - package cloud.opencode.base.core.bean
Bean manipulation and property-copy utilities.
cloud.opencode.base.core.builder - package cloud.opencode.base.core.builder
Generic builder pattern support classes.
cloud.opencode.base.core.codec - package cloud.opencode.base.core.codec
Codec API - Composable encoding and decoding 编解码 API - 可组合的编码与解码
cloud.opencode.base.core.collect - package cloud.opencode.base.core.collect
Collection utilities and enhanced collection types.
cloud.opencode.base.core.compare - package cloud.opencode.base.core.compare
Comparison and ordering utilities.
cloud.opencode.base.core.concurrent - package cloud.opencode.base.core.concurrent
Concurrency primitives and synchronization utilities.
cloud.opencode.base.core.container - package cloud.opencode.base.core.container
Lightweight container and dependency-injection primitives.
cloud.opencode.base.core.convert - package cloud.opencode.base.core.convert
Type conversion and transformer utilities.
cloud.opencode.base.core.exception - package cloud.opencode.base.core.exception
Common exception types for the OpenCode Base framework.
cloud.opencode.base.core.func - package cloud.opencode.base.core.func
Functional interfaces and lambda utilities.
cloud.opencode.base.core.page - package cloud.opencode.base.core.page
Pagination model and query utilities.
cloud.opencode.base.core.primitives - package cloud.opencode.base.core.primitives
Primitive-type wrappers and array utilities.
cloud.opencode.base.core.process - package cloud.opencode.base.core.process
 
cloud.opencode.base.core.random - package cloud.opencode.base.core.random
Random value generation utilities.
cloud.opencode.base.core.reflect - package cloud.opencode.base.core.reflect
Reflection helpers and type-introspection utilities.
cloud.opencode.base.core.result - package cloud.opencode.base.core.result
Result and response wrapper types for operation outcomes.
cloud.opencode.base.core.retry - package cloud.opencode.base.core.retry
Retry utilities with configurable backoff strategies.
cloud.opencode.base.core.singleton - package cloud.opencode.base.core.singleton
Singleton pattern support and instance management.
cloud.opencode.base.core.spi - package cloud.opencode.base.core.spi
Service Provider Interface (SPI) loading and discovery utilities.
cloud.opencode.base.core.stream - package cloud.opencode.base.core.stream
Stream API extensions and collector utilities.
cloud.opencode.base.core.system - package cloud.opencode.base.core.system
 
cloud.opencode.base.core.thread - package cloud.opencode.base.core.thread
Threading utilities and thread-management helpers.
cloud.opencode.base.core.tuple - package cloud.opencode.base.core.tuple
Immutable tuple types (Pair, Triple, etc.).
Codec<I,O> - Interface in cloud.opencode.base.core.codec
Generic Codec Interface - Reversible encoding and decoding with composition support 通用编解码接口 - 支持可逆编解码和组合
collectionDiff(boolean) - Method in class cloud.opencode.base.core.bean.ObjectDiff.ObjectDiffBuilder
Enables or disables element-level collection diff 启用或禁用元素级别的集合差异比较
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
command() - Method in class cloud.opencode.base.core.process.ProcessConfig
Returns the command and arguments.
command() - Method in record class cloud.opencode.base.core.process.ProcessInfo
Returns the value of the command record component.
command() - Method in record class cloud.opencode.base.core.process.ProcessResult
Returns the value of the command record component.
command(String...) - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Sets the command and arguments.
command(List) - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Sets the command and arguments.
commandLine() - Method in record class cloud.opencode.base.core.process.ProcessInfo
Returns the value of the commandLine record component.
compare() - Method in class cloud.opencode.base.core.bean.ObjectDiff.ObjectDiffBuilder
Executes the comparison and returns the result 执行比较并返回结果
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.bean.ObjectDiff
Compares two objects shallowly, reporting property-level diffs 浅比较两个对象,报告属性级别的差异
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
 
concat(List, List) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns a new unmodifiable list that is the concatenation of two lists.
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 if the causal chain contains an exception of the given type.
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 值的数量
cpu() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns a snapshot of current CPU information.
cpuDuration() - Method in record class cloud.opencode.base.core.process.ProcessInfo
Returns the value of the cpuDuration record component.
CpuInfo - Record Class in cloud.opencode.base.core.system
Immutable snapshot of CPU information.
CpuInfo(int, String, double, double, double[]) - Constructor for record class cloud.opencode.base.core.system.CpuInfo
Compact canonical constructor with validation and defensive copy.
cpuLoad() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the current system-wide CPU load as a value in [0.0, 1.0], or -1.0 if not available.
cpuTime() - Method in record class cloud.opencode.base.core.process.ProcessInfo
Returns the CPU time as an Optional.
create() - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Creates a ThreadLocal 创建 ThreadLocal
createCachedThreadPool() - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a cached thread pool with default name prefix "opencode-cached-pool" 创建缓存线程池,使用默认名称前缀 "opencode-cached-pool"
createCachedThreadPool(String) - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a cached thread pool 创建缓存线程池
createFixedThreadPool(int) - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a fixed-size thread pool with default name prefix "opencode-fixed-pool" 创建固定大小线程池,使用默认名称前缀 "opencode-fixed-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) - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a scheduled thread pool with default name prefix "opencode-scheduled-pool" 创建调度线程池,使用默认名称前缀 "opencode-scheduled-pool"
createScheduledThreadPool(int, String) - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a scheduled thread pool 创建调度线程池
createSingleThreadExecutor() - Static method in class cloud.opencode.base.core.thread.OpenThread
Creates a single-thread executor with default name prefix "opencode-single-pool" 创建单线程执行器,使用默认名称前缀 "opencode-single-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
current() - Method in record class cloud.opencode.base.core.page.Page
Returns the value of the current record component.
current() - Static method in class cloud.opencode.base.core.process.ProcessManager
Returns information about the current JVM process.
currentPid() - Static method in class cloud.opencode.base.core.process.ProcessManager
Returns the PID of the current JVM process.
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 字符串解码为字节数组
decode(O) - Method in interface cloud.opencode.base.core.codec.Codec
Decodes the encoded value back to the original type 将编码值解码还原为原始类型
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 解码输入流包装器
deep(boolean) - Method in class cloud.opencode.base.core.bean.ObjectDiff.ObjectDiffBuilder
Enables or disables deep recursive comparison 启用或禁用深度递归比较
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.
DEFAULT - Static variable in record class cloud.opencode.base.core.retry.RetryConfig
Default configuration: 3 attempts, 100ms fixed delay.
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.
delay() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Fixed
Returns the value of the delay record component.
delay(int) - Method in interface cloud.opencode.base.core.retry.BackoffStrategy
Calculate the delay for the given attempt number.
delay(int) - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Exponential
 
delay(int) - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.ExponentialWithJitter
 
delay(int) - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Fibonacci
 
delay(int) - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Fixed
 
delay(Duration) - Method in class cloud.opencode.base.core.retry.Retry
Set a fixed delay between retries (convenience for backoff(BackoffStrategy.fixed(delay))).
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 | 降序
descendants() - Static method in class cloud.opencode.base.core.process.ProcessManager
Returns all descendants of the current JVM process.
descendants(long) - Static method in class cloud.opencode.base.core.process.ProcessManager
Returns all descendants of the process with the given PID.
deserialize(byte[]) - Static method in class cloud.opencode.base.core.OpenObject
 
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 的差异属性(指定属性)
Diff<T> - Record Class in cloud.opencode.base.core.bean
Diff Record - Represents a single property difference between two objects 差异记录 - 表示两个对象之间单个属性的差异
Diff(String, T, T, ChangeType) - Constructor for record class cloud.opencode.base.core.bean.Diff
Creates a Diff instance with validation 创建 Diff 实例(带验证)
difference(Set, Set) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns a new unmodifiable set containing elements in a but not in b.
DiffResult<T> - Record Class in cloud.opencode.base.core.bean
Diff Result Record - Contains the complete comparison result between two objects 差异结果记录 - 包含两个对象之间的完整比较结果
DiffResult(Class, List) - Constructor for record class cloud.opencode.base.core.bean.DiffResult
Creates a DiffResult with validation and defensive copy 创建 DiffResult(带验证和防御性拷贝)
diffs() - Method in record class cloud.opencode.base.core.bean.DiffResult
Returns the value of the diffs record component.
direction() - Method in record class cloud.opencode.base.core.page.Sort.Order
Returns the value of the direction record component.
disk(Path) - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns disk information for the file store containing the given path.
diskFree(Path) - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the free (unallocated) disk space for the given path, in bytes.
DiskInfo - Record Class in cloud.opencode.base.core.system
Immutable snapshot of disk/file-store information.
DiskInfo(String, String, long, long, long, boolean) - Constructor for record class cloud.opencode.base.core.system.DiskInfo
Compact canonical constructor with validation.
disks() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns information for all file stores (disks/partitions).
diskTotal(Path) - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the total disk space for the given path, in bytes.
diskUsable(Path) - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the usable disk space for the given path, in bytes.
distinctBy(List, Function) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns a new list with duplicates removed based on a key extractor.
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 在谓词为真时跳过元素
duration() - Method in record class cloud.opencode.base.core.process.ProcessResult
Returns the value of the duration record component.

E

Either<L,R> - Interface in cloud.opencode.base.core.result
Either Monad - Represents one of two possible values (Left or Right) Either Monad - 表示两种可能值之一(Left 或 Right)
Either.Left<L,R> - Record Class in cloud.opencode.base.core.result
Left - Represents the left case (typically error) Left - 表示左情况(通常为错误)
Either.Right<L,R> - Record Class in cloud.opencode.base.core.result
Right - Represents the right case (typically success) Right - 表示右情况(通常为成功)
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(long) - Static method in record class cloud.opencode.base.core.page.Page
Creates an empty Page with no records and zero total.
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(I) - Method in interface cloud.opencode.base.core.codec.Codec
Encodes the input value 编码输入值
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
 
environment() - Method in class cloud.opencode.base.core.process.ProcessConfig
Returns additional environment variables.
environment(String, String) - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Adds a single environment variable.
environment(Map) - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Adds multiple environment variables.
Environment - Class in cloud.opencode.base.core
Environment - System environment and runtime detection utility Environment - 系统环境与运行时检测工具
environmentVariables() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns an unmodifiable view of the system environment variables.
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.bean.Diff
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.bean.DiffResult
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.Page
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 record class cloud.opencode.base.core.process.ProcessInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.process.ProcessResult
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.result.Either.Left
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.result.Either.Right
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.result.Result.Failure
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.result.Result.Success
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Exponential
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.ExponentialWithJitter
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Fibonacci
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Fixed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.retry.RetryConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.system.CpuInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.system.DiskInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.system.MemoryInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.system.OsInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Indicates whether some other object is "equal to" this one.
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
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.0.3, use CheckedRunnable instead. Will be removed in a future version. 自 1.0.3 起弃用,请使用 CheckedRunnable 替代, 将在未来版本中移除。
ExceptionUtil.CheckedSupplier<T> - Interface in cloud.opencode.base.core.exception
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.0.3, use CheckedSupplier instead. Will be removed in a future version. 自 1.0.3 起弃用,请使用 CheckedSupplier 替代, 将在未来版本中移除。
exclude(String...) - Method in class cloud.opencode.base.core.bean.ObjectDiff.ObjectDiffBuilder
Sets the fields to exclude from comparison (blacklist) 设置要从比较中排除的字段(黑名单)
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)
execute() - Method in class cloud.opencode.base.core.retry.Retry
Execute the task with retry logic.
execute(ProcessConfig) - Static method in class cloud.opencode.base.core.process.ProcessManager
Executes a command with the given configuration and waits for completion.
execute(String...) - Static method in class cloud.opencode.base.core.process.ProcessManager
Executes a command and waits for completion, capturing stdout and stderr.
execute(Callable) - Static method in class cloud.opencode.base.core.retry.Retry
Execute a task with default retry settings (3 attempts, 100ms fixed delay).
execute(Callable, int) - Static method in class cloud.opencode.base.core.retry.Retry
Execute a task with the specified max attempts and default backoff.
execute(List) - Static method in class cloud.opencode.base.core.process.ProcessManager
Executes a command and waits for completion, capturing stdout and stderr.
executeAsync() - Method in class cloud.opencode.base.core.retry.Retry
Execute the task asynchronously with retry logic.
executeAsync(Executor) - Method in class cloud.opencode.base.core.retry.Retry
Execute the task asynchronously with retry logic using the specified executor.
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 | 检查路径是否存在
exitCode() - Method in record class cloud.opencode.base.core.process.ProcessResult
Returns the value of the exitCode record component.
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.
exponential(Duration, double) - Static method in interface cloud.opencode.base.core.retry.BackoffStrategy
Create an exponential backoff strategy.
Exponential(Duration, double) - Constructor for record class cloud.opencode.base.core.retry.BackoffStrategy.Exponential
Creates an instance of a Exponential record class.
exponentialBackoff(Duration, double) - Method in class cloud.opencode.base.core.retry.Retry
Set an exponential backoff strategy (convenience method).
exponentialWithJitter(Duration, double, double) - Static method in interface cloud.opencode.base.core.retry.BackoffStrategy
Create an exponential backoff strategy with jitter.
ExponentialWithJitter(Duration, double, double) - Constructor for record class cloud.opencode.base.core.retry.BackoffStrategy.ExponentialWithJitter
Creates an instance of a ExponentialWithJitter record class.
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).
failure(Throwable) - Static method in interface cloud.opencode.base.core.result.Result
Create a failed Result with the given cause 创建包含给定原因的失败 Result
Failure(Throwable) - Constructor for record class cloud.opencode.base.core.result.Result.Failure
Compact constructor enforcing non-null cause 紧凑构造器强制 cause 不为 null
fibonacci(int) - Static method in class cloud.opencode.base.core.OpenMath
Returns the n-th Fibonacci number (0-indexed: F(0)=0, F(1)=1, F(2)=1, ...).
fibonacci(Duration) - Static method in interface cloud.opencode.base.core.retry.BackoffStrategy
Create a Fibonacci backoff strategy.
Fibonacci(Duration) - Constructor for record class cloud.opencode.base.core.retry.BackoffStrategy.Fibonacci
Creates an instance of a Fibonacci record class.
field() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
 
fieldName() - Method in record class cloud.opencode.base.core.bean.Diff
Returns the value of the fieldName record component.
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(Predicate) - Method in class cloud.opencode.base.core.Lazy
Filter the value lazily.
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 从流中过滤空值
find(long) - Static method in class cloud.opencode.base.core.process.ProcessManager
Finds a process by its PID.
findByCommand(String) - Static method in class cloud.opencode.base.core.process.ProcessManager
Finds processes whose full command line contains the given string (case-insensitive).
findByName(String) - Static method in class cloud.opencode.base.core.process.ProcessManager
Finds processes whose command name contains the given string (case-insensitive).
findCause(Throwable, Class) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Finds the first exception of the given type in the causal chain.
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 延迟计算)
fixed(Duration) - Static method in interface cloud.opencode.base.core.retry.BackoffStrategy
Create a fixed backoff strategy.
Fixed(Duration) - Constructor for record class cloud.opencode.base.core.retry.BackoffStrategy.Fixed
Creates an instance of a Fixed record class.
fixedLength(int) - Static method in class cloud.opencode.base.core.Splitter
Creates a splitter that splits strings into fixed-length parts.
flatMap(Function) - Method in interface cloud.opencode.base.core.result.Either
Transform the Right value to another Either 将 Right 值转换为另一个 Either
flatMap(Function) - Method in record class cloud.opencode.base.core.result.Either.Left
 
flatMap(Function) - Method in record class cloud.opencode.base.core.result.Either.Right
 
flatMap(Function) - Method in class cloud.opencode.base.core.Lazy
Transform to another Lazy lazily 惰性转换为另一个 Lazy
flatMap(Function) - Method in record class cloud.opencode.base.core.result.Result.Failure
 
flatMap(Function) - Method in interface cloud.opencode.base.core.result.Result
Transform the success value to another Result.
flatMap(Function) - Method in record class cloud.opencode.base.core.result.Result.Success
 
flatMapNullable(Optional, Function) - Static method in class cloud.opencode.base.core.stream.OptionalUtil
Transforms the value inside Optional, handling null 转换 Optional 内的值,处理 null
flatten(List) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Flattens a list of lists into a single unmodifiable list.
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.
fold(Function, Function) - Method in interface cloud.opencode.base.core.result.Either
Fold both cases to a single result 将两种情况折叠为单一结果
fold(Function, Function) - Method in record class cloud.opencode.base.core.result.Either.Left
 
fold(Function, Function) - Method in record class cloud.opencode.base.core.result.Either.Right
 
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 using the JVM's default Locale.
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.
free() - Method in record class cloud.opencode.base.core.system.MemoryInfo
Returns the value of the free record component.
freeDisplay() - Method in record class cloud.opencode.base.core.system.MemoryInfo
Returns a human-readable representation of free memory.
freeMemory() - Static method in class cloud.opencode.base.core.Environment
Returns the amount of free memory in the JVM, in bytes.
freeMemory(long) - Static method in class cloud.opencode.base.core.reflect.UnsafeUtil
Frees direct memory 释放直接内存
frequencies(Collection) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns element frequencies as an unmodifiable map.
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(ProcessHandle) - Static method in record class cloud.opencode.base.core.process.ProcessInfo
Creates a ProcessInfo from a ProcessHandle.
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.
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 从码点转字符
fromCurrent() - Static method in record class cloud.opencode.base.core.process.ProcessInfo
Creates a ProcessInfo for the current JVM process.
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.func.CheckedSupplier
Gets 获取结果,可能抛出受检异常
get() - Method in class cloud.opencode.base.core.Lazy
Get the value, computing if necessary.
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
Deprecated.
Use ScopedValueUtil instead for virtual-thread-safe context propagation.
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
Deprecated.
Use ScopedValueUtil instead for virtual-thread-safe context propagation.
getAdded() - Method in record class cloud.opencode.base.core.bean.DiffResult
Returns only ADDED diffs 返回仅 ADDED 类型的差异
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 the complete causal chain as a list.
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 获取组件名称
getComponent() - Method in interface cloud.opencode.base.core.exception.OpenExceptionMeta
Component name identifying the logical source of the exception.
getComponent() - Method in exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Gets the component name 获取组件名称
getComponent() - Method in exception class cloud.opencode.base.core.exception.OpenIllegalStateException
Gets the component name 获取组件名称
getComponent() - Method in exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
 
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 获取转换器
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 获取错误码
getErrorCode() - Method in interface cloud.opencode.base.core.exception.OpenExceptionMeta
Stable machine-readable error code.
getErrorCode() - Method in exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Gets the error code 获取错误码
getErrorCode() - Method in exception class cloud.opencode.base.core.exception.OpenIllegalStateException
Gets the error code 获取错误码
getErrorCode() - Method in exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
 
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 方法
getIfBound(ScopedValue) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Get value if bound, otherwise empty Optional.
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 版本
getLaps() - Method in class cloud.opencode.base.core.Stopwatch
Returns all recorded lap durations as an unmodifiable list.
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 | 获取路径的最后一段
getLeft() - Method in interface cloud.opencode.base.core.result.Either
Get the Left value if present 获取 Left 值(如果存在)
getLeft() - Method in record class cloud.opencode.base.core.result.Either.Left
 
getLeft() - Method in record class cloud.opencode.base.core.result.Either.Right
 
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 the exception message, falling back to the class name if null.
getMetaPrefix() - Method in interface cloud.opencode.base.core.exception.OpenExceptionMeta
Convenience formatter combining component and error code.
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 获取参数数量最少的构造器
getModified() - Method in record class cloud.opencode.base.core.bean.DiffResult
Returns only MODIFIED diffs 返回仅 MODIFIED 类型的差异
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 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
Deprecated.
Use ScopedValueUtil instead for virtual-thread-safe context propagation.
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
 
getOrElse(Supplier) - Method in class cloud.opencode.base.core.Lazy
Get value or compute default if evaluation throws 获取值或计算默认值(如果求值抛出异常)
getOrElse(R) - Method in interface cloud.opencode.base.core.result.Either
Get Right value or default if Left 获取 Right 值或默认值(如果是 Left)
getOrElse(R) - Method in record class cloud.opencode.base.core.result.Either.Left
 
getOrElse(R) - Method in record class cloud.opencode.base.core.result.Either.Right
 
getOrElse(T) - Method in class cloud.opencode.base.core.Lazy
Get value or default if evaluation throws 获取值或默认值(如果求值抛出异常)
getOrElse(T) - Method in record class cloud.opencode.base.core.result.Result.Failure
 
getOrElse(T) - Method in interface cloud.opencode.base.core.result.Result
Get the success value, or return default if Failure 获取成功值,如果是 Failure 返回默认值
getOrElse(T) - Method in record class cloud.opencode.base.core.result.Result.Success
 
getOrElseGet(Supplier) - Method in record class cloud.opencode.base.core.result.Result.Failure
 
getOrElseGet(Supplier) - Method in interface cloud.opencode.base.core.result.Result
Get the success value, or compute default from Supplier if Failure 获取成功值,如果是 Failure 从 Supplier 计算默认值
getOrElseGet(Supplier) - Method in record class cloud.opencode.base.core.result.Result.Success
 
getOrElseThrow(Function) - Method in record class cloud.opencode.base.core.result.Result.Failure
 
getOrElseThrow(Function) - Method in interface cloud.opencode.base.core.result.Result
Get the success value, or throw an exception mapped from the cause 获取成功值,或抛出从原因映射的异常
getOrElseThrow(Function) - Method in record class cloud.opencode.base.core.result.Result.Success
 
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.
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 获取推荐的并行阈值
getRemoved() - Method in record class cloud.opencode.base.core.bean.DiffResult
Returns only REMOVED diffs 返回仅 REMOVED 类型的差异
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.
getRight() - Method in interface cloud.opencode.base.core.result.Either
Get the Right value if present 获取 Right 值(如果存在)
getRight() - Method in record class cloud.opencode.base.core.result.Either.Left
 
getRight() - Method in record class cloud.opencode.base.core.result.Either.Right
 
getRootCause(Throwable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Gets the root cause of the exception chain.
getRootCauseMessage(Throwable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Gets the root cause message.
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.
getStackTrace(Throwable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Gets the full stack trace as a string.
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 获取超时时长
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(List, Function) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Groups elements by a classifier function.
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 检查是否有默认构造器
hasDiffs() - Method in record class cloud.opencode.base.core.bean.DiffResult
Returns true if there are any non-UNCHANGED diffs 是否存在非 UNCHANGED 的差异
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.bean.Diff
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.bean.DiffResult
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.Page
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 record class cloud.opencode.base.core.process.ProcessInfo
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.process.ProcessResult
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.result.Either.Left
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.result.Either.Right
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.result.Result.Failure
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.result.Result.Success
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Exponential
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.ExponentialWithJitter
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Fibonacci
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Fixed
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.system.CpuInfo
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.system.MemoryInfo
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.system.OsInfo
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Returns a hash code value for this object.
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 record class cloud.opencode.base.core.page.Page
Returns true if there is a next 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 record class cloud.opencode.base.core.page.Page
Returns true if there is a previous page (i.e., current > 1).
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.
heapMemory() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns a snapshot of JVM heap memory information.
hex() - Static method in class cloud.opencode.base.core.codec.OpenCodec
Returns a lowercase hex codec 返回小写十六进制编解码器
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 十六进制转八进制
hexUpper() - Static method in class cloud.opencode.base.core.codec.OpenCodec
Returns an uppercase hex codec 返回大写十六进制编解码器
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)
hostname() - Method in record class cloud.opencode.base.core.system.OsInfo
Returns the value of the hostname record component.
hostname() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the machine hostname.
html() - Static method in class cloud.opencode.base.core.codec.OpenCodec
Returns an HTML entity codec (OWASP compliant) 返回 HTML 实体编解码器(符合 OWASP 规范)

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 an "immutable object" exception.
immutableSortedCopy(Iterable) - Method in class cloud.opencode.base.core.Ordering
Returns an immutable sorted copy of the given iterable.
include(String...) - Method in class cloud.opencode.base.core.bean.ObjectDiff.ObjectDiffBuilder
Sets the fields to include in comparison (whitelist); others are excluded 设置要包含在比较中的字段(白名单);其他字段被排除
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.
inheritIO() - Method in class cloud.opencode.base.core.process.ProcessConfig
Returns whether the process should inherit the parent's IO.
inheritIO(boolean) - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Sets whether the process should inherit the parent's IO streams.
initialDelay() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Exponential
Returns the value of the initialDelay record component.
initialDelay() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.ExponentialWithJitter
Returns the value of the initialDelay record component.
initialDelay() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Fibonacci
Returns the value of the initialDelay record component.
inputArguments() - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Returns the value of the inputArguments record component.
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.
intersection(Set, Set) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns a new unmodifiable set that is the intersection of two sets.
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.concurrent.VirtualTasks
Execute all tasks and return their results.
invokeAll(List, Duration) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Execute all tasks with a timeout.
invokeAllSettled(List) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Execute all tasks and collect every result as Result.success(Object) or Result.failure(Throwable).
invokeAllSettled(List, Duration) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Execute all tasks with a timeout and collect every result as Result.
invokeAny(List) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Execute all tasks and return the result of the first one to succeed.
invokeAny(List, Duration) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Execute all tasks with a timeout and return the first successful result.
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
isAlive(long) - Static method in class cloud.opencode.base.core.process.ProcessManager
Checks whether the process with the given PID is alive.
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 if the string is valid standard Base64 encoding (without decoding).
isBase64UrlSafe(String) - Static method in class cloud.opencode.base.core.OpenBase64
Checks if the string is valid URL-safe Base64 encoding (without decoding).
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.
isContainer() - Static method in class cloud.opencode.base.core.Environment
Best-effort detection of whether the JVM is running inside a container (Docker, Kubernetes, etc.).
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.
isEvaluated() - Method in class cloud.opencode.base.core.Lazy
Check if the value has been evaluated 检查值是否已被求值
isEven(int) - Static method in class cloud.opencode.base.core.OpenMath
Returns true if the value is even.
isFailure() - Method in record class cloud.opencode.base.core.result.Result.Failure
 
isFailure() - Method in interface cloud.opencode.base.core.result.Result
Check if this is a Failure 检查是否为失败
isFailure() - Method in record class cloud.opencode.base.core.result.Result.Success
 
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 方法
isGraalVmNativeImage() - Static method in class cloud.opencode.base.core.Environment
Checks whether the code is running as a GraalVM native image.
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 检查当前线程是否被中断
isJavaVersionAtLeast(int) - Static method in class cloud.opencode.base.core.Environment
Checks whether the current Java version is at least the given version.
isLambdaClass(Class) - Static method in class cloud.opencode.base.core.OpenClass
Returns true if the class was generated by a lambda expression.
isLeft() - Method in interface cloud.opencode.base.core.result.Either
Check if this is a Left 检查是否为 Left
isLeft() - Method in record class cloud.opencode.base.core.result.Either.Left
 
isLeft() - Method in record class cloud.opencode.base.core.result.Either.Right
 
isLetter(char) - Static method in class cloud.opencode.base.core.OpenChar
Checks whether the character is a letter 检查是否为字母
isLinux() - Static method in class cloud.opencode.base.core.Environment
Checks whether the current OS is Linux.
isLoadAvailable() - Method in record class cloud.opencode.base.core.system.CpuInfo
Checks whether load average data is available.
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 检查是否为小写字母
isMacOS() - Static method in class cloud.opencode.base.core.Environment
Checks whether the current OS is macOS (or Darwin).
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
 
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.
isOrCausedBy(Throwable, Class) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Checks if the throwable itself or any of its causes is of the given type.
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 实例
isRight() - Method in interface cloud.opencode.base.core.result.Either
Check if this is a Right 检查是否为 Right
isRight() - Method in record class cloud.opencode.base.core.result.Either.Left
 
isRight() - Method in record class cloud.opencode.base.core.result.Either.Right
 
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 检查是否为字符串类型
isSuccess() - Method in record class cloud.opencode.base.core.process.ProcessResult
Returns true if the process exited with code 0.
isSuccess() - Method in record class cloud.opencode.base.core.result.Result.Failure
 
isSuccess() - Method in interface cloud.opencode.base.core.result.Result
Check if this is a Success 检查是否为成功
isSuccess() - Method in record class cloud.opencode.base.core.result.Result.Success
 
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.Environment
Checks whether the current thread is a virtual thread.
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 检查是否为空白字符
isWindows() - Static method in class cloud.opencode.base.core.Environment
Checks whether the current OS is Windows.
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

javaHome() - Static method in class cloud.opencode.base.core.Environment
Returns the Java home directory path.
javaHome() - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Returns the value of the javaHome record component.
javaVendor() - Static method in class cloud.opencode.base.core.Environment
Returns the Java vendor string.
javaVendor() - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Returns the value of the javaVendor record component.
javaVersion() - Static method in class cloud.opencode.base.core.Environment
Returns the Java feature version number (e.g. 25 for JDK 25).
javaVersion() - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Returns the value of the javaVersion record component.
jitterFactor() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.ExponentialWithJitter
Returns the value of the jitterFactor record component.
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
kill(long) - Static method in class cloud.opencode.base.core.process.ProcessManager
Sends a normal termination request to the process with the given PID.
killForcibly(long) - Static method in class cloud.opencode.base.core.process.ProcessManager
Forcibly terminates the process with the given PID.

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.
Lazy<T> - Class in cloud.opencode.base.core
Lazy - Virtual-thread-safe lazy evaluation container using VarHandle CAS Lazy - 使用 VarHandle CAS 的虚拟线程安全惰性求值容器
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) 获取左值(第一个元素的别名)
left(L) - Static method in interface cloud.opencode.base.core.result.Either
Create a Left Either 创建 Left Either
Left(L) - Constructor for record class cloud.opencode.base.core.result.Either.Left
Creates an instance of a Left record class.
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 构建器
listAll() - Static method in class cloud.opencode.base.core.process.ProcessManager
Lists all visible processes on the system.
listBuilder() - Static method in class cloud.opencode.base.core.collect.OpenCollections
Creates a new OpenCollections.ListBuilder with default initial capacity.
listBuilder(int) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Creates a new OpenCollections.ListBuilder with the specified expected size.
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 服务实现(指定类加载器)
loadAverage() - Method in record class cloud.opencode.base.core.system.CpuInfo
Returns a defensive copy of the load average array.
loadAverage() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the system load averages for 1, 5, and 15 minutes.
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 服务实现,不存在则使用默认值
loadOrdered(Class) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Loads SPI service implementations sorted by priority.
loadSafe(Class) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Loads SPI service implementations, skipping any that throw during instantiation.
loadSafe(Class, ClassLoader) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Loads SPI service implementations with error isolation and a specified ClassLoader.
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.
LogSafe - Class in cloud.opencode.base.core
Log-Safe Text Sanitization 日志安全文本脱敏
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(Function) - Method in record class cloud.opencode.base.core.result.Either.Left
 
map(Function) - Method in interface cloud.opencode.base.core.result.Either
Transform the Right value 转换 Right 值
map(Function) - Method in record class cloud.opencode.base.core.result.Either.Right
 
map(Function) - Method in class cloud.opencode.base.core.Lazy
Transform the value lazily.
map(Function) - Method in record class cloud.opencode.base.core.result.Result.Failure
 
map(Function) - Method in interface cloud.opencode.base.core.result.Result
Transform the success value.
map(Function) - Method in record class cloud.opencode.base.core.result.Result.Success
 
map(Function) - Method in record class cloud.opencode.base.core.page.Page
Maps the records of this page using the given function, preserving pagination metadata.
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() - Static method in class cloud.opencode.base.core.collect.OpenCollections
Creates a new OpenCollections.MapBuilder with default initial capacity.
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 映射左值
mapLeft(Function) - Method in record class cloud.opencode.base.core.result.Either.Left
 
mapLeft(Function) - Method in interface cloud.opencode.base.core.result.Either
Transform the Left value 转换 Left 值
mapLeft(Function) - Method in record class cloud.opencode.base.core.result.Either.Right
 
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() - Method in record class cloud.opencode.base.core.system.MemoryInfo
Returns the value of the max record component.
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
 
maxAttempts() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns the value of the maxAttempts record component.
maxAttempts(int) - Method in class cloud.opencode.base.core.retry.Retry
Set the maximum number of attempts (including the initial attempt).
maxCollectionSize(int) - Method in class cloud.opencode.base.core.bean.ObjectDiff.ObjectDiffBuilder
Sets the maximum collection size for comparison; larger collections are marked UNCHANGED 设置比较的最大集合大小;超过限制的集合标记为 UNCHANGED
maxDelay() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns the value of the maxDelay record component.
maxDelay(Duration) - Method in class cloud.opencode.base.core.retry.Retry
Set the maximum delay cap.
maxDepth(int) - Method in class cloud.opencode.base.core.bean.ObjectDiff.ObjectDiffBuilder
Sets the maximum recursion depth for deep comparison 设置深度比较的最大递归深度
maxMemory() - Static method in class cloud.opencode.base.core.Environment
Returns the maximum amount of memory the JVM will attempt to use, in bytes.
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
Deprecated.
Use Lazy.of(java.util.function.Supplier) instead, which is virtual-thread safe.
memoizeWithExpiration(Supplier, long, TimeUnit) - Static method in class cloud.opencode.base.core.Suppliers
Deprecated.
Use Lazy.of(java.util.function.Supplier) instead, which is virtual-thread safe.
memoizeWithExpiration(Supplier, Duration) - Static method in class cloud.opencode.base.core.Suppliers
Deprecated.
Use Lazy.of(java.util.function.Supplier) instead, which is virtual-thread safe.
memory() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns a snapshot of physical memory information.
MemoryInfo - Record Class in cloud.opencode.base.core.system
Immutable snapshot of memory information.
MemoryInfo(long, long, long, long) - Constructor for record class cloud.opencode.base.core.system.MemoryInfo
Compact canonical constructor with validation.
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.
MODIFIED - Enum constant in enum class cloud.opencode.base.core.bean.ChangeType
Property value changed 属性值已修改
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.
multiplier() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Exponential
Returns the value of the multiplier record component.
multiplier() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.ExponentialWithJitter
Returns the value of the multiplier record component.
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() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns the value of the name record component.
name() - Method in record class cloud.opencode.base.core.system.OsInfo
Returns the value of the name record component.
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
 
newValue() - Method in record class cloud.opencode.base.core.bean.Diff
Returns the value of the newValue record component.
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 检查是否没有元素匹配
nonHeapMemory() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns a snapshot of JVM non-heap memory information.
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 a "not implemented" exception.
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

ObjectDiff - Class in cloud.opencode.base.core.bean
Object Difference Comparison Engine - Compares two objects and reports property-level diffs 对象差异比较引擎 - 比较两个对象并报告属性级别的差异
ObjectDiff.ObjectDiffBuilder<T> - Class in cloud.opencode.base.core.bean
Builder for advanced object diff comparison 高级对象差异比较构建器
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(int, String, String, Duration, List) - Static method in record class cloud.opencode.base.core.process.ProcessResult
Creates a new ProcessResult.
of(long, long) - Static method in record class cloud.opencode.base.core.page.PageRequest
 
of(long, long, long, long) - Static method in record class cloud.opencode.base.core.system.MemoryInfo
Creates a MemoryInfo with the given values.
of(long, long, long, List) - Static method in record class cloud.opencode.base.core.page.Page
Creates a new Page with the given parameters.
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(CheckedSupplier) - Static method in class cloud.opencode.base.core.Lazy
Create a Lazy from a CheckedSupplier.
of(CheckedSupplier) - Static method in interface cloud.opencode.base.core.result.Result
Create a Result by executing a CheckedSupplier, catching any exception as Failure 通过执行 CheckedSupplier 创建 Result,捕获任何异常为 Failure
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 class cloud.opencode.base.core.retry.Retry
Create a new Retry builder for the given task.
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(Supplier) - Static method in class cloud.opencode.base.core.Lazy
Create a Lazy from a Supplier 从 Supplier 创建 Lazy
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 构建器
offset() - Method in record class cloud.opencode.base.core.page.Page
Computes the zero-based offset for the current page.
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 构建器(指定实现)
ofPhysical(long, long) - Static method in record class cloud.opencode.base.core.system.MemoryInfo
Creates a MemoryInfo for physical memory where max equals total.
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 构建器
oldValue() - Method in record class cloud.opencode.base.core.bean.Diff
Returns the value of the oldValue record component.
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.
onExhausted() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns the value of the onExhausted record component.
onExhausted(Consumer) - Method in class cloud.opencode.base.core.retry.Retry
Set a callback invoked when all retry attempts are exhausted.
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.
onRetry() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns the value of the onRetry record component.
onRetry(BiConsumer) - Method in class cloud.opencode.base.core.retry.Retry
Set a callback invoked before each retry attempt.
onSuccess() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns the value of the onSuccess record component.
onSuccess(Consumer) - Method in class cloud.opencode.base.core.retry.Retry
Set a callback invoked when the task succeeds.
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 - Spring Assert-style validation for business application developers 断言工具类 - 面向业务应用开发者的 Spring Assert 风格验证
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].
OpenCodec - Class in cloud.opencode.base.core.codec
Codec Facade - Central entry point for encoding and decoding operations 编解码门面类 - 编解码操作的统一入口
OpenCollections - Class in cloud.opencode.base.core.collect
OpenCollections - Unmodifiable collection factory and utility methods.
OpenCollections.ListBuilder<T> - Class in cloud.opencode.base.core.collect
A builder for creating unmodifiable lists incrementally.
OpenCollections.MapBuilder<K,V> - Class in cloud.opencode.base.core.collect
A builder for creating unmodifiable maps incrementally.
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 创建异常(带原因)
OpenExceptionMeta - Interface in cloud.opencode.base.core.exception
Shared metadata interface for all Open* exceptions.
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 — enhanced drop-in for JDK UnsupportedOperationException.
OpenUnsupportedOperationException(String) - Constructor for exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
Creates with the given message.
OpenUnsupportedOperationException(String, String) - Constructor for exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
Creates with a custom error code.
OpenUnsupportedOperationException(String, Throwable) - Constructor for exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
Creates with message and cause.
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
orElse(Either) - Method in record class cloud.opencode.base.core.result.Either.Left
 
orElse(Either) - Method in interface cloud.opencode.base.core.result.Either
Return this or other Either if Left 返回本 Either 或其他 Either(如果是 Left)
orElse(Either) - Method in record class cloud.opencode.base.core.result.Either.Right
 
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
orThrow() - Method in record class cloud.opencode.base.core.process.ProcessResult
Returns this result if successful, otherwise throws an OpenException.
os() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns a snapshot of operating system information.
OsInfo - Record Class in cloud.opencode.base.core.system
Immutable snapshot of operating system information.
OsInfo(String, String, String, String, int, long, long) - Constructor for record class cloud.opencode.base.core.system.OsInfo
Compact canonical constructor with validation.
osName() - Static method in class cloud.opencode.base.core.Environment
Returns the operating system name.
outOfRange(String, Number, Number, Number) - Static method in exception class cloud.opencode.base.core.exception.OpenIllegalArgumentException
Creates 创建"参数超出范围"异常
output() - Method in record class cloud.opencode.base.core.process.ProcessResult

P

page() - Method in record class cloud.opencode.base.core.page.PageRequest
Returns the value of the page record component.
Page<T> - Record Class in cloud.opencode.base.core.page
Page - Immutable pagination result container 分页 - 不可变分页结果容器
Page(long, long, long, List) - Constructor for record class cloud.opencode.base.core.page.Page
Compact constructor with validation and defensive copy.
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.
pages() - Method in record class cloud.opencode.base.core.page.Page
Computes the total number of pages.
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.
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 并行处理并收集结果
parallelMap(List, Function) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Apply a mapping function to each item in parallel using virtual threads.
parallelMap(List, Function, int) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Apply a mapping function to each item in parallel with a concurrency limit.
parallelMap(List, Function, int, Duration) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Apply a mapping function with concurrency limit and timeout.
parallelMap(List, Function, Duration) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Apply a mapping function to each item in parallel with a timeout.
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 并行流工具类 - 智能选择并行/顺序流
parent() - Static method in class cloud.opencode.base.core.process.ProcessManager
Returns information about the parent process of the current JVM.
parsePath(String) - Static method in class cloud.opencode.base.core.bean.BeanPath
Parses a path string into segments | 解析路径为段列表
partition(List, Predicate) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Splits a list into two groups based on a predicate.
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(Consumer) - Method in record class cloud.opencode.base.core.result.Either.Left
 
peek(Consumer) - Method in interface cloud.opencode.base.core.result.Either
Execute action on Right value 对 Right 值执行操作
peek(Consumer) - Method in record class cloud.opencode.base.core.result.Either.Right
 
peek(Consumer) - Method in record class cloud.opencode.base.core.result.Result.Failure
 
peek(Consumer) - Method in interface cloud.opencode.base.core.result.Result
Execute action on Success value 对成功值执行操作
peek(Consumer) - Method in record class cloud.opencode.base.core.result.Result.Success
 
peek(Stream, Consumer) - Static method in class cloud.opencode.base.core.OpenStream
Peeks at each element for debugging 查看每个元素用于调试
peekFailure(Consumer) - Method in record class cloud.opencode.base.core.result.Result.Failure
 
peekFailure(Consumer) - Method in interface cloud.opencode.base.core.result.Result
Execute action on Failure cause 对失败原因执行操作
peekFailure(Consumer) - Method in record class cloud.opencode.base.core.result.Result.Success
 
peekLeft(Consumer) - Method in record class cloud.opencode.base.core.result.Either.Left
 
peekLeft(Consumer) - Method in interface cloud.opencode.base.core.result.Either
Execute action on Left value 对 Left 值执行操作
peekLeft(Consumer) - Method in record class cloud.opencode.base.core.result.Either.Right
 
physicalMemoryFree() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the free physical memory in bytes, or -1 if unavailable.
physicalMemoryTotal() - Method in record class cloud.opencode.base.core.system.OsInfo
Returns the value of the physicalMemoryTotal record component.
physicalMemoryTotal() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the total physical memory in bytes, or -1 if unavailable.
pid() - Static method in class cloud.opencode.base.core.Environment
Returns the process ID (PID) of the current JVM.
pid() - Method in record class cloud.opencode.base.core.process.ProcessInfo
Returns the value of the pid record component.
pid() - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Returns the value of the pid record component.
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 - Guava-style precondition checks for library/framework developers 前置条件校验类 - 面向库/框架开发者的 Guava 风格前置条件检查
prepend(T, List) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns a new unmodifiable list with the given element prepended.
previous() - Method in record class cloud.opencode.base.core.page.PageRequest
 
priority(int) - Method in class cloud.opencode.base.core.thread.NamedThreadFactory.Builder
 
ProcessConfig - Class in cloud.opencode.base.core.process
ProcessConfig - Configuration for process execution ProcessConfig - 进程执行配置
ProcessConfig.Builder - Class in cloud.opencode.base.core.process
Builder for ProcessConfig.
processCpuLoad() - Method in record class cloud.opencode.base.core.system.CpuInfo
Returns the value of the processCpuLoad record component.
processCpuLoad() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the current JVM process CPU load as a value in [0.0, 1.0], or -1.0 if not available.
ProcessInfo - Record Class in cloud.opencode.base.core.process
ProcessInfo - Immutable snapshot of process information ProcessInfo - 进程信息的不可变快照
ProcessInfo(long, String, String, String, Instant, Duration, boolean) - Constructor for record class cloud.opencode.base.core.process.ProcessInfo
Compact constructor that enforces non-null for String fields.
ProcessManager - Class in cloud.opencode.base.core.process
ProcessManager - Process management utility facade ProcessManager - 进程管理工具门面
ProcessResult - Record Class in cloud.opencode.base.core.process
ProcessResult - Immutable result of a process execution ProcessResult - 进程执行的不可变结果
ProcessResult(int, String, String, Duration, List) - Constructor for record class cloud.opencode.base.core.process.ProcessResult
Compact constructor that enforces non-null invariants and defensive copies.
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 添加键值对
put(K, V) - Method in class cloud.opencode.base.core.collect.OpenCollections.MapBuilder
Puts a key-value pair into this builder.
putAll(Map) - Method in class cloud.opencode.base.core.builder.MapBuilder
Adds in batch 批量添加
putAll(Map) - Method in class cloud.opencode.base.core.collect.OpenCollections.MapBuilder
Puts all entries from the given map into this builder.
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

QuadFunction<A,B,C,D,R> - Interface in cloud.opencode.base.core.func
Four-argument function interface 四元函数接口
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 a "read-only" exception.
readOnly() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns the value of the readOnly record component.
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
 
records() - Method in record class cloud.opencode.base.core.page.Page
Returns the value of the records record component.
RecordUtil - Class in cloud.opencode.base.core.reflect
Record Utility Class - Java Record type operations Record 工具类 - Java Record 类型操作
recover(Function) - Method in record class cloud.opencode.base.core.result.Result.Failure
 
recover(Function) - Method in interface cloud.opencode.base.core.result.Result
Recover from a Failure by applying a function to the cause 通过对原因应用函数来从 Failure 恢复
recover(Function) - Method in record class cloud.opencode.base.core.result.Result.Success
 
recoverWith(Function) - Method in record class cloud.opencode.base.core.result.Result.Failure
 
recoverWith(Function) - Method in interface cloud.opencode.base.core.result.Result
Recover from a Failure by applying a function that returns a Result 通过应用返回 Result 的函数来从 Failure 恢复
recoverWith(Function) - Method in record class cloud.opencode.base.core.result.Result.Success
 
redirectErrorStream() - Method in class cloud.opencode.base.core.process.ProcessConfig
Returns whether stderr should be merged into stdout.
redirectErrorStream(boolean) - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Sets whether stderr should be merged into stdout.
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 using the context ClassLoader.
reload(Class, ClassLoader) - Static method in class cloud.opencode.base.core.spi.SpiLoader
Forces reload of SPI services atomically using compute to prevent concurrent reload races.
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
Deprecated.
Use ScopedValueUtil instead for virtual-thread-safe context propagation.
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 头
REMOVED - Enum constant in enum class cloud.opencode.base.core.bean.ChangeType
Property exists only in the old object 属性仅存在于旧对象中
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.Lazy
Reset this Lazy to unevaluated state, allowing re-computation on next get() call.
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.
Result<T> - Interface in cloud.opencode.base.core.result
Result Monad - Represents the outcome of a computation that may succeed or fail Result Monad - 表示可能成功或失败的计算结果
Result.Failure<T> - Record Class in cloud.opencode.base.core.result
Failure - Represents a failed computation result Failure - 表示失败的计算结果
Result.Success<T> - Record Class in cloud.opencode.base.core.result
Success - Represents a successful computation result Success - 表示成功的计算结果
resume() - Method in class cloud.opencode.base.core.Stopwatch
Resumes a suspended stopwatch.
Retry<T> - Class in cloud.opencode.base.core.retry
Retry - General purpose retry utility with configurable backoff strategies 重试工具 - 通用重试工具,支持可配置的退避策略
RetryConfig - Record Class in cloud.opencode.base.core.retry
RetryConfig - Immutable retry configuration record 重试配置 - 不可变的重试配置记录
RetryConfig(int, BackoffStrategy, Duration, Duration, Predicate, Predicate, Predicate, BiConsumer, Consumer, Consumer) - Constructor for record class cloud.opencode.base.core.retry.RetryConfig
Creates an instance of a RetryConfig record class.
RetryConfig(int, BackoffStrategy, Duration, Predicate, Predicate, BiConsumer) - Constructor for record class cloud.opencode.base.core.retry.RetryConfig
Backward-compatible constructor without timeout, retryOnResult, onSuccess, onExhausted.
retryOn() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns the value of the retryOn record component.
retryOn(Class) - Method in class cloud.opencode.base.core.retry.Retry
Set the exception type to retry on (convenience for retryOn(type::isInstance)).
retryOn(Predicate) - Method in class cloud.opencode.base.core.retry.Retry
Set a predicate to determine if a given exception should trigger a retry.
retryOnAny(Class...) - Method in class cloud.opencode.base.core.retry.Retry
Set multiple exception types to retry on.
retryOnResult() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns the value of the retryOnResult record component.
retryOnResult(Predicate) - Method in class cloud.opencode.base.core.retry.Retry
Set a predicate to retry based on the task result.
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) 获取右值(第三个元素的别名)
right(R) - Static method in interface cloud.opencode.base.core.result.Either
Create a Right Either 创建 Right Either
Right(R) - Constructor for record class cloud.opencode.base.core.result.Either.Right
Creates an instance of a Right record class.
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.func.CheckedRunnable
Executes an operation that may throw a checked exception 执行操作,可能抛出受检异常
runAll(List) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Run all tasks to completion.
runAll(List, Duration) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Run all tasks to completion with a timeout.
runAsync(Runnable) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Executes a runnable on a virtual thread and returns a CompletableFuture.
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 静默执行,忽略异常
runtime() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns a snapshot of JVM runtime information.
RuntimeInfo - Record Class in cloud.opencode.base.core.system
Immutable snapshot of JVM runtime information.
RuntimeInfo(String, String, String, String, String, long, long, long, List) - Constructor for record class cloud.opencode.base.core.system.RuntimeInfo
Compact canonical constructor with validation and defensive copy.
runWhere(ScopedValue.Carrier, Runnable) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Run with multiple scoped value bindings via Carrier.
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
Deprecated.
Use ScopedValueUtil instead for virtual-thread-safe context propagation.

S

sampleStdDev(double...) - Static method in class cloud.opencode.base.core.OpenMath
Calculates the sample standard deviation of the given values (uses sample variance with Bessel's correction).
sampleVariance(double...) - Static method in class cloud.opencode.base.core.OpenMath
Calculates the sample variance of the given values using Bessel's correction (divides by n-1).
sanitize(String) - Static method in class cloud.opencode.base.core.LogSafe
Returns a copy of value with CR / LF / control characters / DEL / Bidi override characters replaced by '_'.
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(BeanBuilder.SerializableFunction, V) - Method in class cloud.opencode.base.core.builder.BeanBuilder
Type-safe property setting (using getter method reference) | 类型安全设置属性(使用 getter 方法引用)
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
Deprecated.
Use ScopedValueUtil instead for virtual-thread-safe context propagation.
set(Function, V) - Method in class cloud.opencode.base.core.builder.BeanBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.0.3, for removal. Use BeanBuilder.set(SerializableFunction, Object) instead. 自 1.0.3 起废弃,将被移除。请改用 BeanBuilder.set(SerializableFunction, Object)
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)
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 设置属性值(带类型转换)
setStaticFieldValue(Class, String, Object) - Static method in class cloud.opencode.base.core.reflect.ReflectUtil
Sets the static field value 设置静态字段值
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.Page
Returns the value of the size record component.
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) 线程睡眠(秒)
sliding(List, int) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns sliding windows of the given size with step 1.
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() - Method in class cloud.opencode.base.core.Stopwatch
Records a lap (split) time without stopping the stopwatch.
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 启动或恢复秒表
start(ProcessConfig) - Static method in class cloud.opencode.base.core.process.ProcessManager
Starts a process with the given configuration without waiting for completion.
start(String...) - Static method in class cloud.opencode.base.core.process.ProcessManager
Starts a process without waiting for completion.
startInstant() - Method in record class cloud.opencode.base.core.process.ProcessInfo
Returns the start time as an Optional.
startsWith(String, String) - Static method in class cloud.opencode.base.core.OpenStringBase
Checks if the string starts with the specified prefix 检查是否以指定前缀开始
startTime() - Method in record class cloud.opencode.base.core.process.ProcessInfo
Returns the value of the startTime record component.
startTime() - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Returns the value of the startTime record component.
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 (uses population variance).
stderr() - Method in record class cloud.opencode.base.core.process.ProcessResult
Returns the value of the stderr record component.
stderrFile() - Method in class cloud.opencode.base.core.process.ProcessConfig
Returns the file to redirect stderr to, or null for in-memory capture.
stderrFile(Path) - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Redirects stderr to a file.
stdout() - Method in record class cloud.opencode.base.core.process.ProcessResult
Returns the value of the stdout record component.
stdoutFile() - Method in class cloud.opencode.base.core.process.ProcessConfig
Returns the file to redirect stdout to, or null for in-memory capture.
stdoutFile(Path) - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Redirects stdout to a file.
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() - Method in record class cloud.opencode.base.core.result.Either.Left
 
stream() - Method in record class cloud.opencode.base.core.result.Either.Right
 
stream() - Method in interface cloud.opencode.base.core.result.Either
Convert to Stream.
stream() - Method in record class cloud.opencode.base.core.result.Result.Failure
 
stream() - Method in interface cloud.opencode.base.core.result.Result
Convert to Stream.
stream() - Method in record class cloud.opencode.base.core.result.Result.Success
 
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
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.
success(T) - Static method in interface cloud.opencode.base.core.result.Result
Create a successful Result with the given value 创建包含给定值的成功 Result
Success(T) - Constructor for record class cloud.opencode.base.core.result.Result.Success
Creates an instance of a Success record class.
successVoid() - Static method in interface cloud.opencode.base.core.result.Result
Create a successful Result<Void> with null value, for side-effect-only operations 创建值为 null 的成功 Result<Void>,用于仅副作用操作
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(Callable) - Static method in class cloud.opencode.base.core.concurrent.VirtualTasks
Executes a callable on a virtual thread and returns a CompletableFuture.
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) 异步执行并返回结果(指定执行器)
suspend() - Method in class cloud.opencode.base.core.Stopwatch
Suspends the stopwatch without resetting the elapsed time.
swap() - Method in record class cloud.opencode.base.core.result.Either.Left
 
swap() - Method in record class cloud.opencode.base.core.result.Either.Right
 
swap() - Method in interface cloud.opencode.base.core.result.Either
Swap Left and Right 交换 Left 和 Right
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.
swapFree() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the free swap space in bytes, or -1 if unavailable.
swapTotal() - Method in record class cloud.opencode.base.core.system.OsInfo
Returns the value of the swapTotal record component.
swapTotal() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the total swap space in bytes, or -1 if unavailable.
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.
systemCpuLoad() - Method in record class cloud.opencode.base.core.system.CpuInfo
Returns the value of the systemCpuLoad record component.
SystemInfo - Class in cloud.opencode.base.core.system
SystemInfo - Comprehensive system information facade SystemInfo - 全面的系统信息门面

T

takeWhile(Stream, Predicate) - Static method in class cloud.opencode.base.core.OpenStream
Takes elements while predicate is true 在谓词为真时获取元素
tempDir() - Static method in class cloud.opencode.base.core.Environment
Returns the system temporary directory path.
test(C) - Method in class cloud.opencode.base.core.Range
Tests if the given value is contained in this range (Predicate support).
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
time(Runnable) - Static method in class cloud.opencode.base.core.Stopwatch
Times the execution of a runnable and returns the elapsed duration.
time(Callable) - Static method in class cloud.opencode.base.core.Stopwatch
Times the execution of a callable and returns both the result and elapsed duration.
timeout() - Method in class cloud.opencode.base.core.process.ProcessConfig
Returns the execution timeout, or null for no timeout.
timeout() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns the value of the timeout record component.
timeout(long, TimeUnit) - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Sets the execution timeout.
timeout(Duration) - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Sets the execution timeout.
timeout(Duration) - Method in class cloud.opencode.base.core.retry.Retry
Set a total timeout for all retry attempts combined.
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 the given value to Boolean.
toBool(Object, Boolean) - Static method in class cloud.opencode.base.core.convert.Convert
Converts the given value to Boolean, returning the default value if conversion fails.
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 the given value to Byte.
toByte(Object, Byte) - Static method in class cloud.opencode.base.core.convert.Convert
Converts the given value to Byte, returning the default value if conversion fails.
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 the given value to Character.
toChar(Object, Character) - Static method in class cloud.opencode.base.core.convert.Convert
Converts the given value to Character, returning the default value if conversion fails.
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 the given value to Double.
toDouble(Object, Double) - Static method in class cloud.opencode.base.core.convert.Convert
Converts the given value to Double, returning the default value if conversion fails.
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 the given value to Float.
toFloat(Object, Float) - Static method in class cloud.opencode.base.core.convert.Convert
Converts the given value to Float, returning the default value if conversion fails.
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 the given value to Integer.
toInt(Object, Integer) - Static method in class cloud.opencode.base.core.convert.Convert
Converts the given value to Integer, returning the default value if conversion fails.
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 the given value to an int array.
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 the given value to a List of the specified element type.
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 the given value to Long.
toLong(Object, Long) - Static method in class cloud.opencode.base.core.convert.Convert
Converts the given value to Long, returning the default value if conversion fails.
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 the given value to a long array.
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() - Method in class cloud.opencode.base.core.Lazy
Convert to Optional.
toOptional() - Method in record class cloud.opencode.base.core.result.Either.Left
 
toOptional() - Method in record class cloud.opencode.base.core.result.Either.Right
 
toOptional() - Method in interface cloud.opencode.base.core.result.Either
Convert to Optional.
toOptional() - Method in record class cloud.opencode.base.core.result.Result.Failure
 
toOptional() - Method in record class cloud.opencode.base.core.result.Result.Success
 
toOptional() - Method in interface cloud.opencode.base.core.result.Result
Convert to Optional.
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
Creates an empty Page matching this request's page number and size.
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
toResult() - Method in record class cloud.opencode.base.core.result.Either.Left
 
toResult() - Method in record class cloud.opencode.base.core.result.Either.Right
 
toResult() - Method in interface cloud.opencode.base.core.result.Either
Convert to Result.
toResult(Function) - Method in record class cloud.opencode.base.core.result.Either.Left
 
toResult(Function) - Method in record class cloud.opencode.base.core.result.Either.Right
 
toResult(Function) - Method in interface cloud.opencode.base.core.result.Either
Convert to Result with a type-safe left-to-throwable conversion function.
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 the given value to a Set of the specified element type.
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 the given value to Short.
toShort(Object, Short) - Static method in class cloud.opencode.base.core.convert.Convert
Converts the given value to Short, returning the default value if conversion fails.
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 the given value to String.
toStr(Object, String) - Static method in class cloud.opencode.base.core.convert.Convert
Converts the given value to String, returning the default value if conversion fails.
toStrArray(Object) - Static method in class cloud.opencode.base.core.convert.Convert
Converts the given value to a String array.
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 record class cloud.opencode.base.core.bean.Diff
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.bean.DiffResult
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.Lazy
 
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 record class cloud.opencode.base.core.page.Page
Returns a string representation of this record class.
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.process.ProcessConfig
 
toString() - Method in record class cloud.opencode.base.core.process.ProcessInfo
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.process.ProcessResult
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.core.Range
 
toString() - Method in record class cloud.opencode.base.core.result.Either.Left
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.result.Either.Right
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.result.Result.Failure
Returns string representation showing only class name and message (no stack trace for security).
toString() - Method in record class cloud.opencode.base.core.result.Result.Success
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Exponential
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.ExponentialWithJitter
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Fibonacci
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.retry.BackoffStrategy.Fixed
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.retry.RetryConfig
Returns a string representation of this record class.
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.system.CpuInfo
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.system.MemoryInfo
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.system.OsInfo
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Returns a string representation of this record class.
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 字符串
total() - Method in record class cloud.opencode.base.core.page.Page
Returns the value of the total record component.
total() - Method in record class cloud.opencode.base.core.system.MemoryInfo
Returns the value of the total record component.
totalDisplay() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns a human-readable representation of total space.
totalDisplay() - Method in record class cloud.opencode.base.core.system.MemoryInfo
Returns a human-readable representation of total memory.
totalMemory() - Static method in class cloud.opencode.base.core.Environment
Returns the total amount of memory currently available to the JVM, in bytes.
totalSpace() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns the value of the totalSpace record component.
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() - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns a Collector that accumulates elements into an unmodifiable List.
toUnmodifiableList(Stream) - Static method in class cloud.opencode.base.core.OpenStream
Collects to unmodifiable list 收集为不可变列表
toUnmodifiableSet() - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns a Collector that accumulates elements into an unmodifiable Set.
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 构建器
TriFunction<A,B,C,R> - Interface in cloud.opencode.base.core.func
Three-argument function interface 三元函数接口
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.
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 record class cloud.opencode.base.core.bean.DiffResult
Returns the value of the type record component.
type() - Method in class cloud.opencode.base.core.bean.PropertyDescriptor
 
type() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns the value of the type record component.
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

unallocatedSpace() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns the value of the unallocatedSpace record component.
UNCHANGED - Enum constant in enum class cloud.opencode.base.core.bean.ChangeType
Property value is the same 属性值相同
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
union(Set, Set) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns a new unmodifiable set that is the union of two sets.
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 移除转换器
unregister(String) - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Unregisters a named ThreadLocal from the global registry and removes its value.
unregisterAll() - Static method in class cloud.opencode.base.core.thread.ThreadLocalUtil
Unregisters all ThreadLocal entries: removes values for the current thread and clears the global registry.
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 a generic "unsupported operation" exception.
unsupportedType(Class) - Static method in exception class cloud.opencode.base.core.exception.OpenUnsupportedOperationException
Creates an "unsupported type" exception.
unwrap(Throwable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Unwraps a nested exception by returning its cause.
unwrap(Throwable, Class) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Unwraps an exception of a specific type from the causal chain.
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.
uptime() - Static method in class cloud.opencode.base.core.Environment
Returns the uptime of the JVM since it started.
uptime() - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Returns the value of the uptime record component.
uptime() - Static method in class cloud.opencode.base.core.system.SystemInfo
Returns the JVM uptime in milliseconds.
uptimeMillis() - Method in record class cloud.opencode.base.core.process.ProcessInfo
Returns the uptime in milliseconds since the process started, or -1 if unknown.
url() - Static method in class cloud.opencode.base.core.codec.OpenCodec
Returns a URL codec (RFC 3986 percent-encoding) 返回 URL 编解码器(RFC 3986 百分号编码)
US_ASCII - Static variable in class cloud.opencode.base.core.OpenCharset
 
usableDisplay() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns a human-readable representation of usable space.
usableSpace() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns the value of the usableSpace record component.
usagePercent() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns the disk usage percentage (usedSpace / totalSpace * 100).
usagePercent() - Method in record class cloud.opencode.base.core.system.MemoryInfo
Returns the memory usage percentage (used/total * 100).
used() - Method in record class cloud.opencode.base.core.system.MemoryInfo
Returns the value of the used record component.
usedDisplay() - Method in record class cloud.opencode.base.core.system.MemoryInfo
Returns a human-readable representation of used memory.
usedSpace() - Method in record class cloud.opencode.base.core.system.DiskInfo
Returns the used space in bytes (total - unallocated).
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.
user() - Method in record class cloud.opencode.base.core.process.ProcessInfo
Returns the value of the user record component.
userDir() - Static method in class cloud.opencode.base.core.Environment
Returns the user's current working directory.
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.result.Either.Left
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.core.result.Either.Right
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.core.result.Result.Success
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 场景)
value(T) - Static method in class cloud.opencode.base.core.Lazy
Create an already-evaluated Lazy with a pre-computed value 创建已求值的 Lazy,包含预计算的值
valueOf(String) - Static method in enum class cloud.opencode.base.core.bean.ChangeType
Returns the enum constant of this class with the specified name.
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.bean.ChangeType
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.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 (divides by n).
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 验证码构建器
version() - Method in record class cloud.opencode.base.core.system.OsInfo
Returns the value of the version record component.
VirtualTasks - Class in cloud.opencode.base.core.concurrent
VirtualTasks - Virtual thread concurrency utilities VirtualTasks - 虚拟线程并发工具类
vmName() - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Returns the value of the vmName record component.
vmVersion() - Method in record class cloud.opencode.base.core.system.RuntimeInfo
Returns the value of the vmVersion record component.

W

waitFor(long, long, TimeUnit) - Static method in class cloud.opencode.base.core.process.ProcessManager
Waits for the process with the given PID to exit, with a timeout.
where(ScopedValue, T) - Static method in class cloud.opencode.base.core.thread.ScopedValueUtil
Create a ScopedValue.Carrier with a single binding 创建带有单个绑定的 ScopedValue.Carrier
withConfig(Callable, RetryConfig) - Static method in class cloud.opencode.base.core.retry.Retry
Create a Retry instance from a RetryConfig.
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.
without(List, T) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns a new unmodifiable list with the first occurrence of the given element removed.
withPage(long) - Method in record class cloud.opencode.base.core.page.PageRequest
 
withReplaced(List, int, T) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Returns a new unmodifiable list with the element at the given index replaced.
withSort(Sort) - Method in record class cloud.opencode.base.core.page.PageRequest
 
workingDirectory() - Method in class cloud.opencode.base.core.process.ProcessConfig
Returns the working directory, or null to inherit from the parent process.
workingDirectory(Path) - Method in class cloud.opencode.base.core.process.ProcessConfig.Builder
Sets the working directory for the process.
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 a checked exception as a runtime exception and returns the result.
wrapAndThrow(ExceptionUtil.CheckedRunnable) - Static method in class cloud.opencode.base.core.exception.ExceptionUtil
Wraps a checked exception as a runtime exception and throws it.
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(List, List) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Zips two lists into a list of Pairs, truncated to the shorter length.
zip(Stream, Stream, BiFunction) - Static method in class cloud.opencode.base.core.OpenStream
Zips two streams into pairs 将两个流合并成对
zipWith(List, List, BiFunction) - Static method in class cloud.opencode.base.core.collect.OpenCollections
Zips two lists using a combiner function, truncated to the shorter length.
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