| Modifier and Type | Field and Description |
|---|---|
| private static final EmptyTrie | |
| private static final EmptyTrie |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public V | get(String
The key s)Overrides org. Implements org. |
| public V | get(ByteBuffer
The buffer b)Overrides org. Implements org. |
| public V | get(String
The key s, int The offset within the string of the key offset, int the length of the key len)Implements org. |
| public V | get(ByteBuffer
The buffer b, int The offset within the buffer of the key offset, int the length of the key len)Implements org. |
| public V | getBest(String
The string s)Overrides org. Implements org. |
| public V | getBest(byte[]
The buffer b, int The offset within the array of the key offset, int the length of the key len)Overrides org. Implements org. |
| public V | getBest(ByteBuffer
The buffer b)Overrides default org. |
| public V | getBest(byte[]
The buffer b)Overrides default org. |
| public V | getBest(String
The string s, int The offset within the string of the key offset, int the length of the key len)Implements org. |
| public V | getBest(ByteBuffer
The buffer b, int The offset within the buffer of the key offset, int the length of the key len)Implements org. |
| public static <V> EmptyTrie | |
| public boolean | |
| public Set | keySet()
Implements org. Set of the keys contained in this index.
|
| public boolean | put(V
The value and key v)Overrides org. Implements org. |
| public boolean | put(String
The key for the entry. Must be non null, but can be empty. s, V The value of the entry. Must be non null. v)Implements org. |
| protected boolean | |
| public int |
| INSENSITIVE | back to summary |
|---|---|
private static final EmptyTrie<V> INSENSITIVE
| |
| SENSITIVE | back to summary |
|---|---|
private static final EmptyTrie<V> SENSITIVE
| |
| EmptyTrie | back to summary |
|---|---|
| private EmptyTrie(boolean caseSensitive) | |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Doc from org. Remove all entries from the index.
| |
| get | back to summary |
|---|---|
| public V get(String s) Overrides org. Implements org. Doc from org. Get an exact match from a String key | |
| get | back to summary |
|---|---|
| public V get(ByteBuffer b) Overrides org. Implements org. Doc from org. Get an exact match from a segment of a ByteBuffer as key
| |
| get | back to summary |
|---|---|
| public V get(String s, int offset, int len) Implements org. Doc from org. Get an exact match from a String key | |
| get | back to summary |
|---|---|
| public V get(ByteBuffer b, int offset, int len) Implements org. Doc from org. Get an exact match from a segment of a ByteBuffer as key
| |
| getBest | back to summary |
|---|---|
| public V getBest(String s) Overrides org. Implements org. Doc from org. Get the best match from key in a String, which may be a prefix match or an exact match. | |
| getBest | back to summary |
|---|---|
| public V getBest(byte[] b, int offset, int len) Overrides org. Implements org. Doc from org. Get the best match from key in a byte array. The key is assumed to by ISO_8859_1 characters.
| |
| getBest | back to summary |
|---|---|
| public V getBest(ByteBuffer b) Overrides default org. Doc from org. Get the best match from key in a byte buffer. The key is assumed to by ISO_8859_1 characters.
| |
| getBest | back to summary |
|---|---|
| public V getBest(byte[] b) Overrides default org. Doc from org. Get the best match from key in a byte array. The key is assumed to by ISO_8859_1 characters.
| |
| getBest | back to summary |
|---|---|
| public V getBest(String s, int offset, int len) Implements org. Doc from org. Get the best match from key in a String. | |
| getBest | back to summary |
|---|---|
| public V getBest(ByteBuffer b, int offset, int len) Implements org. Doc from org. Get the best match from key in a byte buffer. The key is assumed to by ISO_8859_1 characters.
| |
| instance | back to summary |
|---|---|
public static <V> EmptyTrie
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements org. Doc from org. Check if the index contains any entry.
| |
| keySet | back to summary |
|---|---|
| public Set Implements org. Doc from org. Get a | |
| put | back to summary |
|---|---|
| public boolean put(V v) Overrides org. Implements org. Doc from org. Put a value as both a key and a value.
| |
| put | back to summary |
|---|---|
| public boolean put(String s, V v) Implements org. Doc from org. Put an entry into the index. | |
| putAll | back to summary |
|---|---|
| protected boolean putAll(Map<String, V> contents) Overrides org.
| |
| size | back to summary |
|---|---|
| public int size() Implements org. Doc from org. Get the number of entries in the index.
| |