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