Alrite... well here's the deal.. I need to create a "tree" structure, such that I can easily reference all the objects leading to, and from any object in the "tree" Essientially, it will be constructed randomly, (this is my problem, so I can't build the tree downward)
Therefore, I need to build the references out of order, yet be able to add more references from one object to another, essientially at the end leaving me with the following:
[Item] --> [Item2] --> [Item4]
.....|........................|
[Item3]..........[Item5]
.....|.......................|
[Item6]..........[Item7]
(Ignore the periods.. just spacers)
Basically a tree structure, then I need to trace my way back through the structure... being new to Java.. this poses several problems.. as I need to be able to start with say.. item 5, and then continually add more items.. that may not necessarily be in order.
--Mark
Therefore, I need to build the references out of order, yet be able to add more references from one object to another, essientially at the end leaving me with the following:
[Item] --> [Item2] --> [Item4]
.....|........................|
[Item3]..........[Item5]
.....|.......................|
[Item6]..........[Item7]
(Ignore the periods.. just spacers)
Basically a tree structure, then I need to trace my way back through the structure... being new to Java.. this poses several problems.. as I need to be able to start with say.. item 5, and then continually add more items.. that may not necessarily be in order.
--Mark