org.apache.commons.collections.list
Class AbstractLinkedList.Node

java.lang.Object
  |
  +--org.apache.commons.collections.list.AbstractLinkedList.Node
Enclosing class:
AbstractLinkedList

protected static class AbstractLinkedList.Node
extends Object

A node within the linked list.


Field Summary
protected  AbstractLinkedList.Node next
          A pointer to the node after this node
protected  AbstractLinkedList.Node previous
          A pointer to the node before this node
protected  Object value
          The object contained within this node
 
Constructor Summary
protected AbstractLinkedList.Node()
          Constructs a new header node.
protected AbstractLinkedList.Node(AbstractLinkedList.Node previous, AbstractLinkedList.Node next, Object value)
          Constructs a new node.
protected AbstractLinkedList.Node(Object value)
          Constructs a new node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

previous

protected AbstractLinkedList.Node previous
A pointer to the node before this node

next

protected AbstractLinkedList.Node next
A pointer to the node after this node

value

protected Object value
The object contained within this node
Constructor Detail

AbstractLinkedList.Node

protected AbstractLinkedList.Node()
Constructs a new header node.

AbstractLinkedList.Node

protected AbstractLinkedList.Node(Object value)
Constructs a new node.
Parameters:
value - the value to store

AbstractLinkedList.Node

protected AbstractLinkedList.Node(AbstractLinkedList.Node previous,
                                  AbstractLinkedList.Node next,
                                  Object value)
Constructs a new node.
Parameters:
previous - the previous node in the list
next - the next node in the list
value - the value to store


Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.