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
Solved

Tree DataStructure in JAVA

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

 

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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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
jar file executable 12 58
eclipse shortcuts 9 62
Apps blocked by Java 9 88
servlet web applications   metadata-complete="true" or false 3 109
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 …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to implement Singleton Design Pattern in Java.
This video teaches viewers about errors in exception handling.

808 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