@FunctionalInterface public interface CheckedObjLongConsumer<T>
ObjLongConsumer that allows for checked exceptions.| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t,
long value)
Performs this operation on the given arguments.
|
static <T> java.util.function.ObjLongConsumer<T> |
unchecked(CheckedObjLongConsumer<T> consumer) |
static <T> java.util.function.ObjLongConsumer<T> |
unchecked(CheckedObjLongConsumer<T> consumer,
java.util.function.Consumer<Throwable> handler) |
void accept(T t, long value) throws Throwable
t - the first input argumentvalue - the second input argumentThrowablestatic <T> java.util.function.ObjLongConsumer<T> unchecked(CheckedObjLongConsumer<T> consumer)
Unchecked#objLongConsumer(CheckedObjLongConsumer)}static <T> java.util.function.ObjLongConsumer<T> unchecked(CheckedObjLongConsumer<T> consumer, java.util.function.Consumer<Throwable> handler)
Unchecked#objLongConsumer(CheckedObjLongConsumer, Consumer)}Copyright © 2016. All Rights Reserved.