public class BoundedTrieImpl extends java.lang.Object implements BoundedTrie
BoundedTrie
.Constructor and Description |
---|
BoundedTrieImpl(MetricName name) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Iterable<java.lang.String> values)
Adds a path to the trie.
|
void |
add(java.lang.String... values)
Adds a path to the trie.
|
MetricName |
getName() |
public BoundedTrieImpl(MetricName name)
public void add(java.lang.Iterable<java.lang.String> values)
BoundedTrie
add
in interface BoundedTrie
values
- The segments of the path to add.public void add(java.lang.String... values)
BoundedTrie
add
in interface BoundedTrie
values
- The segments of the path to add.public MetricName getName()