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