javautils.collections
Class AbstractIterator

java.lang.Object
  |
  +--javautils.collections.AbstractIterator
All Implemented Interfaces:
java.util.Iterator
Direct Known Subclasses:
IteratorDecorator

public abstract class AbstractIterator
extends java.lang.Object
implements java.util.Iterator

Implements the remove-method.


Constructor Summary
AbstractIterator()
           
 
Method Summary
abstract  boolean hasNext()
           
abstract  java.lang.Object next()
           
 void remove()
           throw new UnsupportedOperationException();
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIterator

public AbstractIterator()
Method Detail

remove

public void remove()
 throw new UnsupportedOperationException();
 

Specified by:
remove in interface java.util.Iterator

next

public abstract java.lang.Object next()
Specified by:
next in interface java.util.Iterator

hasNext

public abstract boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator