Package io.fluxcapacitor.common
Interface ThrowingFunction<T,R>
- 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> andThen(@NonNull ThrowingFunction<? super R, ? extends V> after) default <V> ThrowingFunction<V, R> compose(@NonNull ThrowingFunction<? super V, ? extends T> before)
-
Method Details
-
apply
- Throws:
Exception
-
compose
default <V> ThrowingFunction<V,R> compose(@NonNull @NonNull ThrowingFunction<? super V, ? extends T> before) -
andThen
default <V> ThrowingFunction<T,V> andThen(@NonNull @NonNull ThrowingFunction<? super R, ? extends V> after)
-