|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.extensions.foundation.ERXKeyValuePair<K,V>
K - the key typeV - the value typepublic class ERXKeyValuePair<K,V>
Very simple class used for hold key-value pairs.
| Field Summary | |
|---|---|
protected K |
_key
holds the key |
protected V |
_value
holds the value |
| Constructor Summary | |
|---|---|
ERXKeyValuePair(K newKey,
V newValue)
Public constructor |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected K _key
protected V _value
| Constructor Detail |
|---|
public ERXKeyValuePair(K newKey,
V newValue)
newKey - keynewValue - value| Method Detail |
|---|
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.Object
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||