# IntSupplier

public interface **IntSupplier** Represents a supplier of `int`-valued results. This is the
`int`-producing primitive specialization of `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/function/Supplier.html`.

There is no requirement that a distinct result be returned each
time the supplier is invoked.

This is a [functional interface](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/function/package-summary)
whose functional method is `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/function/IntSupplier.html#getAsInt()`.

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/function/Supplier.html`

### Public Method Summary

|---|---|
| abstract int | [getAsInt](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/function/IntSupplier.html#getAsInt())() Gets a result. |

## Public Methods

#### public abstract int
**getAsInt**
()

Gets a result.

##### Returns

- a result