Re: Is There a Java Class for this Kind of Data Structure?
"Hal Vaughan" <firstname.lastname@example.org> wrote in message
Oliver Wong wrote:
Just to clarify, let's say your tree structure looks like:
More like (and I hate to do diagrams because I know spacing is different
B C D
Who are the children of who in this notation?
Are you saying that in addition to this, changes to "B" affect "C"
"D", so that when you update "B", you must also update "C" and "D" and
It's more like D might provide prompt data to a Swing component that
effect F just like C does so I have to update C and D at the same time
before E and F are updated. It may just be a different way of drawing
table, so we may be saying the same thing, but I'm just trying to make
we're all saying the same thing. In other words, a table 3 or 4 levels
down could be effected by not 1 but 2 tables at level 2. Theoretically
it's possible it could be effected by more than 2 tables at level 2, but
practice I would doubt it.
I don't have the information I'm looking for, so let me rephrase my
Are tables only affected by their parents, grandparents,
great-grand-parents, etc., or is it possible that they are affected by
uncles/aunts, siblings, etc.
Or to phrase it another way, if you draw a line between a node, and
every node that might affect it, does the line always go towards the root
(which I think is drawn at the top in both our diagrams), or does it
sometimes go up, and then back down?