Uses of Interface
cloud.opencode.base.functional.function.CheckedFunction
Packages that use CheckedFunction
Package
Description
OpenCode Functional - Functional Programming Utilities for JDK 25+
OpenCode 函数式编程工具库
Function Utilities - Advanced function operations
函数工具 - 高级函数操作
-
Uses of CheckedFunction in cloud.opencode.base.functional
Methods in cloud.opencode.base.functional with parameters of type CheckedFunctionModifier and TypeMethodDescriptionOpenFunctional.lift(CheckedFunction<T, R> f) Lift a checked function to return Option 将可抛异常函数提升为返回 OptionOpenFunctional.liftTry(CheckedFunction<T, R> f) Lift a checked function to return Try 将可抛异常函数提升为返回 Try -
Uses of CheckedFunction in cloud.opencode.base.functional.function
Methods in cloud.opencode.base.functional.function that return CheckedFunctionModifier and TypeMethodDescriptiondefault <V> CheckedFunction<T, V> CheckedFunction.andThen(CheckedFunction<? super R, ? extends V> after) Compose with another function (execute this, then after) 与另一个函数组合(先执行本函数,再执行 after)default <V> CheckedFunction<V, R> CheckedFunction.compose(CheckedFunction<? super V, ? extends T> before) Compose with another function (execute before, then this) 与另一个函数组合(先执行 before,再执行本函数)static <T> CheckedFunction<T, T> CheckedFunction.identity()Create identity function 创建恒等函数static <T,R> CheckedFunction <T, R> Wrap a standard Function as CheckedFunction 将标准 Function 包装为 CheckedFunctionMethods in cloud.opencode.base.functional.function with parameters of type CheckedFunctionModifier and TypeMethodDescriptiondefault <V> CheckedBiFunction<T, U, V> CheckedBiFunction.andThen(CheckedFunction<? super R, ? extends V> after) Compose with another function (execute this, then after) 与另一个函数组合(先执行本函数,再执行 after)default <V> CheckedFunction<T, V> CheckedFunction.andThen(CheckedFunction<? super R, ? extends V> after) Compose with another function (execute this, then after) 与另一个函数组合(先执行本函数,再执行 after)default <V> CheckedFunction<V, R> CheckedFunction.compose(CheckedFunction<? super V, ? extends T> before) Compose with another function (execute before, then this) 与另一个函数组合(先执行 before,再执行本函数)FunctionUtil.lift(CheckedFunction<T, R> f) Lift a checked function to return Option instead of throwing 将受检函数提升为返回 Option 而非抛出异常FunctionUtil.liftTry(CheckedFunction<T, R> f) Lift a checked function to return Try instead of throwing 将受检函数提升为返回 Try 而非抛出异常static <T,R> Function <T, R> FunctionUtil.unchecked(CheckedFunction<T, R> f) Convert CheckedFunction to standard Function (wrapping exceptions) 将 CheckedFunction 转换为标准 Function(包装异常)