blob: 38ff41f03eea8f700f279404c11c46d729d30d5b [file]
<html devsite="true">
<head>
<title>CircularIntArray</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="CircularIntArray">
<meta itemprop="path" content="androidx.collection">
<meta itemprop="property" content="addFirst(kotlin.Int)">
<meta itemprop="property" content="addLast(kotlin.Int)">
<meta itemprop="property" content="clear()">
<meta itemprop="property" content="get(kotlin.Int)">
<meta itemprop="property" content="getFirst()">
<meta itemprop="property" content="getLast()">
<meta itemprop="property" content="isEmpty()">
<meta itemprop="property" content="popFirst()">
<meta itemprop="property" content="popLast()">
<meta itemprop="property" content="removeFromEnd(kotlin.Int)">
<meta itemprop="property" content="removeFromStart(kotlin.Int)">
<meta itemprop="property" content="size()">
<meta itemprop="language" content="JAVA">
</div>
<div id="header-block">
<div>
<h1>CircularIntArray</h1>
</div>
<div id="metadata-info-block">
<div id="source-link"><a href="https://cs.android.com/search?q=file:androidx/collection/CircularIntArray.kt+class:androidx.collection.CircularIntArray&amp;ss=androidx/platform/frameworks/support" class="external">View Source</a></div>
</div>
</div>
<div id="refdoc-switcher-placeholder"></div>
<p>
<pre>public final class <a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></pre>
</p>
<hr>
<p><code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code> is a circular integer array data structure that provides O(1) random read, O(1) prepend and O(1) append. The CircularIntArray automatically grows its capacity when number of added integers is over its capacity.</p>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%"><h3>Public constructors</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#CircularIntArray(kotlin.Int)">CircularIntArray</a>(int&nbsp;minCapacity)</code></div>
<p>Creates a circular array with capacity for at least <code><a href="/reference/androidx/collection/CircularIntArray.html#&lt;init&gt;(kotlin.Int)">minCapacity</a></code> elements.</p>
</td>
</tr>
</tbody>
</table>
</div>
<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>final void</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#addFirst(kotlin.Int)">addFirst</a>(int&nbsp;element)</code></div>
<p>Add an integer in front of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
</td>
</tr>
<tr>
<td><code>final void</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#addLast(kotlin.Int)">addLast</a>(int&nbsp;element)</code></div>
<p>Add an integer at end of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
</td>
</tr>
<tr>
<td><code>final void</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#clear()">clear</a>()</code></div>
<p>Remove all integers from the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
</td>
</tr>
<tr>
<td><code>final int</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#get(kotlin.Int)">get</a>(int&nbsp;index)</code></div>
<p>Get nth (0 <= n <= size()-1) integer of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
</td>
</tr>
<tr>
<td><code>final int</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#getFirst()">getFirst</a>()</code></div>
<p>Get first integer of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
</td>
</tr>
<tr>
<td><code>final int</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#getLast()">getLast</a>()</code></div>
<p>Get last integer of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
</td>
</tr>
<tr>
<td><code>final boolean</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#isEmpty()">isEmpty</a>()</code></div>
<p>Return <code>true</code> if <code><a href="/reference/androidx/collection/CircularIntArray.html#size()">size</a></code> is 0.</p>
</td>
</tr>
<tr>
<td><code>final int</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#popFirst()">popFirst</a>()</code></div>
<p>Remove first integer from front of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code> and return it.</p>
</td>
</tr>
<tr>
<td><code>final int</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#popLast()">popLast</a>()</code></div>
<p>Remove last integer from end of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code> and return it.</p>
</td>
</tr>
<tr>
<td><code>final void</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#removeFromEnd(kotlin.Int)">removeFromEnd</a>(int&nbsp;count)</code></div>
<p>Remove multiple elements from end of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>, ignore when <code><a href="/reference/androidx/collection/CircularIntArray.html#removeFromEnd(kotlin.Int)">count</a></code> is less than or equals to 0.</p>
</td>
</tr>
<tr>
<td><code>final void</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#removeFromStart(kotlin.Int)">removeFromStart</a>(int&nbsp;count)</code></div>
<p>Remove multiple integers from front of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>, ignore when <code><a href="/reference/androidx/collection/CircularIntArray.html#removeFromStart(kotlin.Int)">count</a></code> is less than or equals to 0.</p>
</td>
</tr>
<tr>
<td><code>final int</code></td>
<td>
<div><code><a href="/reference/androidx/collection/CircularIntArray.html#size()">size</a>()</code></div>
<p>Get number of integers in the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="list">
<h2>Public constructors</h2>
<div class="api-item"><a name="CircularIntArray-kotlin.Int-"></a><a name="circularintarray"></a>
<div class="api-name-block">
<div>
<h3 id="CircularIntArray(kotlin.Int)">CircularIntArray</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#CircularIntArray(kotlin.Int)">CircularIntArray</a>(int&nbsp;minCapacity)</pre>
<p>Creates a circular array with capacity for at least <code><a href="/reference/androidx/collection/CircularIntArray.html#&lt;init&gt;(kotlin.Int)">minCapacity</a></code> elements.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Parameters</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int&nbsp;minCapacity</code></td>
<td>
<p>the minimum capacity, between 1 and 2^30 inclusive</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="list">
<h2>Public methods</h2>
<div class="api-item"><a name="addFirst-kotlin.Int-"></a><a name="addfirst"></a>
<div class="api-name-block">
<div>
<h3 id="addFirst(kotlin.Int)">addFirst</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;void&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#addFirst(kotlin.Int)">addFirst</a>(int&nbsp;element)</pre>
<p>Add an integer in front of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Parameters</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int&nbsp;element</code></td>
<td>
<p><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></code> to add.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="api-item"><a name="addLast-kotlin.Int-"></a><a name="addlast"></a>
<div class="api-name-block">
<div>
<h3 id="addLast(kotlin.Int)">addLast</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;void&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#addLast(kotlin.Int)">addLast</a>(int&nbsp;element)</pre>
<p>Add an integer at end of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Parameters</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int&nbsp;element</code></td>
<td>
<p><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></code> to add.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="api-item"><a name="clear--"></a><a name="clear"></a>
<div class="api-name-block">
<div>
<h3 id="clear()">clear</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;void&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#clear()">clear</a>()</pre>
<p>Remove all integers from the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
</div>
<div class="api-item"><a name="get-kotlin.Int-"></a><a name="get"></a>
<div class="api-name-block">
<div>
<h3 id="get(kotlin.Int)">get</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;int&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#get(kotlin.Int)">get</a>(int&nbsp;index)</pre>
<p>Get nth (0 <= n <= size()-1) integer of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Parameters</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int&nbsp;index</code></td>
<td>
<p>The zero based element index in the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Returns</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int</code></td>
<td>
<p>The nth integer.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Throws</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-index-out-of-bounds-exception/index.html">kotlin.IndexOutOfBoundsException</a></code></td>
<td>
<p>if n < 0 or n >= size().</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="api-item"><a name="getFirst--"></a><a name="getfirst"></a>
<div class="api-name-block">
<div>
<h3 id="getFirst()">getFirst</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;int&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#getFirst()">getFirst</a>()</pre>
<p>Get first integer of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Returns</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int</code></td>
<td>
<p>The first integer.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Throws</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-index-out-of-bounds-exception/index.html">kotlin.IndexOutOfBoundsException</a></code></td>
<td>
<p>if <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code> is empty.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="api-item"><a name="getLast--"></a><a name="getlast"></a>
<div class="api-name-block">
<div>
<h3 id="getLast()">getLast</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;int&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#getLast()">getLast</a>()</pre>
<p>Get last integer of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Returns</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int</code></td>
<td>
<p>The last integer.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Throws</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-index-out-of-bounds-exception/index.html">kotlin.IndexOutOfBoundsException</a></code></td>
<td>
<p>if <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code> is empty.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="api-item"><a name="isEmpty--"></a><a name="isempty"></a>
<div class="api-name-block">
<div>
<h3 id="isEmpty()">isEmpty</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;boolean&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#isEmpty()">isEmpty</a>()</pre>
<p>Return <code>true</code> if <code><a href="/reference/androidx/collection/CircularIntArray.html#size()">size</a></code> is 0.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Returns</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>boolean</code></td>
<td>
<p><code>true</code> if <code><a href="/reference/androidx/collection/CircularIntArray.html#size()">size</a></code> is 0.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="api-item"><a name="popFirst--"></a><a name="popfirst"></a>
<div class="api-name-block">
<div>
<h3 id="popFirst()">popFirst</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;int&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#popFirst()">popFirst</a>()</pre>
<p>Remove first integer from front of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code> and return it.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Returns</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int</code></td>
<td>
<p>The integer removed.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Throws</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-index-out-of-bounds-exception/index.html">kotlin.IndexOutOfBoundsException</a></code></td>
<td>
<p>if <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code> is empty.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="api-item"><a name="popLast--"></a><a name="poplast"></a>
<div class="api-name-block">
<div>
<h3 id="popLast()">popLast</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;int&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#popLast()">popLast</a>()</pre>
<p>Remove last integer from end of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code> and return it.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Returns</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int</code></td>
<td>
<p>The integer removed.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Throws</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-index-out-of-bounds-exception/index.html">kotlin.IndexOutOfBoundsException</a></code></td>
<td>
<p>if <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code> is empty.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="api-item"><a name="removeFromEnd-kotlin.Int-"></a><a name="removefromend"></a>
<div class="api-name-block">
<div>
<h3 id="removeFromEnd(kotlin.Int)">removeFromEnd</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;void&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#removeFromEnd(kotlin.Int)">removeFromEnd</a>(int&nbsp;count)</pre>
<p>Remove multiple elements from end of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>, ignore when <code><a href="/reference/androidx/collection/CircularIntArray.html#removeFromEnd(kotlin.Int)">count</a></code> is less than or equals to 0.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Parameters</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int&nbsp;count</code></td>
<td>
<p>Number of integers to remove.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Throws</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-index-out-of-bounds-exception/index.html">kotlin.IndexOutOfBoundsException</a></code></td>
<td>
<p>if <code><a href="/reference/androidx/collection/CircularIntArray.html#removeFromEnd(kotlin.Int)">count</a></code> is larger than <code><a href="/reference/androidx/collection/CircularIntArray.html#size()">size</a></code></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="api-item"><a name="removeFromStart-kotlin.Int-"></a><a name="removefromstart"></a>
<div class="api-name-block">
<div>
<h3 id="removeFromStart(kotlin.Int)">removeFromStart</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;void&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#removeFromStart(kotlin.Int)">removeFromStart</a>(int&nbsp;count)</pre>
<p>Remove multiple integers from front of the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>, ignore when <code><a href="/reference/androidx/collection/CircularIntArray.html#removeFromStart(kotlin.Int)">count</a></code> is less than or equals to 0.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Parameters</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int&nbsp;count</code></td>
<td>
<p>Number of integers to remove.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Throws</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-index-out-of-bounds-exception/index.html">kotlin.IndexOutOfBoundsException</a></code></td>
<td>
<p>if numOfElements is larger than <code><a href="/reference/androidx/collection/CircularIntArray.html#size()">size</a></code></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="api-item"><a name="size--"></a><a name="size"></a>
<div class="api-name-block">
<div>
<h3 id="size()">size</h3>
</div>
</div>
<pre class="api-signature no-pretty-print">public&nbsp;final&nbsp;int&nbsp;<a href="/reference/androidx/collection/CircularIntArray.html#size()">size</a>()</pre>
<p>Get number of integers in the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%">Returns</th>
</tr>
</thead>
<tbody class="list">
<tr>
<td><code>int</code></td>
<td>
<p>Number of integers in the <code><a href="/reference/androidx/collection/CircularIntArray.html">CircularIntArray</a></code>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>