org.jjoost.collections.sets.base
Class AbstractHashSet.LockFreeHashSetNode<V>

java.lang.Object
  extended by org.jjoost.collections.base.HashNode<N>
      extended by org.jjoost.collections.base.LockFreeHashStore.LockFreeHashNode<AbstractHashSet.LockFreeHashSetNode<V>>
          extended by org.jjoost.collections.sets.base.AbstractHashSet.LockFreeHashSetNode<V>
All Implemented Interfaces:
java.io.Serializable, Value<V>
Enclosing class:
AbstractHashSet<V,N extends HashNode<N> & Value<V>>

public static final class AbstractHashSet.LockFreeHashSetNode<V>
extends LockFreeHashStore.LockFreeHashNode<AbstractHashSet.LockFreeHashSetNode<V>>
implements Value<V>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jjoost.collections.base.HashNode
hash
 
Constructor Summary
AbstractHashSet.LockFreeHashSetNode(int hash, V value)
           
 
Method Summary
 AbstractHashSet.LockFreeHashSetNode<V> copy()
           
 V getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jjoost.collections.base.HashNode
hash
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractHashSet.LockFreeHashSetNode

public AbstractHashSet.LockFreeHashSetNode(int hash,
                                           V value)
Method Detail

getValue

public V getValue()
Specified by:
getValue in interface Value<V>
Returns:
the value contained by this Value

copy

public AbstractHashSet.LockFreeHashSetNode<V> copy()
Specified by:
copy in class LockFreeHashStore.LockFreeHashNode<AbstractHashSet.LockFreeHashSetNode<V>>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object