|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jutil.java.collections.Singleton.SingletonIterator
Constructor Summary | |
Singleton.SingletonIterator()
|
Method Summary | |
boolean |
hasNext()
also public behavior post \result == onlyElementNotReturnedYet; See superclass |
java.lang.Object |
next()
also public behavior post \result == getOnlyElement(); post onlyElementNotReturnedYet == false; exception NoSuchElementException (\old(! onlyElementNotReturnedYet)); See superclass |
void |
remove()
also public behavior post false; exception UnsupportedOperationException true; See superclass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Singleton.SingletonIterator()
Method Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove() throws java.lang.UnsupportedOperationException
remove
in interface java.util.Iterator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |