Well, this is my problem. I want to create a tree data structure in Java but, honestly, I can't find any useful example. I took a look to JTree class but I am not really interested in drawing my tree on a window. Do I have to create a whole tree class with its methods?
I need this structure so my algorithm can examine it as a tree and apply a prune criteria.
Example: Imageshack - matchtree.png
I gave a try to other data structures but I didn't find anything interesting. :s:
Thanks in advance!