org.eclipse.emf.common.util
Class DelegatingEList.NonResolvingEIterator
java.lang.Object
org.eclipse.emf.common.util.DelegatingEList.EIterator
org.eclipse.emf.common.util.DelegatingEList.NonResolvingEIterator
- All Implemented Interfaces:
- Iterator
- Enclosing class:
- DelegatingEList
- protected class DelegatingEList.NonResolvingEIterator
- extends DelegatingEList.EIterator
An extended read-only iterator that does not resolve
objects.
Method Summary |
Object |
next()
Returns the next object and advances the iterator.
|
void |
remove()
Throws and exception. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingEList.NonResolvingEIterator
protected DelegatingEList.NonResolvingEIterator()
next
public Object next()
- Returns the next object and advances the iterator.
This implementation accesses the backing list directly.
- Specified by:
next
in interface Iterator
- Overrides:
next
in class DelegatingEList.EIterator
- Returns:
- the next object.
- Throws:
NoSuchElementException
- if the iterator is done.
remove
public void remove()
- Throws and exception.
- Specified by:
remove
in interface Iterator
- Overrides:
remove
in class DelegatingEList.EIterator
- Throws:
UnsupportedOperationException
- always because it's not supported.