public final class KeyedValueComparatorType extends java.lang.Object implements java.io.Serializable
KeyedValueComparator
: 'by key' or
'by value'.Modifier and Type | Field and Description |
---|---|
static KeyedValueComparatorType |
BY_KEY
An object representing 'by key' sorting.
|
static KeyedValueComparatorType |
BY_VALUE
An object representing 'by value' sorting.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Returns
true if this object is equal to the specified
object, and false otherwise. |
int |
hashCode()
Returns a hash code.
|
java.lang.String |
toString()
Returns a string representing the object.
|
public static final KeyedValueComparatorType BY_KEY
public static final KeyedValueComparatorType BY_VALUE
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
true
if this object is equal to the specified
object, and false
otherwise.equals
in class java.lang.Object
o
- the other object.public int hashCode()
hashCode
in class java.lang.Object