Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jext.dawn.stack
Class RotFunction  view RotFunction download RotFunction.java

java.lang.Object
  extended byorg.jext.dawn.CodeSnippet
      extended byorg.jext.dawn.stack.RotFunction

public class RotFunction
extends org.jext.dawn.CodeSnippet

Rolls three elements of the stack.
Usage:
rot


Constructor Summary
RotFunction()
           
 
Method Summary
 java.lang.String getCode()
          Returns the function code.
 java.lang.String getName()
          Returns the function name.
 
Methods inherited from class org.jext.dawn.CodeSnippet
getHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RotFunction

public RotFunction()
Method Detail

getName

public java.lang.String getName()
Description copied from class: org.jext.dawn.CodeSnippet
Returns the function name. The returned name is the name which must be called in a script to invoke the function.


getCode

public java.lang.String getCode()
Description copied from class: org.jext.dawn.CodeSnippet
Returns the function code. This code must be written in Dawn scripting language. A code snippet can contains any Dawn function and also use the 'needs' keyword to request the installation of a specific package.