|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.wotonomy.foundation.internal.QueueMap.KeyValuePair
public static class QueueMap.KeyValuePair
This class contains a key/value pair. The key must be a valid object, it cannot be null. The value can be a valid object or null.
| Constructor Summary | |
|---|---|
QueueMap.KeyValuePair(java.lang.Object aKey,
java.lang.Object aValue)
Default constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
getKey()
Returns the key object of this pair. |
java.lang.Object |
getValue()
Returns the the value object of this pair. |
java.lang.Object |
setValue(java.lang.Object aValue)
Sets the value object of this pair. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map.Entry |
|---|
hashCode |
| Constructor Detail |
|---|
public QueueMap.KeyValuePair(java.lang.Object aKey,
java.lang.Object aValue)
key - The key object of this pair. The key cannot be null.value - The value object of this pair. The value can be null.| Method Detail |
|---|
public java.lang.Object getKey()
getKey in interface java.util.Map.Entrypublic java.lang.Object getValue()
getValue in interface java.util.Map.Entrypublic java.lang.Object setValue(java.lang.Object aValue)
setValue in interface java.util.Map.EntryaValue - The value object to place into this pair.public boolean equals(java.lang.Object o)
equals in interface java.util.Map.Entryequals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||