Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.msv.util
Class LightStack

    java.lang.Object
      com.sun.msv.util.LightStack

public final class LightStack
extends java.lang.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(java.lang.Object o)`
`java.lang.Object` | `pop()`
`void` | `push(java.lang.Object o)`
`int` | `size()`
`java.lang.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(java.lang.Object o)

### pop

    public java.lang.Object pop()

### top

    public java.lang.Object top()

### size

    public int size()

### contains

    public boolean contains(java.lang.Object o)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD