This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 8843

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!

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
J Kneeland
Ranch Hand

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

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Linked List
Similar Threads
Linked Lists, Nodes, Quicksort
Accessing a certain element in a linked list
How data is added in a ArrayList
delete in a singly linked list