/[classpath]/classpath/java/text/Collator.java
ViewVC logotype

Diff of /classpath/java/text/Collator.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by mark, Sat Jul 2 20:32:41 2005 UTC revision 1.15 by trebligd, Sat Jul 23 20:25:15 2005 UTC
# Line 150  public abstract class Collator implement Line 150  public abstract class Collator implement
150     * <code>Collator</code> and the strength and decomposition rules in     * <code>Collator</code> and the strength and decomposition rules in
151     * effect.     * effect.
152     *     *
153     * @param str1 The first object to compare     * @param source The first object to compare
154     * @param str2 The second object to compare     * @param target The second object to compare
155     *     *
156     * @return A negative integer if str1 &lt; str2, 0 if str1 == str2, or     * @return A negative integer if str1 &lt; str2, 0 if str1 == str2, or
157     * a positive integer if str1 &gt; str2.     * a positive integer if str1 &gt; str2.
# Line 164  public abstract class Collator implement Line 164  public abstract class Collator implement
164     * equal to, or greater than the second argument.  These two objects     * equal to, or greater than the second argument.  These two objects
165     * must be <code>String</code>'s or an exception will be thrown.     * must be <code>String</code>'s or an exception will be thrown.
166     *     *
167     * @param obj1 The first object to compare     * @param o1 The first object to compare
168     * @param obj2 The second object to compare     * @param o2 The second object to compare
169     *     *
170     * @return A negative integer if obj1 &lt; obj2, 0 if obj1 == obj2, or     * @return A negative integer if obj1 &lt; obj2, 0 if obj1 == obj2, or
171     * a positive integer if obj1 &gt; obj2.     * a positive integer if obj1 &gt; obj2.
# Line 208  public abstract class Collator implement Line 208  public abstract class Collator implement
208     * according to the collation rules for the locale of this object and     * according to the collation rules for the locale of this object and
209     * the current strength and decomposition settings.     * the current strength and decomposition settings.
210     *     *
211     * @param str1 The first <code>String</code> to compare     * @param source The first <code>String</code> to compare
212     * @param str2 The second <code>String</code> to compare     * @param target The second <code>String</code> to compare
213     *     *
214     * @return <code>true</code> if the two strings are equal,     * @return <code>true</code> if the two strings are equal,
215     * <code>false</code> otherwise.     * <code>false</code> otherwise.
# Line 256  public abstract class Collator implement Line 256  public abstract class Collator implement
256     * comparisons against a string might be performed multiple times, such     * comparisons against a string might be performed multiple times, such
257     * as during a sort operation.     * as during a sort operation.
258     *     *
259     * @param str The <code>String</code> to convert.     * @param source The <code>String</code> to convert.
260     *     *
261     * @return A <code>CollationKey</code> for the specified <code>String</code>.     * @return A <code>CollationKey</code> for the specified <code>String</code>.
262     */     */
# Line 292  public abstract class Collator implement Line 292  public abstract class Collator implement
292     * specified locale.  If no <code>Collator</code> exists for the desired     * specified locale.  If no <code>Collator</code> exists for the desired
293     * locale, a <code>Collator</code> for the default locale will be returned.     * locale, a <code>Collator</code> for the default locale will be returned.
294     *     *
295     * @param locale The desired localed to load a <code>Collator</code> for.     * @param loc The desired localed to load a <code>Collator</code> for.
296     *     *
297     * @return A <code>Collator</code> for the requested locale     * @return A <code>Collator</code> for the requested locale
298     */     */
# Line 347  public abstract class Collator implement Line 347  public abstract class Collator implement
347     * exception will be thrown.  See the documentation for those     * exception will be thrown.  See the documentation for those
348     * contants for an explanation of this setting.     * contants for an explanation of this setting.
349     *     *
350     * @param decmp The new decomposition setting.     * @param mode The new decomposition setting.
351     *     *
352     * @exception IllegalArgumentException If the requested     * @exception IllegalArgumentException If the requested
353     * decomposition setting is not valid.     * decomposition setting is not valid.

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26