org.eclipse.emf.ecore.util
Class BasicFeatureMap.ValueListIteratorImpl<E1>

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

protected class BasicFeatureMap.ValueListIteratorImpl<E1>
extends BasicEList.EListIterator<E1>
implements FeatureMap.ValueListIterator<E1>


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(E1 value)
          Adds the object at the next index and advances the iterator past it.
 void add(EStructuralFeature eStructuralFeature, java.lang.Object value)
           
 EStructuralFeature feature()
           
 E1 next()
          Returns the next object and advances the iterator.
 E1 previous()
          Returns the previous object and advances the iterator.
 
Methods inherited from class org.eclipse.emf.common.util.BasicEList.EListIterator
doAdd, doPrevious, doSet, hasPrevious, nextIndex, previousIndex, set
 
Methods inherited from class org.eclipse.emf.common.util.BasicEList.EIterator
checkModCount, doNext, 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.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<E1>

next

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

Specified by:
next in interface java.util.Iterator<E1>
Specified by:
next in interface java.util.ListIterator<E1>
Overrides:
next in class BasicEList.EIterator<E1>
Returns:
the next object.

previous

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

Specified by:
previous in interface java.util.ListIterator<E1>
Overrides:
previous in class BasicEList.EListIterator<E1>
Returns:
the previous object.

add

public void add(E1 value)
Description copied from class: BasicEList.EListIterator
Adds the object at the next index and advances the iterator past it. This implementation delegates to doAdd(E).

Specified by:
add in interface java.util.ListIterator<E1>
Overrides:
add in class BasicEList.EListIterator<E1>
Parameters:
value - the object to add.

add

public void add(EStructuralFeature eStructuralFeature,
                java.lang.Object value)
Specified by:
add in interface FeatureMap.ValueListIterator<E1>

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