- All Implemented Interfaces:
Value
public class BooleanValue
extends Object
implements Value
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.monticore.interpreter.Value
asChar, asDouble, asFloat, asInt, asLong, asObject, isChar, isDouble, isFloat, isInt, isLong, isObject, isString
-
Field Details
-
value
protected boolean value
-
Constructor Details
-
BooleanValue
public BooleanValue(boolean value)
-
Method Details
-
isBoolean
public boolean isBoolean()
- Specified by:
isBoolean in interface Value
-
asBoolean
public boolean asBoolean()
- Specified by:
asBoolean in interface Value
-