Uses of Interface
de.treestack.throwing.BiFunction

  • Uses of BiFunction in de.treestack.throwing

    Subinterfaces of BiFunction in de.treestack.throwing
    Modifier and Type
    Interface
    Description
    interface 
    Represents an operation upon two operands of the same type, producing a result of the same type as the operands and (optionally) throwing an Exception.
    Methods in de.treestack.throwing with parameters of type BiFunction
    Modifier and Type
    Method
    Description
    static <T1, T2, R>
    BiFunction<T1,T2,Optional<R>>
    BiFunction.lifted(BiFunction<? super T1,? super T2,? extends R,?> function)
    Lifts a function that may throw an exception into a function that returns an Optional.
    static <T1, T2, R>
    BiFunction<T1,T2,R>
    BiFunction.unchecked(BiFunction<? super T1,? super T2,? 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.