JNodeOS v1.1.5 API

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.


Constructor Summary
LinkedList.Node()
           
 
Method Summary
 void append(LinkedList.Node node)
          Insert a node after this one
 LinkedList.Node getPred()
          Get the previous node in the list
 LinkedList.Node getSucc()
          Get the next node in the list
 void prepend(LinkedList.Node node)
          Insert a node before this one
 void remove()
          Remove the node from the list
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedList.Node

public LinkedList.Node()
Method Detail

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

JNodeOS v1.1.5 API

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/