| Constructor and Description |
|---|
TreeTrie() |
| Modifier and Type | Method and Description |
|---|---|
V |
get(ByteBuffer b,
int offset,
int len)
Get and exact match from a segment of a ByteBuufer as key
|
V |
get(String s)
Get and exact match from a String key
|
V |
getBest(byte[] b,
int offset,
int len)
Get the best match from key in a byte array.
|
V |
getBest(ByteBuffer b,
int offset,
int len)
Get the best match from key in a byte buffer.
|
boolean |
isFull() |
Set<String> |
keySet() |
boolean |
put(String s,
V v)
Put and entry into the Trie
|
boolean |
put(V v)
Put a value as both a key and a value.
|
V |
remove(String s) |
String |
toString() |
public boolean put(V v)
Triepublic boolean put(String s, V v)
Triepublic V get(String s)
Triepublic V get(ByteBuffer b, int offset, int len)
Triepublic V getBest(byte[] b, int offset, int len)
Triepublic V getBest(ByteBuffer b, int offset, int len)
TrieCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.