Package de.monticore.interpreter
Interface Value
- All Known Implementing Classes:
BooleanValue,CharValue,DoubleValue,FloatValue,IntValue,LongValue,NotAValue,ObjectValue,StringValue
public interface Value
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault charasChar()default doubleasDouble()default floatasFloat()default intasInt()default longasLong()default ObjectasObject()default StringasString()default booleandefault booleanisChar()default booleanisDouble()default booleanisFloat()default booleanisInt()default booleanisLong()default booleanisObject()default booleanisString()
-
Method Details
-
isBoolean
default boolean isBoolean() -
isInt
default boolean isInt() -
isLong
default boolean isLong() -
isFloat
default boolean isFloat() -
isDouble
default boolean isDouble() -
isChar
default boolean isChar() -
isString
default boolean isString() -
isObject
default boolean isObject() -
asBoolean
default boolean asBoolean() -
asInt
default int asInt() -
asDouble
default double asDouble() -
asString
-
asChar
default char asChar() -
asObject
-
asLong
default long asLong() -
asFloat
default float asFloat()
-