org.eclipse.emf.ecore.util
Class FeatureMapUtil.BasicFeatureEIterator
java.lang.Object
org.eclipse.emf.ecore.util.FeatureMapUtil.BasicFeatureEIterator
- All Implemented Interfaces:
- Iterator, ListIterator
- Direct Known Subclasses:
- BasicFeatureMap.FeatureEIterator, DelegatingFeatureMap.FeatureEIterator
- Enclosing class:
- FeatureMapUtil
- public abstract static class FeatureMapUtil.BasicFeatureEIterator
- extends Object
- implements ListIterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eStructuralFeature
protected final EStructuralFeature eStructuralFeature
featureMap
protected final FeatureMap.Internal featureMap
entryCursor
protected int entryCursor
cursor
protected int cursor
prepared
protected int prepared
preparedResult
protected Object preparedResult
expectedModCount
protected int expectedModCount
lastCursor
protected int lastCursor
isFeatureMap
protected boolean isFeatureMap
validator
protected FeatureMapUtil.Validator validator
FeatureMapUtil.BasicFeatureEIterator
public FeatureMapUtil.BasicFeatureEIterator(EStructuralFeature eStructuralFeature,
FeatureMap.Internal featureMap)
resolve
protected boolean resolve()
extractValue
protected Object extractValue(FeatureMap.Entry entry)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface ListIterator
scanNext
protected abstract boolean scanNext()
next
public Object next()
- Specified by:
next
in interface ListIterator
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interface ListIterator
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interface ListIterator
scanPrevious
protected abstract boolean scanPrevious()
previous
public Object previous()
- Specified by:
previous
in interface ListIterator
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interface ListIterator
add
public void add(Object o)
- Specified by:
add
in interface ListIterator
remove
public void remove()
- Specified by:
remove
in interface ListIterator
set
public void set(Object o)
- Specified by:
set
in interface ListIterator
checkModCount
protected void checkModCount()
- Checks that the modification count is as expected.
- Throws:
ConcurrentModificationException
- if the modification count is not as expected.