Package org.eclipse.jetty.util
Class AbstractTrie<V>
java.lang.Object
org.eclipse.jetty.util.AbstractTrie<V>
- Type Parameters:
V- the type of object that the Trie holds
- All Implemented Interfaces:
Trie<V>
- Direct Known Subclasses:
ArrayTernaryTrie,ArrayTrie,TreeTrie
@Deprecated(since="2021-05-27")
public abstract class AbstractTrie<V>
extends Object
implements Trie<V>
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Abstract Trie implementation.
Provides some common implementations, which may not be the most efficient. For byte operations, the assumption is made that the charset is ISO-8859-1
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get an exact match from a String keyget(ByteBuffer b) Deprecated.Get an exact match from a segment of a ByteBuufer as keygetBest(byte[] b, int offset, int len) Deprecated.Get the best match from key in a byte array.Deprecated.Get the best match from key in a String.booleanDeprecated.booleanDeprecated.Put a value as both a key and a value.Deprecated.
-
Method Details
-
put
Deprecated.Description copied from interface:TriePut a value as both a key and a value. -
remove
Deprecated. -
get
Deprecated.Description copied from interface:TrieGet an exact match from a String key -
get
Deprecated.Description copied from interface:TrieGet an exact match from a segment of a ByteBuufer as key -
getBest
Deprecated.Description copied from interface:TrieGet the best match from key in a String. -
getBest
Deprecated.Description copied from interface:TrieGet the best match from key in a byte array. The key is assumed to by ISO_8859_1 characters. -
isCaseInsensitive
public boolean isCaseInsensitive()Deprecated.- Specified by:
isCaseInsensitivein interfaceTrie<V>
-