|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.util.BasicEMap.BasicEMapIterator
An iterator over the map entry data.
| Field Summary | |
protected int |
cursor
The cursor in the entry data. |
protected int |
entryCursor
The cursor in the list of entries. |
protected int |
expectedModCount
The modification count expected of the map. |
protected int |
lastCursor
The last cursor in the entry data. |
protected int |
lastEntryCursor
The cursor in the list of entries. |
| Method Summary | |
boolean |
hasNext()
Returns whether there are more objects. |
Object |
next()
Returns the next object and advances the iterator. |
void |
remove()
Removes the entry of the last object returned by next() from the map,
it's an optional operation. |
protected void |
scan()
Scans to the new entry. |
protected Object |
yield(BasicEMap.Entry entry)
Called to yield the iterator result for the entry. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int cursor
protected int entryCursor
protected int lastCursor
protected int lastEntryCursor
protected int expectedModCount
| Method Detail |
protected Object yield(BasicEMap.Entry entry)
entry - the entry.
protected void scan()
public boolean hasNext()
hasNext in interface Iteratorpublic Object next()
next in interface IteratorNoSuchElementException - if the iterator is done.public void remove()
next() from the map,
it's an optional operation.
remove in interface IteratorIllegalStateException - if next has not yet been called,
or remove has already been called after the last call to next.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||