Package org.icij.datashare.function
Interface ThrowingFunction<T,R>
-
- All Superinterfaces:
java.util.function.Function<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> extends java.util.function.Function<T,R>
Created by julien on 4/18/16.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <V> ThrowingFunction<T,V>andThen(java.util.function.Function<? super R,? extends V> after)default <V> ThrowingFunction<T,V>andThen(ThrowingFunction<? super R,? extends V> after)default Rapply(T t)RapplyThrows(T t)default <V> ThrowingFunction<V,R>compose(java.util.function.Function<? super V,? extends T> before)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)
-
compose
default <V> ThrowingFunction<V,R> compose(java.util.function.Function<? super V,? extends T> before)
-
andThen
default <V> ThrowingFunction<T,V> andThen(ThrowingFunction<? super R,? extends V> after)
-
andThen
default <V> ThrowingFunction<T,V> andThen(java.util.function.Function<? super R,? extends V> after)
-
identity
static <T> ThrowingFunction<T,T> identity()
-
-