Class SubstringMap<V>
java.lang.Object
io.quarkus.vertx.http.runtime.security.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 recommended for data that changes frequently.
This class does not actually implement the map interface to avoid implementing unnecessary operations.
- Author:
- Stuart Douglas
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) ImmutableSubstringMap<V>
void
clear()
Deprecated.Deprecated.Deprecated.keys()
void
Deprecated.(package private) void
put
(String key, V value, ImmutablePathMatcher<ImmutableSubstringMap.SubstringMatch<V>> subPathMatcher) Deprecated.toMap()
Deprecated.
-
Constructor Details
-
SubstringMap
public SubstringMap()
-
-
Method Details
-
get
Deprecated. -
get
Deprecated. -
put
Deprecated. -
put
void put(String key, V value, ImmutablePathMatcher<ImmutableSubstringMap.SubstringMatch<V>> subPathMatcher) -
remove
Deprecated. -
toMap
Deprecated. -
clear
Deprecated. -
keys
-
asImmutableMap
ImmutableSubstringMap<V> asImmutableMap()
-
ImmutablePathMatcher