T - 参数类型R - 返回值类型@FunctionalInterface public interface SerFunction<T,R> extends Function<T,R>, Serializable
Function| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2024. All rights reserved.