- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
ObjDoubleConsumer
that allows for checked exceptions.-
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
-
Method Details
-
accept
Performs this operation on the given arguments.- Parameters:
t
- the first input argumentvalue
- the second input argument- Throws:
Throwable
-
sneaky
-
unchecked
-
unchecked
static <T> ObjDoubleConsumer<T> unchecked(CheckedObjDoubleConsumer<T> consumer, Consumer<Throwable> handler)
-