Class BasicDoubleValue
java.lang.Object
com.scriptbasic.executors.rightvalues.AbstractPrimitiveRightValue<Double>
com.scriptbasic.executors.rightvalues.AbstractNumericRightValue<Double,Double>
com.scriptbasic.executors.rightvalues.BasicDoubleValue
- All Implemented Interfaces:
AnalysisResult,Evaluator,Expression,Value,BasicValue<Double>,RightValue
-
Field Summary
Fields inherited from interface com.scriptbasic.spi.BasicValue
FALSE, TRUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DoubleasDouble(RightValue rv) static DoubleasDouble(RightValue rv, String errorMessageForNull) Return numeric value representing this right valuetoString()Methods inherited from class com.scriptbasic.executors.rightvalues.AbstractPrimitiveRightValue
evaluate, getValue, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.scriptbasic.spi.RightValue
isArray, isBoolean, isDate, isDouble, isJavaObject, isLong, isNumeric, isString
-
Constructor Details
-
BasicDoubleValue
-
-
Method Details
-
asDouble
public static Double asDouble(RightValue rv, String errorMessageForNull) throws BasicRuntimeException - Throws:
BasicRuntimeException
-
asDouble
- Throws:
BasicRuntimeException
-
toString
-
getNumericValue
Description copied from class:AbstractNumericRightValueReturn numeric value representing this right value- Specified by:
getNumericValuein classAbstractNumericRightValue<Double,Double> - Returns:
- numeric value
-