Module com.aoapps.lang
Package com.aoapps.lang.io.function
Interface IOFunctionE<T,R,Ex extends Throwable>
- Type Parameters:
Ex
- An arbitrary exception type that may be thrown
- All Known Subinterfaces:
IOFunction<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.
A function that is allowed to throw
IOException
and a checked exception.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault <V> IOFunctionE<T,
V, Ex> andThen
(IOFunctionE<? super R, ? extends V, ? extends Ex> after) default <V> IOFunctionE<V,
R, Ex> compose
(IOFunctionE<? super V, ? extends T, ? extends Ex> before) static <T> IOFunctionE<T,
T, RuntimeException> identity()
-
Method Details
-
apply
- Throws:
IOException
Ex
-
compose
default <V> IOFunctionE<V,R, composeEx> (IOFunctionE<? super V, ? extends T, throws IOException, Ex? extends Ex> before) - Throws:
IOException
Ex
-
andThen
default <V> IOFunctionE<T,V, andThenEx> (IOFunctionE<? super R, ? extends V, throws IOException, Ex? extends Ex> after) - Throws:
IOException
Ex
-
identity
-