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
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.