# Supplier

Artifact: [androidx.core:core](https://developer.android.com/jetpack/androidx/releases/core) [View Source](https://cs.android.com/search?q=file:androidx/core/util/Supplier.kt+class:androidx.core.util.Supplier) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

*** ** * ** ***


```
public fun interface Supplier<T extends Object>
```

<br />

*** ** * ** ***

Compat version of `https://developer.android.com/reference/java/util/function/Supplier.html`

| Parameters |
|---|---|
| `<T extends https://developer.android.com/reference/java/lang/Object.html>` | the type of the input to the operation |

## Summary

| ### Public methods |
|---|---|
| `abstract @https://developer.android.com/reference/androidx/annotation/NonNull T` | `https://developer.android.com/reference/androidx/core/util/Supplier#get()()` Gets a result. |

## Public methods

### get

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
abstract @NonNull T get()
```

Gets a result.

| Returns |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull T` | a result |