antlr.collections
Interface Stack

All Known Implementing Classes:
LList

public interface Stack

A simple stack definition; restrictive in that you cannot access arbitrary stack elements.

Author:
Terence Parr MageLang Institute

Method Summary
 int height()
           
 Object pop()
           
 void push(Object o)
           
 Object top()
           
 

Method Detail

height

public int height()

pop

public Object pop()
           throws NoSuchElementException
NoSuchElementException

push

public void push(Object o)

top

public Object top()
           throws NoSuchElementException
NoSuchElementException


Copyright 1999-2003 Oliver Zeigermann. All Rights Reserved.