Oracle® Coherence Java API Reference
v3.5

E14977-01

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:
java.io.Serializable, java.lang.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(java.lang.Object o)
          Construct a Node with a value.
 
Method Summary
protected  java.lang.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(java.lang.Object o)
Construct a Node with a value.

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

discard

protected java.lang.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

Oracle® Coherence Java API Reference
v3.5

E14977-01

Copyright © 2000, 2009, Oracle. All rights reserved.