K - the type parameterV - the type parameterpublic class KeyValue<K,V>
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
KeyValue(K id,
V value)
Instantiates a new Key value.
|
| Modifier and Type | Method and Description |
|---|---|
K |
getId()
Gets id.
|
V |
getValue()
Gets value.
|