title: java- reset list iterator to first element of the list
body: <p>I need to know how to &quot;reset&quot; LinkedList iterator to its first element.</p>
  <p>For example:</p>
  <pre><code>LinkedList&lt;String&gt; list;
  Iterator iter=list.listIterator;
  iter.next();
  iter.next();
  </code></pre>
  <p>Over and over again and after many moves of the iterator, I need to &quot;reset&quot; the position of the iterator.</p>
  <p>I want to ask how I can &quot;reset&quot; my iterator to the first element.</p>
  <p>I know that I can get list iterator of the first element in this way:</p>
  <pre><code>iter= list.listIterator(1);
  </code></pre>
  <p>Is this the best solution? Or maybe I missed something in Oracle docs?</p>