org.eclipse.emf.ecore.util
Class DelegatingFeatureMap.ValueListIteratorImpl
java.lang.Object
org.eclipse.emf.common.util.DelegatingEList.EIterator
org.eclipse.emf.common.util.DelegatingEList.EListIterator
org.eclipse.emf.ecore.util.DelegatingFeatureMap.ValueListIteratorImpl
- All Implemented Interfaces:
- EContentsEList.FeatureIterator, EContentsEList.FeatureListIterator, FeatureMap.ValueListIterator, java.util.Iterator, java.util.ListIterator
- Enclosing class:
- DelegatingFeatureMap
- protected class DelegatingFeatureMap.ValueListIteratorImpl
- extends DelegatingEList.EListIterator
- implements FeatureMap.ValueListIterator
Method Summary |
void |
add(EStructuralFeature eStructuralFeature,
java.lang.Object value)
|
void |
add(java.lang.Object value)
Adds the object at the next index and advances the iterator past it.
|
EStructuralFeature |
feature()
|
java.lang.Object |
next()
Returns the next object and advances the iterator.
|
java.lang.Object |
previous()
Returns the previous object and advances the iterator.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Iterator |
hasNext, remove |
Methods inherited from interface java.util.ListIterator |
hasNext, hasPrevious, nextIndex, previousIndex, remove, set |
DelegatingFeatureMap.ValueListIteratorImpl
public DelegatingFeatureMap.ValueListIteratorImpl()
DelegatingFeatureMap.ValueListIteratorImpl
public DelegatingFeatureMap.ValueListIteratorImpl(int index)
feature
public EStructuralFeature feature()
- Specified by:
feature
in interface EContentsEList.FeatureIterator
next
public java.lang.Object next()
- Description copied from class:
DelegatingEList.EIterator
- Returns the next object and advances the iterator.
This implementation delegates to
get
.
- Specified by:
next
in interface java.util.Iterator
- Overrides:
next
in class DelegatingEList.EIterator
- Returns:
- the next object.
previous
public java.lang.Object previous()
- Description copied from class:
DelegatingEList.EListIterator
- Returns the previous object and advances the iterator.
This implementation delegates to
get
.
- Specified by:
previous
in interface java.util.ListIterator
- Overrides:
previous
in class DelegatingEList.EListIterator
- Returns:
- the previous object.
add
public void add(java.lang.Object value)
- Description copied from class:
DelegatingEList.EListIterator
- Adds the object at the
next
index and advances the iterator past it.
This implementation delegates to add(int, Object)
.
- Specified by:
add
in interface java.util.ListIterator
- Overrides:
add
in class DelegatingEList.EListIterator
- Parameters:
value
- the object to add.
add
public void add(EStructuralFeature eStructuralFeature,
java.lang.Object value)
- Specified by:
add
in interface FeatureMap.ValueListIterator