nl.knowledgeplaza.util.collection
Class NullIterator
java.lang.Object
nl.knowledgeplaza.util.collection.NullIterator
- All Implemented Interfaces:
- Iterator
public class NullIterator
- extends Object
- implements Iterator
An always empty iterator.
- Version:
- $Revision: 1.2 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getIterator
public static Iterator getIterator()
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
Copyright © 2012 KnowledgePlaza. All Rights Reserved.