org.apache.commons.collections.list
protected static class AbstractLinkedList.Node extends Object
From Commons Collections 3.1, all access to the value
property
is via the methods on this class.
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 | Node()
Constructs a new header node. |
protected | Node(Object value)
Constructs a new node.
|
protected | Node(AbstractLinkedList.Node previous, AbstractLinkedList.Node next, Object value)
Constructs a new node.
|
Method Summary | |
---|---|
protected AbstractLinkedList.Node | getNextNode()
Gets the next node.
|
protected AbstractLinkedList.Node | getPreviousNode()
Gets the previous node.
|
protected Object | getValue()
Gets the value of the node.
|
protected void | setNextNode(AbstractLinkedList.Node next)
Sets the next node.
|
protected void | setPreviousNode(AbstractLinkedList.Node previous)
Sets the previous node.
|
protected void | setValue(Object value)
Sets the value of the node.
|
Parameters: value the value to store
Parameters: previous the previous node in the list next the next node in the list value the value to store
Returns: the next node
Since: Commons Collections 3.1
Returns: the previous node
Since: Commons Collections 3.1
Returns: the value
Since: Commons Collections 3.1
Parameters: next the next node
Since: Commons Collections 3.1
Parameters: previous the previous node
Since: Commons Collections 3.1
Parameters: value the value
Since: Commons Collections 3.1