Class StringValue

    • Method Detail

      • getValue

        public java.lang.String getValue()
        Gets the value of the string.
        Returns:
        the value of the string.
      • expectStringValue

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object