Class LongValue

  • All Implemented Interfaces:
    Value

    public class LongValue
    extends java.lang.Object
    implements Value
    • Field Detail

      • value

        protected long value
    • Constructor Detail

      • LongValue

        public LongValue​(long value)
    • Method Detail

      • 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 java.lang.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