org.apache.commons.collections.list
Class AbstractLinkedList.Node
java.lang.Object
org.apache.commons.collections.list.AbstractLinkedList.Node
- AbstractLinkedList
protected static class AbstractLinkedList.Node
extends java.lang.Object
A node within the linked list.
From Commons Collections 3.1, all access to the
value
property
is via the methods on this class.
value
protected Object value
The object contained within this node
Node
protected Node()
Constructs a new header node.
Node
protected Node(Object value)
Constructs a new node.
value
- the value to store
getNextNode
protected AbstractLinkedList.Node getNextNode()
Gets the next node.
- the next node
- Commons Collections 3.1
getPreviousNode
protected AbstractLinkedList.Node getPreviousNode()
Gets the previous node.
- the previous node
- Commons Collections 3.1
getValue
protected Object getValue()
Gets the value of the node.
- the value
- Commons Collections 3.1
setNextNode
protected void setNextNode(AbstractLinkedList.Node next)
Sets the next node.
next
- the next node
- Commons Collections 3.1
setPreviousNode
protected void setPreviousNode(AbstractLinkedList.Node previous)
Sets the previous node.
previous
- the previous node
- Commons Collections 3.1
setValue
protected void setValue(Object value)
Sets the value of the node.
value
- the value
- Commons Collections 3.1
Copyright © 2001-2005 Apache Software Foundation. All Rights Reserved.