| 
 
com.rychlik.calculator
Class StackMachine.GoTo
java.lang.Object
  |
  +--com.rychlik.calculator.StackMachine.GoTo
 
All Implemented Interfaces: java.io.Serializable, StackMachine.Instruction 
Enclosing class:StackMachine 
 
public class StackMachine.GoToextends java.lang.Objectimplements StackMachine.Instruction, java.io.Serializable 
Goto
 
 
 
See Also:Serialized Form 
 
 
| Field Summary |  
|  int | locationDescribe variable
 locationhere. |  
| Method Summary |  
|  int | arity()Describe
 aritymethod here. |  
|  void | execute()Describe
 executemethod here. |  
|  void | write(java.io.PrintStream out)Describe
 writemethod here. |  
| Methods inherited from class java.lang.Object |  
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |  
 
location
public final int location 
Describe variable locationhere.
 
 
StackMachine.GoTo
public StackMachine.GoTo(int location) 
Creates a new GoToinstance.
Parameters:location- anintvalue 
arity
public int arity() 
Describe aritymethod here.
 
Specified by:arityin interfaceStackMachine.Instruction
Returns:an intvalue 
 
execute
public void execute() 
Describe executemethod here.
 
Specified by:executein interfaceStackMachine.Instruction
 
 
write
public void write(java.io.PrintStream out) 
Describe writemethod here.
 
Specified by:writein interfaceStackMachine.Instruction
Parameters:out- aPrintStreamvalue 
 
 |