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