T - the type of the object argument to the operation.E - The kind of thrown exception or error.@FunctionalInterface
public interface FailableObjIntConsumer<T,E extends java.lang.Throwable>
ObjIntConsumer that declares a Throwable.| Modifier and Type | Field and Description |
|---|---|
static FailableObjIntConsumer |
NOP
NOP singleton
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T object,
int value)
Accepts the given arguments.
|
static <T,E extends java.lang.Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableObjIntConsumer NOP
static <T,E extends java.lang.Throwable> FailableObjIntConsumer<T,E> nop()
T - the type of the object argument to the operation.E - The kind of thrown exception or error.void accept(T object, int value) throws E extends java.lang.Throwable
object - the object parameter for the consumable to accept.value - the int parameter for the consumable to accept.E - Thrown when the consumer fails.E extends java.lang.ThrowableCopyright © 2010 - 2023 Adobe. All Rights Reserved