-
- All Superinterfaces:
IOFunctionE<T,R,RuntimeException>
- 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 IOFunction<T,R> extends IOFunctionE<T,R,RuntimeException>
A function that is allowed to throwIOException.- See Also:
Function
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(T t)static <T> IOFunction<T,T>identity()-
Methods inherited from interface com.aoapps.lang.io.function.IOFunctionE
andThen, compose
-
-
-
-
Method Detail
-
apply
R apply(T t) throws IOException
- Specified by:
applyin interfaceIOFunctionE<T,R,RuntimeException>- Throws:
IOException
-
identity
static <T> IOFunction<T,T> identity()
-
-