com.koloboke.function
Interface LongToShortFunction
public interface LongToShortFunction
Represents a function that accepts a long-valued argument and produces a
short-valued result. This is the long-to-short primitive
specialization for Function.
- See Also:
Function
|
Method Summary |
short |
applyAsShort(long value)
Applies this function to the given argument. |
applyAsShort
short applyAsShort(long value)
- Applies this function to the given argument.
- Parameters:
value - the function argument
- Returns:
- the function result