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

Quick Search    Search Deep

org.maloi.evolvo.expressiontree.operators
Class Exponent  view Exponent download Exponent.java

java.lang.Object
  extended byorg.maloi.evolvo.expressiontree.operators.Exponent
All Implemented Interfaces:
OperatorInterface, java.io.Serializable

public class Exponent
extends java.lang.Object
implements OperatorInterface, java.io.Serializable

Returns the exponent of the value of an expressionTree.


Constructor Summary
Exponent()
           
 
Method Summary
 java.lang.String getName()
          Returns the operator's name.
 int getNumberOfParameters()
          Returns the number of parameters expected by the operator.
 void init()
          Performs any initialization the operator requires.
 void perform(org.maloi.evolvo.expressiontree.vm.Stack theStack)
          Perform the operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exponent

public Exponent()
Method Detail

perform

public void perform(org.maloi.evolvo.expressiontree.vm.Stack theStack)
Perform the operation.

Specified by:
perform in interface OperatorInterface

getName

public java.lang.String getName()
Returns the operator's name.

Specified by:
getName in interface OperatorInterface

init

public void init()
Performs any initialization the operator requires.

Specified by:
init in interface OperatorInterface

getNumberOfParameters

public int getNumberOfParameters()
Returns the number of parameters expected by the operator.

Specified by:
getNumberOfParameters in interface OperatorInterface