public final class

IntStack

extends Object
java.lang.Object
   ↳ org.apache.xerces.util.IntStack

Class Overview

A simple integer based stack. moved to org.apache.xerces.util by neilg to support the XPathMatcher.

Summary

Public Constructors
IntStack()
Public Methods
void clear()
Clears the stack.
int elementAt(int depth)
Returns the element at the specified depth in the stack.
int peek()
Peeks at the top of the stack.
int pop()
Pops a value off of the stack.
void print()
Prints the stack.
void push(int value)
Pushes a value onto the stack.
int size()
Returns the size of the stack.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public IntStack ()

Public Methods

public void clear ()

Clears the stack.

public int elementAt (int depth)

Returns the element at the specified depth in the stack.

public int peek ()

Peeks at the top of the stack.

public int pop ()

Pops a value off of the stack.

public void print ()

Prints the stack.

public void push (int value)

Pushes a value onto the stack.

public int size ()

Returns the size of the stack.