public class Not extends UnaryFunction
curNumberOfParameters, name, NaN, numberOfParameters
Constructor and Description |
---|
Not()
Standard Constructor which allows Number and Boolean arguments
|
Not(boolean disallowNumbers)
Constructor which restricts type of arguments.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eval(java.lang.Object arg) |
run
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, checkNumberOfParameters, getName, getNumberOfParameters, setCurNumberOfParameters, setName, toString, toString
public Not()
public Not(boolean disallowNumbers)
disallowNumbers
- if true Number arguments will raise exceptions, otherwise as thee Standard constructor.public java.lang.Object eval(java.lang.Object arg) throws EvaluationException
eval
in class UnaryFunction
EvaluationException
Copyright © 2018 Singular Systems http://www.singularsys.com/jep