Java.util.function.BinaryOperator: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://docs.oracle.com/javase/8/docs/api/java/util/function/BinaryOperator.html =Internal= * Java 8 Lambda Expressions#BinaryOperator|Java 8 Lambda Expressi...")
 
Line 10: Line 10:


<syntaxhighlight lang='java'>
<syntaxhighlight lang='java'>
@FunctionalInterface
public interface BinaryOperator<T> extends BiFunction<T,T,T> {
    T apply(T t, T t2);
}
</syntaxhighlight>
</syntaxhighlight>

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);

}