net.sf.eos.trie
Class UnmodifiableIterator<E>

java.lang.Object
  extended by net.sf.eos.trie.UnmodifiableIterator<E>
All Implemented Interfaces:
Iterator<E>
Direct Known Subclasses:
EmptyIterator

public abstract class UnmodifiableIterator<E>
extends Object
implements Iterator<E>

A convenience class to aid in developing iterators that cannot be modified.


Constructor Summary
UnmodifiableIterator()
           
 
Method Summary
 void remove()
          Throws UnsupportedOperationException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next
 

Constructor Detail

UnmodifiableIterator

public UnmodifiableIterator()
Method Detail

remove

public final void remove()
Throws UnsupportedOperationException

Specified by:
remove in interface Iterator<E>


Copyright © 2008. All Rights Reserved.