com.jaxfront.core.jep
Class Avg

java.lang.Object
  extended by org.nfunk.jep.function.PostfixMathCommand
      extended by com.jaxfront.core.jep.Avg
All Implemented Interfaces:
org.nfunk.jep.function.PostfixMathCommandI

public class Avg
extends org.nfunk.jep.function.PostfixMathCommand

Avg returns the average value from a sequence of numbers.

Version:
1.60

Constructor Summary
Avg()
          Constructor.
 
Method Summary
 void run(java.util.Stack stack)
           
 
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand
getNumberOfParameters, getRootNode, run, setCurNumberOfParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Avg

public Avg()
Constructor.

Method Detail

run

public void run(java.util.Stack stack)
         throws org.nfunk.jep.ParseException
Overrides:
run in class org.nfunk.jep.function.PostfixMathCommand
Throws:
org.nfunk.jep.ParseException
See Also:
org.nfunk.jep.function.PostfixMathCommandI#run(Stack)