T
- the type of the object argument to the operation.E
- Thrown exception.@FunctionalInterface public interface FailableObjLongConsumer<T,E extends Throwable>
ObjLongConsumer
that declares a Throwable
.Modifier and Type | Field and Description |
---|---|
static FailableObjLongConsumer |
NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
void |
accept(T object,
long value)
Accepts the consumer.
|
static <T,E extends Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableObjLongConsumer NOP
static <T,E extends Throwable> FailableObjLongConsumer<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.