List of usage examples for java.text CollationKey compareTo
public abstract int compareTo(CollationKey target);
From source file:net.erdfelt.android.sdkfido.util.CompareUtil.java
public static int compare(String str1, String str2) { CollationKey key1 = asKey(str1); CollationKey key2 = asKey(str2); return key1.compareTo(key2); }
From source file:net.erdfelt.android.sdkfido.configer.ConfigurableComparator.java
public int compare(Configurable c1, Configurable c2) { CollationKey key1 = asKey(c1); CollationKey key2 = asKey(c2); return key1.compareTo(key2); }