com.koloboke.function
Interface ShortToByteFunction


public interface ShortToByteFunction

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

See Also:
Function

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

Method Detail

applyAsByte

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

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