Package net.sf.ehcache.util.concurrent
Class ConcurrentHashMap.Node
- java.lang.Object
-
- net.sf.ehcache.util.concurrent.ConcurrentHashMap.Node
-
- Direct Known Subclasses:
ConcurrentHashMap.TreeNode
- Enclosing class:
- ConcurrentHashMap<K,V>
protected static class ConcurrentHashMap.Node extends java.lang.ObjectKey-value entry. Note that this is never exported out as a user-visible Map.Entry (see MapEntry below). Nodes with a hash field of MOVED are special, and do not contain user keys or values. Otherwise, keys are never null, and null val fields indicate that a node is in the process of being deleted or created. For purposes of read-only access, a key may be read before a val, but can only be used after checking val to be non-null.
-
-
Constructor Summary
Constructors Constructor Description Node(int hash, java.lang.Object key, java.lang.Object val, ConcurrentHashMap.Node next)Node(int hash, java.lang.Object key, java.lang.Object val, ConcurrentHashMap.Node next, int size)
-
-
-
Constructor Detail
-
Node
public Node(int hash, java.lang.Object key, java.lang.Object val, ConcurrentHashMap.Node next)
-
Node
public Node(int hash, java.lang.Object key, java.lang.Object val, ConcurrentHashMap.Node next, int size)
-
-