Java.util.function.BinaryOperator: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
<syntaxhighlight lang='java'>
<syntaxhighlight lang='java'>
@FunctionalInterface
@FunctionalInterface
public interface BinaryOperator<T> extends BiFunction<T,T,T> {
public interface BinaryOperator<T> extends BiFunction<T, T, T> {


     T apply(T t, T t2);
     T apply(T t, T t2);

Revision as of 21:02, 28 March 2018

External

Internal

Overview

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

    T apply(T t, T t2);

}