FreeHEP API
Version current

org.freehep.util
Class FastStack

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byorg.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
Source Code:
FastStack.java

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 current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.