T
- the type of the object argument to the operation.E
- The kind of thrown exception or error.@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 given arguments.
|
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
- The kind of thrown exception or error.Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.