|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.emf.common.util.DelegatingEList.EIterator
An extensible iterator implementation.
| Field Summary | |
|---|---|
protected int |
cursor
The current position of the iterator. |
protected int |
expectedModCount
The modification count of the containing list. |
protected int |
lastCursor
The previous position of the iterator. |
| Constructor Summary | |
|---|---|
protected |
DelegatingEList.EIterator()
|
| Method Summary | |
|---|---|
protected void |
checkModCount()
Checks that the modification count is as expected. |
boolean |
hasNext()
Returns whether there are more objects. |
java.lang.Object |
next()
Returns the next object and advances the iterator. |
void |
remove()
Removes the last object returned by DelegatingEList.EIterator.next() from the list,
it's an optional operation.
|
| 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 lastCursor
protected int expectedModCount
| Constructor Detail |
protected DelegatingEList.EIterator()
| Method Detail |
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
get.
next in interface java.util.Iteratorjava.util.NoSuchElementException - if the iterator is done.public void remove()
DelegatingEList.EIterator.next() from the list,
it's an optional operation.
This implementation can also function in a list iterator
to act upon on the object returned by calling previous.
remove in interface java.util.Iteratorjava.lang.IllegalStateException - if next has not yet been called,
or remove has already been called after the last call to next.protected void checkModCount()
java.util.ConcurrentModificationException - if the modification count is not as expected.
|
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 | |||||||||||