protected static class AbstractLinkedList.Node<E> extends Object
From Commons Collections 3.1, all access to the value property is via the methods on this class.
| Modifier and Type | Field and Description |
|---|---|
protected AbstractLinkedList |
next
A pointer to the node after this node
|
protected AbstractLinkedList |
previous
A pointer to the node before this node
|
protected E |
value
The object contained within this node
|
| Modifier | Constructor and Description |
|---|---|
protected |
Node()
Constructs a new header node.
|
protected |
Node(AbstractLinkedList
Constructs a new node.
|
protected |
Node(E value)
Constructs a new node.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractLinkedList |
getNextNode()
Gets the next node.
|
protected AbstractLinkedList |
getPreviousNode()
Gets the previous node.
|
protected E |
getValue()
Gets the value of the node.
|
protected void |
setNextNode(AbstractLinkedList
Sets the next node.
|
protected void |
setPreviousNode(AbstractLinkedList
Sets the previous node.
|
protected void |
setValue(E value)
Sets the value of the node.
|
protected AbstractLinkedList.Node <E> previous
protected AbstractLinkedList.Node <E> next
protected E value
protected Node()
protected Node(E value)
value - the value to store
protected Node(AbstractLinkedList.Node <E> previous, AbstractLinkedList .Node <E> next, E value)
previous - the previous node in the list
next - the next node in the list
value - the value to store
protected E getValue()
protected void setValue(E value)
value - the value
protected AbstractLinkedList.Node <E> getPreviousNode()
protected void setPreviousNode(AbstractLinkedList.Node <E> previous)
previous - the previous node
protected AbstractLinkedList.Node <E> getNextNode()
protected void setNextNode(AbstractLinkedList.Node <E> next)
next - the next node