|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.util.iterator.EmptyIterator
public final class EmptyIterator
Convenience class that can serve as an empty Iterator.
In order to use the class, retrieve an instance using the getInstance() method.
| Method Summary | |
|---|---|
static EmptyIterator |
getInstance()
Returns a global instance of this object. |
boolean |
hasNext()
Implementation of Iterator interface. |
java.lang.Object |
next()
Implementation of the Iterator interface. |
void |
remove()
Implementation of the Iterator interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static EmptyIterator getInstance()
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||