Class XMLHandler.MyEObjectStack

  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by org.eclipse.emf.common.util.BasicEList<E>
              extended by org.eclipse.emf.ecore.xmi.impl.XMLHandler.MyStack<EObject>
                  extended by org.eclipse.emf.ecore.xmi.impl.XMLHandler.MyEObjectStack
All Implemented Interfaces:, java.lang.Cloneable, java.lang.Iterable<EObject>, java.util.Collection<EObject>, java.util.List<EObject>, java.util.RandomAccess, EList<EObject>
Enclosing class:

protected static class XMLHandler.MyEObjectStack
extends XMLHandler.MyStack<EObject>

See Also:
Serialized Form

Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.FastCompare<E>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>, BasicEList.UnmodifiableEList<E>
Field Summary
protected  EObject[] eObjectData
Fields inherited from class org.eclipse.emf.common.util.BasicEList
data, size
Fields inherited from class java.util.AbstractList
Constructor Summary
Method Summary
 void clear()
          Clears the list of all objects.
protected  java.lang.Object[] newData(int capacity)
          Returns new allocated data storage.
 EObject peekEObject()
 EObject popEObject()
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMLHandler.MyStack
peek, pop, push
Methods inherited from class org.eclipse.emf.common.util.BasicEList
add, add, addAll, addAll, addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, basicIterator, basicList, basicListIterator, basicListIterator, canContainNull, clone, contains, containsAll, data, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, grow, hashCode, indexOf, isEmpty, isUnique, iterator, lastIndexOf, listIterator, listIterator, move, move, remove, remove, removeAll, resolve, retainAll, set, setData, setUnique, shrink, size, toArray, toArray, toString, useEquals, validate
Methods inherited from class java.util.AbstractList
removeRange, subList
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List

Field Detail


protected EObject[] eObjectData
Constructor Detail


public XMLHandler.MyEObjectStack()
Method Detail


protected final java.lang.Object[] newData(int capacity)
Description copied from class: BasicEList
Returns new allocated data storage. Clients may override this to create typed storage. The cost of type checking via a typed array is negligible.

newData in class BasicEList<EObject>
new data storage.


public final EObject peekEObject()


public final EObject popEObject()


public void clear()
Description copied from class: BasicEList
Clears the list of all objects. This implementation discards the data storage without modifying it and delegates to didClear and didChange.

Specified by:
clear in interface java.util.Collection<EObject>
Specified by:
clear in interface java.util.List<EObject>
clear in class BasicEList<EObject>

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