| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final ByteTrie. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public T | |
| public int | |
| public void | setDefaultValue(T defaultValue)
Sets the default value to use in |
| maxDepth | back to summary |
|---|---|
| private int maxDepth | |
| root | back to summary |
|---|---|
| private final ByteTrie. | |
| ByteTrie | back to summary |
|---|---|
| pack-priv ByteTrie() | |
| addPath | back to summary |
|---|---|
| public void addPath(T value, byte[]... parts) Store the given value at the specified path. | |
| find | back to summary |
|---|---|
| public T find(byte[] bytes) Return the most specific value stored for this byte sequence. If not found, returns
| |
| getMaxDepth | back to summary |
|---|---|
| public int getMaxDepth() Gets the maximum depth stored in this trie. | |
| setDefaultValue | back to summary |
|---|---|
| public void setDefaultValue(T defaultValue) Sets the default value to use in | |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private T |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public T | |
| public void |
| children | back to summary |
|---|---|
| private final Map<Byte, ByteTrie. | |
| value | back to summary |
|---|---|
| private T value | |
| ByteTrieNode | back to summary |
|---|---|
| pack-priv ByteTrieNode() | |
| getValue | back to summary |
|---|---|
| public T getValue() | |
| setValue | back to summary |
|---|---|
| public void setValue(T value) | |