@FunctionalInterface public interface CheckedObjLongConsumer<T>
ObjLongConsumer that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(T t,
long value) |
Performs this operation on the given arguments.
|
static <T> ObjLongConsumer<T> |
sneaky(CheckedObjLongConsumer<T> consumer) |
|
static <T> ObjLongConsumer<T> |
unchecked(CheckedObjLongConsumer<T> consumer) |
|
static <T> ObjLongConsumer<T> |
unchecked(CheckedObjLongConsumer<T> consumer,
Consumer<Throwable> handler) |
void accept(T t, long value) throws Throwable
t - the first input argumentvalue - the second input argumentThrowablestatic <T> ObjLongConsumer<T> sneaky(CheckedObjLongConsumer<T> consumer)
static <T> ObjLongConsumer<T> unchecked(CheckedObjLongConsumer<T> consumer)
static <T> ObjLongConsumer<T> unchecked(CheckedObjLongConsumer<T> consumer, Consumer<Throwable> handler)
Copyright © 2018. All rights reserved.