APIdia Launch Partner
Top Description Methods
java.util.function

public Interface ToDoubleFunction<T>

Annotations
@FunctionalInterface
Type Parameters
<T>
the type of the input to the function

Represents a function that produces a double-valued result. This is the double-producing primitive specialization for Function.

This is a functional interface whose functional method is applyAsDouble(Object).

Since
1.8
See Also
Function

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

the function result
applyAsDouble
(T
the function argument
value
)

Applies this function to the given argument.

Method Detail

applyAsDoubleback to summary
public double applyAsDouble(T value)

Applies this function to the given argument.

Parameters
value:T

the function argument

Returns:double

the function result