View Single Post
  #2 (permalink)  
Old May 29th, 2004, 03:00 PM
freezotic freezotic is offline
Authorized User
 
Join Date: Sep 2003
Location: den Haag, , Netherlands.
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by saiyedriyaz
 I need to develope a multiway(or multileveled)
linked list(the one which may have more than one
previous and more than one next pointer).
A multi-addressable linked list sounds like a C++ idea to me.

You could get more than one Iterator or ListIterator for a LinkedList of course, and you could use these to traverse through the list, but then you should take care not to modify the LinkedList by changing or adding or removing an element.
Better have one Iterator at a time modifying a List. You should read about the fail-fast behaviour of the Iterator in the Java API

And get some real help!
Greetings
Frans