Package com.yahoo.search.query
Class Sorting.AttributeSorter
- java.lang.Object
-
- com.yahoo.search.query.Sorting.AttributeSorter
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
Sorting.LowerCaseSorter
,Sorting.RawSorter
,Sorting.UcaSorter
- Enclosing class:
- Sorting
public static class Sorting.AttributeSorter extends Object implements Cloneable
-
-
Constructor Summary
Constructors Constructor Description AttributeSorter(String fieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sorting.AttributeSorter
clone()
int
compare(Comparable a, Comparable b)
boolean
equals(Object other)
String
getName()
int
hashCode()
void
setName(String fieldName)
String
toSerialForm()
Returns the serial form of this which contains all information needed to reconstruct this sorterString
toString()
-
-
-
Constructor Detail
-
AttributeSorter
public AttributeSorter(String fieldName)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String fieldName)
-
toSerialForm
public String toSerialForm()
Returns the serial form of this which contains all information needed to reconstruct this sorter
-
clone
public Sorting.AttributeSorter clone()
-
compare
public int compare(Comparable a, Comparable b)
-
-