public abstract class StringKeyedMapAdapter
extends java.lang.Object
implements java.util.Map
Constructor and Description |
---|
StringKeyedMapAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set |
entrySet() |
java.lang.Object |
get(java.lang.Object key) |
protected abstract java.lang.Object |
getAttribute(java.lang.String key)
Hook method that needs to be implemented by concrete subclasses.
|
protected abstract java.util.Iterator |
getAttributeNames()
Hook method that needs to be implemented by concrete subclasses.
|
boolean |
isEmpty() |
java.util.Set |
keySet() |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
void |
putAll(java.util.Map map) |
java.lang.Object |
remove(java.lang.Object key) |
protected abstract void |
removeAttribute(java.lang.String key)
Hook method that needs to be implemented by concrete subclasses.
|
protected abstract void |
setAttribute(java.lang.String key,
java.lang.Object value)
Hook method that needs to be implemented by concrete subclasses.
|
int |
size() |
java.util.Collection |
values() |
public void clear()
clear
in interface java.util.Map
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map
public java.util.Set entrySet()
entrySet
in interface java.util.Map
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
public boolean isEmpty()
isEmpty
in interface java.util.Map
public java.util.Set keySet()
keySet
in interface java.util.Map
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
public void putAll(java.util.Map map)
putAll
in interface java.util.Map
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
public int size()
size
in interface java.util.Map
public java.util.Collection values()
values
in interface java.util.Map
protected abstract java.lang.Object getAttribute(java.lang.String key)
key
- the key to lookupprotected abstract void setAttribute(java.lang.String key, java.lang.Object value)
key
- the key to associate the value withvalue
- the value to associate with the keyprotected abstract void removeAttribute(java.lang.String key)
key
- the key to removeprotected abstract java.util.Iterator getAttributeNames()