public final class NameValuePair<K,V> extends Object implements Serializable, Map.Entry<K,V>
| Constructor and Description |
|---|
NameValuePair(K name,
V value) |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> NameValuePair<K,V> |
create(K name,
V value) |
boolean |
equals(Object o) |
K |
getKey() |
K |
getName() |
V |
getValue() |
int |
hashCode() |
V |
setValue(V value) |
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValuepublic static <K,V> NameValuePair<K,V> create(K name, V value)
public K getName()
public boolean equals(Object o)
public int hashCode()
Copyright © 2016 jetbrick. All rights reserved.