Package com.github.phantomthief.util
Interface ThrowableFunction<T,R,X 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 ThrowableFunction<T,R,X extends Throwable>
- Author:
- w.vela
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <V> ThrowableFunction<T,V,X>andThen(ThrowableFunction<? super R,? extends V,X> after)Rapply(T t)default <V> ThrowableFunction<V,R,X>compose(ThrowableFunction<? super V,? extends T,X> before)static <T,X extends Throwable>
ThrowableFunction<T,T,X>identity()
-
-
-
Method Detail
-
identity
static <T,X extends Throwable> ThrowableFunction<T,T,X> identity()
-
compose
default <V> ThrowableFunction<V,R,X> compose(ThrowableFunction<? super V,? extends T,X> before)
-
andThen
default <V> ThrowableFunction<T,V,X> andThen(ThrowableFunction<? super R,? extends V,X> after)
-
-