code: @Deprecated
      public static int compare(String s1, String s2, int options) throws StringPrepParseException{
          if(s1==null || s2 == null){
              throw new IllegalArgumentException("One of the source buffers is null");
          }
          return IDNA2003.compare(s1, s2, options);
      }
docs: IDNA2003: Compare two IDN strings for equivalence.
  This function splits the domain names into labels and compares them.
  According to IDN RFC, whenever two labels are compared, they are
  considered equal if and only if their ASCII forms (obtained by
  applying toASCII) match using an case-insensitive ASCII comparison.
  Two domain names are considered a match if and only if all labels
  match regardless of whether label separators match.
  
  @param s1        First IDN string
  @param s2        Second IDN string
  @param options   A bit set of options:
  - IDNA.DEFAULT              Use default options, i.e., do not process unassigned code points
  and do not use STD3 ASCII rules
  If unassigned code points are found the operation fails with
  ParseException.
  
  - IDNA.ALLOW_UNASSIGNED    Unassigned values can be converted to ASCII for query operations
  If this option is set, the unassigned code points are in the input
  are treated as normal Unicode code points.
  
  - IDNA.USE_STD3_RULES      Use STD3 ASCII rules for host name syntax restrictions
  If this option is set and the input does not satisfy STD3 rules,
  the operation will fail with ParseException
  @return 0 if the strings are equal, &gt; 0 if s1 &gt; s2 and &lt; 0 if s1 &lt; s2
  @deprecated ICU 55 Use UTS 46 instead via {@link #getUTS46Instance(int)}.
  @hide original deprecated declaration