Class IsOddFunction
- java.lang.Object
-
- org.pentaho.reporting.libraries.formula.function.information.IsOddFunction
-
- All Implemented Interfaces:
Serializable
,Function
public class IsOddFunction extends Object implements Function
This function retruns true if the given value is an odd number.- Author:
- Cedric Pronzato
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IsOddFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeValuePair
evaluate(FormulaContext context, ParameterCallback parameters)
String
getCanonicalName()
-
-
-
Method Detail
-
evaluate
public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters) throws EvaluationException
- Specified by:
evaluate
in interfaceFunction
- Throws:
EvaluationException
-
getCanonicalName
public String getCanonicalName()
- Specified by:
getCanonicalName
in interfaceFunction
-
-