org.jfree.formula.function.information

Class IsOddFunction

Implemented Interfaces:
Function, Serializable

public class IsOddFunction
extends java.lang.Object
implements Function

This function retruns true if the given value is an odd number.
Author:
Cedric Pronzato

Constructor Summary

IsOddFunction()

Method Summary

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

Constructor Details

IsOddFunction

public IsOddFunction()

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