public class KeyValue
extends java.lang.Object
| Constructor and Description |
|---|
KeyValue() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(KeyValue kvalue)
See compare().
|
int |
compareTo(java.lang.Object value)
See compare().
|
boolean |
equals(java.lang.Object other)
|
long |
getKey() |
Value |
getValue() |
int |
hashCode()
|
java.lang.String |
toString()
Gets a String representation of the Value.
|
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - nullpublic int compareTo(KeyValue kvalue)
kvalue - nullpublic int hashCode()
hashCode in class java.lang.Objectpublic long getKey()
public int compareTo(java.lang.Object value)
This just works if the given object is a Value instance.
value - nullpublic java.lang.String toString()
toString in class java.lang.Objectpublic Value getValue()