Module com.machinezoo.noexception
Interface ThrowingLongBinaryOperator
-
- 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 ThrowingLongBinaryOperator
Variation ofLongBinaryOperator
that allows throwing checked exceptions.ThrowingLongBinaryOperator
is usually implemented by a lambda and passed toCheckedExceptionHandler.fromLongBinaryOperator(ThrowingLongBinaryOperator)
. See noexception tutorial.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
applyAsLong(long left, long right)
Variation ofLongBinaryOperator.applyAsLong(long, long)
that allows throwing checked exceptions.
-
-
-
Method Detail
-
applyAsLong
long applyAsLong(long left, long right) throws Throwable
Variation ofLongBinaryOperator.applyAsLong(long, long)
that allows throwing checked exceptions.- Parameters:
-
left
- seeLongBinaryOperator.applyAsLong(long, long)
-
right
- seeLongBinaryOperator.applyAsLong(long, long)
- Returns:
-
see
LongBinaryOperator.applyAsLong(long, long)
- Throws:
-
Throwable
- if unable to complete - See Also:
-
CheckedExceptionHandler.fromLongBinaryOperator(ThrowingLongBinaryOperator)
,LongBinaryOperator.applyAsLong(long, long)
-
-