|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.collection.base.AbstractSimpleMap<KEY,VALUE>
KEY - the type of keys maintained by this map.VALUE - the type of mapped values.public abstract class AbstractSimpleMap<KEY,VALUE>
This is the abstract base implementation for a simple Map.
ATTENTION:
Here simple means that subclasses of this class only guarantee that
the method Map.get(Object) and containsKey(Object) is properly
implemented.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
AbstractSimpleMap()
The constructor. |
|
| Method Summary | |
|---|---|
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set<Map.Entry<KEY,VALUE>> |
entrySet()
|
boolean |
isEmpty()
|
Set<KEY> |
keySet()
|
VALUE |
put(KEY key,
VALUE value)
|
void |
putAll(Map<? extends KEY,? extends VALUE> m)
|
VALUE |
remove(Object key)
|
int |
size()
|
Collection<VALUE> |
values()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, get, hashCode |
| Constructor Detail |
|---|
public AbstractSimpleMap()
| Method Detail |
|---|
public void clear()
clear in interface Map<KEY,VALUE>public boolean containsKey(Object key)
containsKey in interface Map<KEY,VALUE>public boolean containsValue(Object value)
containsValue in interface Map<KEY,VALUE>public Set<Map.Entry<KEY,VALUE>> entrySet()
entrySet in interface Map<KEY,VALUE>public boolean isEmpty()
isEmpty in interface Map<KEY,VALUE>public Set<KEY> keySet()
keySet in interface Map<KEY,VALUE>
public VALUE put(KEY key,
VALUE value)
put in interface Map<KEY,VALUE>public void putAll(Map<? extends KEY,? extends VALUE> m)
putAll in interface Map<KEY,VALUE>public VALUE remove(Object key)
remove in interface Map<KEY,VALUE>public int size()
size in interface Map<KEY,VALUE>public Collection<VALUE> values()
values in interface Map<KEY,VALUE>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||