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.
| Modifier and Type | Field and Description |
|---|---|
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
|
| Modifier | Constructor and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected AbstractLinkedList.Node previous
protected AbstractLinkedList.Node next
protected Object value
protected AbstractLinkedList.Node()
protected AbstractLinkedList.Node(Object value)
value - the value to storeprotected AbstractLinkedList.Node(AbstractLinkedList.Node previous, AbstractLinkedList.Node next, Object value)
previous - the previous node in the listnext - the next node in the listvalue - the value to storeprotected Object getValue()
protected void setValue(Object value)
value - the valueprotected AbstractLinkedList.Node getPreviousNode()
protected void setPreviousNode(AbstractLinkedList.Node previous)
previous - the previous nodeprotected AbstractLinkedList.Node getNextNode()
protected void setNextNode(AbstractLinkedList.Node next)
next - the next nodeCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.