Class Node
java.lang.Object
|
+----Node
- class Node
- extends Object
A generic singly linked list node.
- Version:
- 1.00
- Author:
- Bill Lorton
-
Node()
-
The Node constructor.
-
next()
-
Gets the next node from this node.
-
setNext(Node)
-
Sets the next node of this node.
Node
public Node()
- The Node constructor.
setNext
public void setNext(Node n)
- Sets the next node of this node.
- Parameters:
- n - the node to set as the next node
next
public Node next()
- Gets the next node from this node.
- Returns:
- the next node