|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cloud9.util.KeyValuePair<K,V>
K - type of the keyV - type of the valuepublic class KeyValuePair<K extends WritableComparable,V extends Writable>
Class representing a key-value pair.
| Constructor Summary | |
|---|---|
KeyValuePair(K key,
V value)
Creates a new key-value pair. |
|
| Method Summary | |
|---|---|
K |
getKey()
Returns the key. |
V |
getValue()
Returns the value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyValuePair(K key,
V value)
key - the keyvalue - the value| Method Detail |
|---|
public K getKey()
public V getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||