- 类型参数:
K -
V -
public class KeyValuePair<K,V>
extends Object
Key-Value Pair
- 作者:
- admin
-
构造器详细资料
-
KeyValuePair
public KeyValuePair()
-
KeyValuePair
public KeyValuePair(K key,
V value)
-
方法详细资料
-
setPair
public void setPair(K key,
V value)
-
-
-
-
setKey
public void setKey(K key)
- 参数:
key - the key to set
-
setValue
public void setValue(V value)
- 参数:
value - the value to set