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.Sourcesource
-
Constructor Summary
Constructors Constructor Description DynamicMap(@NotNull DynamicMap.Source source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)@NotNull Set<Map.Entry<String,String>>entrySet()Stringget(Object key)booleanisEmpty()@NotNull Set<String>keySet()@Nullable Stringput(String key, String value)voidputAll(@NotNull Map<? extends String,? extends String> m)Stringremove(Object key)intsize()@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:
containsKeyin interfaceMap<String,String>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,String>
-
values
@NotNull public @NotNull Collection<String> values()
-
-