Package com.yahoo.search.query
Class Sorting.UcaSorter
- java.lang.Object
-
- com.yahoo.search.query.Sorting.AttributeSorter
-
- com.yahoo.search.query.Sorting.UcaSorter
-
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Sorting
public static class Sorting.UcaSorter extends Sorting.AttributeSorter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Sorting.UcaSorter.Strength
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
String
toSerialForm()
Returns the serial form of this which contains all information needed to reconstruct this sorter-
Methods inherited from class com.yahoo.search.query.Sorting.AttributeSorter
getName, setName, toString
-
-
-
-
Constructor Detail
-
UcaSorter
public UcaSorter(String fieldName, String locale, Sorting.UcaSorter.Strength strength)
-
UcaSorter
public UcaSorter(String fieldName)
-
-
Method Detail
-
setLocale
public void setLocale(String locale, Sorting.UcaSorter.Strength strength)
-
getLocale
public String getLocale()
-
getStrength
public Sorting.UcaSorter.Strength getStrength()
-
getCollator
public com.ibm.icu.text.Collator getCollator()
-
getDecomposition
public String getDecomposition()
-
toSerialForm
public String toSerialForm()
Description copied from class:Sorting.AttributeSorter
Returns the serial form of this which contains all information needed to reconstruct this sorter- Overrides:
toSerialForm
in classSorting.AttributeSorter
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSorting.AttributeSorter
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classSorting.AttributeSorter
-
clone
public Sorting.UcaSorter clone()
- Overrides:
clone
in classSorting.AttributeSorter
-
compare
public int compare(Comparable a, Comparable b)
- Overrides:
compare
in classSorting.AttributeSorter
-
-