Uses of Interface
de.treestack.throwing.Function

  • Uses of Function in de.treestack.throwing

    Subinterfaces of Function in de.treestack.throwing
    Modifier and Type
    Interface
    Description
    interface 
    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 Function
    Modifier and Type
    Method
    Description
    static <T, R> Function<T,Optional<R>>
    Function.lifted(Function<? super T,? extends R,?> function)
    Lifts a function that may throw an exception into a function that returns an Optional.
    static <T, R> Function<T,R>
    Function.unchecked(Function<? super T,? extends R,?> function)
    Wraps a function that may throw an exception into a function that will throw a RuntimeException if the original function throws an exception.