Module com.machinezoo.noexception
Interface ThrowingToDoubleBiFunction<T,U>
-
- Type Parameters:
-
T
- seeToDoubleBiFunction
-
U
- seeToDoubleBiFunction
- 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 ThrowingToDoubleBiFunction<T,U>
Variation ofToDoubleBiFunction
that allows throwing checked exceptions.ThrowingToDoubleBiFunction
is usually implemented by a lambda and passed toCheckedExceptionHandler.fromToDoubleBiFunction(ThrowingToDoubleBiFunction)
. See noexception tutorial.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
applyAsDouble(T t, U u)
Variation ofToDoubleBiFunction.applyAsDouble(Object, Object)
that allows throwing checked exceptions.
-
-
-
Method Detail
-
applyAsDouble
double applyAsDouble(T t, U u) throws Throwable
Variation ofToDoubleBiFunction.applyAsDouble(Object, Object)
that allows throwing checked exceptions.- Parameters:
-
t
- seeToDoubleBiFunction.applyAsDouble(Object, Object)
-
u
- seeToDoubleBiFunction.applyAsDouble(Object, Object)
- Returns:
-
see
ToDoubleBiFunction.applyAsDouble(Object, Object)
- Throws:
-
Throwable
- if unable to complete - See Also:
-
CheckedExceptionHandler.fromToDoubleBiFunction(ThrowingToDoubleBiFunction)
,ToDoubleBiFunction.applyAsDouble(Object, Object)
-
-