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 |
---|
QDR.QDRMapEntry(java.lang.String key,
java.lang.Object value) |
public QDR.QDRMapEntry(java.lang.String key, java.lang.Object value)
public java.lang.String getKey()
getKey
in interface java.util.Map.Entry
public java.lang.Object getValue()
getValue
in interface java.util.Map.Entry
public java.lang.Object setValue(java.lang.Object value)
setValue
in interface java.util.Map.Entry
public boolean equals(java.lang.Object o)
equals
in interface java.util.Map.Entry
equals
in class java.lang.Object
public 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.Entry
hashCode
in class java.lang.Object
Object.hashCode()
,
Object.equals(Object)
,
equals(Object)