T
- 参数类型@FunctionalInterface public interface SerUnaryOperator<T> extends UnaryOperator<T>, Serializable
UnaryOperator
Modifier and Type | Method and Description |
---|---|
default T |
apply(T t)
Applies this function to the given argument.
|
T |
applying(T t)
Applies this function to the given argument.
|
static <T,R,F extends Function<T,R>> |
casting(F function)
casting identity
|
static <T> SerUnaryOperator<T> |
identity()
Returns a unary operator that always returns its input argument.
|
static <T> SerUnaryOperator<T> identity()
static <T,R,F extends Function<T,R>> SerUnaryOperator<T> casting(F function)
T
- param typeR
- result typeF
- lambda typefunction
- source functionCopyright © 2025. All rights reserved.