Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / April 2005

Tip: Looking for answers? Try searching our database.

tree and node classes?

Thread view: 
nooneinparticular314159@yahoo.com - 05 Apr 2005 23:00 GMT
Hello.  I am looking for an implementation of a Tree or Tree Node class
within Java.  I want to create nodes and store data within those nodes
and be able to search on it.  All that I've found in the standard Java
libraries is a JTree, which seems to be designed for displaying
hierarchies.  I do not want to display a tree.  I just want to use the
data structure.  Any suggestions?

Thanks!
Eric Sosman - 05 Apr 2005 23:14 GMT
> Hello.  I am looking for an implementation of a Tree or Tree Node class
> within Java.  I want to create nodes and store data within those nodes
> and be able to search on it.  All that I've found in the standard Java
> libraries is a JTree, which seems to be designed for displaying
> hierarchies.  I do not want to display a tree.  I just want to use the
> data structure.  Any suggestions?

   The "collections framework" in java.util has what
you're looking for.  See also

 http://java.sun.com/docs/books/tutorial/collections/index.html

Signature

Eric.Sosman@sun.com

Johan Kütt - 06 Apr 2005 21:44 GMT
I didn't quite get your point, but have you tried db4o? it's a grate way
to store objects. maybe it satisfies your needs also.
http://www.db4o.com

johan

> Hello.  I am looking for an implementation of a Tree or Tree Node class
> within Java.  I want to create nodes and store data within those nodes
[quoted text clipped - 4 lines]
>
> Thanks!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.