de.projectory.addingmachine.operators
Class PrintA

java.lang.Object
  extended by de.projectory.koivima.core.Element
      extended by de.projectory.koivima.core.Operator
          extended by de.projectory.addingmachine.operators.PrintA

public class PrintA
extends Operator

Prints the content of register A onto the screen and performs a line break. Stack: ... => ...


Field Summary
 
Fields inherited from class de.projectory.koivima.core.Element
context
 
Constructor Summary
PrintA()
           
 
Method Summary
 void execute()
          Prints the content of register A onto the screen.
 
Methods inherited from class de.projectory.koivima.core.Operator
pop, popDataElement, popInteger, popString, push, toString
 
Methods inherited from class de.projectory.koivima.core.Element
getExecutionContext, setExecutionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrintA

public PrintA()
Method Detail

execute

public void execute()
Prints the content of register A onto the screen.

Specified by:
execute in class Element