Is there any standard Java library class to represent a tree in Java?
Specifically I need to represent the following:
You can use the HashTree class included in Apache JMeter that is part of the Jakarta Project.
HashTree class is included in the package org.apache.jorphan.collections. Although this package is not released outside the JMeter project, you can get it easily:
1) Download the JMeter sources.
2) Create a new package.
3) Copy on it /src/jorphan/org/apache/jorphan/collections/ . All files except Data.java
4) Copy also /src/jorphan/org/apache/jorphan/util/JOrphanUtils.java
5) HashTree is ready to use.