Uses of Interface
de.treestack.throwing.Function
-
Uses of Function in de.treestack.throwing
Subinterfaces of Function in de.treestack.throwingModifier and TypeInterfaceDescriptioninterfaceUnaryOperator<T,E extends Exception> Represents an operation upon one operand, producing a result of the same type as the operand and (optionally) throwing an Exception.Methods in de.treestack.throwing with parameters of type FunctionModifier and TypeMethodDescriptionLifts a function that may throw an exception into a function that returns an Optional.static <T,R> Function <T, R> Wraps a function that may throw an exception into a function that will throw a RuntimeException if the original function throws an exception.