public final class ValueMapDecorator extends Object implements org.apache.sling.api.resource.ValueMap
Constructor and Description |
---|
ValueMapDecorator(Map<String,Object> base)
Creates a new wrapper around a given map.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
boolean |
equals(Object obj) |
Object |
get(Object key) |
<T> T |
get(@NotNull String name,
@NotNull Class<T> type) |
<T> T |
get(@NotNull String name,
T defaultValue) |
int |
hashCode() |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> t) |
Object |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<Object> |
values() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public <T> T get(@NotNull @NotNull String name, @NotNull @NotNull Class<T> type)
get
in interface org.apache.sling.api.resource.ValueMap
public <T> T get(@NotNull @NotNull String name, T defaultValue)
get
in interface org.apache.sling.api.resource.ValueMap
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
public int hashCode()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.