public class MapWrapper<Key,Value> extends Object implements Map<Key,Value>
| Constructor and Description |
|---|
MapWrapper(Map<Key,Value> wrappedMap)
Конструктор
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Key,Value>> |
entrySet() |
boolean |
equals(Object o) |
Value |
get(Object key) |
Map<Key,Value> |
getWrappedMap()
Возвращает исходную карту
|
boolean |
isEmpty() |
Set<Key> |
keySet() |
Value |
put(Key key,
Value value) |
void |
putAll(Map<? extends Key,? extends Value> m) |
Value |
remove(Object key) |
void |
setWrappedMap(Map<Key,Value> wrappedMap)
Устанавливает исходную картуы
|
int |
size() |
Collection<Value> |
values() |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Map<Key,Value> getWrappedMap()
public void setWrappedMap(Map<Key,Value> wrappedMap)
wrappedMap - Исходная картаpublic boolean equals(Object o)
public boolean containsValue(Object value)
containsValue in interface Map<Key,Value>public boolean containsKey(Object key)
containsKey in interface Map<Key,Value>Copyright © 2017. All rights reserved.