Module com.machinezoo.noexception
Interface ThrowingUnaryOperator<T>
-
- Type Parameters:
-
T
- seeUnaryOperator
- All Superinterfaces:
-
ThrowingFunction<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.
@FunctionalInterface public interface ThrowingUnaryOperator<T> extends ThrowingFunction<T,T>
Variation ofUnaryOperator
that allows throwing checked exceptions.ThrowingUnaryOperator
is usually implemented by a lambda and passed toCheckedExceptionHandler.fromUnaryOperator(ThrowingUnaryOperator)
. See noexception tutorial.
-
-
Method Summary
-
Methods inherited from interface com.machinezoo.noexception.throwing.ThrowingFunction
apply
-
-