Hi All,
I have been trying to think of a better way to hold all of the objects (planets, ships, etc) that make up my game in memory.
I have come across the TreeSet in one of my (i’ll admit old) JAVA text books, and from the way it was breifly described, it seems a great way to organise all my objects, as they will all be uniuque and all have parent and child nodes.
is the TreeSet the way to go? Are there any obvious dissadvantages in using this data structure?
I have been serching on google for some tutorials as to how to use the TreeSet, but there seems to be little aditional information out there than the few paragraphs in the textbook. This has lead me to beleive that it may be depreceated, or no-longer supported.
If anyone has any hints it would be great 
Thanks,
Matt

