< prev index next >

## src/java.base/share/classes/java/lang/String.java

Print this page

    @@ -1234,10 +1234,14 @@
           * @see     java.text.Collator
           * @since   1.2
           */
          public static final Comparator<String> CASE_INSENSITIVE_ORDER
                                               = new CaseInsensitiveComparator();
    +
    +     /**
    +      * CaseInsensitiveComparator for Strings.
    +      */
          private static class CaseInsensitiveComparator
                  implements Comparator<String>, java.io.Serializable {
              // use serialVersionUID from JDK 1.2.2 for interoperability
              @java.io.Serial
              private static final long serialVersionUID = 8575799808933029326L;

< prev index next >