Package org.datanucleus.util
Class ConcurrentReferenceHashMap.SimpleEntry<K,V>
- java.lang.Object
-
- org.datanucleus.util.ConcurrentReferenceHashMap.SimpleEntry<K,V>
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Map.Entry<K,V>
- Direct Known Subclasses:
ConcurrentReferenceHashMap.WriteThroughEntry
- Enclosing class:
- ConcurrentReferenceHashMap<K,V>
static class ConcurrentReferenceHashMap.SimpleEntry<K,V> extends java.lang.Object implements java.util.Map.Entry<K,V>, java.io.Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private K
key
private static long
serialVersionUID
private V
value
-
Constructor Summary
Constructors Constructor Description SimpleEntry(java.util.Map.Entry<? extends K,? extends V> entry)
SimpleEntry(K key, V value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static boolean
eq(java.lang.Object o1, java.lang.Object o2)
boolean
equals(java.lang.Object o)
K
getKey()
V
getValue()
int
hashCode()
V
setValue(V value)
java.lang.String
toString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
key
private final K key
-
value
private V value
-
-