title: java.util.Iterator but cannot import java.util.Iterator
body: <p>Given this Code  </p>
  
  <p></p>
  
  <pre><code>import java.util.Iterator;
  
  private static List&lt;String&gt; someList = new ArrayList&lt;String&gt;();
  
  public static void main(String[] args) {
  
      someList.add("monkey");
      someList.add("donkey");
  
      //Code works when I change Iterator to java.util.Iterator, but import      
      //is not possible?
      for(Iterator&lt;String&gt; i = someList.iterator(); i.hasNext(); ) {
          String item = i.next();
          System.out.println(item);
      }
  
  }
  </code></pre>
  
  <p></p>
  
  <p>I receive the error: The type Iterator is not generic; it cannot be parameterized with arguments </p>
  
  <p>Eclipse tells me that the import java.util.Iterator conflicts with a type defined in the same file.</p>