public class QDR.QDRMapEntry
extends java.lang.Object
implements java.util.Map.Entry
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
m_key |
protected java.lang.Object |
m_value |
| Constructor and Description |
|---|
QDRMapEntry(java.lang.String key,
java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getKey() |
java.lang.Object |
getValue() |
int |
hashCode()
Returns the hash code value for this map entry.
|
java.lang.Object |
setValue(java.lang.Object value) |
public java.lang.String 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 value)
setValue in interface java.util.Map.Entrypublic boolean equals(java.lang.Object o)
equals in interface java.util.Map.Entryequals in class java.lang.Objectpublic int hashCode()
(e.getKey()==null ? 0 : e.getKey().hashCode()) ^
(e.getValue()==null ? 0 : e.getValue().hashCode())
This ensures that e1.equals(e2) implies that
e1.hashCode()==e2.hashCode() for any two Entries
e1 and e2, as required by the general
contract of Object.hashCode.hashCode in interface java.util.Map.EntryhashCode in class java.lang.ObjectObject.hashCode(),
Object.equals(Object),
equals(Object)