|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.libraries.formula.function.information.ChooseFunction
public class ChooseFunction
This function uses an index to return a value from a list of values. The first value index is 1, 2 for the second and so on.
| Constructor Summary | |
|---|---|
ChooseFunction()
|
|
| Method Summary | |
|---|---|
TypeValuePair |
evaluate(FormulaContext context,
ParameterCallback parameters)
|
java.lang.String |
getCanonicalName()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChooseFunction()
| Method Detail |
|---|
public java.lang.String getCanonicalName()
getCanonicalName in interface Function
public TypeValuePair evaluate(FormulaContext context,
ParameterCallback parameters)
throws EvaluationException
evaluate in interface FunctionEvaluationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||