Package com.pivovarit.function
Interface ThrowingBinaryOperator<T,E extends java.lang.Exception>
-
- Type Parameters:
T
- the type of the operands and result of the operatorE
- the type of the thrown checked exception
- All Superinterfaces:
ThrowingBiFunction<T,T,T,E>
public interface ThrowingBinaryOperator<T,E extends java.lang.Exception> extends ThrowingBiFunction<T,T,T,E>
Represents an operation upon two operands of the same type, producing a result of the same type as the operands. This is a specialization ofThrowingBiFunction
for the case where the operands and the result are all of the same type.This is a functional interface whose functional method is
ThrowingBiFunction.apply(Object, Object)
.- See Also:
ThrowingBiFunction
,ThrowingUnaryOperator
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.function.BinaryOperator<T>
unchecked()
static <T> java.util.function.BinaryOperator<T>
unchecked(ThrowingBinaryOperator<T,?> function)
-
Methods inherited from interface com.pivovarit.function.ThrowingBiFunction
andThen, apply, lift
-
-
-
-
Method Detail
-
unchecked
static <T> java.util.function.BinaryOperator<T> unchecked(ThrowingBinaryOperator<T,?> function)
-
-