Math 302, Differential Equations JHU


com.rychlik.calculator
Class StackMachine.Call

java.lang.Object
  |
  +--com.rychlik.calculator.StackMachine.Call
All Implemented Interfaces:
java.io.Serializable, StackMachine.Instruction
Enclosing class:
StackMachine

public class StackMachine.Call
extends java.lang.Object
implements StackMachine.Instruction, java.io.Serializable

Describe class Call here.

See Also:
Serialized Form

Field Summary
 int argbase
          Describe variable argbase here.
 int nargs
          Describe variable nargs here.
 int progbase
          Describe variable progbase here.
 
Constructor Summary
StackMachine.Call(int progbase, int argbase, int nargs)
          Creates a new Call instance.
 
Method Summary
 int arity()
          Describe arity method here.
 void execute()
          Describe execute method here.
 void write(java.io.PrintStream out)
          Describe write method here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

progbase

public final int progbase
Describe variable progbase here.


argbase

public final int argbase
Describe variable argbase here.


nargs

public final int nargs
Describe variable nargs here.

Constructor Detail

StackMachine.Call

public StackMachine.Call(int progbase,
                         int argbase,
                         int nargs)
Creates a new Call instance.

Parameters:
progbase - an int value
argbase - an int value
nargs - an int value
Method Detail

arity

public int arity()
Describe arity method here.

Specified by:
arity in interface StackMachine.Instruction
Returns:
an int value

execute

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

Specified by:
execute in interface StackMachine.Instruction
Throws:
ParseException - if an error occurs

write

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

Specified by:
write in interface StackMachine.Instruction
Parameters:
out - a PrintStream value



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