<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.text.Collator
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.text.html">This Package</a>  <a href="java.text.CollationKey.html#_top_">Previous</a>  <a href="java.text.DateFormat.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.text.Collator
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----java.text.Collator
</pre>
<hr>
<dl>
  <dt> public abstract class <b>Collator</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
  <dt> implements <a href="java.lang.Cloneable.html#_top_">Cloneable</a>, <a href="java.io.Serializable.html#_top_">Serializable</a>
</dl>
The <code>Collator</code> class performs locale-sensitive
 <code>String</code> comparison. You use this class to build
 searching and sorting routines for natural language text.
 <p>
 <code>Collator</code> is an abstract base class. Subclasses
 implement specific collation strategies. One subclass,
 <code>RuleBasedCollator</code>, is currently provided with
 the JDK and is applicable to a wide set of languages. Other
 subclasses may be created to handle more specialized needs.
 <p>
 Like other locale-sensitive classes, you can use the static
 factory method, <code>getInstance</code>, to obtain the appropriate
 <code>Collator</code> object for a given locale. You will only need
 to look at the subclasses of <code>Collator</code> if you need
 to understand the details of a particular collation strategy or
 if you need to modify that strategy.
 <p>
 The following example shows how to compare two strings using
 the <code>Collator</code> for the default locale.
 <blockquote>
 <pre>
 // Compare two strings in the default locale
 Collator myCollator = Collator.getInstance();
 if( myCollator.compare("abc", "ABC") < 0 )
     System.out.println("abc is less than ABC");
 else
     System.out.println("abc is greater than or equal to ABC");
 </pre>
 </blockquote>
 <p>
 You can set a <code>Collator</code>'s <em>strength</em> property
 to determine the level of difference considered significant in
 comparisons. Four strengths are provided: <code>PRIMARY</code>,
 <code>SECONDARY</code>, <code>TERTIARY</code>, and <code>IDENTICAL</code>.
 The exact assignment of strengths to language features is
 locale dependant.  For example, in Czech, "e" and "f" are considered
 primary differences, while "e" and "" are secondary differences,
 "e" and "E" are tertiary differences and "e" and "e" are identical.
 The following shows how both case and accents could be ignored for
 US English.
 <blockquote>
 <pre>
 //Get the Collator for US English and set its strength to PRIMARY
 Collator usCollator = Collator.getInstance(Locale.US);
 usCollator.setStrength(Collator.PRIMARY);
 if( usCollator.compare("abc", "ABC") == 0 ) {
     System.out.println("Strings are equivalent");
 }
 </pre>
 </blockquote>
 <p>
 For comparing <code>String</code>s exactly once, the <code>compare</code>
 method provides the best performance. When sorting a list of
 <code>String</code>s however, it is generally necessary to compare each
 <code>String</code> multiple times. In this case, <code>CollationKey</code>s
 provide better performance. The <code>CollationKey</code> class converts
 a <code>String</code> to a series of bits that can be compared bitwise
 against other <code>CollationKey</code>s. A <code>CollationKey</code> is
 created by a <code>Collator</code> object for a given <code>String</code>.
 <br>
 <strong>Note:</strong> <code>CollationKey</code>s from different
 <code>Collator</code>s can not be compared. See the class description
 for <a href="java.text.CollationKey.html"><code>CollationKey</code></a>
 for an example using <code>CollationKey</code>s.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.text.RuleBasedCollator.html#_top_">RuleBasedCollator</a>, <a href="java.text.CollationKey.html#_top_">CollationKey</a>, <a href="java.text.CollationElementIterator.html#_top_">CollationElementIterator</a>, <a href="java.util.Locale.html#_top_">Locale</a>
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#CANONICAL_DECOMPOSITION"><b>CANONICAL_DECOMPOSITION</b></a>
  <dd>  Decomposition mode value.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#FULL_DECOMPOSITION"><b>FULL_DECOMPOSITION</b></a>
  <dd>  Decomposition mode value.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#IDENTICAL"><b>IDENTICAL</b></a>
  <dd>  Collator strength value.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#NO_DECOMPOSITION"><b>NO_DECOMPOSITION</b></a>
  <dd>  Decomposition mode value.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#PRIMARY"><b>PRIMARY</b></a>
  <dd>  Collator strength value.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#SECONDARY"><b>SECONDARY</b></a>
  <dd>  Collator strength value.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TERTIARY"><b>TERTIARY</b></a>
  <dd>  Collator strength value.
</dl>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Collator()"><b>Collator</b></a>()
  <dd>  Default constructor.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#clone()"><b>clone</b></a>()
  <dd>  Overrides Cloneable

  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#compare(java.lang.String, java.lang.String)"><b>compare</b></a>(String, String)
  <dd>  Compares the source string to the target string according to the
 collation rules for this Collator.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#equals(java.lang.Object)"><b>equals</b></a>(Object)
  <dd>  Compares the equality of two Collators.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#equals(java.lang.String, java.lang.String)"><b>equals</b></a>(String, String)
  <dd>  Convenience method for comparing the equality of two strings based on
 this Collator's collation rules.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getAvailableLocales()"><b>getAvailableLocales</b></a>()
  <dd>  Get the set of Locales for which Collators are installed.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getCollationKey(java.lang.String)"><b>getCollationKey</b></a>(String)
  <dd>  Transforms the String into a series of bits that can be compared bitwise
 to other CollationKeys.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getDecomposition()"><b>getDecomposition</b></a>()
  <dd>  Get the decomposition mode of this Collator.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getInstance()"><b>getInstance</b></a>()
  <dd>  Gets the Collator for the current default locale.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getInstance(java.util.Locale)"><b>getInstance</b></a>(Locale)
  <dd>  Gets the Collator for the desired locale.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getStrength()"><b>getStrength</b></a>()
  <dd>  Returns this Collator's strength property.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#hashCode()"><b>hashCode</b></a>()
  <dd>  Generates the hash code for this Collator.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setDecomposition(int)"><b>setDecomposition</b></a>(int)
  <dd>  Set the decomposition mode of this Collator.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setStrength(int)"><b>setStrength</b></a>(int)
  <dd>  Sets this Collator's strength property.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="PRIMARY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>PRIMARY</b>
<pre>
 public static final int PRIMARY
</pre>
<dl>
  <dd> Collator strength value.  When set, only PRIMARY differences are
 considered significant during comparison. The assignment of strengths
 to language features is locale dependant. A common example is for
 different base letters ("a" vs "b") to be considered a PRIMARY difference.<p>
  <dd><dl> 
    <dt> <b>See Also:</b>
    <dd> <a href="#setStrength">setStrength</a>, <a href="#getStrength">getStrength</a>
  </dl></dd>
</dl>
<a name="SECONDARY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>SECONDARY</b>
<pre>
 public static final int SECONDARY
</pre>
<dl>
  <dd> Collator strength value.  When set, only SECONDARY and above differences are
 considered significant during comparison. The assignment of strengths
 to language features is locale dependant. A common example is for
 different accented forms of the same base letter ("a" vs "") to be
 considered a SECONDARY difference.<p>
  <dd><dl> 
    <dt> <b>See Also:</b>
    <dd> <a href="#setStrength">setStrength</a>, <a href="#getStrength">getStrength</a>
  </dl></dd>
</dl>
<a name="TERTIARY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>TERTIARY</b>
<pre>
 public static final int TERTIARY
</pre>
<dl>
  <dd> Collator strength value.  When set, only TERTIARY and above differences are
 considered significant during comparison. The assignment of strengths
 to language features is locale dependant. A common example is for
 case differences ("a" vs "A") to be considered a TERTIARY difference.<p>
  <dd><dl> 
    <dt> <b>See Also:</b>
    <dd> <a href="#setStrength">setStrength</a>, <a href="#getStrength">getStrength</a>
  </dl></dd>
</dl>
<a name="IDENTICAL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>IDENTICAL</b>
<pre>
 public static final int IDENTICAL
</pre>
<dl>
  <dd> Collator strength value.  When set, all differences are
 considered significant during comparison. The assignment of strengths
 to language features is locale dependant. A common example is for control
 characters ("&#092;u0001" vs "&#092;u0002") to be considered equal at the
 PRIMARY, SECONDARY, and TERTIARY levels but different at the IDENTICAL
 level.  Additionally, differences between pre-composed accents such as
 "&#092;u00C0" (A-grave) and combining accents such as "A&#092;u0300"
 (A, combining-grave) will be considered significant at the tertiary
 level if decomposition is set to NO_DECOMPOSITION.<p>
</dl>
<a name="NO_DECOMPOSITION"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>NO_DECOMPOSITION</b>
<pre>
 public static final int NO_DECOMPOSITION
</pre>
<dl>
  <dd> Decomposition mode value. With NO_DECOMPOSITION
 set, accented characters will not be decomposed for collation. This
 provides the fastest collation but will only produce correct results
 for languages that do not use accents.<p>
  <dd><dl> 
    <dt> <b>See Also:</b>
    <dd> <a href="#getDecomposition">getDecomposition</a>, <a href="#setDecomposition">setDecomposition</a>
  </dl></dd>
</dl>
<a name="CANONICAL_DECOMPOSITION"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>CANONICAL_DECOMPOSITION</b>
<pre>
 public static final int CANONICAL_DECOMPOSITION
</pre>
<dl>
  <dd> Decomposition mode value. With CANONICAL_DECOMPOSITION
 set, characters that are canonical variants according to Unicode 2.0
 will be decomposed for collation. This is the default setting and
 should be used to get correct collation of accented characters.<p>
  <dd><dl> 
    <dt> <b>See Also:</b>
    <dd> <a href="#getDecomposition">getDecomposition</a>, <a href="#setDecomposition">setDecomposition</a>
  </dl></dd>
</dl>
<a name="FULL_DECOMPOSITION"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>FULL_DECOMPOSITION</b>
<pre>
 public static final int FULL_DECOMPOSITION
</pre>
<dl>
  <dd> Decomposition mode value. With FULL_DECOMPOSITION
 set, both Unicode canonical variants and Unicode compatibility variants
 will be decomposed for collation.  This causes not only accented
 characters to be collated, but also characters that have special formats
 to be collated with their norminal form. For example, the half-width and
 full-width ASCII and Katakana characters are then collated together.
 FULL_DECOMPOSITION is the most complete and therefore the slowest
 decomposition mode.<p>
  <dd><dl> 
    <dt> <b>See Also:</b>
    <dd> <a href="#getDecomposition">getDecomposition</a>, <a href="#setDecomposition">setDecomposition</a>
  </dl></dd>
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="Collator"></a>
<a name="Collator()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Collator</b>
<pre>
 protected Collator()
</pre>
<dl>
  <dd> Default constructor.  This constructor is
 protected so subclasses can get access to it. Users typically create
 a Collator sub-class by calling the factory method getInstance.
<p>
  <dd><dl>
    <dt> <b>See Also:</b>
    <dd> <a href="#getInstance">getInstance</a>
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getInstance()"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getInstance"><b>getInstance</b></a>
<pre>
 public static synchronized <a href="#_top_">Collator</a> getInstance()
</pre>
<dl>
  <dd> Gets the Collator for the current default locale.
 The default locale is determined by java.util.Locale.getDefault.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the Collator for the default locale.(for example, en_US)
    <dt> <b>See Also:</b>
    <dd> <a href="java.util.Locale.html#getDefault">getDefault</a>
  </dl></dd>
</dl>
<a name="getInstance(java.util.Locale)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getInstance"><b>getInstance</b></a>
<pre>
 public static synchronized <a href="#_top_">Collator</a> getInstance(<a href="java.util.Locale.html#_top_">Locale</a> desiredLocale)
</pre>
<dl>
  <dd> Gets the Collator for the desired locale.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> desiredLocale - the desired locale.
    <dt> <b>Returns:</b>
    <dd> the Collator for the desired locale.
    <dt> <b>See Also:</b>
    <dd> <a href="java.util.Locale.html#_top_">Locale</a>, <a href="java.util.ResourceBundle.html#_top_">ResourceBundle</a>
  </dl></dd>
</dl>
<a name="compare(java.lang.String, java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="compare"><b>compare</b></a>
<pre>
 public abstract int compare(<a href="java.lang.String.html#_top_">String</a> source,
                             <a href="java.lang.String.html#_top_">String</a> target)
</pre>
<dl>
  <dd> Compares the source string to the target string according to the
 collation rules for this Collator.  Returns an integer less than,
 equal to or greater than zero depending on whether the source String is
 less than, equal to or greater than the target string.  See the Collator
 class description for an example of use.
 <p>
 For a one time comparison, this method has the best performance. If a
 given String will be involved in multiple comparisons, CollationKey.compareTo
 has the best performance. See the Collator class description for an example
 using CollationKeys.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> source - the source string.
    <dd> target - the target string.
    <dt> <b>Returns:</b>
    <dd> Returns an integer value. Value is less than zero if source is less than
 target, value is zero if source and target are equal, value is greater than zero
 if source is greater than target.
    <dt> <b>See Also:</b>
    <dd> <a href="java.text.CollationKey.html#_top_">CollationKey</a>, <a href="#getCollationKey">getCollationKey</a>
  </dl></dd>
</dl>
<a name="getCollationKey(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getCollationKey"><b>getCollationKey</b></a>
<pre>
 public abstract <a href="java.text.CollationKey.html#_top_">CollationKey</a> getCollationKey(<a href="java.lang.String.html#_top_">String</a> source)
</pre>
<dl>
  <dd> Transforms the String into a series of bits that can be compared bitwise
 to other CollationKeys. CollationKeys provide better performance than
 Collator.compare when Strings are involved in multiple comparisons.
 See the Collator class description for an example using CollationKeys.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> source - the string to be transformed into a collation key.
    <dt> <b>Returns:</b>
    <dd> the CollationKey for the given String based on this Collator's collation
 rules. If the source String is null, a null CollationKey is returned.
    <dt> <b>See Also:</b>
    <dd> <a href="java.text.CollationKey.html#_top_">CollationKey</a>, <a href="#compare">compare</a>
  </dl></dd>
</dl>
<a name="equals(java.lang.String, java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="equals"><b>equals</b></a>
<pre>
 public boolean equals(<a href="java.lang.String.html#_top_">String</a> source,
                       <a href="java.lang.String.html#_top_">String</a> target)
</pre>
<dl>
  <dd> Convenience method for comparing the equality of two strings based on
 this Collator's collation rules.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> source - the source string to be compared with.
    <dd> target - the target string to be compared with.
    <dt> <b>Returns:</b>
    <dd> true if the strings are equal according to the collation
 rules.  false, otherwise.
    <dt> <b>See Also:</b>
    <dd> <a href="#compare">compare</a>
  </dl></dd>
</dl>
<a name="getStrength()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getStrength"><b>getStrength</b></a>
<pre>
 public synchronized int getStrength()
</pre>
<dl>
  <dd> Returns this Collator's strength property.  The strength property determines
 the minimum level of difference considered significant during comparison.
 See the Collator class description for an example of use.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> this Collator's current strength property.
    <dt> <b>See Also:</b>
    <dd> <a href="#setStrength">setStrength</a>, <a href="#PRIMARY">PRIMARY</a>, <a href="#SECONDARY">SECONDARY</a>, <a href="#TERTIARY">TERTIARY</a>, <a href="#IDENTICAL">IDENTICAL</a>
  </dl></dd>
</dl>
<a name="setStrength(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setStrength"><b>setStrength</b></a>
<pre>
 public synchronized void setStrength(int newStrength)
</pre>
<dl>
  <dd> Sets this Collator's strength property.  The strength property determines
 the minimum level of difference considered significant during comparison.
 See the Collator class description for an example of use.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> the - new strength value.
    <dt> <b>Throws:</b> <a href="java.lang.IllegalArgumentException.html#_top_">IllegalArgumentException</a>
    <dd> If the new strength value is not one of
 PRIMARY, SECONDARY, TERTIARY or IDENTICAL.
    <dt> <b>See Also:</b>
    <dd> <a href="#getStrength">getStrength</a>, <a href="#PRIMARY">PRIMARY</a>, <a href="#SECONDARY">SECONDARY</a>, <a href="#TERTIARY">TERTIARY</a>, <a href="#IDENTICAL">IDENTICAL</a>
  </dl></dd>
</dl>
<a name="getDecomposition()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getDecomposition"><b>getDecomposition</b></a>
<pre>
 public synchronized int getDecomposition()
</pre>
<dl>
  <dd> Get the decomposition mode of this Collator. Decomposition mode
 determines how Unicode composed characters are handled. Adjusting
 decomposition mode allows the user to select between faster and more
 complete collation behavior.
 <p>The three values for decomposition mode are:
 <UL>
 <LI>NO_DECOMPOSITION,
 <LI>CANONICAL_DECOMPOSITION
 <LI>FULL_DECOMPOSITION.
 </UL>
 See the documentation for these three constants for a description
 of their meaning.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the decomposition mode
    <dt> <b>See Also:</b>
    <dd> <a href="#setDecomposition">setDecomposition</a>, <a href="#NO_DECOMPOSITION">NO_DECOMPOSITION</a>, <a href="#CANONICAL_DECOMPOSITION">CANONICAL_DECOMPOSITION</a>, <a href="#FULL_DECOMPOSITION">FULL_DECOMPOSITION</a>
  </dl></dd>
</dl>
<a name="setDecomposition(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setDecomposition"><b>setDecomposition</b></a>
<pre>
 public synchronized void setDecomposition(int decompositionMode)
</pre>
<dl>
  <dd> Set the decomposition mode of this Collator. See getDecomposition
 for a description of decomposition mode.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> the - new decomposition mode
    <dt> <b>Throws:</b> <a href="java.lang.IllegalArgumentException.html#_top_">IllegalArgumentException</a>
    <dd> If the given value is not a valid decomposition
 mode.
    <dt> <b>See Also:</b>
    <dd> <a href="#getDecomposition">getDecomposition</a>, <a href="#NO_DECOMPOSITION">NO_DECOMPOSITION</a>, <a href="#CANONICAL_DECOMPOSITION">CANONICAL_DECOMPOSITION</a>, <a href="#FULL_DECOMPOSITION">FULL_DECOMPOSITION</a>
  </dl></dd>
</dl>
<a name="getAvailableLocales()"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getAvailableLocales"><b>getAvailableLocales</b></a>
<pre>
 public static synchronized <a href="java.util.Locale.html#_top_">Locale</a>[] getAvailableLocales()
</pre>
<dl>
  <dd> Get the set of Locales for which Collators are installed.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the list of available locales which collators are installed.
  </dl></dd>
</dl>
<a name="clone()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="clone"><b>clone</b></a>
<pre>
 public <a href="java.lang.Object.html#_top_">Object</a> clone()
</pre>
<dl>
  <dd> Overrides Cloneable
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#clone()">clone</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<a name="equals(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="equals"><b>equals</b></a>
<pre>
 public boolean equals(<a href="java.lang.Object.html#_top_">Object</a> that)
</pre>
<dl>
  <dd> Compares the equality of two Collators.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> that - the Collator to be compared with this.
    <dt> <b>Returns:</b>
    <dd> true if this Collator is the same as that Collator;
 false otherwise.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#equals(java.lang.Object)">equals</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<a name="hashCode()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="hashCode"><b>hashCode</b></a>
<pre>
 public abstract int hashCode()
</pre>
<dl>
  <dd> Generates the hash code for this Collator.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#hashCode()">hashCode</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.text.html">This Package</a>  <a href="java.text.CollationKey.html#_top_">Previous</a>  <a href="java.text.DateFormat.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
