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 < str2, 0 if str1 == str2, or |
* @return A negative integer if str1 < str2, 0 if str1 == str2, or |
157 |
* a positive integer if str1 > str2. |
* a positive integer if str1 > str2. |
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 < obj2, 0 if obj1 == obj2, or |
* @return A negative integer if obj1 < obj2, 0 if obj1 == obj2, or |
171 |
* a positive integer if obj1 > obj2. |
* a positive integer if obj1 > obj2. |
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. |
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 |
*/ |
*/ |
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 |
*/ |
*/ |
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. |