Find index of collection over array
<p>Im having this following loop</p>

<pre><code>    for (Annotation currAnnotation : annotation.getAnnotations())
    {
        List&lt;Map&lt;String, String&gt;&gt; list = annotation.getList();
list.get(index)
</code></pre>

<p>the index should be the index of the loop,how can I achieve it ?
I need to get from the list the specific entry.</p>

<p>Thanks!</p>
