PDA

Click to See Complete Forum and Search --> : Tree Collection


Merri
Apr 16th, 2007, 04:30 PM
Easy to use collection that gives a flat tree. You can define parents and get a list of first level items. You can also get either all childs or only direct first level childs of any item.

This is not optimized for speed at all, so it is only handy for handling small amounts of data that is easy to format into a tree. Also, it is only meant for containing string data (although it should be fairly easy to overcome this limitation).

There is no limitation to the number of childs or levels in the tree.

Mark Gambo
Apr 17th, 2007, 05:32 AM
Nice code, I have a new application that I might be able to use your class, thanks!!!

Merri
Apr 17th, 2007, 07:28 PM
Great if it is useful, tell me if you find something that is missing or that could be added and I'll see if it is worth to add :)