Interface IOToIntFunction<T>
-
- Type Parameters:
T
- Input type
- 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 IOToIntFunction<T>
Functional interface similar toToIntFunction
but allowing anIOException
to be thrown.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
applyAsInt(T value)
Apply this function to the argument.
-
-
-
Method Detail
-
applyAsInt
int applyAsInt(T value) throws java.io.IOException
Apply this function to the argument.- Parameters:
value
- argument- Returns:
- int value
- Throws:
java.io.IOException
- if an I/O error occurs
-
-