title: Why do collections in java not have a read only iterator concept?
body: <p>The <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Enumeration.html" rel="nofollow">Enumeration</a>  interface of java has 2 methods</p>
  
  <ol>
  <li>hasNext()</li>
  <li>next()</li>
  </ol>
  
  <p>Why doesn't <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Iterator.html" rel="nofollow">Iterator</a> extend Enumeration and add the remove method()?</p>
  
  <p>Also, if all I want to do is loop over my collection, I can make do with an Enumeration (or an iterator if it extends enumeration) as loop statements only need an enumeration. I don't have to worry about the collection getting modified</p>