Package org.apache.commons.io.function
Interface IOUnaryOperator<T>
- Type Parameters:
- T- the type of the operand and result of the operator.
- All Superinterfaces:
- IOFunction<T,- T> 
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Like 
UnaryOperator but throws IOException.- Since:
- 2.12.0
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptiondefault UnaryOperator<T> static <T> IOUnaryOperator<T> identity()Creates a unary operator that always returns its input argument.
- 
Method Details- 
identityCreates 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.
 
- 
asUnaryOperator- Returns:
- an unchecked BiFunction.
 
 
-