T
- see ObjLongConsumer
@FunctionalInterface public interface ThrowingObjLongConsumer<T>
ObjLongConsumer
that allows throwing checked exceptions. ThrowingObjLongConsumer
is usually implemented by a lambda and passed to CheckedExceptionHandler.fromObjLongConsumer(ThrowingObjLongConsumer)
. See noexception tutorial.
Modifier and Type | Method and Description |
---|---|
void |
accept(T t, long value)
Variation of ObjLongConsumer.accept(Object, long) that allows throwing checked exceptions.
|
void accept(T t, long value) throws Throwable
ObjLongConsumer.accept(Object, long)
that allows throwing checked exceptions.
t
- see ObjLongConsumer.accept(Object, long)
value
- see ObjLongConsumer.accept(Object, long)
Throwable
- if unable to complete
CheckedExceptionHandler.fromObjLongConsumer(ThrowingObjLongConsumer)
, ObjLongConsumer.accept(Object, long)
Copyright © 2017–2020 Robert Važan. All rights reserved.