Class SNode_String

java.lang.Object
SNode_String

public class SNode_String extends Object
Node for singly linked list of Strings
Author:
Dr. Lillis
  • Field Details

    • element

      protected String element
      Data element stored in this node.
    • next

      protected SNode_String next
      Reference to the next node.
  • Constructor Details

    • SNode_String

      protected SNode_String(String element)
      Constructs a new node containing the specified data item.
      Parameters:
      element - element stored in this node