Code example for Stack

Methods: add

0
	} 
 
	@Override 
	public void analyzing(DependencyFrame fFrame) {
		Stack<String> myOperandStack = fFrame.getIntermediateVariableNameStack();
		myOperandStack.add(new Integer(getOperand()).toString());
 
	} 
 
	@Override 
	public Object execute(PathFrame pathFrame) {
		Stack<Integer> myOperandStack = pathFrame.getOperandStack();
		myOperandStack.push(2);
		return null; 
	} 
}