?
Solved

Tree DataStructure in JAVA

Posted on 2001-08-23
9
Medium Priority
?
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 150 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

800 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