com.koloboke.function
Interface ToShortFunction<T>
- Type Parameters:
T - the type of the input to the function
public interface ToShortFunction<T>
Represents a function that produces a short-valued result. This is the
short-producing primitive specialization for Function.
- See Also:
Function
|
Method Summary |
short |
applyAsShort(T value)
Applies this function to the given argument. |
applyAsShort
short applyAsShort(T value)
- Applies this function to the given argument.
- Parameters:
value - the function argument
- Returns:
- the function result