Computer Science/61b/Homework/hw5/list/SListNode.java

From lensowiki
< Computer Science‎ | 61b‎ | Homework‎ | hw5‎ | list
Revision as of 07:16, 22 September 2007 by Lensovet (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
/* SListNode.java */

package list;

/**
 *  An SListNode is a mutable node in an SList (singly-linked list).
 **/

public class SListNode extends ListNode {

  /**
   *  (inherited)  item references the item stored in the current node.
   *  (inherited)  myList references the List that contains this node.
   *  next references the next node in the SList.
   *
   *  DO NOT CHANGE THE FOLLOWING FIELD DECLARATIONS.
   **/

  protected SListNode next;
The author of this file is Jonathan Shewchuk; consequently, I cannot make it freely available.