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