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
-
Constructor Summary
Constructors Constructor Description BasicDoubleValue(java.lang.Double d) -
Method Summary
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, 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, isDouble, isJavaObject, isLong, isNumeric, isString
-
Constructor Details
-
BasicDoubleValue
public BasicDoubleValue(java.lang.Double d)
-
-
Method Details
-
asDouble
public static java.lang.Double asDouble(RightValue rv, java.lang.String errorMessageForNull) throws BasicRuntimeException- Throws:
BasicRuntimeException
-
asDouble
- Throws:
BasicRuntimeException
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-