public class ValueMapDecorator extends Object
ValueMapDecorator
decorates another Map
to provide a basic implementation
for the additional methods of a ValueMap
.
This class is similar to ValueMapDecorator
, but provides
javax.jcr.Value
semantics for dates.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< |
entrySet() |
Object |
get(Object key) |
<T> T |
get(String name,
Class<T> type) |
<T> T |
get(String name,
T defaultValue) |
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() |
public <T> T get(String name, T defaultValue)
public int size()
public boolean isEmpty()
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public void clear()
public Collection<Object> values()
public Set<> entrySet()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"