Home | History | Annotate | Download | only in evaluation

Lines Matching refs:stack

28  * This class represents an operand stack that contains <code>Value</code>
33 public class Stack
44 * Creates a new Stack with a given maximum size, accounting for the double
47 public Stack(int maxSize)
54 * Creates a Stack that is a copy of the given Stack.
56 public Stack(Stack stack)
59 this(stack.values.length);
61 // Copy the stack contents.
62 copy(stack);
67 * Returns the actual maximum stack size that was required for all stack
77 * Resets this Stack, so that it can be reused.
96 * Copies the values of the given Stack into this Stack.
98 public void copy(Stack other)
107 // Copy the stack contents.
117 * Generalizes the values of this Stack with the values of the given Stack.
121 public boolean generalize(Stack other)
130 // Generalize the stack values.
152 // Check if the other stack extends beyond this one.
163 * Clears the stack.
167 // Clear the stack contents.
175 * Returns the number of elements currently on the stack, accounting for the
185 * Gets the specified Value from the stack, without disturbing it.
186 * @param index the index of the stack element, counting from the bottom
187 * of the stack.
197 * Sets the specified Value on the stack, without disturbing it.
198 * @param index the index of the stack element, counting from the bottom
199 * of the stack.
209 * Gets the specified Value from the stack, without disturbing it.
210 * @param index the index of the stack element, counting from the top
211 * of the stack.
221 * Sets the specified Value on the stack, without disturbing it.
222 * @param index the index of the stack element, counting from the top
223 * of the stack.
233 * Removes the specified Value from the stack.
234 * @param index the index of the stack element, counting from the top
235 * of the stack.
247 * Pushes the given Value onto the stack.
269 * Pops the top Value from the stack.
290 * Pops the top IntegerValue from the stack.
299 * Pops the top LongValue from the stack.
308 * Pops the top FloatValue from the stack.
317 * Pops the top DoubleValue from the stack.
326 * Pops the top ReferenceValue from the stack.
335 * Pops the top InstructionOffsetValue from the stack.
344 * Pops the top category 1 value from the stack.
353 * Pops the top category 2 value from the stack (or alternatively, two
354 * Category 1 stack elements).
382 * stack.
402 * Category 2 element) down the stack.
422 * Category 1 stack elements).
441 * stack (or alternatively, the equivalent Category 1 stack values).
462 * Duplicates the top Category 2 value, one Category 2 stack element down
463 * the stack (or alternatively, the equivalent Category 1 stack values).
507 Stack other = (Stack)object;