K - The key classV - The value classpublic class Pair<K,V>
extends java.lang.Object
| Constructor and Description |
|---|
Pair(K key,
V value)
Create the key, value pair.
|
| Modifier and Type | Method and Description |
|---|---|
K |
getKey()
Gets the key.
|
V |
getValue()
Gets the value.
|