FailableIntToLongFunction¶
- @FunctionalInterface public interface org.apache.commons.lang3.function.FailableIntToLongFunction<E extends Throwable>[source]¶
A functional interface like
IntToLongFunctionthat declares aThrowable.- Type parameters:
<E> – The kind of thrown exception or error.
- Since:
3.11
Fields and constants¶
|
NOP singleton |
- static final FailableIntToLongFunction NOP[source]¶
NOP singleton
Methods¶
|
Applies this function to the given argument. |
|
|
Gets the NOP singleton. |
- long applyAsLong(int value) throws E[source]¶
Applies this function to the given argument.
- Parameters:
value – The function argument
- Returns:
The function result
- Throws:
E – Thrown when the function fails.
- static <E extends Throwable> FailableIntToLongFunction<E> nop()[source]¶
Gets the NOP singleton.
- Type parameters:
<E> – The kind of thrown exception or error.
- Returns:
The NOP singleton.