|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.collections15.list.AbstractLinkedList.Node<T>
protected static class AbstractLinkedList.Node<T>
A node within the linked list.
From Commons Collections 3.1, all access to thevalue property
is via the methods on this class.
| Field Summary | |
|---|---|
protected AbstractLinkedList.Node<T> |
next
A pointer to the node after this node |
protected AbstractLinkedList.Node<T> |
previous
A pointer to the node before this node |
protected T |
value
The object contained within this node |
| Constructor Summary | |
|---|---|
protected |
AbstractLinkedList.Node()
Constructs a new header node. |
protected |
AbstractLinkedList.Node(AbstractLinkedList.Node<T> previous,
AbstractLinkedList.Node<T> next,
T value)
Constructs a new node. |
protected |
AbstractLinkedList.Node(T value)
Constructs a new node. |
| Method Summary | |
|---|---|
protected AbstractLinkedList.Node<T> |
getNextNode()
Gets the next node. |
protected AbstractLinkedList.Node<T> |
getPreviousNode()
Gets the previous node. |
protected T |
getValue()
Gets the value of the node. |
protected void |
setNextNode(AbstractLinkedList.Node<T> next)
Sets the next node. |
protected void |
setPreviousNode(AbstractLinkedList.Node<T> previous)
Sets the previous node. |
protected void |
setValue(T value)
Sets the value of the node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AbstractLinkedList.Node<T> previous
protected AbstractLinkedList.Node<T> next
protected T value
| Constructor Detail |
|---|
protected AbstractLinkedList.Node()
protected AbstractLinkedList.Node(T value)
value - the value to store
protected AbstractLinkedList.Node(AbstractLinkedList.Node<T> previous,
AbstractLinkedList.Node<T> next,
T value)
previous - the previous node in the listnext - the next node in the listvalue - the value to store| Method Detail |
|---|
protected T getValue()
protected void setValue(T value)
value - the valueprotected AbstractLinkedList.Node<T> getPreviousNode()
protected void setPreviousNode(AbstractLinkedList.Node<T> previous)
previous - the previous nodeprotected AbstractLinkedList.Node<T> getNextNode()
protected void setNextNode(AbstractLinkedList.Node<T> next)
next - the next node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||