# ArraySetKt

Added in 1.3.0

*** ** * ** ***


```
public final class ArraySetKt
```

<br />

*** ** * ** ***

## Summary

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/collection/ArraySet<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | `<T extends https://developer.android.com/reference/java/lang/Object.html> https://developer.android.com/reference/androidx/collection/ArraySetKt#arraySetOf()()` Returns an empty new `https://developer.android.com/reference/androidx/collection/ArraySet`. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/collection/ArraySet<@https://developer.android.com/reference/androidx/annotation/NonNull T>` | `<T extends https://developer.android.com/reference/java/lang/Object.html> https://developer.android.com/reference/androidx/collection/ArraySetKt#arraySetOf(kotlin.Array)(@https://developer.android.com/reference/androidx/annotation/NonNull T... values)` Returns a new `https://developer.android.com/reference/androidx/collection/ArraySet` with the specified contents. |

## Public methods

### arraySetOf

Artifact: [androidx.collection:collection](https://developer.android.com/jetpack/androidx/releases/collection) [View Source](https://cs.android.com/search?q=file:androidx/collection/ArraySet.kt+function:arraySetOf) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/collection#1.3.0)

```
public static final @NonNull ArraySet<@NonNull T> <T extends Object> arraySetOf()
```

Returns an empty new `https://developer.android.com/reference/androidx/collection/ArraySet`.

### arraySetOf

Artifact: [androidx.collection:collection](https://developer.android.com/jetpack/androidx/releases/collection) [View Source](https://cs.android.com/search?q=file:androidx/collection/ArraySet.kt+function:arraySetOf) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/collection#1.3.0)

```
public static final @NonNull ArraySet<@NonNull T> <T extends Object> arraySetOf(@NonNull T... values)
```

Returns a new `https://developer.android.com/reference/androidx/collection/ArraySet` with the specified contents.