Module java.base
Package java.text

# Class Collator

=
public abstract class Collator
extends java.lang.Object
implements java.lang.Cloneable, java.util.Comparator<java.lang.Object>

## Fields

- =
  public static final int CANONICAL_DECOMPOSITION = 1
- =
  public static final int FULL_DECOMPOSITION = 2
- =
  public static final int IDENTICAL = 3
- =
  public static final int NO_DECOMPOSITION = 0
- =
  public static final int PRIMARY = 0
- =
  public static final int SECONDARY = 1
- =
  public static final int TERTIARY = 2

## Constructors

- =
  protected Collator()

## Methods

- =
  public java.lang.Object clone()
- =
  public int compare(java.lang.Object arg0, java.lang.Object arg1)
- =
  public abstract int compare(java.lang.String arg0, java.lang.String arg1)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public boolean equals(java.lang.String arg0, java.lang.String arg1)
- =
  public static java.util.Locale[] getAvailableLocales()
- =
  public abstract java.text.CollationKey getCollationKey(java.lang.String arg0)
- =
  public int getDecomposition()
- =
  public static java.text.Collator getInstance()
- =
  public static java.text.Collator getInstance(java.util.Locale arg0)
- =
  public int getStrength()
- =
  public abstract int hashCode()
- =
  public void setDecomposition(int arg0)
- =
  public void setStrength(int arg0)

## Summary

No differences.