static final class CustomConcurrentHashMap.IntKeyWeakValueNodeFactory extends java.lang.Object implements CustomConcurrentHashMap.NodeFactory, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
CustomConcurrentHashMap.IntKeyWeakValueNodeFactory() |
Modifier and Type | Method and Description |
---|---|
CustomConcurrentHashMap.Node |
newNode(int locator,
java.lang.Object key,
java.lang.Object value,
CustomConcurrentHashMap cchm,
CustomConcurrentHashMap.Node linkage)
Creates and returns a Node using the given parameters.
|
private static final long serialVersionUID
CustomConcurrentHashMap.IntKeyWeakValueNodeFactory()
public final CustomConcurrentHashMap.Node newNode(int locator, java.lang.Object key, java.lang.Object value, CustomConcurrentHashMap cchm, CustomConcurrentHashMap.Node linkage)
CustomConcurrentHashMap.NodeFactory
newNode
in interface CustomConcurrentHashMap.NodeFactory
locator
- an opaque immutable locator for this nodekey
- the (non-null) immutable keyvalue
- the (non-null) volatile valuecchm
- the table creating this nodelinkage
- an opaque volatile linkage for maintaining this node