Open main menu

lensowiki β

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

< Computer Science‎ | 61b‎ | Homework‎ | hw8‎ | list
Revision as of 03:51, 20 February 2023 by Lensovet (talk | contribs) (Lensovet moved page CS/61b/Homework/hw8/list/SListNode.java to Computer Science/61b/Homework/hw8/list/SListNode.java)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* SListNode.java */

package list;

/**
 *  SListNode is a class used internally by the SList class.  An SList object
 *  is a singly-linked list, and an SListNode is a node of a singly-linked
 *  list.  Each SListNode has two references:  one to an object, and one to
 *  the next node in the list.
 */

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