blob: 072ea96f2d42d27f80843d5d3515d70624e1cbf8 [file]
<html devsite="true">
<head>
<title>ArraySetKt</title>
{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %}
{% include "_shared/_reference-head-tags.html" %}
</head>
<body>
<div itemscope="" itemtype="http://developers.google.com/ReferenceObject">
<meta itemprop="name" content="ArraySetKt">
<meta itemprop="path" content="androidx.collection">
<meta itemprop="property" content="arraySetOf()">
<meta itemprop="property" content="arraySetOf(kotlin.Array)">
<meta itemprop="language" content="JAVA">
</div>
<div id="header-block">
<div>
<h1>ArraySetKt</h1>
</div>
</div>
<div id="refdoc-switcher-placeholder"></div>
<p>
<pre>public final class <a href="/reference/androidx/collection/ArraySetKt.html">ArraySetKt</a></pre>
</p>
<hr>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%"><h3>Public methods</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>static&nbsp;final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/collection/ArraySet.html">ArraySet</a>&lt;@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T&gt;</code></td>
<td>
<div><code>&lt;T&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <a href="/reference/androidx/collection/ArraySetKt.html#arraySetOf()">arraySetOf</a>()</code></div>
<p>Returns an empty new <code><a href="/reference/androidx/collection/ArraySet.html">ArraySet</a></code>.</p>
</td>
</tr>
<tr>
<td><code>static&nbsp;final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/collection/ArraySet.html">ArraySet</a>&lt;@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T&gt;</code></td>
<td>
<div><code>&lt;T&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <a href="/reference/androidx/collection/ArraySetKt.html#arraySetOf(kotlin.Array)">arraySetOf</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T&nbsp;values)</code></div>
<p>Returns a new <code><a href="/reference/androidx/collection/ArraySet.html">ArraySet</a></code> with the specified contents.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="list">
<h2>Public methods</h2>
<div class="api-item"><a name="arraySetOf--"></a><a name="arraysetof"></a>
<div class="api-name-block">
<div>
<h3 id="arraySetOf()">arraySetOf</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;final&nbsp;@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/collection/ArraySet.html">ArraySet</a>&lt;@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T&gt;&nbsp;&lt;T&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <a href="/reference/androidx/collection/ArraySetKt.html#arraySetOf()">arraySetOf</a>()</pre>
<p>Returns an empty new <code><a href="/reference/androidx/collection/ArraySet.html">ArraySet</a></code>.</p>
</div>
<div class="api-item"><a name="arraySetOf-kotlin.Array-"></a><a name="arraysetof"></a>
<div class="api-name-block">
<div>
<h3 id="arraySetOf(kotlin.Array)">arraySetOf</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;final&nbsp;@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/androidx/collection/ArraySet.html">ArraySet</a>&lt;@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T&gt;&nbsp;&lt;T&nbsp;extends&nbsp;<a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>&gt; <a href="/reference/androidx/collection/ArraySetKt.html#arraySetOf(kotlin.Array)">arraySetOf</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T&nbsp;values)</pre>
<p>Returns a new <code><a href="/reference/androidx/collection/ArraySet.html">ArraySet</a></code> with the specified contents.</p>
</div>
</div>
</body>
</html>