Constructor | Description |
---|---|
TrieNode(java.lang.String key,
T value,
java.lang.String wildcard) |
Modifier and Type | Method | Description |
---|---|---|
void |
addChild(PathTrie.TrieNode child) |
|
PathTrie.TrieNode |
getChild(java.lang.String key) |
|
void |
insert(java.lang.String[] path,
int index,
T value) |
|
void |
insertOrUpdate(java.lang.String[] path,
int index,
T value,
java.util.function.BiFunction<T,T,T> updater) |
|
boolean |
isWildcard() |
|
T |
retrieve(java.lang.String[] path,
int index,
java.util.Map<java.lang.String,java.lang.String> params,
org.elasticsearch.common.path.PathTrie.TrieMatchingMode trieMatchingMode) |
|
java.lang.String |
toString() |
|
void |
updateKeyWithNamedWildcard(java.lang.String key) |
public TrieNode(java.lang.String key, T value, java.lang.String wildcard)
public void updateKeyWithNamedWildcard(java.lang.String key)
public boolean isWildcard()
public void addChild(PathTrie.TrieNode child)
public PathTrie.TrieNode getChild(java.lang.String key)
public void insert(java.lang.String[] path, int index, T value)
public void insertOrUpdate(java.lang.String[] path, int index, T value, java.util.function.BiFunction<T,T,T> updater)
public T retrieve(java.lang.String[] path, int index, java.util.Map<java.lang.String,java.lang.String> params, org.elasticsearch.common.path.PathTrie.TrieMatchingMode trieMatchingMode)
public java.lang.String toString()
toString
in class java.lang.Object