Interface UnaryOperator<T,E extends Exception>

Type Parameters:
T - the type of the operands and result of the operator
E - the type of the exception that may be thrown
All Superinterfaces:
Function<T,T,E>

public interface UnaryOperator<T,E extends Exception> extends Function<T,T,E>
Represents an operation upon one operand, producing a result of the same type as the operand and (optionally) throwing an Exception. This is a specialization of Function for the case where the operand and the result are of the same type.

This is a functional interface whose functional method is Function.apply(Object).

Since:
1.0
See Also: