T
- 参数类型R
- 返回值类型@FunctionalInterface public interface SerFunction<T,R> extends Function<T,R>, Serializable
Function
Modifier and Type | Method and Description |
---|---|
default R |
apply(T t)
Applies this function to the given argument.
|
R |
applying(T t)
Applies this function to the given argument.
|
static <T,R> Function<T,R> |
castingIdentity()
casting identity
|
static <T> SerFunction<T,T> |
identity()
Returns a function that always returns its input argument.
|
static <T> SerFunction<T,T> identity()
static <T,R> Function<T,R> castingIdentity()
T
- param typeR
- result typeCopyright © 2025. All rights reserved.