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