Gets the data of all elements @return
()
| 156 | * @return |
| 157 | */ |
| 158 | public HashSet<T> values(){ |
| 159 | HashSet<T> ret = new HashSet<>(); |
| 160 | if(root != null){ |
| 161 | root.values(ret); |
| 162 | } |
| 163 | return ret; |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * Gets a String that represents the tree structure |