|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.util.EmptyIterator
A iterator over an empty set.
| Constructor Summary | |
EmptyIterator()
|
|
| Method Summary | |
boolean |
hasNext()
Returns always false. |
java.lang.Object |
next()
Always throws a NoSuchElementException. |
void |
remove()
Removing objects is unsupported! |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EmptyIterator()
| Method Detail |
public boolean hasNext()
false.
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
NoSuchElementException.
next in interface java.util.Iteratorjava.util.NoSuchElementExceptionpublic void remove()
remove in interface java.util.Iterator
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||