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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Entry(int h, java.lang.Object k, java.lang.Object v, ConcurrentHashMap.Entry n)
Create new entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
clone()
boolean
equals(java.lang.Object o)
java.lang.Object
getKey()
java.lang.Object
getValue()
int
hashCode()
java.lang.Object
setValue(java.lang.Object newValue)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Entry
protected Entry(int h, java.lang.Object k, java.lang.Object v, ConcurrentHashMap.Entry n)
Create new entry.
-
-
Method Detail
-
getKey
public java.lang.Object getKey()
- Specified by:
getKey
in interfacejava.util.Map.Entry
-
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interfacejava.util.Map.Entry
-
setValue
public java.lang.Object setValue(java.lang.Object newValue)
- Specified by:
setValue
in interfacejava.util.Map.Entry
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.util.Map.Entry
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.util.Map.Entry
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
clone
protected java.lang.Object clone()
- Overrides:
clone
in classjava.lang.Object
-
-