org.jfree.formula.function.math

Class AbsFunction

Implemented Interfaces:
Function, Serializable

public class AbsFunction
extends java.lang.Object
implements Function

This function returns the absolute (nonnegative) of the value.
Author:
Cedric Pronzato

Constructor Summary

AbsFunction()

Method Summary

TypeValuePair
evaluate(FormulaContext context, ParameterCallback parameters)
String
getCanonicalName()

Constructor Details

AbsFunction

public AbsFunction()

Method Details

evaluate

public TypeValuePair evaluate(FormulaContext context,
                              ParameterCallback parameters)
            throws EvaluationException
Specified by:
evaluate in interface Function

getCanonicalName

public String getCanonicalName()
Specified by:
getCanonicalName in interface Function