Browse Source

Paragraph about Mike Scott's Linked Lists

NedRedmond 8 years ago
parent
commit
d58125f742
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      NedR.md

+ 3
- 0
NedR.md View File

@@ -0,0 +1,3 @@
1
+ListNode.java
2
+
3
+This code creates linked objects. The declared variables on lines 14 and 17 store data as well as the next node object that the current object links to. Several methods after the constructor provide different ways to interact with the linked object: getData() returns the data contained in the object; getNext() proceeds to the next node object; setData() overwrites the data in the current node (set during object construction); setNext() writes or overwrites the node that the current object refers to. This code could be used for flashcards or any number of applications.