net.sf.staccatocommons.iterators
Class AbstractUnmodifiableIterator<T>

java.lang.Object
  extended by 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

Constructor Summary
AbstractUnmodifiableIterator()
          Creates a new AbstractUnmodifiableIterator
 
Method Summary
 void remove()
           
 
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

AbstractUnmodifiableIterator

public AbstractUnmodifiableIterator()
Creates a new AbstractUnmodifiableIterator

Method Detail

remove

public final void remove()
Specified by:
remove in interface Iterator<T>


Get Staccatocommons at SourceForge.net. Fast, secure and Free Open Source software downloads