public class Trie extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Trie.ITrieHandler |
Constructor and Description |
---|
Trie() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(byte[] prefix) |
boolean |
add(byte[] prefix,
int start) |
void |
apply(Trie.ITrieHandler func,
Object arg) |
boolean |
check(ByteBuffer data) |
boolean |
rm(byte[] prefix,
int start) |
public boolean add(byte[] prefix)
public boolean add(byte[] prefix, int start)
public boolean rm(byte[] prefix, int start)
public boolean check(ByteBuffer data)
public void apply(Trie.ITrieHandler func, Object arg)
Copyright © 2022. All rights reserved.