Trie implementation in Guava?
Asked Answered
S

1

11

In the past Google Collections included an implementation of a TRIE. Is there any TRIE implementation in Guava? I need an efficient way to find common prefixes in a set of strings.

Smashup answered 20/7, 2013 at 18:34 Comment(1)
Please upvote this issue#10 Trie interface(s) and implementation(s)Assyria
P
8

Is there any TRIE implementation in Guava?

No. (IIRC, this is more or less because tries are an awfully general data structure, and we haven't had the data, resources, or demand to design an API up to Guava's usual standards?)

https://code.google.com/p/guava-libraries/issues/detail?id=10

Pastoralist answered 20/7, 2013 at 18:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.