Compares the source text String to the target text String according to this Collator's rules, strength and decomposition mode. 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.
@param source the source String. @param target the target String. @return Returns an integer value. Value is less than zero if source isless than target, value is zero if source and target are equal, value is greater than zero if source is greater than target. @see CollationKey @see #getCollationKey @exception NullPointerException thrown if either arguments is null.IllegalArgumentException thrown if either source or target is not of the class String. @stable ICU 2.8
|
|
|
|
|
|
|
|
|
|
|
|