To me it seems like a Triemap saves memory compared to a Hashmap and can be used in all the scenarios a Hashmap is used. Why would you use a hashmap?
Asked
Active
Viewed 34 times
0
-
2I am not aware of any TrieMaps in Java. Are you confusing this with Scala perhaps? https://stackoverflow.com/questions/29499381/what-is-a-triemap-and-what-is-its-advantages-disadvantages-compared-to-a-hashmap – RaminS Jan 21 '19 at 23:12
-
1Java doesn't have a Triemap! – AppleCiderGuy Jan 21 '19 at 23:30