title: Is it possible to create a tree of objects in Java?
body: <p>I am trying to create a tree of Objects in Java. I also want to use a Java class that makes it easy to add or remove nodes from the tree. What would be the best class to use for this purpose?</p>
  
  <p>Example: Here is an array of objects. The object at the top of the array is the string "world". The leaves are integers here, and I want to add the string "This is at (world, 0, 0)!" as a leaf at "(world, 0, 0)". What Java class would be best for this purpose?</p>
  
  <pre><code>"world"
    /\
   0  1
  / \  /\
  0 1  0 1
  </code></pre>