net.sf.beanlib.util.concurrent
Class ConcurrentSkipListMap.HeadIndex<K,V>

java.lang.Object
  extended by net.sf.beanlib.util.concurrent.ConcurrentSkipListMap.Index<K,V>
      extended by net.sf.beanlib.util.concurrent.ConcurrentSkipListMap.HeadIndex<K,V>
Enclosing class:
ConcurrentSkipListMap<K,V>

static final class ConcurrentSkipListMap.HeadIndex<K,V>
extends ConcurrentSkipListMap.Index<K,V>

Nodes heading each level keep track of their level.


Field Summary
(package private)  int level
           
 
Fields inherited from class net.sf.beanlib.util.concurrent.ConcurrentSkipListMap.Index
down, node, right, rightUpdater
 
Constructor Summary
ConcurrentSkipListMap.HeadIndex(ConcurrentSkipListMap.Node<K,V> node, ConcurrentSkipListMap.Index<K,V> down, ConcurrentSkipListMap.Index<K,V> right, int level)
           
 
Method Summary
 
Methods inherited from class net.sf.beanlib.util.concurrent.ConcurrentSkipListMap.Index
casRight, indexesDeletedNode, link, unlink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

level

final int level
Constructor Detail

ConcurrentSkipListMap.HeadIndex

ConcurrentSkipListMap.HeadIndex(ConcurrentSkipListMap.Node<K,V> node,
                                ConcurrentSkipListMap.Index<K,V> down,
                                ConcurrentSkipListMap.Index<K,V> right,
                                int level)