How can I represent a tree structure like below, in java?
    "root"
     |  |
"leaf1" "leaf2"
         |   |
    "leaf3" "leaf4"
       |
    "leaf5"
Are there any built-in or custom classes anyone can refer me to?
EDIT: I need to be able to easily traverse through nodes.
 
     
     
     
     
    