public interface ShortBinaryOperator extends ShortShortToShortFunction
short-valued operands and producing a
short-valued result. This is the primitive type specialization of
BinaryOperator for short.
Unlike ShortShortToShortFunction, this operator is supposed to accept two homogeneous
arguments and produce a result homogeneous to the arguments, e. g. value merging
in ObjShortMap.merge(Object, short, ShortBinaryOperator)
method.
BinaryOperator,
ShortUnaryOperator| Modifier and Type | Method and Description |
|---|---|
short |
applyAsShort(short left,
short right)
Applies this operator to the given operands.
|
short applyAsShort(short left,
short right)
applyAsShort in interface ShortShortToShortFunctionleft - the first operandright - the second operand