IOSCollator

public class IOSCollator extends Collator

A concrete implementation class for Collation for iOS. Although iOS uses ICU, its collation data is not available from any public APIs. This class implements collation by invoking the NSString localized comparison methods.

Inherited Constant Summary

Public Method Summary

int
compare(String string1, String string2)
Compares two strings to determine their relative order.
boolean
equals(Object obj)
Compares this instance with the specified object and indicates if they are equal.
CollationKey
getCollationKey(String string)
Returns a CollationKey for the specified string for this collator with the current decomposition rule and strength value.
int
getDecomposition()
Returns the decomposition rule for this collator.
int
getStrength()
Returns the strength value for this collator.
int
hashCode()
Returns an integer hash code for this object.
void
setDecomposition(int value)
Sets decomposition field, but is otherwise unused.
void
setStrength(int value)
Sets strength field, but is otherwise unused.

Inherited Method Summary