title: how to init an iterator
body: <p>i just intent to initialize an iterator over a generic linked list like that (generic typ T seems to be erased in here since the site interpret it as tag)</p>
  
  <pre><code>public &lt;T&gt; LinkedList&lt;T&gt; sort(LinkedList&lt;T&gt; list){
      Iterator&lt;T&gt; iter = new list.iterator();
      ...
  </code></pre>
  
  <p>but i got the error: </p>
  
  <p>"list cannot be resolved"</p>
  
  <p>what's wrong? </p>