Package io.undertow.util
Class SubstringMap<V>
java.lang.Object
io.undertow.util.SubstringMap<V>
A string keyed map that can be accessed as a substring, eliminating the need to allocate a new string
to do a key comparison against.
This class uses linear probing and is thread safe due to copy on write semantics. As such it is not recomended for data that changes frequently.
This class does not actually implement the map interface to avoid implementing unnecessary operations.
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SubstringMap
public SubstringMap()
-
-
Method Details
-
get
-
get
-
put
-
remove
-
toMap
-
clear
public void clear() -
keys
-