Interface SerializableUnaryOperator<T>
-
- All Superinterfaces:
java.util.function.Function<T,T>,java.io.Serializable,java.util.function.UnaryOperator<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SerializableUnaryOperator<T> extends java.util.function.UnaryOperator<T>, java.io.SerializableSerializable version ofUnaryOperator
-
-
Method Summary
Static Methods Modifier and Type Method Description static <T> SerializableUnaryOperator<T>identity()Returns a unary operator that always returns its input argument.
-
-
-
Method Detail
-
identity
static <T> SerializableUnaryOperator<T> identity()
Returns a unary operator that always returns its input argument.- Type Parameters:
T- the type of the input and output of the operator- Returns:
- a unary operator that always returns its input argument
-
-