org.geotools.graph.util
Class IndexedStack

Object
  extended by AbstractCollection<E>
      extended by AbstractList<E>
          extended by Vector<E>
              extended by Stack
                  extended by IndexedStack
All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess

public class IndexedStack
extends Stack

See Also:
Serialized Form

Field Summary
 
Fields inherited from class Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class AbstractList
modCount
 
Constructor Summary
IndexedStack()
           
 
Method Summary
 boolean contains(Object elem)
           
 Object pop()
           
 Object push(Object item)
           
 
Methods inherited from class Stack
empty, peek, search
 
Methods inherited from class 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, toString, trimToSize
 
Methods inherited from class AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface List
iterator, listIterator, listIterator
 

Constructor Detail

IndexedStack

public IndexedStack()
Method Detail

push

public Object push(Object item)
Overrides:
push in class Stack

pop

public Object pop()
Overrides:
pop in class Stack

contains

public boolean contains(Object elem)
Specified by:
contains in interface Collection
Specified by:
contains in interface List
Overrides:
contains in class Vector


Copyright © 1996-2009 Geotools. All Rights Reserved.