FreeHEP API
Version v1.2

org.freehep.util
Class FastStack

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--org.freehep.util.FastStack
All Implemented Interfaces:
Cloneable, Collection, List, RandomAccess, Serializable

public class FastStack
extends ArrayList

Unsynchronized version of a Stack.

Author:
Mark Donszelmann
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
FastStack()
           
FastStack(int initialCapacity)
           
 
Method Summary
 Object peek()
           
 Object pop()
           
 Object push(Object item)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

FastStack

public FastStack()

FastStack

public FastStack(int initialCapacity)
Method Detail

push

public Object push(Object item)

pop

public Object pop()

peek

public Object peek()

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.