public final class Stack extends Object
For example, when the FormCalc interpreter performs an add instruction, it will pop two operands off the stack, add them together, and push the result onto the stack.
Modifier and Type | Method and Description |
---|---|
CalcSymbol |
peek(int nOffset)
Peeks at a symbol within this Stack object.
|
public CalcSymbol peek(int nOffset)
nOffset
- an offset within the stack.Copyright © 2010 - 2020 Adobe. All Rights Reserved