Open main menu

lensowiki β

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

< Computer Science‎ | 61b‎ | Homework‎ | hw5‎ | list
/* 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.