edu.berkeley.guir.lib.collection
Class EmptyIterator
java.lang.Object
|
+--edu.berkeley.guir.lib.collection.EmptyIterator
- All Implemented Interfaces:
- Iterator
- public final class EmptyIterator
- extends Object
- implements Iterator
This is just an Iterator that has no elements. For optimization
purposes.
This software is distributed under the
Berkeley Software License.
Revisions: - GUIRLib-v1.0-1.0.0, Aug 12 1999, JH
Created class
- GUIRLib-v1.2-1.0.0, Jun 22 2000, JH
Touched for GUIRLib release
- GUIRLib-v1.3-1.0.0, Aug 11 2000, JH
Touched for GUIRLib release
- GUIRLib-v1.4-1.0.0, Aug 31 2000, JH
Touched for GUIRLib release
- Since:
- JDK 1.2
- Version:
- GUIRLib-v1.4-1.0.0, Aug 31 2000
- Author:
- (jasonh@cs.berkeley.edu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyIterator
public EmptyIterator()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator