K
- the type of the keyV
- the type of the valuepublic class KeyValuePair<K,V>
extends java.util.AbstractMap.SimpleEntry<K,V>
Constructor and Description |
---|
KeyValuePair(K key,
V value)
Initializes a new instance of the
KeyValuePair class using the specified key and value. |
public KeyValuePair(K key, V value)
KeyValuePair
class using the specified key and value.key
- the keyvalue
- the value