|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.knipp.rritoolkit.KVList.EmptyIterator<E>
E
- the value typeprivate static class KVList.EmptyIterator<E>
small class implementing an iterator for no elements
Constructor Summary | |
---|---|
private |
KVList.EmptyIterator()
|
Method Summary | |
---|---|
boolean |
hasNext()
return whether there are more elements |
E |
next()
return the first element |
void |
remove()
remove the current element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private KVList.EmptyIterator()
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<E>
true
if sopublic E next() throws java.util.NoSuchElementException
next
in interface java.util.Iterator<E>
java.util.NoSuchElementException
- alwayspublic void remove() throws java.lang.UnsupportedOperationException
remove
in interface java.util.Iterator<E>
java.lang.UnsupportedOperationException
- always
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |