groovyx.gpars.extra166y
Class CustomConcurrentHashMap.StrongKeySelfValueNodeFactory

java.lang.Object
  extended by groovyx.gpars.extra166y.CustomConcurrentHashMap.StrongKeySelfValueNodeFactory
All Implemented Interfaces:
CustomConcurrentHashMap.NodeFactory, java.io.Serializable
Enclosing class:
CustomConcurrentHashMap<K,V>

static final class CustomConcurrentHashMap.StrongKeySelfValueNodeFactory
extends java.lang.Object
implements CustomConcurrentHashMap.NodeFactory, java.io.Serializable


Field Summary
private static long serialVersionUID
           
 
Constructor Summary
CustomConcurrentHashMap.StrongKeySelfValueNodeFactory()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

CustomConcurrentHashMap.StrongKeySelfValueNodeFactory

CustomConcurrentHashMap.StrongKeySelfValueNodeFactory()
Method Detail

newNode

public final CustomConcurrentHashMap.Node newNode(int locator,
                                                  java.lang.Object key,
                                                  java.lang.Object value,
                                                  CustomConcurrentHashMap cchm,
                                                  CustomConcurrentHashMap.Node linkage)
Description copied from interface: CustomConcurrentHashMap.NodeFactory
Creates and returns a Node using the given parameters.

Specified by:
newNode in interface CustomConcurrentHashMap.NodeFactory
Parameters:
locator - an opaque immutable locator for this node
key - the (non-null) immutable key
value - the (non-null) volatile value
cchm - the table creating this node
linkage - an opaque volatile linkage for maintaining this node

Copyright © 2008–2012 Václav Pech. All Rights Reserved.