Interface JSString

  • All Superinterfaces:
    JSValue
    All Known Implementing Classes:
    JSStringImpl

    public interface JSString
    extends JSValue
    User: mike Date: 10/28/19 Time: 12:09
    • Method Detail

      • compare

        int compare​(String that)
        Compares with a String value.
        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

        int compare​(JSString that)
        Compares with a JSString value.
        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