Java.util.function.BinaryOperator

From NovaOrdis Knowledge Base
Revision as of 21:05, 28 March 2018 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

Combines two values of the same type: represents an operation upon two operands of the same type, producing a result of the same type as the operands. This is a specialization of BiFunction for the case where the operands and the result are all of the same type.

@FunctionalInterface
public interface BinaryOperator<T> extends BiFunction<T, T, T> {

    T apply(T t, T t2);

}