Index

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

A

accept(T) - Method in interface cloud.opencode.base.functional.function.CheckedConsumer
Accept input, may throw checked exception 接受输入,可能抛出受检异常
accept(T, U) - Method in interface cloud.opencode.base.functional.function.CheckedBiConsumer
Accept inputs, may throw checked exception 接受输入,可能抛出受检异常
acceptQuietly(T) - Method in interface cloud.opencode.base.functional.function.CheckedConsumer
Accept silently, ignoring any checked or unchecked exception (but not Error) 静默接受,忽略任何受检或非受检异常(不包括 Error
acceptQuietly(T, U) - Method in interface cloud.opencode.base.functional.function.CheckedBiConsumer
Accept silently, ignoring any checked or unchecked exception (but not Error) 静默接受,忽略任何受检或非受检异常(不包括 Error
action() - Method in class cloud.opencode.base.functional.pattern.Case
Get the action 获取动作
all(Predicate) - Method in class cloud.opencode.base.functional.monad.Sequence
Check if all elements match predicate.
allMatch(Predicate) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.CollectionPipeline
Check if all elements match 检查是否所有元素都匹配
and(Option) - Method in class cloud.opencode.base.functional.monad.For.OptionFor1
 
and(Option) - Method in class cloud.opencode.base.functional.monad.For.OptionFor2
 
and(Option) - Method in class cloud.opencode.base.functional.monad.For.OptionFor3
 
and(Sequence) - Method in class cloud.opencode.base.functional.monad.For.SequenceFor1
 
and(Sequence) - Method in class cloud.opencode.base.functional.monad.For.SequenceFor2
 
and(Try) - Method in class cloud.opencode.base.functional.monad.For.TryFor1
 
and(Try) - Method in class cloud.opencode.base.functional.monad.For.TryFor2
 
and(Try) - Method in class cloud.opencode.base.functional.monad.For.TryFor3
 
and(Pattern) - Method in interface cloud.opencode.base.functional.pattern.Pattern
Combine with another pattern (AND) 与另一个模式组合(AND)
and(Iterable) - Method in class cloud.opencode.base.functional.monad.For.IterableFor1
 
and(Iterable) - Method in class cloud.opencode.base.functional.monad.For.IterableFor2
 
and(Supplier) - Method in class cloud.opencode.base.functional.monad.For.OptionFor1
 
and(Supplier) - Method in class cloud.opencode.base.functional.monad.For.TryFor1
 
andFinally(Runnable) - Method in interface cloud.opencode.base.functional.monad.Try
Execute action regardless of success or failure, similar to try-finally semantics.
andThen(CheckedBiConsumer) - Method in interface cloud.opencode.base.functional.function.CheckedBiConsumer
Chain with another consumer (execute this, then after) 与另一个消费者链接(先执行本函数,再执行 after)
andThen(CheckedConsumer) - Method in interface cloud.opencode.base.functional.function.CheckedConsumer
Chain with another consumer (execute this, then after) 与另一个消费者链接(先执行本函数,再执行 after)
andThen(CheckedFunction) - Method in interface cloud.opencode.base.functional.function.CheckedBiFunction
Compose with another function (execute this, then after) 与另一个函数组合(先执行本函数,再执行 after)
andThen(CheckedFunction) - Method in interface cloud.opencode.base.functional.function.CheckedFunction
Compose with another function (execute this, then after) 与另一个函数组合(先执行本函数,再执行 after)
andThen(CheckedRunnable) - Method in interface cloud.opencode.base.functional.function.CheckedRunnable
Chain with another runnable (execute this, then after) 与另一个可运行接口链接(先执行本操作,再执行 after)
andThen(Lens) - Method in class cloud.opencode.base.functional.optics.Lens
Compose with another lens (this lens first, then other) 与另一个透镜组合(先应用此透镜,然后应用其他)
andThen(Lens) - Method in class cloud.opencode.base.functional.optics.OptionalLens
Compose with a regular lens 与常规透镜组合
andThen(OptionalLens) - Method in class cloud.opencode.base.functional.optics.OptionalLens
Compose with another optional lens 与另一个可选透镜组合
andThen(Function) - Method in class cloud.opencode.base.functional.pipeline.Pipeline
Chain another transformation 链接另一个转换
andThen(Function) - Method in interface cloud.opencode.base.functional.function.TriFunction
Compose with another function (execute this, then after) 与另一个函数组合(先执行本函数,再执行 after)
andThenVirtual(Function) - Method in class cloud.opencode.base.functional.async.Future
Run action after completion on a virtual thread.
any() - Static method in interface cloud.opencode.base.functional.pattern.Pattern
Create a pattern that always matches 创建始终匹配的模式
any(Predicate) - Method in class cloud.opencode.base.functional.monad.Sequence
Check if any element matches predicate.
anyMatch(Predicate) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.CollectionPipeline
Check if any element matches 检查是否有任何元素匹配
ap(Validation) - Method in interface cloud.opencode.base.functional.monad.Validation
Apply a validated function to this validation (applicative) 将验证的函数应用于此验证(应用函子)
ap(Validation) - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
ap(Validation) - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
apply(T) - Method in interface cloud.opencode.base.functional.function.CheckedFunction
Apply function to argument, may throw checked exception 应用函数到参数,可能抛出受检异常
apply(T) - Method in class cloud.opencode.base.functional.pattern.Case
Try to apply this case to a value 尝试将此分支应用于值
apply(T) - Method in class cloud.opencode.base.functional.pipeline.Pipeline
Apply the pipeline to a value 将管道应用于值
apply(T1, T2, T3) - Method in interface cloud.opencode.base.functional.function.TriFunction
Apply function to three arguments 应用函数到三个参数
apply(T1, T2, T3) - Method in interface cloud.opencode.base.functional.monad.For.Function3
 
apply(T1, T2, T3, T4) - Method in interface cloud.opencode.base.functional.monad.For.Function4
 
apply(T1, T2, T3, T4, T5) - Method in interface cloud.opencode.base.functional.monad.For.Function5
 
apply(T, Function) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Apply a value to a function (reverse application) 将值应用于函数(反向应用)
apply(T, U) - Method in interface cloud.opencode.base.functional.function.CheckedBiFunction
Apply function to arguments, may throw checked exception 应用函数到参数,可能抛出受检异常
applyOrDefault(T, R) - Method in interface cloud.opencode.base.functional.function.CheckedFunction
Apply silently, returning default value on exception 静默应用,异常时返回默认值
applyOrDefault(T, U, R) - Method in interface cloud.opencode.base.functional.function.CheckedBiFunction
Apply silently, returning default value on exception 静默应用,异常时返回默认值
applyQuietly(T) - Method in interface cloud.opencode.base.functional.function.CheckedFunction
Apply silently, returning null on exception 静默应用,异常时返回 null
applyQuietly(T, U) - Method in interface cloud.opencode.base.functional.function.CheckedBiFunction
Apply silently, returning null on exception 静默应用,异常时返回 null
applyTry(T) - Method in class cloud.opencode.base.functional.pipeline.Pipeline
Apply the pipeline safely, returning Try 安全地应用管道,返回 Try
asOptional() - Method in class cloud.opencode.base.functional.optics.Lens
Convert to an OptionalLens 转换为 OptionalLens
async(Supplier) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Run a supplier asynchronously on a Virtual Thread 在虚拟线程上异步运行供应商
async(Supplier) - Static method in class cloud.opencode.base.functional.OpenFunctional
Run async on Virtual Thread 在虚拟线程上异步运行
AsyncFunctionUtil - Class in cloud.opencode.base.functional.async
AsyncFunctionUtil - Virtual Thread based async utilities AsyncFunctionUtil - 基于虚拟线程的异步工具
asyncRun(Runnable) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Run a runnable asynchronously on a Virtual Thread 在虚拟线程上异步运行可运行对象
asyncTimeout(Supplier, Duration) - Static method in class cloud.opencode.base.functional.OpenFunctional
Run async with timeout 带超时异步运行
asyncWithTimeout(Supplier, Duration) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Run a supplier asynchronously with timeout 带超时异步运行供应商
await() - Method in class cloud.opencode.base.functional.async.Future
Await the result, returning a Try.
await(Duration) - Method in class cloud.opencode.base.functional.async.Future
Await the result with timeout, returning a Try.
awaitAll(List) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Wait for all futures to complete 等待所有 Future 完成
awaitAll(List, Duration) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Wait for all futures with timeout 带超时等待所有 Future
awaitFirst(List) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Wait for first successful result 等待第一个成功结果

B

bimap(Function, Function) - Method in interface cloud.opencode.base.functional.monad.Either
Transform both sides 转换两侧的值
bimap(Function, Function) - Method in class cloud.opencode.base.functional.monad.Either.Left
 
bimap(Function, Function) - Method in class cloud.opencode.base.functional.monad.Either.Right
 

C

Case<T,R> - Class in cloud.opencode.base.functional.pattern
Case - Match case definition combining pattern and action Case - 组合模式和动作的匹配分支定义
caseOf(Class, Function) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a type case 创建类型分支
caseOf(Class, Function) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Match by type 按类型匹配
caseRecord(Class, BiFunction) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Match record and deconstruct (2 components) 匹配 Record 并解构(2 个组件)
caseSealed(Class, Function) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Match sealed type 匹配密封类型
cause() - Method in class cloud.opencode.base.functional.monad.Try.Failure
Get the exception 获取异常
chain(Function, Function) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Chain two functions 链接两个函数
chain(Function, Function, Function) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Chain three functions 链接三个函数
checkedBiConsumer(CheckedBiConsumer) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a CheckedBiConsumer 创建可抛异常的双参消费者
CheckedBiConsumer<T,U> - Interface in cloud.opencode.base.functional.function
CheckedBiConsumer - BiConsumer that can throw checked exceptions CheckedBiConsumer - 可抛出受检异常的双参消费者
checkedBiFunction(CheckedBiFunction) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a CheckedBiFunction 创建可抛异常的双参函数
CheckedBiFunction<T,U,R> - Interface in cloud.opencode.base.functional.function
CheckedBiFunction - BiFunction that can throw checked exceptions CheckedBiFunction - 可抛出受检异常的双参函数
checkedConsumer(CheckedConsumer) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a CheckedConsumer 创建可抛异常的消费者
CheckedConsumer<T> - Interface in cloud.opencode.base.functional.function
CheckedConsumer - Consumer that may throw checked exceptions CheckedConsumer - 可能抛出受检异常的消费者
CheckedFunction<T,R> - Interface in cloud.opencode.base.functional.function
CheckedFunction - Function that can throw checked exceptions CheckedFunction - 可抛出受检异常的函数
checkedRunnable(CheckedRunnable) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a CheckedRunnable 创建可抛异常的运行器
CheckedRunnable - Interface in cloud.opencode.base.functional.function
CheckedRunnable - Runnable that may throw checked exceptions CheckedRunnable - 可能抛出受检异常的可运行接口
cloud.opencode.base.functional - module cloud.opencode.base.functional
OpenCode Base Functional Module OpenCode 基础函数式编程模块
cloud.opencode.base.functional - package cloud.opencode.base.functional
OpenCode Functional - Functional Programming Utilities for JDK 25+ OpenCode 函数式编程工具库
cloud.opencode.base.functional.async - package cloud.opencode.base.functional.async
Async Utilities - Virtual Thread functional utilities 异步工具 - 虚拟线程函数式工具
cloud.opencode.base.functional.exception - package cloud.opencode.base.functional.exception
Functional Exceptions - Exception types for functional operations 函数式异常 - 函数式操作的异常类型
cloud.opencode.base.functional.function - package cloud.opencode.base.functional.function
Function Utilities - Advanced function operations 函数工具 - 高级函数操作
cloud.opencode.base.functional.monad - package cloud.opencode.base.functional.monad
Monad Types - Functional containers for computation Monad 类型 - 计算的函数式容器
cloud.opencode.base.functional.optics - package cloud.opencode.base.functional.optics
Optics - Lens and other optical types for immutable data 光学类型 - 用于不可变数据的 Lens 和其他光学类型
cloud.opencode.base.functional.pattern - package cloud.opencode.base.functional.pattern
Pattern Matching - Enhanced pattern matching utilities 模式匹配 - 增强的模式匹配工具
cloud.opencode.base.functional.pipeline - package cloud.opencode.base.functional.pipeline
Pipeline - Composable data transformation pipelines 管道 - 可组合的数据转换管道
cloud.opencode.base.functional.record - package cloud.opencode.base.functional.record
Record Utilities - Functional utilities for Java Records Record 工具 - Java Record 的函数式工具
collect(Collector) - Method in class cloud.opencode.base.functional.monad.Sequence
Collect using a collector.
combine(LazyAsync, LazyAsync, BiFunction) - Static method in class cloud.opencode.base.functional.async.LazyAsync
Combine two lazy async computations 组合两个惰性异步计算
combine(Validation, Validation, Validation, TriFunction) - Static method in interface cloud.opencode.base.functional.monad.Validation
Combine three validations 组合三个验证
combine(Validation, Validation, BiFunction) - Static method in interface cloud.opencode.base.functional.monad.Validation
Combine two validations 组合两个验证
completed(T) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Create a completed future with value 创建带值的已完成 Future
completed(T) - Static method in class cloud.opencode.base.functional.async.LazyAsync
Create an already completed lazy async 创建已完成的惰性异步
COMPLETED - Enum constant in enum class cloud.opencode.base.functional.async.LazyAsync.State
 
COMPONENT - Static variable in exception class cloud.opencode.base.functional.exception.OpenFunctionalException
Component name for functional module 函数式模块的组件名称
componentCount(Class) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Get record component count 获取 record 组件数量
componentNames(Class) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Get the names of record components 获取 record 组件的名称
componentTypes(Class) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Get the types of record components 获取 record 组件的类型
componentValues(Record) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Get all component values from a record 从 record 获取所有组件值
compose(CheckedFunction) - Method in interface cloud.opencode.base.functional.function.CheckedFunction
Compose with another function (execute before, then this) 与另一个函数组合(先执行 before,再执行本函数)
compose(Lens) - Method in class cloud.opencode.base.functional.optics.Lens
Compose with another lens (other lens first, then this) 与另一个透镜组合(先应用其他,然后应用此透镜)
compose(Lens) - Method in class cloud.opencode.base.functional.optics.OptionalLens
Compose with a regular lens (other first, then this) 与常规透镜组合(先其他,然后此)
compose(OptionalLens) - Method in class cloud.opencode.base.functional.optics.OptionalLens
Compose with this lens (other first, then this) 与此透镜组合(先其他,然后此)
compose(Pipeline) - Method in class cloud.opencode.base.functional.pipeline.Pipeline
Compose with another pipeline 与另一个管道组合
compose(Function, Function) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Compose two functions: g(f(x)) 组合两个函数:g(f(x))
compose(Function, Function) - Static method in class cloud.opencode.base.functional.OpenFunctional
Compose two functions 组合两个函数
compose(Function, Function, Function) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Compose three functions: h(g(f(x))) 组合三个函数:h(g(f(x)))
computationFailed(String) - Static method in exception class cloud.opencode.base.functional.exception.OpenFunctionalException
Create exception for computation failure 为计算失败创建异常
computationFailed(String, Throwable) - Static method in exception class cloud.opencode.base.functional.exception.OpenFunctionalException
Create exception for computation failure with cause 为带原因的计算失败创建异常
constant(R) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Constant function - always returns the same value 常量函数 - 始终返回相同的值
contains(R) - Method in interface cloud.opencode.base.functional.monad.Either
Check if this is a Right containing the given value.
contains(T) - Method in interface cloud.opencode.base.functional.monad.Option
Check if this is a Some containing a value equal to the given value.
contains(T) - Method in interface cloud.opencode.base.functional.monad.Try
Check if this is a Success containing a value equal to the given value.
continuation() - Method in record class cloud.opencode.base.functional.monad.Trampoline.More
Returns the value of the continuation record component.
copy(R, Map) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Copy a record with modifications 带修改复制 record
copyRecord(R, Map) - Static method in class cloud.opencode.base.functional.OpenFunctional
Copy a record with modifications 带修改复制 record
copyTransforming(R, String, Function) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Copy a record transforming a component 复制 record 转换组件
copyWith(R, String, Object) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Copy a record modifying single component 复制 record 修改单个组件
count() - Method in class cloud.opencode.base.functional.monad.Sequence
Count elements.
count() - Method in class cloud.opencode.base.functional.pipeline.Pipeline.CollectionPipeline
Execute and count results 执行并计数结果
curry(TriFunction) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Curry a TriFunction to a curried function 将 TriFunction 柯里化
curry(BiFunction) - Static method in class cloud.opencode.base.functional.OpenFunctional
Curry a BiFunction 柯里化 BiFunction
curry(BiFunction) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Curry a BiFunction to a curried function 将 BiFunction 柯里化

D

delay(Duration) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Delay execution 延迟执行
delay(Supplier) - Static method in interface cloud.opencode.base.functional.monad.Trampoline
Lift a supplier into a Trampoline.
diff(Record, Record) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Compare two records by components 按组件比较两个 record
distinct() - Method in class cloud.opencode.base.functional.monad.Sequence
Remove duplicate elements.
done(T) - Static method in interface cloud.opencode.base.functional.monad.Trampoline
Create a completed Trampoline with a result.
Done(T) - Constructor for record class cloud.opencode.base.functional.monad.Trampoline.Done
Creates an instance of a Done record class.
drop(int) - Method in class cloud.opencode.base.functional.monad.Sequence
Drop the first n elements.
dropWhile(Predicate) - Method in class cloud.opencode.base.functional.monad.Sequence
Drop elements while predicate is true.

E

Either<L,R> - Interface in cloud.opencode.base.functional.monad
Either Monad - Represents one of two possible values (Left or Right) Either Monad - 表示两种可能值之一(Left 或 Right)
Either.Left<L,R> - Class in cloud.opencode.base.functional.monad
Left - Represents the left case (typically error) Left - 表示左情况(通常为错误)
Either.Right<L,R> - Class in cloud.opencode.base.functional.monad
Right - Represents the right case (typically success) Right - 表示右情况(通常为成功)
empty() - Static method in class cloud.opencode.base.functional.monad.Sequence
Create an empty sequence.
equals(Object) - Method in class cloud.opencode.base.functional.monad.Either.Left
 
equals(Object) - Method in class cloud.opencode.base.functional.monad.Either.Right
 
equals(Object) - Method in class cloud.opencode.base.functional.monad.Option.None
 
equals(Object) - Method in record class cloud.opencode.base.functional.monad.Option.Some
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.functional.monad.Sequence.IndexedValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.functional.monad.Trampoline.Done
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.functional.monad.Trampoline.FlatMap
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.functional.monad.Trampoline.More
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
equals(Object) - Method in class cloud.opencode.base.functional.monad.Try.Success
 
equals(Object) - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
equals(Object) - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
equals(T, Function) - Static method in class cloud.opencode.base.functional.pattern.Case
Create a case for value equality matching 创建值相等匹配分支
equalTo(T) - Static method in interface cloud.opencode.base.functional.pattern.Pattern
Create an equality matching pattern 创建相等匹配模式
errors() - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
Get the errors 获取错误列表
execute() - Method in class cloud.opencode.base.functional.pipeline.Pipeline.PipelineBuilder
Execute the pipeline and get the result 执行管道并获取结果
execute() - Method in class cloud.opencode.base.functional.pipeline.Pipeline.TryPipelineBuilder
Execute and get the value, throwing on failure 执行并获取值,失败时抛出异常
executeOptional() - Method in class cloud.opencode.base.functional.pipeline.Pipeline.PipelineBuilder
Execute and wrap result in Optional 执行并将结果包装为 Optional
executeOrElse(T) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.PipelineBuilder
Execute or return default if null/filtered 执行或返回默认值(如果为 null/已过滤)
executeOrElse(T) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.TryPipelineBuilder
Execute or return default on failure 执行或在失败时返回默认值
executeOrElseGet(Supplier) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.PipelineBuilder
Execute or compute default if null/filtered 执行或计算默认值(如果为 null/已过滤)
executeTry() - Method in class cloud.opencode.base.functional.pipeline.Pipeline.TryPipelineBuilder
Execute and get the Try result 执行并获取 Try 结果
executor() - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Get the Virtual Thread executor 获取虚拟线程执行器
exhaustive(Object, Class) - Static method in exception class cloud.opencode.base.functional.exception.OpenMatchException
Create exception for non-exhaustive sealed type matching 为密封类型非完备匹配创建异常
exists(Predicate) - Method in interface cloud.opencode.base.functional.monad.Either
Check if this is a Right and the predicate matches the value.
exists(Predicate) - Method in interface cloud.opencode.base.functional.monad.Option
Check if this is a Some and the predicate matches the contained value.
exists(Predicate) - Method in interface cloud.opencode.base.functional.monad.Try
Check if this is a Success and the predicate matches the contained value.

F

f() - Method in record class cloud.opencode.base.functional.monad.Trampoline.FlatMap
Returns the value of the f record component.
factory(Class) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Create a factory function for a record type 为 record 类型创建工厂函数
factory2(Class) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Create a two-argument factory for records with 2 components 为有 2 个组件的 record 创建双参数工厂
failed(Throwable) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Create a failed future 创建失败的 Future
failed(Throwable) - Static method in class cloud.opencode.base.functional.async.Future
Create a failed Future with the given exception.
failed(Throwable) - Static method in class cloud.opencode.base.functional.async.LazyAsync
Create a failed lazy async 创建失败的惰性异步
FAILED - Enum constant in enum class cloud.opencode.base.functional.async.LazyAsync.State
 
failure(Throwable) - Static method in interface cloud.opencode.base.functional.monad.Try
Create a Failure with exception 创建失败结果
failure(Throwable) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a failed Try 创建失败的 Try
Failure(Throwable) - Constructor for class cloud.opencode.base.functional.monad.Try.Failure
 
filter(BiPredicate) - Method in class cloud.opencode.base.functional.monad.For.IterableFor2
 
filter(BiPredicate) - Method in class cloud.opencode.base.functional.monad.For.OptionFor2
 
filter(Predicate) - Method in interface cloud.opencode.base.functional.pattern.Pattern
Add a guard condition 添加守卫条件
filter(Predicate) - Method in class cloud.opencode.base.functional.async.Future
Filter the value.
filter(Predicate) - Method in class cloud.opencode.base.functional.monad.Lazy
Filter the value lazily 惰性过滤值
filter(Predicate) - Method in interface cloud.opencode.base.functional.monad.Option
Filter the value with predicate 使用谓词过滤值
filter(Predicate) - Method in class cloud.opencode.base.functional.monad.Option.None
 
filter(Predicate) - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
filter(Predicate) - Method in class cloud.opencode.base.functional.monad.Sequence
Filter elements matching the predicate.
filter(Predicate) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
filter(Predicate) - Method in interface cloud.opencode.base.functional.monad.Try
Filter the value with a predicate 使用谓词过滤值
filter(Predicate) - Method in class cloud.opencode.base.functional.monad.Try.Success
 
filter(Predicate) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.CollectionPipeline
Filter elements 过滤元素
filter(Predicate) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.PipelineBuilder
Filter the value 过滤值
filter(Predicate) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.TryPipelineBuilder
Filter with a predicate 使用谓词过滤
filter(Predicate) - Method in class cloud.opencode.base.functional.monad.For.IterableFor1
 
filter(Predicate) - Method in class cloud.opencode.base.functional.monad.For.OptionFor1
 
filter(Predicate) - Method in class cloud.opencode.base.functional.monad.For.SequenceFor1
 
filter(Predicate) - Method in class cloud.opencode.base.functional.monad.For.TryFor1
 
filterAndTransform(Collection, Predicate, Function) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Filter and transform a collection 过滤并转换集合
filterFailed(String) - Static method in exception class cloud.opencode.base.functional.exception.OpenFunctionalException
Create exception for filter failure 为过滤失败创建异常
filterNonNull(Collection) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Filter a collection removing nulls 过滤集合移除 null
filterNot(Predicate) - Method in class cloud.opencode.base.functional.monad.Sequence
Filter elements not matching the predicate.
filterOrElse(Predicate, Supplier) - Method in interface cloud.opencode.base.functional.monad.Either
Filter the Right value with a predicate, converting to Left if it fails.
find(Predicate) - Method in class cloud.opencode.base.functional.monad.Sequence
Find first element matching predicate.
findFirst() - Method in class cloud.opencode.base.functional.pipeline.Pipeline.CollectionPipeline
Find first matching element 查找第一个匹配元素
first() - Method in class cloud.opencode.base.functional.monad.Sequence
Find first element.
firstCompleted(Future...) - Static method in class cloud.opencode.base.functional.async.Future
Return the first completed future.
flatMap(Function) - Method in record class cloud.opencode.base.functional.monad.Trampoline.FlatMap
 
flatMap(Function) - Method in interface cloud.opencode.base.functional.monad.Either
Transform the Right value to another Either 将 Right 值转换为另一个 Either
flatMap(Function) - Method in class cloud.opencode.base.functional.monad.Either.Left
 
flatMap(Function) - Method in class cloud.opencode.base.functional.monad.Either.Right
 
flatMap(Function) - Method in class cloud.opencode.base.functional.async.Future
FlatMap to another Future.
flatMap(Function) - Method in class cloud.opencode.base.functional.monad.Sequence
Map each element to a sequence and flatten.
flatMap(Function) - Method in class cloud.opencode.base.functional.async.LazyAsync
Flat-map to another lazy async 扁平映射到另一个惰性异步
flatMap(Function) - Method in class cloud.opencode.base.functional.monad.Lazy
Transform to another Lazy lazily 惰性转换为另一个 Lazy
flatMap(Function) - Method in interface cloud.opencode.base.functional.monad.Option
Transform to another Option if Some 如果是 Some 则转换为另一个 Option
flatMap(Function) - Method in class cloud.opencode.base.functional.monad.Option.None
 
flatMap(Function) - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
flatMap(Function) - Method in record class cloud.opencode.base.functional.monad.Trampoline.Done
 
flatMap(Function) - Method in interface cloud.opencode.base.functional.monad.Trampoline
Chain another Trampoline computation.
flatMap(Function) - Method in record class cloud.opencode.base.functional.monad.Trampoline.More
 
flatMap(Function) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.TryPipelineBuilder
Transform with another Try-returning function 使用另一个返回 Try 的函数转换
flatMap(Function) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
flatMap(Function) - Method in interface cloud.opencode.base.functional.monad.Try
Transform the value to another Try if Success 如果成功则转换为另一个 Try
flatMap(Function) - Method in class cloud.opencode.base.functional.monad.Try.Success
 
flatMap(Function) - Method in interface cloud.opencode.base.functional.monad.Validation
FlatMap the value if Valid (monadic bind) 如果有效则扁平映射值(单子绑定)
flatMap(Function) - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
flatMap(Function) - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
flatMap(Function) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.PipelineBuilder
Flat-map the value 扁平映射值
FlatMap(Trampoline, Function) - Constructor for record class cloud.opencode.base.functional.monad.Trampoline.FlatMap
Creates an instance of a FlatMap record class.
flatMapVirtual(Function) - Method in class cloud.opencode.base.functional.async.Future
FlatMap on virtual thread.
flip(BiFunction) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Flip the arguments of a BiFunction 翻转 BiFunction 的参数
fold(Function, Function) - Method in interface cloud.opencode.base.functional.monad.Validation
Fold this Validation by applying one of two functions 通过应用两个函数之一来折叠此 Validation
fold(Function, Function) - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
fold(Function, Function) - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
fold(Function, Function) - Method in interface cloud.opencode.base.functional.monad.Either
Fold both cases to a single result 将两种情况折叠为单一结果
fold(Function, Function) - Method in class cloud.opencode.base.functional.monad.Either.Left
 
fold(Function, Function) - Method in class cloud.opencode.base.functional.monad.Either.Right
 
fold(Function, Function) - Method in interface cloud.opencode.base.functional.monad.Try
Fold this Try into a single value by applying one of two functions.
fold(Supplier, Function) - Method in interface cloud.opencode.base.functional.monad.Option
Fold this Option by applying one of two functions 通过应用两个函数之一来折叠此 Option
fold(Supplier, Function) - Method in class cloud.opencode.base.functional.monad.Option.None
 
fold(Supplier, Function) - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
fold(R, BiFunction) - Method in class cloud.opencode.base.functional.monad.Sequence
Fold elements from left with initial value.
For - Class in cloud.opencode.base.functional.monad
For - For-comprehension for simplified flatMap operations For - 简化 flatMap 操作的 For 表达式
For.Function3<T1,T2,T3,R> - Interface in cloud.opencode.base.functional.monad
Function with 3 parameters. 3 参数函数。
For.Function4<T1,T2,T3,T4,R> - Interface in cloud.opencode.base.functional.monad
Function with 4 parameters. 4 参数函数。
For.Function5<T1,T2,T3,T4,T5,R> - Interface in cloud.opencode.base.functional.monad
Function with 5 parameters. 5 参数函数。
For.IterableFor1<T1> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for one Iterable.
For.IterableFor2<T1,T2> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for two Iterables.
For.IterableFor3<T1,T2,T3> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for three Iterables.
For.OptionFor1<T1> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for one Option.
For.OptionFor2<T1,T2> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for two Options.
For.OptionFor3<T1,T2,T3> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for three Options.
For.OptionFor4<T1,T2,T3,T4> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for four Options.
For.SequenceFor1<T1> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for one Sequence.
For.SequenceFor2<T1,T2> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for two Sequences.
For.SequenceFor3<T1,T2,T3> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for three Sequences.
For.TryFor1<T1> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for one Try.
For.TryFor2<T1,T2> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for two Tries.
For.TryFor3<T1,T2,T3> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for three Tries.
For.TryFor4<T1,T2,T3,T4> - Class in cloud.opencode.base.functional.monad
For-comprehension builder for four Tries.
forAll(Predicate) - Method in interface cloud.opencode.base.functional.monad.Either
Check if this is a Left (vacuously true) or the predicate matches the Right value.
forAll(Predicate) - Method in interface cloud.opencode.base.functional.monad.Option
Check if the predicate holds for all values.
force() - Method in class cloud.opencode.base.functional.async.LazyAsync
Get the result, starting computation if needed 获取结果,必要时启动计算
forEach(Consumer) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.CollectionPipeline
Execute and perform action on each 执行并对每个元素执行动作
forEach(Consumer) - Method in class cloud.opencode.base.functional.monad.Sequence
Perform action on each element.
forRecord(Function, BiFunction) - Static method in class cloud.opencode.base.functional.optics.Lens
Create a lens for a record component 为 record 组件创建透镜
from(Iterable) - Static method in class cloud.opencode.base.functional.monad.Sequence
Create a sequence from iterable.
from(Function) - Static method in class cloud.opencode.base.functional.pipeline.Pipeline
Create a pipeline from a function 从函数创建管道
fromCallable(Callable) - Static method in class cloud.opencode.base.functional.async.Future
Create a Future from a callable.
fromCompletableFuture(CompletableFuture) - Static method in class cloud.opencode.base.functional.async.Future
Create a Future from a CompletableFuture.
fromLens(Lens) - Static method in class cloud.opencode.base.functional.optics.OptionalLens
Create from a regular lens 从常规透镜创建
fromMap(Class, Map) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Create record from Map 从 Map 创建 record
fromMapTry(Class, Map) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Create record from Map as Try 从 Map 创建 record 作为 Try
fromOptional(Optional) - Static method in interface cloud.opencode.base.functional.monad.Option
Create Option from Optional 从 Optional 创建 Option
fromStream(Stream) - Static method in class cloud.opencode.base.functional.monad.Sequence
Create a sequence from stream (single-use).
FunctionUtil - Class in cloud.opencode.base.functional.function
FunctionUtil - Function composition, currying, and memoization utilities FunctionUtil - 函数组合、柯里化和记忆化工具类
Future<T> - Class in cloud.opencode.base.functional.async
Future - Functional wrapper for CompletableFuture Future - CompletableFuture 的函数式包装

G

generate(Supplier) - Static method in class cloud.opencode.base.functional.monad.Sequence
Create an infinite sequence from a supplier.
get() - Method in class cloud.opencode.base.functional.async.Future
Get the value, throwing if failed.
get() - Method in class cloud.opencode.base.functional.monad.Lazy
Get the value, computing if necessary 获取值,必要时进行计算
get() - Method in interface cloud.opencode.base.functional.monad.Option
Get the value, throws if None 获取值,如果是 None 则抛出异常
get() - Method in class cloud.opencode.base.functional.monad.Option.None
 
get() - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
get() - Method in interface cloud.opencode.base.functional.monad.Trampoline
Execute the trampoline and get the result.
get() - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
get() - Method in interface cloud.opencode.base.functional.monad.Try
Get the value, throws if failure 获取值,失败时抛出异常
get() - Method in class cloud.opencode.base.functional.monad.Try.Success
 
get() - Method in class cloud.opencode.base.functional.pipeline.PipeUtil.Pipe
Get the final value 获取最终值
get(Duration) - Method in class cloud.opencode.base.functional.async.LazyAsync
Get the result with timeout 带超时获取结果
get(S) - Method in class cloud.opencode.base.functional.optics.Lens
Get the focused value from the source 从源获取聚焦的值
get(S) - Method in class cloud.opencode.base.functional.optics.OptionalLens
Get the optional focused value 获取可选的聚焦值
getAs(Class) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Get result with type checking, throwing if wrong type 获取结果并进行类型检查,类型错误时抛出异常
getAs(Class, R) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Get result with type checking 获取结果并进行类型检查
getCause() - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
getCause() - Method in interface cloud.opencode.base.functional.monad.Try
Get the exception if this is a Failure 获取异常(如果失败)
getCause() - Method in class cloud.opencode.base.functional.monad.Try.Success
 
getComponent(Record, String) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Get a specific component value by name 按名称获取特定组件值
getComponentTry(Record, String) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Get component value as Try 获取组件值为 Try
getErrors() - Method in interface cloud.opencode.base.functional.monad.Validation
Get the errors (empty list if Valid) 获取错误列表(如果有效则为空)
getErrors() - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
getErrors() - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
getFuture() - Method in class cloud.opencode.base.functional.async.LazyAsync
Get the underlying future if started 获取底层 Future(如果已启动)
getLeft() - Method in interface cloud.opencode.base.functional.monad.Either
Get the Left value if present 获取 Left 值(如果存在)
getLeft() - Method in class cloud.opencode.base.functional.monad.Either.Left
 
getLeft() - Method in class cloud.opencode.base.functional.monad.Either.Right
 
getOrElse(Supplier) - Method in class cloud.opencode.base.functional.monad.Lazy
Get value or compute default if evaluation throws 获取值或计算默认值(如果求值抛出异常)
getOrElse(Supplier) - Method in interface cloud.opencode.base.functional.monad.Option
Get value or compute default if None 获取值或计算默认值(如果是 None)
getOrElse(Supplier) - Method in class cloud.opencode.base.functional.monad.Option.None
 
getOrElse(Supplier) - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
getOrElse(R) - Method in interface cloud.opencode.base.functional.monad.Either
Get Right value or default if Left 获取 Right 值或默认值(如果是 Left)
getOrElse(R) - Method in class cloud.opencode.base.functional.monad.Either.Left
 
getOrElse(R) - Method in class cloud.opencode.base.functional.monad.Either.Right
 
getOrElse(S, A) - Method in class cloud.opencode.base.functional.optics.OptionalLens
Get the focused value or default 获取聚焦值或默认值
getOrElse(T) - Method in class cloud.opencode.base.functional.async.Future
Get the value with default on failure.
getOrElse(T) - Method in class cloud.opencode.base.functional.monad.Lazy
Get value or default if evaluation throws 获取值或默认值(如果求值抛出异常)
getOrElse(T) - Method in interface cloud.opencode.base.functional.monad.Option
Get value or default if None 获取值或默认值(如果是 None)
getOrElse(T) - Method in class cloud.opencode.base.functional.monad.Option.None
 
getOrElse(T) - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
getOrElse(T) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
getOrElse(T) - Method in interface cloud.opencode.base.functional.monad.Try
Get value or default if Failure 获取值或默认值(如果失败)
getOrElse(T) - Method in class cloud.opencode.base.functional.monad.Try.Success
 
getOrElse(T) - Method in class cloud.opencode.base.functional.pipeline.PipeUtil.Pipe
Get the value or default if null 获取值或默认值(如果为 null)
getOrElseThrow(Function) - Method in interface cloud.opencode.base.functional.monad.Validation
Get the value if Valid, or throw a mapped exception if Invalid 如果有效则获取值,如果无效则抛出映射的异常
getRight() - Method in interface cloud.opencode.base.functional.monad.Either
Get the Right value if present 获取 Right 值(如果存在)
getRight() - Method in class cloud.opencode.base.functional.monad.Either.Left
 
getRight() - Method in class cloud.opencode.base.functional.monad.Either.Right
 
getter() - Method in class cloud.opencode.base.functional.optics.Lens
Get the getter function 获取 getter 函数
getter() - Method in class cloud.opencode.base.functional.optics.OptionalLens
Get the getter function 获取 getter 函数
getValue() - Method in interface cloud.opencode.base.functional.monad.Validation
Get the value if Valid 获取值(如果有效)
getValue() - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
getValue() - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
guardFailed(Object) - Static method in exception class cloud.opencode.base.functional.exception.OpenMatchException
Create exception for guard condition failure 为守卫条件失败创建异常

H

hasComponent(Class, String) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Check if record has component with name 检查 record 是否有指定名称的组件
hashCode() - Method in class cloud.opencode.base.functional.monad.Either.Left
 
hashCode() - Method in class cloud.opencode.base.functional.monad.Either.Right
 
hashCode() - Method in class cloud.opencode.base.functional.monad.Option.None
 
hashCode() - Method in record class cloud.opencode.base.functional.monad.Option.Some
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.functional.monad.Sequence.IndexedValue
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.functional.monad.Trampoline.Done
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.functional.monad.Trampoline.FlatMap
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.functional.monad.Trampoline.More
Returns a hash code value for this object.
hashCode() - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
hashCode() - Method in class cloud.opencode.base.functional.monad.Try.Success
 
hashCode() - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
hashCode() - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 

I

identity() - Static method in interface cloud.opencode.base.functional.function.CheckedFunction
Create identity function 创建恒等函数
identity() - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Identity function - returns its input unchanged 恒等函数 - 原样返回输入
identity() - Static method in class cloud.opencode.base.functional.optics.Lens
Create an identity lens 创建恒等透镜
identity() - Static method in class cloud.opencode.base.functional.pipeline.Pipeline
Create an identity pipeline 创建恒等管道
ignore() - Static method in enum class cloud.opencode.base.functional.monad.Unit
Return a function that discards its input and returns Unit 返回一个丢弃输入并返回 Unit 的函数
index() - Method in record class cloud.opencode.base.functional.monad.Sequence.IndexedValue
Returns the value of the index record component.
IndexedValue(int, T) - Constructor for record class cloud.opencode.base.functional.monad.Sequence.IndexedValue
Creates an instance of a IndexedValue record class.
INSTANCE - Enum constant in enum class cloud.opencode.base.functional.monad.Unit
The single Unit value 唯一的 Unit 值
invalid(E) - Static method in interface cloud.opencode.base.functional.monad.Validation
Create an Invalid result with single error 创建带单个错误的无效结果
invalid(E) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create an invalid Validation 创建无效的 Validation
invalid(List) - Static method in interface cloud.opencode.base.functional.monad.Validation
Create an Invalid result with multiple errors 创建带多个错误的无效结果
Invalid(List) - Constructor for class cloud.opencode.base.functional.monad.Validation.Invalid
 
invalidState(String) - Static method in exception class cloud.opencode.base.functional.exception.OpenFunctionalException
Create exception for invalid state 为无效状态创建异常
isCompleted() - Method in class cloud.opencode.base.functional.async.Future
Check if completed.
isCompleted() - Method in class cloud.opencode.base.functional.async.LazyAsync
Check if computation is complete 检查计算是否完成
isDone() - Method in record class cloud.opencode.base.functional.monad.Trampoline.Done
 
isDone() - Method in record class cloud.opencode.base.functional.monad.Trampoline.FlatMap
 
isDone() - Method in interface cloud.opencode.base.functional.monad.Trampoline
Check if the Trampoline is complete.
isDone() - Method in record class cloud.opencode.base.functional.monad.Trampoline.More
 
isEvaluated() - Method in class cloud.opencode.base.functional.monad.Lazy
Check if the value has been evaluated 检查值是否已被求值
isFailed() - Method in class cloud.opencode.base.functional.async.LazyAsync
Check if computation failed 检查计算是否失败
isFailure() - Method in class cloud.opencode.base.functional.async.Future
Check if failed.
isFailure() - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
isFailure() - Method in interface cloud.opencode.base.functional.monad.Try
Check if this is a Failure 检查是否失败
isFailure() - Method in class cloud.opencode.base.functional.monad.Try.Success
 
isInvalid() - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
isInvalid() - Method in interface cloud.opencode.base.functional.monad.Validation
Check if this is Invalid 检查是否无效
isInvalid() - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
isLeft() - Method in interface cloud.opencode.base.functional.monad.Either
Check if this is a Left 检查是否为 Left
isLeft() - Method in class cloud.opencode.base.functional.monad.Either.Left
 
isLeft() - Method in class cloud.opencode.base.functional.monad.Either.Right
 
isMatched() - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Check if a match was found 检查是否找到匹配
isNone() - Method in interface cloud.opencode.base.functional.monad.Option
Check if this is None 检查是否为 None
isNone() - Method in class cloud.opencode.base.functional.monad.Option.None
 
isNone() - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
isNull() - Static method in interface cloud.opencode.base.functional.pattern.Pattern
Create a null matching pattern 创建 null 匹配模式
isNull(Function) - Static method in class cloud.opencode.base.functional.pattern.Case
Create a case for null matching 创建 null 匹配分支
isPresent(S) - Method in class cloud.opencode.base.functional.optics.OptionalLens
Check if the focused value is present 检查聚焦值是否存在
isRecord(Class) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Check if a class is a record 检查类是否为 record
isRecordInstance(Object) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Check if an object is a record instance 检查对象是否为 record 实例
isRight() - Method in interface cloud.opencode.base.functional.monad.Either
Check if this is a Right 检查是否为 Right
isRight() - Method in class cloud.opencode.base.functional.monad.Either.Left
 
isRight() - Method in class cloud.opencode.base.functional.monad.Either.Right
 
isRunning() - Method in class cloud.opencode.base.functional.async.LazyAsync
Check if computation is running 检查计算是否正在运行
isSome() - Method in interface cloud.opencode.base.functional.monad.Option
Check if this is Some 检查是否为 Some
isSome() - Method in class cloud.opencode.base.functional.monad.Option.None
 
isSome() - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
isStarted() - Method in class cloud.opencode.base.functional.async.LazyAsync
Check if computation has been started 检查计算是否已启动
isSuccess() - Method in class cloud.opencode.base.functional.async.Future
Check if completed successfully.
isSuccess() - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
isSuccess() - Method in interface cloud.opencode.base.functional.monad.Try
Check if this is a Success 检查是否成功
isSuccess() - Method in class cloud.opencode.base.functional.monad.Try.Success
 
isValid() - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
isValid() - Method in interface cloud.opencode.base.functional.monad.Validation
Check if this is Valid 检查是否有效
isValid() - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
iterate(T, Predicate, Function) - Static method in interface cloud.opencode.base.functional.monad.Trampoline
Create a Trampoline for a recursive function.
iterate(T, UnaryOperator) - Static method in class cloud.opencode.base.functional.monad.Sequence
Create an infinite sequence by repeatedly applying a function.
iterator() - Method in class cloud.opencode.base.functional.monad.Sequence
 

L

last() - Method in class cloud.opencode.base.functional.monad.Sequence
Find last element.
lazy(Supplier) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a Lazy computation 创建惰性计算
Lazy<T> - Class in cloud.opencode.base.functional.monad
Lazy - Lazy evaluation container Lazy - 惰性求值容器
lazyAsync(Supplier) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a lazy async computation 创建惰性异步计算
LazyAsync<T> - Class in cloud.opencode.base.functional.async
LazyAsync - Lazy asynchronous computation LazyAsync - 惰性异步计算
LazyAsync.State - Enum Class in cloud.opencode.base.functional.async
Computation states 计算状态
left(L) - Static method in interface cloud.opencode.base.functional.monad.Either
Create a Left Either 创建 Left Either
left(L) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a Left Either 创建 Left Either
Left(L) - Constructor for class cloud.opencode.base.functional.monad.Either.Left
 
lens(Class, String) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Create a lens for a record component 为 record 组件创建透镜
lens(Function, BiFunction) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a lens 创建透镜
Lens<S,A> - Class in cloud.opencode.base.functional.optics
Lens - Functional lens for immutable data access and modification Lens - 用于不可变数据访问和修改的函数式透镜
lenses(Class) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Create lenses for all components 为所有组件创建透镜
lift(CheckedFunction) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Lift a checked function to return Option instead of throwing 将受检函数提升为返回 Option 而非抛出异常
lift(CheckedFunction) - Static method in class cloud.opencode.base.functional.OpenFunctional
Lift a checked function to return Option 将可抛异常函数提升为返回 Option
liftBi(CheckedBiFunction) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Lift a checked bi-function to return Option instead of throwing 将受检双参函数提升为返回 Option 而非抛出异常
liftBiTry(CheckedBiFunction) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Lift a checked bi-function to return Try instead of throwing 将受检双参函数提升为返回 Try 而非抛出异常
liftTry(CheckedFunction) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Lift a checked function to return Try instead of throwing 将受检函数提升为返回 Try 而非抛出异常
liftTry(CheckedFunction) - Static method in class cloud.opencode.base.functional.OpenFunctional
Lift a checked function to return Try 将可抛异常函数提升为返回 Try

M

map(Function) - Method in class cloud.opencode.base.functional.monad.Either.Left
 
map(Function) - Method in interface cloud.opencode.base.functional.monad.Either
Transform the Right value 转换 Right 值
map(Function) - Method in class cloud.opencode.base.functional.monad.Either.Right
 
map(Function) - Method in interface cloud.opencode.base.functional.pattern.Pattern
Transform the matched result 转换匹配的结果
map(Function) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.CollectionPipeline
Transform each element 转换每个元素
map(Function) - Method in class cloud.opencode.base.functional.async.Future
Map the value to a new value.
map(Function) - Method in class cloud.opencode.base.functional.monad.Sequence
Map each element to a new value.
map(Function) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.PipelineBuilder
Transform the value 转换值
map(Function) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.TryPipelineBuilder
Transform the value if successful 如果成功则转换值
map(Function) - Method in class cloud.opencode.base.functional.async.LazyAsync
Transform the result lazily 惰性转换结果
map(Function) - Method in class cloud.opencode.base.functional.monad.Lazy
Transform the value lazily 惰性转换值
map(Function) - Method in interface cloud.opencode.base.functional.monad.Option
Transform the value if Some 如果是 Some 则转换值
map(Function) - Method in class cloud.opencode.base.functional.monad.Option.None
 
map(Function) - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
map(Function) - Method in interface cloud.opencode.base.functional.monad.Trampoline
Transform the result when it becomes available.
map(Function) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
map(Function) - Method in interface cloud.opencode.base.functional.monad.Try
Transform the value if Success 如果成功则转换值
map(Function) - Method in class cloud.opencode.base.functional.monad.Try.Success
 
map(Function) - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
map(Function) - Method in interface cloud.opencode.base.functional.monad.Validation
Transform the value if Valid 如果有效则转换值
map(Function) - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
mapError(Function) - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
mapError(Function) - Method in interface cloud.opencode.base.functional.monad.Validation
Transform the error type if Invalid 如果无效则转换错误类型
mapError(Function) - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
mapFailure(Function) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
mapFailure(Function) - Method in interface cloud.opencode.base.functional.monad.Try
Transform the exception if this is a Failure.
mapLeft(Function) - Method in class cloud.opencode.base.functional.monad.Either.Left
 
mapLeft(Function) - Method in interface cloud.opencode.base.functional.monad.Either
Transform the Left value 转换 Left 值
mapLeft(Function) - Method in class cloud.opencode.base.functional.monad.Either.Right
 
mappingFailed(Throwable) - Static method in exception class cloud.opencode.base.functional.exception.OpenFunctionalException
Create exception for mapping failure 为映射失败创建异常
mapTry(Function) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.PipelineBuilder
Transform with a function that may fail 使用可能失败的函数转换
match(Case) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Apply a Case 应用一个 Case
match(Pattern, Function) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Match using a Pattern with action 使用 Pattern 进行匹配并执行动作
match(T) - Static method in class cloud.opencode.base.functional.OpenFunctional
Start pattern matching 开始模式匹配
match(T) - Method in interface cloud.opencode.base.functional.pattern.Pattern
Try to match the value 尝试匹配值
matches(T) - Method in class cloud.opencode.base.functional.pattern.Case
Check if this case matches the value 检查此分支是否匹配值
matches(T) - Method in interface cloud.opencode.base.functional.pattern.Pattern
Check if pattern matches without extracting 检查是否匹配而不提取
memoize(Function) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Memoize a function - cache results for repeated calls 记忆化函数 - 缓存重复调用的结果
memoize(Function) - Static method in class cloud.opencode.base.functional.OpenFunctional
Memoize a function 记忆化函数
memoize(Function, int) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Memoize a function with specified maximum cache size 使用指定最大缓存大小记忆化函数
memoize(Function, int) - Static method in class cloud.opencode.base.functional.OpenFunctional
Memoize a function with custom cache size 记忆化函数(自定义缓存大小)
memoize(Supplier) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Memoize a Supplier - cache the result of first call 记忆化 Supplier - 缓存首次调用的结果
modifier(UnaryOperator) - Method in class cloud.opencode.base.functional.optics.Lens
Create a modifier function for this lens 为此透镜创建修改器函数
modify(S, UnaryOperator) - Method in class cloud.opencode.base.functional.optics.Lens
Modify the focused value using a function 使用函数修改聚焦的值
modify(S, UnaryOperator) - Method in class cloud.opencode.base.functional.optics.OptionalLens
Modify the focused value if present 如果存在则修改聚焦值
modifyOrSet(S, UnaryOperator, A) - Method in class cloud.opencode.base.functional.optics.OptionalLens
Modify the focused value, or set default if not present 修改聚焦值,如果不存在则设置默认值
more(Supplier) - Static method in interface cloud.opencode.base.functional.monad.Trampoline
Create a suspended Trampoline with a continuation.
More(Supplier) - Constructor for record class cloud.opencode.base.functional.monad.Trampoline.More
Creates an instance of a More record class.

N

never() - Static method in class cloud.opencode.base.functional.async.Future
Create a Future that never completes.
noMatch(Object) - Static method in exception class cloud.opencode.base.functional.exception.OpenMatchException
Create exception for no matching pattern 为没有匹配模式创建异常
none() - Static method in interface cloud.opencode.base.functional.monad.Option
Create a None 创建 None
none() - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a None Option 创建 None Option
none(Predicate) - Method in class cloud.opencode.base.functional.monad.Sequence
Check if no elements match predicate.
not(Predicate) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Predicate negation 谓词取反
NOT_STARTED - Enum constant in enum class cloud.opencode.base.functional.async.LazyAsync.State
 
noValue(String) - Static method in exception class cloud.opencode.base.functional.exception.OpenFunctionalException
Create exception for missing value 为缺少值创建异常

O

of(CheckedSupplier) - Static method in interface cloud.opencode.base.functional.monad.Try
Execute a computation that may fail 执行可能失败的计算
of(Option) - Static method in class cloud.opencode.base.functional.monad.For
Start a for-comprehension with an Option.
of(Sequence) - Static method in class cloud.opencode.base.functional.monad.For
Start a for-comprehension with a Sequence.
of(Try) - Static method in class cloud.opencode.base.functional.monad.For
Start a for-comprehension with a Try.
of(Pattern, Function) - Static method in class cloud.opencode.base.functional.pattern.Case
Create a case from a custom pattern 从自定义模式创建分支
of(Iterable) - Static method in class cloud.opencode.base.functional.monad.For
Start a for-comprehension with an Iterable.
of(Runnable) - Static method in interface cloud.opencode.base.functional.function.CheckedRunnable
Wrap a standard Runnable as CheckedRunnable 将标准 Runnable 包装为 CheckedRunnable
of(BiConsumer) - Static method in interface cloud.opencode.base.functional.function.CheckedBiConsumer
Wrap a standard BiConsumer as CheckedBiConsumer 将标准 BiConsumer 包装为 CheckedBiConsumer
of(BiFunction) - Static method in interface cloud.opencode.base.functional.function.CheckedBiFunction
Wrap a standard BiFunction as CheckedBiFunction 将标准 BiFunction 包装为 CheckedBiFunction
of(Consumer) - Static method in interface cloud.opencode.base.functional.function.CheckedConsumer
Wrap a standard Consumer as CheckedConsumer 将标准 Consumer 包装为 CheckedConsumer
of(Function, BiFunction) - Static method in class cloud.opencode.base.functional.optics.Lens
Create a lens from getter and setter 从 getter 和 setter 创建透镜
of(Function, BiFunction) - Static method in class cloud.opencode.base.functional.optics.OptionalLens
Create an optional lens from getter and setter 从 getter 和 setter 创建可选透镜
of(Function) - Static method in interface cloud.opencode.base.functional.function.CheckedFunction
Wrap a standard Function as CheckedFunction 将标准 Function 包装为 CheckedFunction
of(Supplier) - Static method in class cloud.opencode.base.functional.async.Future
Create a Future from a supplier (uses ForkJoinPool).
of(Supplier) - Static method in class cloud.opencode.base.functional.async.LazyAsync
Create a lazy async computation 创建惰性异步计算
of(Supplier) - Static method in class cloud.opencode.base.functional.monad.Lazy
Create a Lazy from supplier 从供应商创建 Lazy
of(Supplier, Executor) - Static method in class cloud.opencode.base.functional.async.Future
Create a Future from a supplier with custom executor.
of(T) - Static method in interface cloud.opencode.base.functional.monad.Option
Create Option from nullable value 从可空值创建 Option
of(T) - Static method in class cloud.opencode.base.functional.pattern.OpenMatch
Start pattern matching on a value 开始对值进行模式匹配
of(T) - Static method in class cloud.opencode.base.functional.pipeline.Pipeline
Create a pipeline starting with a value 创建以值开始的管道
of(T...) - Static method in class cloud.opencode.base.functional.monad.Sequence
Create a sequence from elements.
ofCollection(Collection) - Static method in class cloud.opencode.base.functional.pipeline.Pipeline
Create a collection pipeline 创建集合管道
ofNullable(Function, BiFunction) - Static method in class cloud.opencode.base.functional.optics.OptionalLens
Create an optional lens from nullable getter 从可空 getter 创建可选透镜
ofVirtual(Supplier) - Static method in class cloud.opencode.base.functional.async.Future
Create a Future from a supplier using virtual threads.
onComplete(BiConsumer) - Method in class cloud.opencode.base.functional.async.Future
Execute side effect on completion.
onFailure(Consumer) - Method in class cloud.opencode.base.functional.async.Future
Execute side effect on failure.
onFailure(Consumer) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
onFailure(Consumer) - Method in interface cloud.opencode.base.functional.monad.Try
Execute action on failure 失败时执行操作
onFailure(Consumer) - Method in class cloud.opencode.base.functional.monad.Try.Success
 
onNone(Runnable) - Method in class cloud.opencode.base.functional.monad.Option.None
 
onNone(Runnable) - Method in interface cloud.opencode.base.functional.monad.Option
Execute action if None 如果是 None 则执行操作
onNone(Runnable) - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
onSuccess(Consumer) - Method in class cloud.opencode.base.functional.async.Future
Execute side effect on success.
onSuccess(Consumer) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
onSuccess(Consumer) - Method in interface cloud.opencode.base.functional.monad.Try
Execute action on success 成功时执行操作
onSuccess(Consumer) - Method in class cloud.opencode.base.functional.monad.Try.Success
 
OpenFunctional - Class in cloud.opencode.base.functional
OpenFunctional - Unified entry point for functional programming utilities OpenFunctional - 函数式编程工具的统一入口点
OpenFunctionalException - Exception Class in cloud.opencode.base.functional.exception
OpenFunctionalException - Base exception for functional operations OpenFunctionalException - 函数式操作的基础异常
OpenFunctionalException(String) - Constructor for exception class cloud.opencode.base.functional.exception.OpenFunctionalException
Create exception with message 创建带消息的异常
OpenFunctionalException(String, String) - Constructor for exception class cloud.opencode.base.functional.exception.OpenFunctionalException
Create exception with error code and message 创建带错误码和消息的异常
OpenFunctionalException(String, String, Throwable) - Constructor for exception class cloud.opencode.base.functional.exception.OpenFunctionalException
Create exception with error code, message and cause 创建带错误码、消息和原因的异常
OpenFunctionalException(String, Throwable) - Constructor for exception class cloud.opencode.base.functional.exception.OpenFunctionalException
Create exception with message and cause 创建带消息和原因的异常
OpenMatch - Class in cloud.opencode.base.functional.pattern
OpenMatch - Pattern matching entry point OpenMatch - 模式匹配入口
OpenMatch.Matcher<T> - Class in cloud.opencode.base.functional.pattern
Matcher - Fluent pattern matching builder Matcher - 流式模式匹配构建器
OpenMatchException - Exception Class in cloud.opencode.base.functional.exception
OpenMatchException - Exception for pattern matching failures OpenMatchException - 模式匹配失败的异常
OpenMatchException(String) - Constructor for exception class cloud.opencode.base.functional.exception.OpenMatchException
Create exception with message 创建带消息的异常
OpenMatchException(String, Object) - Constructor for exception class cloud.opencode.base.functional.exception.OpenMatchException
Create exception with message and unmatched value 创建带消息和未匹配值的异常
OpenMatchException(String, String, Object) - Constructor for exception class cloud.opencode.base.functional.exception.OpenMatchException
Create exception with error code, message and unmatched value 创建带错误码、消息和未匹配值的异常
option(T) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create an Option from nullable value 从可空值创建 Option
Option<T> - Interface in cloud.opencode.base.functional.monad
Option Monad - Enhanced Optional with more functional operations Option Monad - 增强的 Optional,提供更多函数式操作
Option.None<T> - Class in cloud.opencode.base.functional.monad
None - Represents absence of value None - 表示值缺失
Option.Some<T> - Record Class in cloud.opencode.base.functional.monad
Some - Contains a value Some - 包含值
optionalLens(Function, BiFunction) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create an optional lens 创建可选透镜
OptionalLens<S,A> - Class in cloud.opencode.base.functional.optics
OptionalLens - Functional lens for optional data access OptionalLens - 用于可选数据访问的函数式透镜
or(Pattern) - Method in interface cloud.opencode.base.functional.pattern.Pattern
Combine with another pattern (OR) 与另一个模式组合(OR)
orElse(Future) - Method in class cloud.opencode.base.functional.async.Future
Provide a fallback Future on failure.
orElse(LazyAsync) - Method in class cloud.opencode.base.functional.async.LazyAsync
Provide fallback on failure 失败时提供回退
orElse(Either) - Method in class cloud.opencode.base.functional.monad.Either.Left
 
orElse(Either) - Method in interface cloud.opencode.base.functional.monad.Either
Return this or other Either if Left 返回本 Either 或其他 Either(如果是 Left)
orElse(Either) - Method in class cloud.opencode.base.functional.monad.Either.Right
 
orElse(Option) - Method in class cloud.opencode.base.functional.monad.Option.None
 
orElse(Option) - Method in interface cloud.opencode.base.functional.monad.Option
Return this or other Option if None 返回本 Option 或其他 Option(如果是 None)
orElse(Option) - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
orElse(Try) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
orElse(Try) - Method in interface cloud.opencode.base.functional.monad.Try
Return this or other Try if Failure 返回本 Try 或其他 Try(如果失败)
orElse(Try) - Method in class cloud.opencode.base.functional.monad.Try.Success
 
orElse(Function) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Get result or default if no match 获取结果或默认值(如果没有匹配)
orElse(Supplier) - Method in class cloud.opencode.base.functional.monad.Option.None
 
orElse(Supplier) - Method in interface cloud.opencode.base.functional.monad.Option
Return this or computed Option if None 返回本 Option 或计算的 Option(如果是 None)
orElse(Supplier) - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
orElse(T) - Method in class cloud.opencode.base.functional.async.Future
Provide a fallback value on failure.
orElseGet(R) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Get result or default value if no match 获取结果或默认值(如果没有匹配)
orElseThrow() - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Get result or throw if no match 获取结果或抛出异常(如果没有匹配)
otherwise(Function) - Static method in class cloud.opencode.base.functional.pattern.Case
Create a default case that always matches 创建始终匹配的默认分支

P

parallelMap(List, Function) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Map a function over a list in parallel 并行地将函数映射到列表
parallelMap(List, Function) - Static method in class cloud.opencode.base.functional.OpenFunctional
Parallel map over a list 并行映射列表
parallelMapTry(List, Function) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Map a function over a list in parallel with error handling 并行地将函数映射到列表,带错误处理
partial(BiFunction, A) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Partial application - fix the first argument 部分应用 - 固定第一个参数
partialRight(BiFunction, B) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Partial application - fix the second argument 部分应用 - 固定第二个参数
pattern() - Method in class cloud.opencode.base.functional.pattern.Case
Get the pattern 获取模式
Pattern<T,R> - Interface in cloud.opencode.base.functional.pattern
Pattern - Pattern interface for matching values Pattern - 用于匹配值的模式接口
peek(Consumer) - Method in class cloud.opencode.base.functional.monad.Either.Left
 
peek(Consumer) - Method in interface cloud.opencode.base.functional.monad.Either
Execute action on Right value 对 Right 值执行操作
peek(Consumer) - Method in class cloud.opencode.base.functional.monad.Either.Right
 
peek(Consumer) - Method in class cloud.opencode.base.functional.monad.Option.None
 
peek(Consumer) - Method in interface cloud.opencode.base.functional.monad.Option
Execute action if Some 如果是 Some 则执行操作
peek(Consumer) - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
peek(Consumer) - Method in interface cloud.opencode.base.functional.monad.Trampoline
Execute a side effect when the result is available.
peek(Consumer) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
peek(Consumer) - Method in interface cloud.opencode.base.functional.monad.Try
Execute action on the value if Success 如果成功则对值执行操作
peek(Consumer) - Method in class cloud.opencode.base.functional.monad.Try.Success
 
peek(Consumer) - Method in interface cloud.opencode.base.functional.monad.Validation
Execute an action on the value if Valid, then return this Validation 如果有效,对值执行操作,然后返回此 Validation
peek(Consumer) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.PipelineBuilder
Peek at the current value 查看当前值
peekLeft(Consumer) - Method in class cloud.opencode.base.functional.monad.Either.Left
 
peekLeft(Consumer) - Method in interface cloud.opencode.base.functional.monad.Either
Execute action on Left value 对 Left 值执行操作
peekLeft(Consumer) - Method in class cloud.opencode.base.functional.monad.Either.Right
 
pipe(T) - Static method in class cloud.opencode.base.functional.OpenFunctional
Start a pipe chain 开始管道链
pipe(T) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Start a pipe chain with a value 以值开始管道链
pipeline(T) - Static method in class cloud.opencode.base.functional.OpenFunctional
Start a pipeline with a value 以值开始管道
Pipeline<T,R> - Class in cloud.opencode.base.functional.pipeline
Pipeline - Composable data transformation pipeline Pipeline - 可组合的数据转换管道
Pipeline.CollectionPipeline<T,R> - Class in cloud.opencode.base.functional.pipeline
CollectionPipeline - Pipeline for processing collections CollectionPipeline - 用于处理集合的管道
Pipeline.PipelineBuilder<T> - Class in cloud.opencode.base.functional.pipeline
PipelineBuilder - Fluent builder for single-value pipelines PipelineBuilder - 单值管道的流式构建器
Pipeline.TryPipelineBuilder<T> - Class in cloud.opencode.base.functional.pipeline
TryPipelineBuilder - Builder for pipelines that may fail TryPipelineBuilder - 可能失败的管道构建器
PipeUtil - Class in cloud.opencode.base.functional.pipeline
PipeUtil - Utility methods for pipeline operations PipeUtil - 管道操作的工具方法
PipeUtil.Pipe<T> - Class in cloud.opencode.base.functional.pipeline
Pipe - Value holder for pipe operations Pipe - 管道操作的值持有者
previous() - Method in record class cloud.opencode.base.functional.monad.Trampoline.FlatMap
Returns the value of the previous record component.

R

race(LazyAsync, LazyAsync) - Static method in class cloud.opencode.base.functional.async.LazyAsync
Race two lazy async computations 竞争两个惰性异步计算
range(int, int) - Static method in class cloud.opencode.base.functional.monad.Sequence
Create a sequence of integers from start (inclusive) to end (exclusive).
rangeClosed(int, int) - Static method in class cloud.opencode.base.functional.monad.Sequence
Create a sequence of integers from start (inclusive) to end (inclusive).
recordLens(Class, String) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a lens for a record component 为 record 组件创建透镜
recordToMap(Record) - Static method in class cloud.opencode.base.functional.OpenFunctional
Convert record to map 将 record 转换为 map
RecordUtil - Class in cloud.opencode.base.functional.record
RecordUtil - Utilities for working with Java Records RecordUtil - 用于处理 Java Record 的工具
recover(Class, Function) - Method in class cloud.opencode.base.functional.async.Future
Recover from specific exception type.
recover(CompletableFuture, Function) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Recover from failure asynchronously 异步从失败恢复
recover(Function) - Method in class cloud.opencode.base.functional.async.Future
Recover from any failure.
recover(Function) - Method in class cloud.opencode.base.functional.async.LazyAsync
Recover from failure 从失败恢复
recover(Function) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
recover(Function) - Method in interface cloud.opencode.base.functional.monad.Try
Recover from Failure with a function 使用函数从失败恢复
recover(Function) - Method in class cloud.opencode.base.functional.monad.Try.Success
 
recover(Function) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.TryPipelineBuilder
Recover from failure 从失败恢复
recoverAsync(CompletableFuture, Function) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Recover from failure with async operation 使用异步操作从失败恢复
recoverWith(Function) - Method in class cloud.opencode.base.functional.async.Future
Recover with another Future.
recoverWith(Function) - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
recoverWith(Function) - Method in interface cloud.opencode.base.functional.monad.Try
Recover from Failure with a function returning Try 使用返回 Try 的函数从失败恢复
recoverWith(Function) - Method in class cloud.opencode.base.functional.monad.Try.Success
 
reduce(BinaryOperator) - Method in class cloud.opencode.base.functional.monad.Sequence
Reduce elements (no initial value).
reduce(R, BinaryOperator) - Method in class cloud.opencode.base.functional.pipeline.Pipeline.CollectionPipeline
Reduce elements to single value 将元素规约为单个值
repeat(int, T, Function) - Static method in interface cloud.opencode.base.functional.monad.Trampoline
Create a Trampoline that repeats a computation n times.
result() - Method in record class cloud.opencode.base.functional.monad.Trampoline.Done
Returns the value of the result record component.
right(R) - Static method in interface cloud.opencode.base.functional.monad.Either
Create a Right Either 创建 Right Either
right(R) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a Right Either 创建 Right Either
Right(R) - Constructor for class cloud.opencode.base.functional.monad.Either.Right
 
run() - Method in interface cloud.opencode.base.functional.function.CheckedRunnable
Run the operation, may throw checked exception 运行操作,可能抛出受检异常
run() - Method in interface cloud.opencode.base.functional.monad.Trampoline
Execute the trampoline and get the result.
runAll(Supplier...) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Run multiple suppliers in parallel 并行运行多个供应商
runAllAsync(Runnable...) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Run multiple runnables in parallel 并行运行多个可运行对象
RUNNING - Enum constant in enum class cloud.opencode.base.functional.async.LazyAsync.State
 
runQuietly() - Method in interface cloud.opencode.base.functional.function.CheckedRunnable
Run silently, ignoring any checked or unchecked exception (but not Error) 静默运行,忽略任何受检或非受检异常(不包括 Error

S

sequence(Future...) - Static method in class cloud.opencode.base.functional.async.Future
Combine a list of futures into a future of list.
sequence(Trampoline...) - Static method in interface cloud.opencode.base.functional.monad.Trampoline
Sequence multiple Trampolines, returning the last result.
sequence(UnaryOperator...) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Create a transformation that applies multiple transformations in order 创建按顺序应用多个转换的转换
sequence(List) - Static method in class cloud.opencode.base.functional.async.Future
Combine a list of futures into a future of list.
sequence(List) - Static method in interface cloud.opencode.base.functional.monad.Validation
Sequence a list of validations 将验证列表序列化
Sequence<T> - Class in cloud.opencode.base.functional.monad
Sequence - Lazy evaluated sequence Sequence - 惰性求值序列
Sequence.IndexedValue<T> - Record Class in cloud.opencode.base.functional.monad
Value with its index.
set(S, A) - Method in class cloud.opencode.base.functional.optics.Lens
Set the focused value, returning a new source 设置聚焦的值,返回新的源
set(S, A) - Method in class cloud.opencode.base.functional.optics.OptionalLens
Set the focused value 设置聚焦值
setIfPresent(S, Optional) - Method in class cloud.opencode.base.functional.optics.OptionalLens
Set the focused value if present in Optional 如果 Optional 中存在则设置聚焦值
setter() - Method in class cloud.opencode.base.functional.optics.Lens
Get the setter function 获取 setter 函数
setter() - Method in class cloud.opencode.base.functional.optics.OptionalLens
Get the setter function 获取 setter 函数
some(T) - Static method in interface cloud.opencode.base.functional.monad.Option
Create a Some with value 创建包含值的 Some
some(T) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a Some Option 创建 Some Option
Some(T) - Constructor for record class cloud.opencode.base.functional.monad.Option.Some
Creates an instance of a Some record class.
sorted() - Method in class cloud.opencode.base.functional.monad.Sequence
Sort the sequence by natural order.
sorted(Comparator) - Method in class cloud.opencode.base.functional.monad.Sequence
Sort the sequence by comparator.
start() - Method in class cloud.opencode.base.functional.async.LazyAsync
Start the computation if not already started 如果尚未启动则启动计算
state() - Method in class cloud.opencode.base.functional.async.LazyAsync
Get the current state 获取当前状态
stream() - Method in interface cloud.opencode.base.functional.monad.Either
Convert to Stream: Right becomes a single-element Stream, Left becomes empty.
stream() - Method in interface cloud.opencode.base.functional.monad.Option
Convert to Stream.
stream() - Method in interface cloud.opencode.base.functional.monad.Try
Convert to Stream.
stream() - Method in interface cloud.opencode.base.functional.monad.Validation
Convert to Stream 转换为 Stream
success(T) - Static method in interface cloud.opencode.base.functional.monad.Try
Create a Success with value 创建成功结果
success(T) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a successful Try 创建成功的 Try
Success(T) - Constructor for class cloud.opencode.base.functional.monad.Try.Success
 
successful(T) - Static method in class cloud.opencode.base.functional.async.Future
Create a successful Future with the given value.
supplier() - Static method in enum class cloud.opencode.base.functional.monad.Unit
Return a supplier that always supplies Unit 返回一个始终提供 Unit 的供应者
suspend(Supplier) - Static method in interface cloud.opencode.base.functional.monad.Trampoline
Create a Trampoline that suspends computation.
swap() - Method in class cloud.opencode.base.functional.monad.Either.Left
 
swap() - Method in class cloud.opencode.base.functional.monad.Either.Right
 
swap() - Method in interface cloud.opencode.base.functional.monad.Either
Swap Left and Right 交换 Left 和 Right

T

take(int) - Method in class cloud.opencode.base.functional.monad.Sequence
Take only the first n elements.
takeWhile(Predicate) - Method in class cloud.opencode.base.functional.monad.Sequence
Take elements while predicate is true.
tap(Consumer) - Method in class cloud.opencode.base.functional.pipeline.PipeUtil.Pipe
Perform side effect without changing value 执行副作用而不改变值
tap(T, Consumer) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Execute side effect and return value 执行副作用并返回值
tapIfPresent(T, Consumer) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Execute side effect if value is non-null 如果值非空则执行副作用
then(Function) - Method in class cloud.opencode.base.functional.pipeline.PipeUtil.Pipe
Apply a transformation 应用转换
thenAsync(CompletableFuture, Function) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Chain async operations 链接异步操作
thenFlatAsync(CompletableFuture, Function) - Static method in class cloud.opencode.base.functional.async.AsyncFunctionUtil
Chain async operations with async mapper 使用异步映射器链接异步操作
thenIf(boolean, UnaryOperator) - Method in class cloud.opencode.base.functional.pipeline.PipeUtil.Pipe
Apply transformation if condition is true 如果条件为真则应用转换
thenIfPresent(Function) - Method in class cloud.opencode.base.functional.pipeline.PipeUtil.Pipe
Apply transformation if value is non-null 如果值非空则应用转换
timeout(Duration) - Method in class cloud.opencode.base.functional.async.Future
Apply a timeout to this Future.
timeout(Duration, T) - Method in class cloud.opencode.base.functional.async.Future
Apply a timeout with default value.
toCompletableFuture() - Method in class cloud.opencode.base.functional.async.Future
Get the underlying CompletableFuture.
toEither() - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
toEither() - Method in class cloud.opencode.base.functional.monad.Try.Success
 
toEither() - Method in interface cloud.opencode.base.functional.monad.Try
Convert to Either (Left=exception, Right=value) 转换为 Either(Left=异常,Right=值)
toEither() - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
toEither() - Method in interface cloud.opencode.base.functional.monad.Validation
Convert to Either (errors as Left, value as Right) 转换为 Either(错误为 Left,值为 Right)
toEither() - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
toEither(L) - Method in class cloud.opencode.base.functional.monad.Option.None
 
toEither(L) - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
toEither(L) - Method in interface cloud.opencode.base.functional.monad.Option
Convert to Either (None becomes Left) 转换为 Either(None 变为 Left)
toFunction() - Method in class cloud.opencode.base.functional.pipeline.Pipeline
Get the underlying function 获取底层函数
toLazy() - Method in interface cloud.opencode.base.functional.monad.Trampoline
Convert to a Lazy that executes the trampoline.
toList() - Method in class cloud.opencode.base.functional.monad.Sequence
Collect to a list.
toList() - Method in class cloud.opencode.base.functional.pipeline.Pipeline.CollectionPipeline
Execute and collect to List 执行并收集为 List
toMap(Record) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Convert record to Map 将 record 转换为 Map
toMapTry(Record) - Static method in class cloud.opencode.base.functional.record.RecordUtil
Convert record to Map as Try 将 record 转换为 Map 作为 Try
toOption() - Method in class cloud.opencode.base.functional.async.Future
Convert to Option (None on failure).
toOption() - Method in interface cloud.opencode.base.functional.monad.Either
Convert to Option: Right becomes Some, Left becomes None.
toOption() - Method in class cloud.opencode.base.functional.monad.Lazy
Convert to Option 转换为 Option
toOption() - Method in interface cloud.opencode.base.functional.monad.Try
Convert to Option.
toOption() - Method in interface cloud.opencode.base.functional.monad.Validation
Convert to Option monad 转换为 Option 单子
toOptional() - Method in class cloud.opencode.base.functional.monad.Option.None
 
toOptional() - Method in record class cloud.opencode.base.functional.monad.Option.Some
 
toOptional() - Method in interface cloud.opencode.base.functional.monad.Option
Convert to Optional 转换为 Optional
toOptional() - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
toOptional() - Method in class cloud.opencode.base.functional.monad.Try.Success
 
toOptional() - Method in interface cloud.opencode.base.functional.monad.Try
Convert to Optional (empty if Failure) 转换为 Optional(失败时为空)
toSet() - Method in class cloud.opencode.base.functional.monad.Sequence
Collect to a set.
toStream() - Method in class cloud.opencode.base.functional.monad.Sequence
Convert to stream.
toString() - Method in class cloud.opencode.base.functional.async.LazyAsync
 
toString() - Method in class cloud.opencode.base.functional.monad.Either.Left
 
toString() - Method in class cloud.opencode.base.functional.monad.Either.Right
 
toString() - Method in class cloud.opencode.base.functional.monad.Lazy
 
toString() - Method in class cloud.opencode.base.functional.monad.Option.None
 
toString() - Method in record class cloud.opencode.base.functional.monad.Option.Some
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.functional.monad.Sequence.IndexedValue
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.functional.monad.Trampoline.Done
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.functional.monad.Trampoline.FlatMap
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.functional.monad.Trampoline.More
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.functional.monad.Try.Failure
 
toString() - Method in class cloud.opencode.base.functional.monad.Try.Success
 
toString() - Method in enum class cloud.opencode.base.functional.monad.Unit
Returns "()" as the string representation of Unit 返回 "()" 作为 Unit 的字符串表示
toString() - Method in class cloud.opencode.base.functional.monad.Validation.Invalid
 
toString() - Method in class cloud.opencode.base.functional.monad.Validation.Valid
 
toString() - Method in class cloud.opencode.base.functional.optics.Lens
 
toString() - Method in class cloud.opencode.base.functional.optics.OptionalLens
 
toTry() - Method in class cloud.opencode.base.functional.async.Future
Convert to Try.
toTry() - Method in class cloud.opencode.base.functional.async.LazyAsync
Get the result as Try (blocking) 获取结果为 Try(阻塞)
toTry() - Method in class cloud.opencode.base.functional.monad.Either.Left
 
toTry() - Method in class cloud.opencode.base.functional.monad.Either.Right
 
toTry() - Method in interface cloud.opencode.base.functional.monad.Either
Convert to Try: Right becomes Success, Left becomes Failure.
toTry() - Method in class cloud.opencode.base.functional.monad.Lazy
Convert to Try 转换为 Try
toTry() - Method in interface cloud.opencode.base.functional.monad.Trampoline
Convert to a Try that captures exceptions.
toTry() - Method in interface cloud.opencode.base.functional.monad.Validation
Convert to Try monad 转换为 Try 单子
toTry(Supplier) - Method in interface cloud.opencode.base.functional.monad.Option
Convert to Try.
toValidation() - Method in interface cloud.opencode.base.functional.monad.Either
Convert to Validation: Right becomes Valid, Left becomes Invalid.
toValidation() - Method in interface cloud.opencode.base.functional.monad.Try
Convert to Validation.
toValidation(E) - Method in interface cloud.opencode.base.functional.monad.Option
Convert to Validation.
Trampoline<T> - Interface in cloud.opencode.base.functional.monad
Trampoline - Stack-safe recursion using trampolining Trampoline - 使用蹦床模式的栈安全递归
Trampoline.Done<T> - Record Class in cloud.opencode.base.functional.monad
Completed Trampoline with a result.
Trampoline.FlatMap<A,B> - Record Class in cloud.opencode.base.functional.monad
FlatMapped Trampoline for chaining computations.
Trampoline.More<T> - Record Class in cloud.opencode.base.functional.monad
Suspended Trampoline with a continuation.
transform(Collection, Function) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Transform a collection 转换集合
traverse(Iterable, Function) - Static method in class cloud.opencode.base.functional.async.Future
Transform a collection into a future of list using a mapping function.
TriFunction<T1,T2,T3,R> - Interface in cloud.opencode.base.functional.function
TriFunction - Three-argument function TriFunction - 三参函数
Try<T> - Interface in cloud.opencode.base.functional.monad
Try Monad - Encapsulates computations that may fail Try Monad - 封装可能失败的计算
Try.Failure<T> - Class in cloud.opencode.base.functional.monad
Failure - Represents a failed computation Failure - 表示失败的计算
Try.Success<T> - Class in cloud.opencode.base.functional.monad
Success - Represents a successful computation Success - 表示成功的计算
tryOf(CheckedSupplier) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a Try from a supplier 从供应商创建 Try
type(Class) - Static method in interface cloud.opencode.base.functional.pattern.Pattern
Create a type matching pattern 创建类型匹配模式
type(Class, Function) - Static method in class cloud.opencode.base.functional.pattern.Case
Create a case for type matching 创建类型匹配分支
typeMismatch(Object, Class) - Static method in exception class cloud.opencode.base.functional.exception.OpenMatchException
Create exception for type mismatch 为类型不匹配创建异常
typePattern(Class) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a type pattern 创建类型模式

U

unchecked() - Method in interface cloud.opencode.base.functional.function.CheckedBiConsumer
Convert to standard BiConsumer, wrapping checked exceptions 转换为标准 BiConsumer,包装受检异常
unchecked() - Method in interface cloud.opencode.base.functional.function.CheckedBiFunction
Convert to standard BiFunction, wrapping checked exceptions 转换为标准 BiFunction,包装受检异常
unchecked() - Method in interface cloud.opencode.base.functional.function.CheckedConsumer
Convert to standard Consumer, wrapping checked exceptions in OpenFunctionalException 转换为标准 Consumer,将受检异常包装为 OpenFunctionalException
unchecked() - Method in interface cloud.opencode.base.functional.function.CheckedFunction
Convert to standard Function, wrapping checked exceptions 转换为标准 Function,包装受检异常
unchecked() - Method in interface cloud.opencode.base.functional.function.CheckedRunnable
Convert to standard Runnable, wrapping checked exceptions in OpenFunctionalException 转换为标准 Runnable,将受检异常包装为 OpenFunctionalException
unchecked(CheckedBiFunction) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Convert CheckedBiFunction to standard BiFunction (wrapping exceptions) 将 CheckedBiFunction 转换为标准 BiFunction(包装异常)
unchecked(CheckedFunction) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Convert CheckedFunction to standard Function (wrapping exceptions) 将 CheckedFunction 转换为标准 Function(包装异常)
uncheckedBiFunction(CheckedBiFunction) - Static method in class cloud.opencode.base.functional.OpenFunctional
Convert a CheckedBiFunction to a standard BiFunction 将 CheckedBiFunction 转换为标准 BiFunction
uncheckedConsumer(CheckedConsumer) - Static method in class cloud.opencode.base.functional.OpenFunctional
Convert CheckedConsumer to standard Consumer 将 CheckedConsumer 转换为标准 Consumer
uncheckedRunnable(CheckedRunnable) - Static method in class cloud.opencode.base.functional.OpenFunctional
Convert CheckedRunnable to standard Runnable 将 CheckedRunnable 转换为标准 Runnable
uncurry(Function) - Static method in class cloud.opencode.base.functional.function.FunctionUtil
Uncurry a curried function back to BiFunction 将柯里化函数还原为 BiFunction
unit() - Static method in class cloud.opencode.base.functional.OpenFunctional
Get the Unit instance 获取 Unit 实例
Unit - Enum Class in cloud.opencode.base.functional.monad
Unit - Represents a valueless result (void equivalent as a type) Unit - 表示无值结果(void 的类型等价物)
unmatchedValue() - Method in exception class cloud.opencode.base.functional.exception.OpenMatchException
Get the value that was not matched 获取未匹配的值

V

valid(T) - Static method in interface cloud.opencode.base.functional.monad.Validation
Create a Valid result 创建有效结果
valid(T) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a valid Validation 创建有效的 Validation
Valid(T) - Constructor for class cloud.opencode.base.functional.monad.Validation.Valid
 
Validation<E,T> - Interface in cloud.opencode.base.functional.monad
Validation Monad - Accumulating error validation Validation Monad - 累积错误的验证
Validation.Invalid<E,T> - Class in cloud.opencode.base.functional.monad
Invalid - Represents a failed validation with accumulated errors Invalid - 表示失败的验证,包含累积的错误
Validation.Valid<E,T> - Class in cloud.opencode.base.functional.monad
Valid - Represents a successful validation Valid - 表示成功的验证
value() - Method in class cloud.opencode.base.functional.monad.Either.Left
Get the left value 获取左值
value() - Method in class cloud.opencode.base.functional.monad.Either.Right
Get the right value 获取右值
value() - Method in record class cloud.opencode.base.functional.monad.Option.Some
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.functional.monad.Sequence.IndexedValue
Returns the value of the value record component.
value() - Method in class cloud.opencode.base.functional.monad.Try.Success
Get the contained value 获取包含的值
value() - Method in class cloud.opencode.base.functional.monad.Validation.Valid
Get the value 获取值
value() - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Get the original value 获取原始值
value(T) - Static method in class cloud.opencode.base.functional.monad.Lazy
Create an already-evaluated Lazy with value 创建已求值的 Lazy
valueOf(String) - Static method in enum class cloud.opencode.base.functional.async.LazyAsync.State
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.functional.monad.Unit
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cloud.opencode.base.functional.async.LazyAsync.State
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.functional.monad.Unit
Returns an array containing the constants of this enum class, in the order they are declared.

W

when(boolean, Supplier) - Static method in interface cloud.opencode.base.functional.monad.Option
Create Option from supplier if condition is true 如果条件为真则从供应商创建 Option
when(boolean, T, UnaryOperator) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Execute transformation conditionally 条件执行转换
when(Predicate, Function) - Static method in class cloud.opencode.base.functional.OpenFunctional
Create a predicate case 创建谓词分支
when(Predicate, Function) - Static method in class cloud.opencode.base.functional.pattern.Case
Create a case for predicate matching 创建谓词匹配分支
when(Predicate, Function) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Match by predicate 按谓词匹配
when(Predicate) - Static method in interface cloud.opencode.base.functional.pattern.Pattern
Create a predicate matching pattern 创建谓词匹配模式
whenEquals(T, Function) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Match by value equality 按值相等匹配
whenMatches(T, Predicate, UnaryOperator) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Execute transformation if predicate matches 如果谓词匹配则执行转换
whenNonNull(T, Function) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Execute transformation if value is non-null 如果值非空则执行转换
whenNonNullOrElse(T, Function, R) - Static method in class cloud.opencode.base.functional.pipeline.PipeUtil
Execute transformation if value is non-null, with default 如果值非空则执行转换,带默认值
whenNull(Function) - Method in class cloud.opencode.base.functional.pattern.OpenMatch.Matcher
Match null value 匹配 null 值

Y

yield(For.Function3) - Method in class cloud.opencode.base.functional.monad.For.IterableFor3
 
yield(For.Function3) - Method in class cloud.opencode.base.functional.monad.For.OptionFor3
 
yield(For.Function3) - Method in class cloud.opencode.base.functional.monad.For.SequenceFor3
 
yield(For.Function3) - Method in class cloud.opencode.base.functional.monad.For.TryFor3
 
yield(For.Function4) - Method in class cloud.opencode.base.functional.monad.For.OptionFor4
 
yield(For.Function4) - Method in class cloud.opencode.base.functional.monad.For.TryFor4
 
yield(BiFunction) - Method in class cloud.opencode.base.functional.monad.For.IterableFor2
 
yield(BiFunction) - Method in class cloud.opencode.base.functional.monad.For.OptionFor2
 
yield(BiFunction) - Method in class cloud.opencode.base.functional.monad.For.SequenceFor2
 
yield(BiFunction) - Method in class cloud.opencode.base.functional.monad.For.TryFor2
 
yield(Function) - Method in class cloud.opencode.base.functional.monad.For.IterableFor1
 
yield(Function) - Method in class cloud.opencode.base.functional.monad.For.OptionFor1
 
yield(Function) - Method in class cloud.opencode.base.functional.monad.For.SequenceFor1
 
yield(Function) - Method in class cloud.opencode.base.functional.monad.For.TryFor1
 

Z

zip(Future, Future, BiFunction) - Static method in class cloud.opencode.base.functional.async.Future
Zip two futures into one.
zip(Option, BiFunction) - Method in interface cloud.opencode.base.functional.monad.Option
Zip this Option with another using a combining function.
zip(Sequence, BiFunction) - Method in class cloud.opencode.base.functional.monad.Sequence
Zip with another sequence.
zipWith(Future, BiFunction) - Method in class cloud.opencode.base.functional.async.Future
Zip this future with another.
zipWithIndex() - Method in class cloud.opencode.base.functional.monad.Sequence
Zip with index.
A B C D E F G H I L M N O P R S T U V W Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form