Solved

Tree DataStructure in JAVA

Posted on 2001-08-23
9
229 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
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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
couple of eclipse 5 52
Java basic valueOf question 1 34
Cisco ASA: Java web start no go, asdm launcher no go 3 58
collection output issue 9 65
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

733 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