Building a linked list



Hi everybody, I'm stuck and was hoping someone here could help. I am
implementing a linked list, with a class node, which has a String
object text and a node next as its definition. I'm all set on adding,
deleting, inserting, etc. But for the life of me, I cannot figure out
how to insert the original data to build the list initially. Any help
would be great, and if you need more info just let me know.

Thanks in advance :)

.



Relevant Pages

  • Re: Building a linked list
    ... implementing a linked list, with a class node, which has a String ... But for the life of me, ... how to insert the original data to build the list initially. ...
    (comp.lang.java.programmer)
  • Re: Building a linked list
    ... implementing a linked list, with a class node, which has a String ... Hard to guess what you are stuck on without a sample listing. ...
    (comp.lang.java.programmer)
  • Re: Building a linked list
    ... implementing a linked list, with a class node, which has a String ... You can peek at two LinkedList implemenations. ...
    (comp.lang.java.programmer)
  • Re: Building a linked list
    ... implementing a linked list, with a class node, which has a String ... Beware of bugs in the above code; I have only proved it correct, ...
    (comp.lang.java.programmer)
  • Re: Building a linked list
    ... implementing a linked list, with a class node, which has a String ... deleting, inserting, etc. ... how to insert the original data to build the list initially. ... What is the format of the original data? ...
    (comp.lang.java.programmer)