Most visited

Recently visited

Added in API level 24

DoubleToLongFunction

public interface DoubleToLongFunction

java.util.function.DoubleToLongFunction


表示接受双值参数并生成长值结果的函数。 这是针对double long原始Function

这是一个 functional interface,其功能方法是 applyAsLong(double)

也可以看看:

Summary

Public methods

abstract long applyAsLong(double value)

将此函数应用于给定的参数。

Public methods

applyAsLong

Added in API level 24
long applyAsLong (double value)

将此函数应用于给定的参数。

Parameters
value double: the function argument
Returns
long the function result

Hooray!