The moose likes Java in General and the fly likes Linked List Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Linked List" Watch "Linked List" New topic

Linked List

Vallabhaneni Suresh Kumar
Ranch Hand

Joined: Mar 01, 2004
Posts: 68
Where I can get examples on linked list with more than one data item. I mean the node should carry some 3 or 4 fields(name, date, level etc) along with the next node address
Joe Ess

Joined: Oct 29, 2001
Posts: 9188

Why reinvent the wheel: java.util.LinkedList
Unless, of course, this is an academic assignment, in which case you should be doing your own work!

[How To Ask Questions On JavaRanch]
J Kneeland
Ranch Hand

Joined: Aug 15, 2004
Posts: 31
Just add an object that has the fields.

I agree. Here's the link:
subject: Linked List
It's not a secret anymore!