Class JSStringImpl

    • Constructor Detail

      • JSStringImpl

        public JSStringImpl​(String value)
      • JSStringImpl

        public JSStringImpl​(String typeName,
                            com.fasterxml.jackson.databind.JsonNode node)
    • Method Detail

      • compare

        public int compare​(String that)
        Description copied from interface: JSString
        Compares with a String value.
        Specified by:
        compare in interface JSString
        Parameters:
        that - the value to compare
        Returns:
        the value 0 if this == that; a value less than 0 if this < that; and a value greater than 0 if this > that
      • compare

        public int compare​(JSString that)
        Description copied from interface: JSString
        Compares with a JSString value.
        Specified by:
        compare in interface JSString
        Parameters:
        that - the value to compare
        Returns:
        the value 0 if this == that; a value less than 0 if this < that; and a value greater than 0 if this > that