@FunctionalInterface
public interface IntBinaryOperator
extends java.util.function.BinaryOperator<java.lang.Integer>, java.util.function.IntBinaryOperator
BinaryOperator; provides methods operating both on objects
and on primitives.BinaryOperator| Modifier and Type | Method and Description |
|---|---|
default java.lang.Integer |
apply(java.lang.Integer x,
java.lang.Integer y)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
apply(int x,
int y)
Computes the operator on the given inputs.
|
default int |
applyAsInt(int x,
int y)
Deprecated.
Please use
apply(int, int). |
int apply(int x,
int y)
x - the first input.y - the second input.@Deprecated
default int applyAsInt(int x,
int y)
apply(int, int).applyAsInt in interface java.util.function.IntBinaryOperator@Deprecated
default java.lang.Integer apply(java.lang.Integer x,
java.lang.Integer y)
apply in interface java.util.function.BiFunction<java.lang.Integer,java.lang.Integer,java.lang.Integer>