Class Concat
- java.lang.Object
-
- com.singularsys.jep.functions.PostfixMathCommand
-
- com.singularsys.jep.functions.NaryBinaryFunction
-
- com.singularsys.jep.functions.strings.Concat
-
- All Implemented Interfaces:
PostfixMathCommandI,java.io.Serializable
public class Concat extends NaryBinaryFunction
Concatenates string arguments. Syntax: concat(str1,str2,...) An exception is thrown if non string arguments are found.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand
curNumberOfParameters, name, NaN, numberOfParameters
-
-
Constructor Summary
Constructors Constructor Description Concat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringconcat(java.lang.Object l, java.lang.Object r)java.lang.Objecteval(java.lang.Object l, java.lang.Object r)-
Methods inherited from class com.singularsys.jep.functions.NaryBinaryFunction
checkNumberOfParameters, eval, instanceOf, instanceOf, run
-
Methods inherited from class com.singularsys.jep.functions.PostfixMathCommand
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, getName, getNumberOfParameters, setCurNumberOfParameters, setName, toString, toString
-
-
-
-
Method Detail
-
eval
public java.lang.Object eval(java.lang.Object l, java.lang.Object r) throws EvaluationException- Specified by:
evalin classNaryBinaryFunction- Throws:
EvaluationException
-
concat
public java.lang.String concat(java.lang.Object l, java.lang.Object r) throws EvaluationException- Throws:
EvaluationException
-
-