Package org.apache.felix.framework.util
Class StringMap
Simple utility class that creates a map for string-based keys.
This map can be set to use case-sensitive or case-insensitive
comparison when searching for the key. Any keys put into this
map will be converted to a String using the
toString() method, since it is only intended to
compare strings.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object arg0) boolean
containsValue
(Object arg0) entrySet()
boolean
isEmpty()
void
int
size()
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, keySet, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
StringMap
public StringMap() -
StringMap
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<String,
Object> - Overrides:
containsKey
in classAbstractMap<String,
Object>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
Object> - Overrides:
containsValue
in classAbstractMap<String,
Object>
-
get
-
put
-
putAll
-
remove
-
clear
public void clear() -
entrySet
-