Package org.burningwave.core.function
Interface ThrowingFunction<T,R,E extends Throwable>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiondefault <V> ThrowingFunction<T, V, E> andThen(ThrowingFunction<? super R, ? extends V, ? extends E> after) default <V> ThrowingFunction<V, R, E> compose(ThrowingFunction<? super V, ? extends T, ? extends E> before) static <T,E extends Throwable>
ThrowingFunction<T, T, E> identity()
-
Method Details
-
apply
-
compose
default <V> ThrowingFunction<V,R, composeE> (ThrowingFunction<? super V, ? extends T, ? extends E> before) -
andThen
default <V> ThrowingFunction<T,V, andThenE> (ThrowingFunction<? super R, ? extends V, ? extends E> after) -
identity
-