org.crosswire.common.util
Class EmptyIterator<E>

java.lang.Object
  extended by org.crosswire.common.util.EmptyIterator<E>
Type Parameters:
E - The type of the element that this empty iterator will never return.
All Implemented Interfaces:
Iterator<E>

public class EmptyIterator<E>
extends Object
implements Iterator<E>

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()
           
 E 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<E>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<E>

next

public E next()
Specified by:
next in interface Iterator<E>

Copyright ? 2003-2011