com.koloboke.function
Interface ShortShortToShortFunction

All Known Subinterfaces:
ShortBinaryOperator

public interface ShortShortToShortFunction

Represents a function that accepts two 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.

See Also:
BiFunction

Method Summary
 short applyAsShort(short a, short b)
          Applies this function to the given arguments.
 

Method Detail

applyAsShort

short applyAsShort(short a,
                   short b)
Applies this function to the given arguments.

Parameters:
a - the first function argument
b - the second function argument
Returns:
the function result