jmce - 1_02

jmce.util
Class Stack<E>

java.lang.Object
  extended by jmce.util.FastArray<E>
      extended by jmce.util.Stack<E>

public class Stack<E>
extends FastArray<E>

Generic stack implementation without synchronization for maximum performance.

Since:
1.01
Version:
1.00
Author:
Mario Viara

Constructor Summary
Stack()
          Default constructor.
 
Method Summary
 E pop()
          Pop a new object from the stack.
 void push(E o)
          Push a new object.
 
Methods inherited from class jmce.util.FastArray
add, add, clear, contains, get, getGrowSize, getSize, indexOf, remove, remove, setGrowSize, size, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stack

public Stack()
Default constructor.

Method Detail

push

public void push(E o)
          throws SIMException
Push a new object.

Throws:
SIMException

pop

public E pop()
      throws SIMException
Pop a new object from the stack.

Throws:
SIMException

jmce - 1_02