Class LockFreeList.Entry<E>

  extended by org.amino.ds.lockfree.LockFreeList.Entry<E>
Type Parameters:
E - type of element on node
Enclosing class:

protected static class LockFreeList.Entry<E>
extends java.lang.Object

internal node definition. A Entry stands for one node in the list. This class is used to initialize a new node and inserted into the list. It is protected because LockFreeList and LockFreeOrderedList could access field of Entry directly instead of use an access method. It could reduce the overhead of function call since access function is called frequently. These fields are used internally only

Constructor Summary
LockFreeList.Entry(E e)
LockFreeList.Entry(E e, java.util.concurrent.atomic.AtomicMarkableReference<LockFreeList.Entry<E>> n)
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public LockFreeList.Entry(E e)
element - default value of element


public LockFreeList.Entry(E e,
                          java.util.concurrent.atomic.AtomicMarkableReference<LockFreeList.Entry<E>> n)

Copyright © 2008. All Rights Reserved.