Math 302, Differential Equations JHU


com.rychlik.calculator
Interface StackMachine.Instruction

All Known Implementing Classes:
StackMachine.Assign, StackMachine.Branch, StackMachine.Call, StackMachine.DumpStack, StackMachine.GoTo, StackMachine.MathFunction, StackMachine.Pop, StackMachine.PopPrint, StackMachine.Print, StackMachine.PushAddress, StackMachine.PushConstant, StackMachine.PushVariable, StackMachine.Return, StackMachine.Stop
Enclosing interface:
StackMachine

public static interface StackMachine.Instruction

Describe interface Instruction here.


Method Summary
 int arity()
          Describe arity method here.
 void execute()
          Describe execute method here.
 void write(java.io.PrintStream out)
          Describe write method here.
 

Method Detail

execute

public void execute()
             throws ParseException
Describe execute method here.

Throws:
ParseException - if an error occurs

arity

public int arity()
Describe arity method here.

Returns:
an int value

write

public void write(java.io.PrintStream out)
Describe write method here.

Parameters:
out - a PrintStream value



This page last modified Sun Sep 12 12:30:02 2004
Questions? Comments? Please send feedback to jason howald