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 java.lang.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 java.lang.Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableObjLongConsumer NOP
static <T,E extends java.lang.Throwable> FailableObjLongConsumer<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, long value) throws E extends java.lang.Throwable
object
- the object parameter for the consumable to accept.value
- the long parameter for the consumable to accept.E
- Thrown when the consumer fails.E extends java.lang.Throwable
Copyright © 2010 - 2023 Adobe. All Rights Reserved