Package com.composum.sling.core.util
Class DynamicMap
- java.lang.Object
-
- com.composum.sling.core.util.DynamicMap
-
-
Field Summary
Fields Modifier and Type Field Description protected DynamicMap.Source
source
-
Constructor Summary
Constructors Constructor Description DynamicMap(@NotNull DynamicMap.Source source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
@NotNull Set<Map.Entry<String,String>>
entrySet()
String
get(Object key)
boolean
isEmpty()
@NotNull Set<String>
keySet()
@Nullable String
put(String key, String value)
void
putAll(@NotNull Map<? extends String,? extends String> m)
String
remove(Object key)
int
size()
@NotNull Collection<String>
values()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Field Detail
-
source
protected final DynamicMap.Source source
-
-
Constructor Detail
-
DynamicMap
public DynamicMap(@NotNull @NotNull DynamicMap.Source source)
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<String,String>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<String,String>
-
values
@NotNull public @NotNull Collection<String> values()
-
-