Class Values
java.lang.Object
com.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.functions.UnaryFunction
com.singularsys.jep.misc.dictionary.Values
- All Implemented Interfaces:
PostfixMathCommandI,Serializable
Return the values of a map a nested list
of key-value pairs. Evaluating
gives
map = {'x':2, 'y':3};
values(map);
[2.0, 3.0],
order is not guaranteed.
If no value is associate with a key then no value is added.
returns a Vector<Object>.- Since:
- Jep 4.1
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.singularsys.jep.functions.UnaryFunction
UnaryFunction.FunctionWithException<T> -
Field Summary
FieldsFields inherited from class com.singularsys.jep.functions.PostfixMathCommand
curNumberOfParameters, description, name, NaN, numberOfParameters -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.singularsys.jep.functions.UnaryFunction
instanceOf, instanceOf, instanceOf, instanceOf, runMethods inherited from class com.singularsys.jep.functions.PostfixMathCommand
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, asType, checkNumberOfParameters, getDescription, getDescription, getDescriptionWithType, getName, getNumberOfParameters, setCurNumberOfParameters, setDescription, setName, toString, toString
-
Field Details
-
nullValue
-
-
Constructor Details
-
Values
Constructor- Parameters:
nullValue- , value for a key has no value.
-
-
Method Details
-
eval
Description copied from class:UnaryFunctionEvaluate the function- Specified by:
evalin classUnaryFunction- Parameters:
l- the single argument passed in- Returns:
- the result of the function
- Throws:
EvaluationException- on error
-
eval
- Throws:
EvaluationException
-
eval
- Throws:
EvaluationException
-