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 ofLongBinaryOperatorthat allows throwing checked exceptions.ThrowingLongBinaryOperatoris 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 longapplyAsLong(long left, long right)Variation ofLongBinaryOperator.applyAsLong(long, long)that allows throwing checked exceptions.
-
-
-
Method Detail
-
applyAsLong
long applyAsLong(long left, long right) throws ThrowableVariation 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)
-
-