public static class Sorting.UcaSorter extends Sorting.AttributeSorter
Modifier and Type | Class and Description |
---|---|
static class |
Sorting.UcaSorter.Strength |
Modifier and Type | Field and Description |
---|---|
private com.ibm.icu.text.Collator |
collator |
private String |
locale |
private Sorting.UcaSorter.Strength |
strength |
Constructor and Description |
---|
UcaSorter(String fieldName) |
UcaSorter(String fieldName,
String locale,
Sorting.UcaSorter.Strength strength) |
Modifier and Type | Method and Description |
---|---|
Sorting.UcaSorter |
clone() |
int |
compare(Comparable a,
Comparable b) |
boolean |
equals(Object other) |
com.ibm.icu.text.Collator |
getCollator() |
String |
getDecomposition() |
String |
getLocale() |
Sorting.UcaSorter.Strength |
getStrength() |
int |
hashCode() |
void |
setLocale(String locale,
Sorting.UcaSorter.Strength strength) |
private static int |
strength2Collator(Sorting.UcaSorter.Strength strength) |
String |
toString() |
getName, setName
private String locale
private Sorting.UcaSorter.Strength strength
private com.ibm.icu.text.Collator collator
public UcaSorter(String fieldName, String locale, Sorting.UcaSorter.Strength strength)
public UcaSorter(String fieldName)
private static int strength2Collator(Sorting.UcaSorter.Strength strength)
public void setLocale(String locale, Sorting.UcaSorter.Strength strength)
public String getLocale()
public Sorting.UcaSorter.Strength getStrength()
public com.ibm.icu.text.Collator getCollator()
public String getDecomposition()
public String toString()
toString
in class Sorting.AttributeSorter
public int hashCode()
hashCode
in class Sorting.AttributeSorter
public boolean equals(Object other)
equals
in class Sorting.AttributeSorter
public Sorting.UcaSorter clone()
clone
in class Sorting.AttributeSorter
public int compare(Comparable a, Comparable b)
compare
in class Sorting.AttributeSorter
Copyright © 2018. All rights reserved.