Class DefaultValueMap
- java.lang.Object
-
- org.onehippo.cms7.crisp.api.resource.AbstractValueMap
-
- org.onehippo.cms7.crisp.api.resource.DefaultValueMap
-
- All Implemented Interfaces:
Serializable
,Map<String,Object>
,ValueMap
public class DefaultValueMap extends AbstractValueMap
DefaultValueMap
implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultValueMap()
Default constructor.DefaultValueMap(Map<String,Object> delegatedMap)
Constructs with a map to delegate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry<String,Object>>
entrySet()
boolean
equals(Object o)
Object
get(Object name)
int
hashCode()
boolean
isEmpty()
Set<String>
keySet()
Object
put(String key, Object value)
void
putAll(Map<? extends String,? extends Object> map)
Object
remove(Object key)
int
size()
ValueMap
toUnmodifiable()
Returns an unmodifiable view of thisValueMap
Collection<Object>
values()
-
Methods inherited from class org.onehippo.cms7.crisp.api.resource.AbstractValueMap
get, get
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
clear
public void clear()
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
containsKey
public boolean containsKey(Object key)
-
containsValue
public boolean containsValue(Object value)
-
values
public Collection<Object> values()
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
toUnmodifiable
public ValueMap toUnmodifiable()
Returns an unmodifiable view of thisValueMap
- Returns:
- an unmodifiable view of this
ValueMap
-
-