,int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAndGet</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;setAndGet&#8203;(int&nbsp;n,
                     int&nbsp;v)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="AMapToData.html#setAndGet(int,int)">AMapToData</a></code></span></div>
<div class="block">Set the index to the value and get the contained value after.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Sp