org.crosswire.common.util
Class EmptyIterator

java.lang.Object
  extended by org.crosswire.common.util.EmptyIterator
All Implemented Interfaces:
Iterator

public class EmptyIterator
extends Object
implements Iterator

An EmptyIterator is an Iterator that iterates over nothing.

Author:
DM Smith [ dmsmith555 at yahoo dot com]
See Also:
for license details. The copyright to this program is held by it's authors.

Constructor Summary
EmptyIterator()
          Construct an EmptyIterator.
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyIterator

public EmptyIterator()
Construct an EmptyIterator.

Method Detail

remove

public void remove()
Specified by:
remove in interface Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

Copyright ยจ 2003-2005