Added in API level 24
DoubleToLongFunction
@FunctionalInterface interface DoubleToLongFunction
| java.util.function.DoubleToLongFunction |
Represents a function that accepts a double-valued argument and produces a long-valued result. This is the double-to-long primitive specialization for Function.
This is a functional interface whose functional method is applyAsLong(double).
Summary
| Public methods | |
|---|---|
| abstract Long | applyAsLong(value: Double)Applies this function to the given argument. |
Public methods
applyAsLong
Added in API level 24
abstract fun applyAsLong(value: Double): Long
Applies this function to the given argument.
| Parameters | |
|---|---|
value | Double: the function argument |
| Return | |
|---|---|
Long | the function result |