Class IntegerValue

    • Method Detail

      • getValue

        public int getValue()
        Gets the value of the integer.
        Returns:
        the value of the integer.
      • expectIntegerValue

        public IntegerValue expectIntegerValue()
        Description copied from class: Value
        Returns the current value as an ArrayValue, throwing RuntimeException when the value is the wrong type.
        Overrides:
        expectIntegerValue in class Value
        Returns:
        returns an integer value.
      • toNode

        public Node toNode()
        Description copied from interface: ToNode
        Converts a value to a Node.
        Returns:
        Returns the creates Node.