groovyx.gpars.extra166y
Class CustomConcurrentHashMap.IntKeyNode

java.lang.Object
  extended by groovyx.gpars.extra166y.CustomConcurrentHashMap.IntKeyNode
All Implemented Interfaces:
CustomConcurrentHashMap.Node, CustomConcurrentHashMap.Reclaimable
Direct Known Subclasses:
CustomConcurrentHashMap.IntKeyIntValueNode, CustomConcurrentHashMap.IntKeySelfValueNode, CustomConcurrentHashMap.IntKeySoftValueNode, CustomConcurrentHashMap.IntKeyStrongValueNode, CustomConcurrentHashMap.IntKeyWeakValueNode
Enclosing class:
CustomConcurrentHashMap<K,V>

abstract static class CustomConcurrentHashMap.IntKeyNode
extends java.lang.Object
implements CustomConcurrentHashMap.Node


Field Summary
(package private)  int key
           
 
Constructor Summary
CustomConcurrentHashMap.IntKeyNode(int locator, java.lang.Object key)
           
 
Method Summary
 java.lang.Object get()
          Returns the key established during the creation of this node.
 int getLocator()
          Returns the locator established during the creation of this node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface groovyx.gpars.extra166y.CustomConcurrentHashMap.Node
getLinkage, getValue, setLinkage, setValue
 
Methods inherited from interface groovyx.gpars.extra166y.CustomConcurrentHashMap.Reclaimable
onReclamation
 

Field Detail

key

final int key
Constructor Detail

CustomConcurrentHashMap.IntKeyNode

CustomConcurrentHashMap.IntKeyNode(int locator,
                                   java.lang.Object key)
Method Detail

get

public final java.lang.Object get()
Description copied from interface: CustomConcurrentHashMap.Node
Returns the key established during the creation of this node. Note: This method is named "get" rather than "getKey" to simplify usage of Reference keys.

Specified by:
get in interface CustomConcurrentHashMap.Node
Returns:
the key

getLocator

public final int getLocator()
Description copied from interface: CustomConcurrentHashMap.Node
Returns the locator established during the creation of this node.

Specified by:
getLocator in interface CustomConcurrentHashMap.Node
Returns:
the locator

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