is there a efficient way to copy a Node & it's children into a 'orderly' arranged array right now i have a left and right child and eventually i want an int that's point into a global 'nodes' array for it's left and right sibbling.

I just whipped that up, so I have no idea if it will work. However, I do have one question before I let you run off and implement this. Why are you trying to fit everything in an array? Is it just to write it to disk, or are you trying to "optimize"? If you're thinking that using an int[] array will optimize your code you may want to rethink. I tried such an optimization when I was a C programmer and paid heavily for my attempts. If I'd just used a struct, my code would have been much simpler and easier to complete.

is there a efficient way to copy a Node & it's children into a 'orderly' arranged array right now i have a left and right child and eventually i want an int that's point into a global 'nodes' array for it's left and right sibbling.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org