⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
org.apache.commons.collections.list

Class AbstractLinkedList.Node

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


protected static class AbstractLinkedList.Node
extends java.lang.Object

A node within the linked list.

Field Summary

AbstractLinkedList.Node

next

A pointer to the node after this node

AbstractLinkedList.Node

previous

A pointer to the node before this node

Object

value

The object contained within this node

Constructor Summary

Node()

Constructs a new header node.

Node(Object value)

Constructs a new node.

Node(AbstractLinkedList.Node previous, AbstractLinkedList.Node next, Object value)

Constructs a new node.

Field Details

next

protected AbstractLinkedList.Node next

A pointer to the node after this node


previous

protected AbstractLinkedList.Node previous

A pointer to the node before this node


value

protected Object value

The object contained within this node

Constructor Details

Node

protected Node()

Constructs a new header node.


Node

protected Node(Object value)

Constructs a new node.

Parameters:
value - the value to store

Node

protected 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