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