T
- the type of the argument to the functionE
- The kind of thrown exception or error.@FunctionalInterface
public interface FailableToIntFunction<T,E extends java.lang.Throwable>
ToIntFunction
that declares a Throwable
.Modifier and Type | Field and Description |
---|---|
static FailableToIntFunction |
NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
int |
applyAsInt(T t)
Applies this function to the given arguments.
|
static <T,E extends java.lang.Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableToIntFunction NOP
static <T,E extends java.lang.Throwable> FailableToIntFunction<T,E> nop()
T
- the type of the argument to the functionE
- The kind of thrown exception or error.Copyright © 2010 - 2023 Adobe. All Rights Reserved