Uses of Interface
de.treestack.throwing.BiFunction
-
Uses of BiFunction in de.treestack.throwing
Subinterfaces of BiFunction in de.treestack.throwingModifier and TypeInterfaceDescriptioninterfaceBinaryOperator<T,E extends Exception> 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 BiFunctionModifier and TypeMethodDescriptionstatic <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.