Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-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:
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

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-01


Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.