|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IntBinaryOperator
Represents an operation upon two int
-valued operands and producing an
int
-valued result. This is the primitive type specialization of
BinaryOperator
for int
.
Unlike IntIntToIntFunction
, this operator is supposed to accept two homogeneous
arguments and produce a result homogeneous to the arguments, e. g. value merging
in ObjIntMap.merge(Object, int, IntBinaryOperator)
method.
BinaryOperator
,
IntUnaryOperator
Method Summary | |
---|---|
int |
applyAsInt(int left,
int right)
Applies this operator to the given operands. |
Method Detail |
---|
int applyAsInt(int left, int right)
applyAsInt
in interface IntIntToIntFunction
left
- the first operandright
- the second operand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |