com.sun.msv.util
Class LightStack

java.lang.Object
  |
  +--com.sun.msv.util.LightStack

public final class LightStack
extends Object

light-weight stack implementation. This one is unsynchronized, and never shrink its memory footprint, but fast.

Author:
Kohsuke KAWAGUCHI

Constructor Summary
LightStack()
           
 
Method Summary
 boolean contains(Object o)
           
 Object pop()
           
 void push(Object o)
           
 int size()
           
 Object top()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightStack

public LightStack()
Method Detail

push

public void push(Object o)

pop

public Object pop()

top

public Object top()

size

public int size()

contains

public boolean contains(Object o)