public class KeyValuePair extends Object
| Constructor and Description |
|---|
KeyValuePair(String key,
Object value)
构造函数
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets the value of key
|
Object |
getValue()
Gets the value of value
|
void |
setKey(String key)
Sets the key
|
void |
setValue(Object value)
Sets the value
|
public String getKey()
public void setKey(String key)
You can use getKey() to get the value of key
key - keypublic Object getValue()
public void setValue(Object value)
You can use getValue() to get the value of value
value - valueCopyright © 2020 IBIT程序猿. All rights reserved.