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