net.sf.staccatocommons.iterators
Class AbstractUnmodifiableIterator<T>
java.lang.Object
net.sf.staccatocommons.iterators.AbstractUnmodifiableIterator<T>
- Type Parameters:
T -
- All Implemented Interfaces:
- Iterator<T>
- Direct Known Subclasses:
- AbstractThriterator, NextGetIterator, UnmodifiableIterator
public abstract class AbstractUnmodifiableIterator<T>
- extends Object
- implements Iterator<T>
An abstract Iterator that does not support remove().
Although its name suggests the contrary, AbstractUnmodifiableIterator
are not Unmodifiable, actually.
- Author:
- flbulgarelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractUnmodifiableIterator
public AbstractUnmodifiableIterator()
- Creates a new
AbstractUnmodifiableIterator
remove
public final void remove()
- Specified by:
remove in interface Iterator<T>