T
- the type of the input to the functionR
- the type of the result of the function@FunctionalInterface public interface SerializableFunction<T,R> extends Function<T,R>, Serializable
Function
that is also Serializable
.Modifier and Type | Method and Description |
---|---|
static <T> SerializableFunction<T,T> |
identity()
Returns a function that always returns its input argument.
|
static <T> SerializableFunction<T,T> identity()
Copyright © 2023. All rights reserved.