Class BasicLongValue
java.lang.Object
com.scriptbasic.executors.rightvalues.AbstractPrimitiveRightValue<Long>
com.scriptbasic.executors.rightvalues.AbstractNumericRightValue<Long,Long>
com.scriptbasic.executors.rightvalues.BasicLongValue
- All Implemented Interfaces:
AnalysisResult,Evaluator,Expression,Value,BasicValue<Long>,RightValue
-
Field Summary
Fields inherited from interface com.scriptbasic.spi.BasicValue
FALSE, TRUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LongasLong(RightValue rv) static LongasLong(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
-
BasicLongValue
-
-
Method Details
-
asLong
- Throws:
BasicRuntimeException
-
asLong
- Throws:
BasicRuntimeException
-
toString
-
getNumericValue
Description copied from class:AbstractNumericRightValueReturn numeric value representing this right value- Specified by:
getNumericValuein classAbstractNumericRightValue<Long,Long> - Returns:
- numeric value
-