1,277
edits
Changes
no edit summary
/* 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;
{{notmine|Jonathan Shewchuk}}
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;
{{notmine|Jonathan Shewchuk}}