KeyPairWildSearchTreepublic class KeyPairSearchTree<V>
extends java.lang.Object
| Modifier and Type | Class | Description | 
|---|---|---|
| protected class  | KeyPairSearchTree.KeyPairNode<K,T> | 
| Modifier and Type | Field | Description | 
|---|---|---|
| protected KeyPairSearchTree.KeyPairNode<java.lang.String,V> | root | 
| Constructor | Description | 
|---|---|
| KeyPairSearchTree() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | addEntry(java.lang.String key,
        V value) | Store a new key/value pair | 
| Pair<java.lang.String,V> | findLongestValue(java.lang.String fullStr) | Retrieve teh value for the longest key that
 the given string starts with | 
protected KeyPairSearchTree.KeyPairNode<java.lang.String,V> root
public void addEntry(java.lang.String key,
                     V value)
key - the key to addvalue - the value of the key