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
- Source Code:
- FastStack.java
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 |
FastStack
public FastStack()
FastStack
public FastStack(int initialCapacity)
push
public Object push(Object item)
pop
public Object pop()
peek
public Object peek()
Copyright © 2000-2004 FreeHEP, All Rights Reserved.