Difference between revisions of "Computer Science/61b/Homework/hw5/list/SListNode.java"

From lensowiki
< Computer Science‎ | 61b‎ | Homework‎ | hw5‎ | list
Jump to: navigation, search
 
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 03:51, 20 February 2023

/* 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.