public class AttributeMap extends AbstractMap<String,Object>
The scopes are the ones known in the web world:
A object is searched in the order above, starting from page and ending at application scope.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
protected static String |
UNSUPPORTED |
Constructor and Description |
---|
AttributeMap(Map<String,Object> context) |
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 o) |
Object |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map 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
protected static final String UNSUPPORTED
public boolean isEmpty()
public void clear()
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
containsKey
in class AbstractMap<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
containsValue
in class AbstractMap<String,Object>
public void putAll(Map t)
public int size()
public Collection<Object> values()
public String toString()
toString
in class AbstractMap<String,Object>
public boolean equals(Object o)
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.