com.croftsoft.core.util
Class NullIterator
java.lang.Object
com.croftsoft.core.util.NullIterator
- All Implemented Interfaces:
- Iterator
public final class NullIterator
- extends Object
- implements Iterator
A singleton null object Iterator implementation.
- Since:
- 2003-05-10
- Version:
- 2003-05-12
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final NullIterator INSTANCE
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
CroftSoft Core Javadoc (2008-09-28 20:58:02)