oracle.dss.util
Class QDR.QDRMapEntry
java.lang.Object
  
oracle.dss.util.QDR.QDRMapEntry
- All Implemented Interfaces: 
 - java.util.Map.Entry
 
- Enclosing class:
 - QDR
 
public class QDR.QDRMapEntry
- extends java.lang.Object
- implements java.util.Map.Entry
  
| 
Field Summary | 
protected  java.lang.String | 
m_key
 
            | 
protected  java.lang.Object | 
m_value
 
            | 
 
| 
Constructor Summary | 
QDR.QDRMapEntry(java.lang.String key,
                java.lang.Object value)
 
            | 
 
| 
Method Summary | 
 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)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
 
m_key
protected java.lang.String m_key
m_value
protected java.lang.Object m_value
QDR.QDRMapEntry
public QDR.QDRMapEntry(java.lang.String key,
                       java.lang.Object value)
getKey
public java.lang.String getKey()
- Specified by:
 getKey in interface java.util.Map.Entry
 
 
getValue
public java.lang.Object getValue()
- Specified by:
 getValue in interface java.util.Map.Entry
 
 
setValue
public java.lang.Object setValue(java.lang.Object value)
- Specified by:
 setValue in interface java.util.Map.Entry
 
 
equals
public boolean equals(java.lang.Object o)
- Specified by:
 equals in interface java.util.Map.Entry- Overrides:
 equals in class java.lang.Object
 
 
hashCode
public int hashCode()
- Returns the hash code value for this map entry.  The hash code
 of a map entry e is defined to be: 
     (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.
- Specified by:
 hashCode in interface java.util.Map.Entry- Overrides:
 hashCode in class java.lang.Object
 
- Returns:
 - the hash code value for this map entry.
 - See Also:
 Object.hashCode(), 
Object.equals(Object), 
equals(Object)
 
 
Copyright © 1997, 2011, Oracle. All rights reserved.