Class LongValue

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

public class LongValue extends Object implements Value
  • Field Details

    • value

      protected long value
  • Constructor Details

    • LongValue

      public LongValue(long value)
  • Method Details

    • isLong

      public boolean isLong()
      Specified by:
      isLong in interface Value
    • asInt

      public int asInt()
      Specified by:
      asInt in interface Value
    • asDouble

      public double asDouble()
      Specified by:
      asDouble in interface Value
    • asString

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

      public long asLong()
      Specified by:
      asLong in interface Value
    • asFloat

      public float asFloat()
      Specified by:
      asFloat in interface Value