Class EntriesIterable
java.lang.Object
com.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.functions.UnaryFunction
com.singularsys.jep.misc.dictionary.EntriesIterable
- All Implemented Interfaces:
PostfixMathCommandI,Serializable
Return an
Iterable<Vector<Object>> for the entries of a map.
Each item returned by a iterator is a Vector
with 2 elements: the ke and value.
If no value is associate with the key then nullValue is used.- 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
-
EntriesIterable
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
-