Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# IntToDoubleFunction


`
public


interface
IntToDoubleFunction
`


`


`

|---|
| java.util.function.IntToDoubleFunction |

<br />

*** ** * ** ***

Represents a function that accepts an int-valued argument and produces a
double-valued result. This is the `int`-to-`double` primitive
specialization for `https://developer.android.com/reference/java/util/function/Function`.

This is a [functional interface](https://developer.android.com/reference/java/util/function/package-summary)
whose functional method is `https://developer.android.com/reference/java/util/function/IntToDoubleFunction#applyAsDouble(int)`.
**See also:**

- `https://developer.android.com/reference/java/util/function/Function`

## Summary

| ### Public methods ||
|---|---|
| ` abstract double` | ` https://developer.android.com/reference/java/util/function/IntToDoubleFunction#applyAsDouble(int)(int value) ` Applies this function to the given argument. |

## Public methods

### applyAsDouble

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract double applyAsDouble (int value)
```

Applies this function to the given argument.

<br />

| Parameters ||
|---|---|
| `value` | `int`: the function argument <br /> |

| Returns ||
|---|---|
| `double` | the function result <br /> |