K - the key typeV - the value typepublic class ERXKeyValuePair<K,V>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected K |
_key
holds the key
|
protected V |
_value
holds the value
|
| Constructor and Description |
|---|
ERXKeyValuePair(K newKey,
V newValue)
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
int |
hashCode() |
K |
key()
returns the key
|
void |
setKey(K newKey)
Sets the key.
|
void |
setValue(V value)
Sets the value
|
java.lang.String |
toString() |
V |
value()
returns the value
|
public void setKey(K newKey)
newKey - new key valuepublic K key()
public void setValue(V value)
value - new valuepublic V value()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002 – 2022 Project Wonder.