edu.utah.janos.util
Class LinkedList.Node
java.lang.Object
|
+--edu.utah.janos.util.LinkedList.Node
- Enclosing class:
- LinkedList
- public static class LinkedList.Node
- extends java.lang.Object
A node for use in doubly linked lists.
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
LinkedList.Node
public LinkedList.Node()
getSucc
public final LinkedList.Node getSucc()
- Get the next node in the list
getPred
public final LinkedList.Node getPred()
- Get the previous node in the list
remove
public void remove()
- Remove the node from the list
append
public void append(LinkedList.Node node)
- Insert a node after this one
prepend
public void prepend(LinkedList.Node node)
- Insert a node before this one
This documentation is Copyright (C) 1998-2001 The University of Utah. All Rights Reserved. See the file LICENSE for distribution terms.
Documentation, software, and mailing list archives for Janos can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/