T - the type of the operand and result of the operatorX - the type of the exception that might be thrown@FunctionalInterface public interface ThrowingUnaryOperator<T,X extends Exception> extends ThrowingFunction<T,T,X>
Function for the case where the operand and result are of the same type.UnaryOperator| Modifier and Type | Method and Description |
|---|---|
static <T,X extends Exception> |
identity()
Returns a unary operator that always returns its input argument.
|
andThen, apply, compose, currystatic <T,X extends Exception> ThrowingUnaryOperator<T,X> identity()
T - the type of the input and output of the operatorX - the type of the exception that might be thrownCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.