|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sadun.util.NullIterator
An iterator which has no elements.
Constructor Summary | |
NullIterator()
|
Method Summary | |
boolean |
hasNext()
Always return false. |
java.lang.Object |
next()
Always throws a NoSuchElementException . |
void |
remove()
Not supported operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullIterator()
Method Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
NoSuchElementException
.
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |