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.
@FunctionalInterface public interface ThrowingFunction<T,R>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <V> ThrowingFunction<T,V>andThen(ThrowingFunction<? super R,? extends V> after)Rapply(T elem)default <V> ThrowingFunction<V,R>compose(ThrowingFunction<? super V,? extends T> before)static <T> ThrowingFunction<T,T>identity()
-
-
-
Method Detail
-
compose
default <V> ThrowingFunction<V,R> compose(ThrowingFunction<? super V,? extends T> before)
-
andThen
default <V> ThrowingFunction<T,V> andThen(ThrowingFunction<? super R,? extends V> after)
-
identity
static <T> ThrowingFunction<T,T> identity()
-
-