T - the type of the operand and result of the operatorFunction<T,T>@FunctionalInterface public interface UnaryOperator<T> extends Function<T,T>
Function for
the case where the operand and result are of the same type.
This is a functional interface
whose functional method is Function.apply(java.lang.Object).
Functionstatic <T> UnaryOperator<T> identity()
T - the type of the input and output of the operator