| Class | TernaryTrie |
| In: |
lib/utility/ternarytrie.rb
|
| Parent: | Object |
class TernaryTrie implements a ternary search trie. The keys are are assumed to be strings, but the values can be any object. This is a very lightweight and useful object
Returns array of values that are the shortest possible match of the key.
Returns an exact match only of the key or nil if not found