de.projectory.koivima.operators
Class Sub

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

public class Sub
extends Operator

Substracts one integer from another Stack: ... a b => ... c c = a - b


Field Summary
 
Fields inherited from class de.projectory.koivima.core.Element
context
 
Constructor Summary
Sub()
           
 
Method Summary
 void execute()
          Substracts one integer from another.
 
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

Sub

public Sub()
Method Detail

execute

public void execute()
Substracts one integer from another.

Specified by:
execute in class Element