Interface BinaryOperator<T,E extends Exception>

Type Parameters:
T - the type of the operands and result of the operator
E - the type of the exception that may be thrown
All Superinterfaces:
BiFunction<T,T,T,E>

public interface BinaryOperator<T,E extends Exception> extends BiFunction<T,T,T,E>
Represents an operation upon two operands of the same type, producing a result of the same type as the operands and (optionally) throwing an Exception. This is a specialization of BiFunction for the case where the operands and the result are all of the same type.

This is a functional interface whose functional method is BiFunction.apply(Object, Object).

Since:
1.0
See Also: