de.projectory.addingmachine.operators
Class IncA

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

public class IncA
extends Operator

Increments the content of register A by one. Stack: ... => ...


Field Summary
 
Fields inherited from class de.projectory.koivima.core.Element
context
 
Constructor Summary
IncA()
           
 
Method Summary
 void execute()
          Increments the content of register A by one.
 
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

IncA

public IncA()
Method Detail

execute

public void execute()
Increments the content of register A by one.

Specified by:
execute in class Element