Interface IOFunction<T,R>
-
- Type Parameters:
T
- Type accepted by the functionR
- Type returned by the function
- 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>
Functional interface similar toFunction
but allowing anIOException
to be thrown.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
apply(T t)
Apply the function and get a result.
-