de.projectory.koivima.operators
Class Copy

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

public class Copy
extends Operator

Copies the last element of the stack. Stack: ... a => ... a a


Field Summary
 
Fields inherited from class de.projectory.koivima.core.Element
context
 
Constructor Summary
Copy()
           
 
Method Summary
 void execute()
          Copies the last element of the stack.
 
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

Copy

public Copy()
Method Detail

execute

public void execute()
Copies the last element of the stack.

Specified by:
execute in class Element