@FunctionalInterface public interface ShortShortToShortFunction
short
-valued arguments
and produces a short
-valued result.
This is the (short, short, short)
specialization of BiFunction
.
Unlike ShortBinaryOperator
, this function is supposed to accept heterogeneous
arguments, e. g. key and value
in ShortShortMap.compute(short, ShortShortToShortFunction)
method.
BiFunction
Modifier and Type | Method and Description |
---|---|
short |
applyAsShort(short a,
short b)
Applies this function to the given arguments.
|