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.
@FunctionalInterface public interface ThrowingFunction<T,R,E extends Throwable>
-
Method Summary
Modifier and Type Method Description default <V> ThrowingFunction<T,V,E>andThen(ThrowingFunction<? super R,? extends V,? extends E> after)Rapply(T t)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,E> compose(ThrowingFunction<? super V,? extends T,? extends E> before) -
andThen
default <V> ThrowingFunction<T,V,E> andThen(ThrowingFunction<? super R,? extends V,? extends E> after) -
identity
-