Can someone point me to the standard, tested, simple Tree implementation in Java?
For example, all StackOverflow searches on Java Trees lead to this topic, Tree implementation in Java (root, parents and children)
but then you discover that the Accepted Answer in that topic doesn't work and gives an Overflow Exception (https://stackoverflow.com/a/40622616/1005607) -- very dangerous, maybe someone should delete or edit that answer or at least move it down.
There are some non-StackOverflow resources but once again I don't know how reliable they are, http://programtalk.com/java/java-tree-implementation/
I find it hard to believe there's no reusable robust implementation we can go to quickly. The node should track its Parent and Children. There should be no errors.