Class SNode_String
java.lang.Object
SNode_String
Node for singly linked list of Strings
- Author:
- Dr. Lillis
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringData element stored in this node.protected SNode_StringReference to the next node. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSNode_String(String element) Constructs a new node containing the specified data item. -
Method Summary
-
Field Details
-
element
Data element stored in this node. -
next
Reference to the next node.
-
-
Constructor Details
-
SNode_String
Constructs a new node containing the specified data item.- Parameters:
element- element stored in this node
-