org.eclipse.emf.ecore.util
Class FeatureMapUtil.BasicFeatureEIterator
java.lang.Object
org.eclipse.emf.ecore.util.FeatureMapUtil.BasicFeatureEIterator
- All Implemented Interfaces:
- java.util.Iterator, java.util.ListIterator
- Direct Known Subclasses:
- BasicFeatureMap.FeatureEIterator, DelegatingFeatureMap.FeatureEIterator
- Enclosing class:
- FeatureMapUtil
- public abstract static class FeatureMapUtil.BasicFeatureEIterator
- extends java.lang.Object
- implements java.util.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 java.lang.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 java.lang.Object extractValue(FeatureMap.Entry entry)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.ListIterator
scanNext
protected abstract boolean scanNext()
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.ListIterator
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interface java.util.ListIterator
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interface java.util.ListIterator
scanPrevious
protected abstract boolean scanPrevious()
previous
public java.lang.Object previous()
- Specified by:
previous
in interface java.util.ListIterator
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interface java.util.ListIterator
add
public void add(java.lang.Object o)
- Specified by:
add
in interface java.util.ListIterator
remove
public void remove()
- Specified by:
remove
in interface java.util.ListIterator
set
public void set(java.lang.Object o)
- Specified by:
set
in interface java.util.ListIterator
checkModCount
protected void checkModCount()
- Checks that the modification count is as expected.
- Throws:
java.util.ConcurrentModificationException
- if the modification count is not as expected.