Class BasicDoubleValue
- java.lang.Object
-
- com.scriptbasic.executors.rightvalues.AbstractPrimitiveRightValue<T>
-
- com.scriptbasic.executors.rightvalues.AbstractNumericRightValue<java.lang.Double>
-
- com.scriptbasic.executors.rightvalues.BasicDoubleValue
-
- All Implemented Interfaces:
AnalysisResult,Evaluator,Expression,Value,BasicValue<java.lang.Double>,RightValue
public class BasicDoubleValue extends AbstractNumericRightValue<java.lang.Double>
-
-
Field Summary
-
Fields inherited from interface com.scriptbasic.spi.BasicValue
FALSE, TRUE
-
-
Constructor Summary
Constructors Constructor Description BasicDoubleValue(java.lang.Double d)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.DoubleasDouble(RightValue rv)static java.lang.DoubleasDouble(RightValue rv, java.lang.String errorMessageForNull)java.lang.StringtoString()-
Methods inherited from class com.scriptbasic.executors.rightvalues.AbstractPrimitiveRightValue
evaluate, getValue, setValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.scriptbasic.spi.RightValue
isArray, isBoolean, isDouble, isJavaObject, isLong, isNumeric, isString
-
-
-
-
Method Detail
-
asDouble
public static java.lang.Double asDouble(RightValue rv, java.lang.String errorMessageForNull) throws BasicRuntimeException
- Throws:
BasicRuntimeException
-
asDouble
public static java.lang.Double asDouble(RightValue rv) throws BasicRuntimeException
- Throws:
BasicRuntimeException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-