Class ConcurrentHashMapV8.Node<K,V>
java.lang.Object
org.glassfish.jersey.internal.util.collection.ConcurrentHashMapV8.Node<K,V>
- All Implemented Interfaces:
Map.Entry<K,
V>
- Direct Known Subclasses:
ConcurrentHashMapV8.ForwardingNode
,ConcurrentHashMapV8.ReservationNode
,ConcurrentHashMapV8.TreeBin
,ConcurrentHashMapV8.TreeNode
- Enclosing class:
ConcurrentHashMapV8<K,
V>
Key-value entry. This class is never exported out as a
user-mutable Map.Entry (i.e., one supporting setValue; see
MapEntry below), but can be used for read-only traversals used
in bulk tasks. Subclasses of Node with a negative hash field
are special, and contain null keys and values (but are never
exported). Otherwise, keys and vals are never null.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
hash
final int hash -
key
-
val
-
next
-
-
Constructor Details
-
Node
Node(int hash, K key, V val, ConcurrentHashMapV8.Node<K, V> next)
-
-
Method Details
-
getKey
-
getValue
-
hashCode
public final int hashCode() -
toString
-
setValue
-
equals
-
find
Virtualized support for map.get(); overridden in subclasses.
-