org.apache.openjpa.lib.util.concurrent
Class ConcurrentHashMap.Entry
java.lang.Object
org.apache.openjpa.lib.util.concurrent.ConcurrentHashMap.Entry
- All Implemented Interfaces:
- java.util.Map.Entry
- Enclosing class:
- ConcurrentHashMap
protected static class ConcurrentHashMap.Entry
- extends java.lang.Object
- implements java.util.Map.Entry
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ConcurrentHashMap.Entry
protected ConcurrentHashMap.Entry(int h,
java.lang.Object k,
java.lang.Object v,
ConcurrentHashMap.Entry n)
- Create new entry.
getKey
public java.lang.Object 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 newValue)
- 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()
- Specified by:
hashCode
in interface java.util.Map.Entry
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
protected java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object