com.sun.msv.util
Class LightStack

java.lang.Object
  extended bycom.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

contains

public boolean contains(Object o)

pop

public Object pop()

push

public void push(Object o)

size

public int size()

top

public Object top()


Copyright © 2001-2003 Sun Microsystems, Inc. Documenation generated September 9 2004.