Class BooleanValue

java.lang.Object
de.monticore.interpreter.values.BooleanValue
All Implemented Interfaces:
Value

public class BooleanValue extends Object implements Value
  • 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
    • asString

      public String asString()
      Specified by:
      asString in interface Value