de.projectory.koivima.operators
Class Not

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

public class Not
extends Operator

Changes 0 to 1 and values != 0 to 0. Stack: ... a => !a ...


Field Summary
 
Fields inherited from class de.projectory.koivima.core.Element
context
 
Constructor Summary
Not()
           
 
Method Summary
 void execute()
          Moves the code pointer.
 
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

Not

public Not()
Method Detail

execute

public void execute()
Moves the code pointer.

Specified by:
execute in class Element