@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> java.util.function.ObjDoubleConsumer<T> |
sneaky(CheckedObjDoubleConsumer<T> consumer) |
|
static <T> java.util.function.ObjDoubleConsumer<T> |
unchecked(CheckedObjDoubleConsumer<T> consumer) |
|
static <T> java.util.function.ObjDoubleConsumer<T> |
unchecked(CheckedObjDoubleConsumer<T> consumer,
java.util.function.Consumer<java.lang.Throwable> handler) |
void accept(T t, double value) throws java.lang.Throwable
t
- the first input argumentvalue
- the second input argumentjava.lang.Throwable
static <T> java.util.function.ObjDoubleConsumer<T> sneaky(CheckedObjDoubleConsumer<T> consumer)
static <T> java.util.function.ObjDoubleConsumer<T> unchecked(CheckedObjDoubleConsumer<T> consumer)
static <T> java.util.function.ObjDoubleConsumer<T> unchecked(CheckedObjDoubleConsumer<T> consumer, java.util.function.Consumer<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.