Class ConcurrentHashMapV8.MapEntry<K,V>
java.lang.Object
org.glassfish.jersey.internal.util.collection.ConcurrentHashMapV8.MapEntry<K,V>
- All Implemented Interfaces:
Map.Entry<K,
V>
- Enclosing class:
ConcurrentHashMapV8<K,
V>
Exported Entry for EntryIterator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
key
-
val
V val -
map
-
-
Constructor Details
-
MapEntry
MapEntry(K key, V val, ConcurrentHashMapV8<K, V> map)
-
-
Method Details
-
getKey
-
getValue
-
hashCode
public int hashCode() -
toString
-
equals
-
setValue
Sets our entry's value and writes through to the map. The value to return is somewhat arbitrary here. Since we do not necessarily track asynchronous changes, the most recent "previous" value could be different from what we return (or could even have been removed, in which case the put will re-establish). We do not and cannot guarantee more.
-