Class AbstractPrimitiveRightValue<T>
- java.lang.Object
-
- com.scriptbasic.executors.rightvalues.AbstractPrimitiveRightValue<T>
-
- All Implemented Interfaces:
AnalysisResult,Evaluator,Expression,Value,BasicValue<T>,RightValue
- Direct Known Subclasses:
AbstractNumericRightValue,BasicBooleanValue,BasicJavaObjectValue,BasicStringValue
public abstract class AbstractPrimitiveRightValue<T> extends java.lang.Object implements Expression, RightValue, BasicValue<T>
-
-
Field Summary
-
Fields inherited from interface com.scriptbasic.spi.BasicValue
FALSE, TRUE
-
-
Constructor Summary
Constructors Constructor Description AbstractPrimitiveRightValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RightValueevaluate(Interpreter interpreter)TgetValue()voidsetValue(T value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.scriptbasic.spi.RightValue
isArray, isBoolean, isDouble, isJavaObject, isLong, isNumeric, isString
-
-
-
-
Method Detail
-
getValue
public T getValue()
- Specified by:
getValuein interfaceBasicValue<T>
-
setValue
public void setValue(T value)
-
evaluate
public RightValue evaluate(Interpreter interpreter)
-
-