groovyx.gpars.extra166y
Class CustomConcurrentHashMap.IntKeyStrongValueNodeFactory

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

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


Field Summary
private static long serialVersionUID
           
 
Constructor Summary
CustomConcurrentHashMap.IntKeyStrongValueNodeFactory()
           
 
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.IntKeyStrongValueNodeFactory

CustomConcurrentHashMap.IntKeyStrongValueNodeFactory()
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.