org.eclipse.emf.ecore.util
Class EContentsEList.FeatureIteratorImpl

java.lang.Object
  extended byorg.eclipse.emf.ecore.util.EContentsEList.FeatureIteratorImpl
All Implemented Interfaces:
EContentsEList.FeatureIterator, EContentsEList.FeatureListIterator, Iterator, ListIterator
Direct Known Subclasses:
EContentsEList.ResolvingFeatureIteratorImpl, ECrossReferenceEList.FeatureIteratorImpl
Enclosing class:
EContentsEList

public static class EContentsEList.FeatureIteratorImpl
extends Object
implements EContentsEList.FeatureListIterator


Field Summary
protected  int cursor
           
static ListIterator EMPTY_ITERATOR
           
protected  EObject eObject
           
protected  EStructuralFeature[] eStructuralFeatures
           
protected  EStructuralFeature feature
           
protected  int featureCursor
           
protected  boolean isHandlingFeatureMap
           
protected  int prepared
           
protected  EStructuralFeature preparedFeature
           
protected  Object preparedResult
           
protected  InternalEList valueInternalEList
           
protected  List valueList
           
protected  int valueListIndex
           
protected  int valueListSize
           
protected  ListIterator values
           
 
Constructor Summary
EContentsEList.FeatureIteratorImpl(EObject eObject, EStructuralFeature[] eStructuralFeatures)
           
EContentsEList.FeatureIteratorImpl(EObject eObject, List eStructuralFeatures)
           
 
Method Summary
 void add(Object o)
           
 EStructuralFeature feature()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
protected  boolean isIncluded(EStructuralFeature eStructuralFeature)
           
protected  boolean isIncludedEntry(EStructuralFeature eStructuralFeature)
           
 Object next()
           
 int nextIndex()
           
 Object previous()
           
 int previousIndex()
           
 void remove()
           
protected  boolean resolve()
           
protected  boolean scanNext()
           
protected  boolean scanNext(ListIterator values)
           
protected  boolean scanPrevious()
           
protected  boolean scanPrevious(ListIterator values)
           
 void set(Object o)
           
protected  boolean useIsSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eObject

protected final EObject eObject

eStructuralFeatures

protected final EStructuralFeature[] eStructuralFeatures

featureCursor

protected int featureCursor

cursor

protected int cursor

prepared

protected int prepared

preparedResult

protected Object preparedResult

preparedFeature

protected EStructuralFeature preparedFeature

feature

protected EStructuralFeature feature

isHandlingFeatureMap

protected boolean isHandlingFeatureMap

values

protected ListIterator values

valueInternalEList

protected InternalEList valueInternalEList

valueList

protected List valueList

valueListSize

protected int valueListSize

valueListIndex

protected int valueListIndex

EMPTY_ITERATOR

public static final ListIterator EMPTY_ITERATOR
Constructor Detail

EContentsEList.FeatureIteratorImpl

public EContentsEList.FeatureIteratorImpl(EObject eObject,
                                          List eStructuralFeatures)

EContentsEList.FeatureIteratorImpl

public EContentsEList.FeatureIteratorImpl(EObject eObject,
                                          EStructuralFeature[] eStructuralFeatures)
Method Detail

resolve

protected boolean resolve()

useIsSet

protected boolean useIsSet()

isIncluded

protected boolean isIncluded(EStructuralFeature eStructuralFeature)

isIncludedEntry

protected boolean isIncludedEntry(EStructuralFeature eStructuralFeature)

feature

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

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

scanNext

protected boolean scanNext(ListIterator values)

scanNext

protected boolean scanNext()

next

public Object next()
Specified by:
next in interface Iterator

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator

scanPrevious

protected boolean scanPrevious(ListIterator values)

scanPrevious

protected 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 Iterator

set

public void set(Object o)
Specified by:
set in interface ListIterator

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