|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.namespace.Namespace.EmptyIterator
protected class Namespace.EmptyIterator
An empty iterator that allows me to traverse in case of null objects.
| Constructor Summary | |
|---|---|
protected |
Namespace.EmptyIterator()
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Always returns false, as an empty iterator. |
Object |
next()
Returns a null as we are iterating over nothing. |
void |
remove()
Returns a false, as no removal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Namespace.EmptyIterator()
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iteratorpublic Object next()
next in interface Iteratorpublic void remove()
remove in interface Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||