Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning Java 2
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Java 2
This is the forum to discuss the Wrox book Beginning Java 2, SDK 1.4 Edition by Ivor Horton; ISBN: 9780764543654
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Java 2 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 22nd, 2004, 03:55 AM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default multi-leveled linkedlist

hi,everyone
i'm working on a project.as per requirement in

project,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).can any one

plz help me by giving some idea or some source code-if

anybody have.
in this linked list,each node may point to n nummber of

next nodes,or may be pointed by a number of nodes.
waiting for reply.than you.

  #2 (permalink)  
Old May 29th, 2004, 03:00 PM
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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LinkedList<T>, AddTail, EX9_22, pages 557-559 Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 1 January 26th, 2010 07:03 PM
What's behind the 'Equal' and 'LinkedList' buttons Everard Hughes BOOK: Professional Visual Basic 2008 ISBN: 978-0-470-19136-1 1 September 27th, 2008 08:44 AM
diff between arraylist and linkedlist anwarraja Java Basics 3 September 11th, 2007 04:32 AM
multi-multi-multiple Insert with subquery??? jmjyiannis SQL Server 2000 1 May 5th, 2006 02:20 PM
Multi Parameters jcwc888 BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 March 16th, 2006 12:57 PM



All times are GMT -4. The time now is 04:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.