|
TC Java 2011 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nih.nlm.nls.tc.Lib.KeyValueObj<K,V>
public class KeyValueObj<K,V>
This class is a key value object
History:
Constructor Summary | |
---|---|
KeyValueObj()
Create a key-value object. |
|
KeyValueObj(K key,
V value)
Create a key-value object by specifying key and value. |
Method Summary | |
---|---|
K |
GetKey()
Get key from a key-value object. |
V |
GetValue()
Get value from a key-value object. |
void |
SetKey(K key)
Set key to a key-value object. |
void |
SetValue(V value)
Set value to a key-value object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyValueObj()
public KeyValueObj(K key, V value)
Method Detail |
---|
public void SetKey(K key)
key
- key in key-value objectpublic void SetValue(V value)
value
- value in key-value objectpublic K GetKey()
public V GetValue()
|
TC Java 2011 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |