org.springframework.context.annotation
Class ConfigurationClassParser.ImportStack

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector<E>
              extended by java.util.Stack<ConfigurationClass>
                  extended by org.springframework.context.annotation.ConfigurationClassParser.ImportStack
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<ConfigurationClass>, java.util.Collection<ConfigurationClass>, java.util.List<ConfigurationClass>, java.util.RandomAccess
Enclosing class:
ConfigurationClassParser

private static class ConfigurationClassParser.ImportStack
extends java.util.Stack<ConfigurationClass>


Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
private ConfigurationClassParser.ImportStack()
           
 
Method Summary
 boolean contains(java.lang.Object elem)
          Simplified contains() implementation that tests to see if any ConfigurationClass exists within this stack that has the same name as elem.
 java.lang.String toString()
          Given a stack containing (in order) com.acme.Foo com.acme.Bar com.acme.Baz Returns "Foo->Bar->Baz".
 
Methods inherited from class java.util.Stack
empty, peek, pop, push, search
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

ConfigurationClassParser.ImportStack

private ConfigurationClassParser.ImportStack()
Method Detail

contains

public boolean contains(java.lang.Object elem)
Simplified contains() implementation that tests to see if any ConfigurationClass exists within this stack that has the same name as elem. Elem must be of type ConfigurationClass.

Specified by:
contains in interface java.util.Collection<ConfigurationClass>
Specified by:
contains in interface java.util.List<ConfigurationClass>
Overrides:
contains in class java.util.Vector<ConfigurationClass>

toString

public java.lang.String toString()
Given a stack containing (in order)
  1. com.acme.Foo
  2. com.acme.Bar
  3. com.acme.Baz
Returns "Foo->Bar->Baz". In the case of an empty stack, returns empty string.

Overrides:
toString in class java.util.Vector<ConfigurationClass>