title: Represent tree hierarchy in java
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3522454/java-tree-data-structure">Java tree data-structure?</a>  </p>
  </blockquote>
  
  
  
  <p>I want to represent a hierarchical structure in java. The hierarchy can be of the form</p>
  
  <pre><code>Key
  |
  |-Value1
  |  |-Value11
  |    |-Value111
  |-Value2
  |  |-Value22
  |-Value3
  |-Value4
  </code></pre>
  
  <p>Can anyone suggest me the best possible data structure to represent this kind of hierarchy in java? </p>