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

From lensowiki
< Computer Science‎ | 61b‎ | Homework‎ | hw5‎ | list
Revision as of 03:51, 20 February 2023 by Lensovet (talk | contribs) (Lensovet moved page CS/61b/Homework/hw5/list/SListNode.java to Computer Science/61b/Homework/hw5/list/SListNode.java)
(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.