Solved

Tree DataStructure in JAVA

Posted on 2001-08-23
9
225 Views
Last Modified: 2012-06-21
Which class provides tree data structure implementation in JDK(if any). If u could send some sample code to show operations on the tree, it would be great.


-TIA
Raghu
0
Comment
Question by:raghu_k_n
9 Comments
 
LVL 6

Expert Comment

by:kotan
ID: 6418004
0
 
LVL 92

Expert Comment

by:objects
ID: 6420166
You can use DefaultTableModel and/or DefaultMutableTreeNode
0
 

Author Comment

by:raghu_k_n
ID: 6420803
None of these seems to be useful to me. I want to have a structure which holds the tree kind of relationship for my objects.
0
ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

 

Author Comment

by:raghu_k_n
ID: 6420882
None of these seems to be useful to me. I want to have a structure which holds the tree kind of relationship for my objects.
0
 
LVL 92

Accepted Solution

by:
objects earned 50 total points
ID: 6421189
Woops I meant to say DefaultTreeModel.
Sorry.
0
 
LVL 1

Expert Comment

by:chauhanvinit
ID: 6450868
Hi,
Try JGL Libraries from ObjectSpace Inc.
regards,
Vinit

0
 

Author Comment

by:raghu_k_n
ID: 6452111
Thanx vinit. I am not looking at any proprietry libraries.
In order to keep this question open, I am rejecting ur answer.

-Raghu
0
 

Author Comment

by:raghu_k_n
ID: 6452115
I think DefaultTreeModel solves my problem. Thanx Objects.

-Raghu
0
 
LVL 92

Expert Comment

by:objects
ID: 6452611
No worries.
Thanks for the points :)
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question