- Type Parameters:
V
- The member type the iterator is over.
- All Implemented Interfaces:
- java.util.Iterator<V>, java.util.ListIterator<V>
public class MyReadOnlyListIterator<V>
extends MyReadOnlyIterator<V>
implements java.util.ListIterator<V>
MyReadOnlyListIterator is identical to java's unmodifiable iterators, but for the fact that the class is publicly visible, making it possible for methods that return read-only iterators, to declare to the user that they shouldn't even attempt any update.
- Author:
- Erwin