org.eclipse.emf.ecore.util
Class BasicFeatureMap.ValueListIteratorImpl

java.lang.Object
  extended byorg.eclipse.emf.common.util.BasicEList.EIterator
      extended byorg.eclipse.emf.common.util.BasicEList.EListIterator
          extended byorg.eclipse.emf.ecore.util.BasicFeatureMap.ValueListIteratorImpl
All Implemented Interfaces:
EContentsEList.FeatureIterator, EContentsEList.FeatureListIterator, FeatureMap.ValueListIterator, Iterator, ListIterator
Enclosing class:
BasicFeatureMap

protected class BasicFeatureMap.ValueListIteratorImpl
extends BasicEList.EListIterator
implements FeatureMap.ValueListIterator


Field Summary
 
Fields inherited from class org.eclipse.emf.common.util.BasicEList.EIterator
cursor, expectedModCount, lastCursor
 
Constructor Summary
BasicFeatureMap.ValueListIteratorImpl()
           
BasicFeatureMap.ValueListIteratorImpl(int index)
           
 
Method Summary
 void add(EStructuralFeature eStructuralFeature, Object value)
           
 void add(Object value)
          Adds the object at the next index and advances the iterator past it.
 EStructuralFeature feature()
           
 Object next()
          Returns the next object and advances the iterator.
 Object previous()
          Returns the previous object and advances the iterator.
 
Methods inherited from class org.eclipse.emf.common.util.BasicEList.EListIterator
hasPrevious, nextIndex, previousIndex, set
 
Methods inherited from class org.eclipse.emf.common.util.BasicEList.EIterator
checkModCount, hasNext, remove
 
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
 

Constructor Detail

BasicFeatureMap.ValueListIteratorImpl

public BasicFeatureMap.ValueListIteratorImpl()

BasicFeatureMap.ValueListIteratorImpl

public BasicFeatureMap.ValueListIteratorImpl(int index)
Method Detail

feature

public EStructuralFeature feature()
Specified by:
feature in interface EContentsEList.FeatureIterator

next

public Object next()
Description copied from class: BasicEList.EIterator
Returns the next object and advances the iterator. This implementation delegates to get.

Specified by:
next in interface Iterator
Overrides:
next in class BasicEList.EIterator
Returns:
the next object.

previous

public Object previous()
Description copied from class: BasicEList.EListIterator
Returns the previous object and advances the iterator. This implementation delegates to get.

Specified by:
previous in interface ListIterator
Overrides:
previous in class BasicEList.EListIterator
Returns:
the previous object.

add

public void add(Object value)
Description copied from class: BasicEList.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 ListIterator
Overrides:
add in class BasicEList.EListIterator
Parameters:
value - the object to add.

add

public void add(EStructuralFeature eStructuralFeature,
                Object value)
Specified by:
add in interface FeatureMap.ValueListIterator

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.