org.jfree.formula.function.information

Class IsEvenFunction

Implemented Interfaces:
Function, Serializable

public class IsEvenFunction
extends java.lang.Object
implements Function

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

Constructor Summary

IsEvenFunction()

Method Summary

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

Constructor Details

IsEvenFunction

public IsEvenFunction()

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