|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ozoneDB.collections._BaseTreeMap_TreeIterator
DO NOT USE THIS CLASS DIRECTLY.
This should be an inner class; ozone unfortunately does not (yet) support inner classes as Ozone objects. Until it does we have to resort to this hack.
Note that this class resembles _BaseTreeMap_OzoneTreeIteratorImpl
.
Constructor Summary | |
_BaseTreeMap_TreeIterator(BaseTreeMap owner,
int type)
|
|
_BaseTreeMap_TreeIterator(BaseTreeMap owner,
int type,
BaseTreeMap.Node first,
BaseTreeMap.Node max)
|
Method Summary | |
boolean |
hasNext()
Returns true if the Iterator has more elements. |
java.lang.Object |
next()
Returns the next element in the Iterator's sequential view. |
void |
remove()
Removes from the backing TreeMap the last element which was fetched with the next() method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public _BaseTreeMap_TreeIterator(BaseTreeMap owner, int type)
public _BaseTreeMap_TreeIterator(BaseTreeMap owner, int type, BaseTreeMap.Node first, BaseTreeMap.Node max)
Method Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
java.util.ConcurrentModificationException
- if the TreeMap was modifiedpublic java.lang.Object next()
next
in interface java.util.Iterator
java.util.ConcurrentModificationException
- if the TreeMap was modified
java.util.NoSuchElementException
- if there is nonepublic void remove()
next()
method.
remove
in interface java.util.Iterator
java.util.ConcurrentModificationException
- if the TreeMap was modified
java.lang.IllegalStateException
- if called when there is no last element
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |