Module com.machinezoo.noexception
Interface ThrowingObjDoubleConsumer<T>
-
- Type Parameters:
-
T
- seeObjDoubleConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ThrowingObjDoubleConsumer<T>
Variation ofObjDoubleConsumer
that allows throwing checked exceptions.ThrowingObjDoubleConsumer
is usually implemented by a lambda and passed toCheckedExceptionHandler.fromObjDoubleConsumer(ThrowingObjDoubleConsumer)
. See noexception tutorial.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(T t, double value)
Variation ofObjDoubleConsumer.accept(Object, double)
that allows throwing checked exceptions.
-
-
-
Method Detail
-
accept
void accept(T t, double value) throws Throwable
Variation ofObjDoubleConsumer.accept(Object, double)
that allows throwing checked exceptions.- Parameters:
-
t
- seeObjDoubleConsumer.accept(Object, double)
-
value
- seeObjDoubleConsumer.accept(Object, double)
- Throws:
-
Throwable
- if unable to complete - See Also:
-
CheckedExceptionHandler.fromObjDoubleConsumer(ThrowingObjDoubleConsumer)
,ObjDoubleConsumer.accept(Object, double)
-
-