Class BasicLongValue
java.lang.Object
com.scriptbasic.executors.rightvalues.AbstractPrimitiveRightValue<T>
com.scriptbasic.executors.rightvalues.AbstractNumericRightValue<java.lang.Long>
com.scriptbasic.executors.rightvalues.BasicLongValue
- All Implemented Interfaces:
AnalysisResult,Evaluator,Expression,Value,BasicValue<java.lang.Long>,RightValue
public class BasicLongValue extends AbstractNumericRightValue<java.lang.Long>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BasicLongValue(java.lang.Long i) -
Method Summary
Modifier and Type Method Description static java.lang.LongasLong(RightValue rv)static java.lang.LongasLong(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
-
BasicLongValue
public BasicLongValue(java.lang.Long i)
-
-
Method Details
-
asLong
public static java.lang.Long asLong(RightValue rv, java.lang.String errorMessageForNull) throws BasicRuntimeException- Throws:
BasicRuntimeException
-
asLong
- Throws:
BasicRuntimeException
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-