KEY - the type of keys maintained by this map.VALUE - the type of mapped values.public abstract class AbstractSimpleMap<KEY,VALUE> extends Object implements Map<KEY,VALUE>
Map. Map.get(Object) and
containsKey(Object) is properly implemented.| Constructor and Description |
|---|
AbstractSimpleMap()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, get, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic boolean containsKey(Object key)
containsKey in interface Map<KEY,VALUE>public boolean containsValue(Object value)
containsValue in interface Map<KEY,VALUE>Copyright © 2001–2016 mmm-Team. All rights reserved.