CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.util
Class RecyclingLinkedList.Node

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.SafeLinkedList.Node
          extended by com.tangosol.util.RecyclingLinkedList.Node
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
RecyclingLinkedList

protected class RecyclingLinkedList.Node
extends SafeLinkedList.Node

A Node in the List. Nodes are doubly-linked and store a value.


Field Summary
 
Fields inherited from class com.tangosol.util.SafeLinkedList.Node
m_nodeNext, m_nodePrev, m_object
 
Constructor Summary
RecyclingLinkedList.Node()
          Construct a blank Node.
RecyclingLinkedList.Node(Object o)
          Construct a Node with a value.
 
Method Summary
protected  Object discard()
          Delink this Node and discard its value.
 
Methods inherited from class com.tangosol.util.SafeLinkedList.Node
clone, delink, equals, equalsValue, getNext, getObject, getPrevious, linkAfter, linkBefore, setObject, toString
 

Constructor Detail

RecyclingLinkedList.Node

public RecyclingLinkedList.Node()
Construct a blank Node.


RecyclingLinkedList.Node

public RecyclingLinkedList.Node(Object o)
Construct a Node with a value.

Parameters:
o - the value to store in the Node
Method Detail

discard

protected Object discard()
Delink this Node and discard its value.

Overrides:
discard in class SafeLinkedList.Node
Returns:
the value of this Node before it was discarded

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation