- Type Parameters:
T
- the type of the operand and result of the operator
- All Superinterfaces:
- Function<T,T>
@FunctionalInterface
public interface UnaryOperator<T>
extends Function<T,T>
Operation on a single operand that produces a result of the
same type as its operand.