|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjdbm.helper.Tuple<K,V>
public final class Tuple<K,V>
Tuple consisting of a key-value pair.
Constructor Summary | |
---|---|
Tuple()
Construct an empty Tuple. |
|
Tuple(K key,
V value)
Construct a Tuple. |
Method Summary | |
---|---|
K |
getKey()
Get the key. |
V |
getValue()
Get the value. |
void |
setKey(K key)
Set the key. |
void |
setValue(V value)
Set the value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tuple()
public Tuple(K key, V value)
key
- The key.value
- The value.Method Detail |
---|
public K getKey()
public void setKey(K key)
public V getValue()
public void setValue(V value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |