T - Type of the input to the functionpublic interface ToIntFunction<T>
extends java.io.Serializable
int result.
java.lang.AutoCloseable then it will be
automatically closed when the application terminates.| Modifier and Type | Method and Description |
|---|---|
int |
applyAsInt(T tuple)
Apply the function to the
tuple and return an int. |
int applyAsInt(T tuple)
tuple and return an int.tuple - Tuple to be tested.