com.koloboke.function
Interface ByteToShortFunction


public interface ByteToShortFunction

Represents a function that accepts a byte-valued argument and produces a short-valued result. This is the byte-to-short primitive specialization for Function.

See Also:
Function

Method Summary
 short applyAsShort(byte value)
          Applies this function to the given argument.
 

Method Detail

applyAsShort

short applyAsShort(byte value)
Applies this function to the given argument.

Parameters:
value - the function argument
Returns:
the function result