com.partnersoft.data
Class EmptyIterator

java.lang.Object
  extended by com.partnersoft.data.EmptyIterator
All Implemented Interfaces:
java.util.Iterator

public class EmptyIterator
extends java.lang.Object
implements java.util.Iterator

An Iterator for nothing.

Author:
Paul Reavis Copyright 2003 Partner Software, Inc.

Constructor Summary
EmptyIterator()
          Creates an EmptyIterator
 
Method Summary
 boolean hasNext()
          Returns true if there are more elements.
 java.lang.Object next()
          Returns next element.
 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()
Creates an EmptyIterator

Method Detail

hasNext

public boolean hasNext()
Returns true if there are more elements.

Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Returns next element.

Specified by:
next in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator