| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | Trie.
The node representation for the trie. |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALPHA_SIZE
Size of the m_nextChar array. |
| private char[] | m_charBuffer
helper buffer to convert Strings to char arrays |
| pack-priv Trie. | m_Root
The root node of the tree. |
| Access | Constructor and Description |
|---|---|
| public |
| ALPHA_SIZE | back to summary |
|---|---|
| public static final int ALPHA_SIZE Size of the m_nextChar array. | |
| m_charBuffer | back to summary |
|---|---|
| private char[] m_charBuffer helper buffer to convert Strings to char arrays | |
| m_Root | back to summary |
|---|---|
| pack-priv Trie. The root node of the tree. | |
| Trie | back to summary |
|---|---|
| public Trie() Construct the trie. | |
| get | back to summary |
|---|---|
| public Object get(final String key) Get an object that matches the key. | |
| put | back to summary |
|---|---|
| public Object put(String key, Object value) Put an object into the trie for lookup. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Trie. | m_nextChar
The next nodes. |
| pack-priv Object | m_Value
The value. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| m_nextChar | back to summary |
|---|---|
| pack-priv Trie. The next nodes. | |
| m_Value | back to summary |
|---|---|
| pack-priv Object m_Value The value. | |
| Node | back to summary |
|---|---|
| pack-priv Node() Constructor, creates a Node[ALPHA_SIZE]. | |