Top Description Methods
java.util.function

public Interface IntToDoubleFunction

Annotations
@FunctionalInterface

Represents a function that accepts an int-valued argument and produces a double-valued result. This is the int-to-double primitive specialization for Function.

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

Since
1.8
See Also
Function

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

the function result
applyAsDouble
(int
the function argument
value
)

Applies this function to the given argument.

Method Detail

applyAsDoubleback to summary
public double applyAsDouble(int value)

Applies this function to the given argument.

Parameters
value:int

the function argument

Returns:double

the function result