Package 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
-
Method Details
-
height
int height() -
pop
- Throws:
NoSuchElementException
-
push
-
top
- Throws:
NoSuchElementException
-