Tree DataStructure in JAVA

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
raghu_k_nAsked:
Who is Participating?
 
objectsConnect With a Mentor Commented:
Woops I meant to say DefaultTreeModel.
Sorry.
0
 
objectsCommented:
You can use DefaultTableModel and/or DefaultMutableTreeNode
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
raghu_k_nAuthor Commented:
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
 
raghu_k_nAuthor Commented:
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
 
chauhanvinitCommented:
Hi,
Try JGL Libraries from ObjectSpace Inc.
regards,
Vinit

0
 
raghu_k_nAuthor Commented:
Thanx vinit. I am not looking at any proprietry libraries.
In order to keep this question open, I am rejecting ur answer.

-Raghu
0
 
raghu_k_nAuthor Commented:
I think DefaultTreeModel solves my problem. Thanx Objects.

-Raghu
0
 
objectsCommented:
No worries.
Thanks for the points :)
0
All Courses

From novice to tech pro — start learning today.