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

From lensowiki
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.