com.sun.msv.util

Class 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

Method Summary
booleancontains(Object o)
Objectpop()
voidpush(Object o)
intsize()
Objecttop()

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()