T - the type of the object argument to the operation.E - Thrown exception.@FunctionalInterface public interface FailableObjIntConsumer<T,E extends 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 consumer.
|
static <T,E extends Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableObjIntConsumer NOP
static <T,E extends Throwable> FailableObjIntConsumer<T,E> nop()
T - the type of the object argument to the operation.E - Thrown exception.Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.