public class KeyPairWildSearchTree<V> extends KeyPairSearchTree<V>
KeyPairSearchTree.KeyPairNode<K,T>root| Constructor | Description | 
|---|---|
| KeyPairWildSearchTree() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Pair<java.lang.String,V> | findLongestValue(java.lang.String fullStr) | Retrieve the value for the longest key that
 the given string starts with | 
| protected Pair<java.lang.String,V> | findLongestValueWithWildcards(java.lang.String fullStr,
                             KeyPairSearchTree.KeyPairNode<java.lang.String,V> startNode,
                             int[] index) | Retrieve the value for the longest key that
 the given string starts with, with wildcard support | 
addEntryprotected Pair<java.lang.String,V> findLongestValueWithWildcards(java.lang.String fullStr, KeyPairSearchTree.KeyPairNode<java.lang.String,V> startNode, int[] index)
fullStr - the string that might start with a keystartNode - the search node to start withindex - the index into the string to start with, and ends withpublic Pair<java.lang.String,V> findLongestValue(java.lang.String fullStr)
findLongestValue in class KeyPairSearchTree<V>fullStr - the string that might start with a key