public class MapAdapter extends Object implements Map<Object,Object>
Constructor and Description |
---|
MapAdapter(Dictionary<Object,Object> dictionary)
Creates a new instance of MapAdapter.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Object,Object>> |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty() |
Set<Object> |
keySet() |
Object |
put(Object arg0,
Object arg1) |
void |
putAll(Map arg0) |
Object |
remove(Object key) |
int |
size() |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public MapAdapter(Dictionary<Object,Object> dictionary)
dictionary
- The dictionary to storepublic boolean containsKey(Object key)
containsKey
in interface Map<Object,Object>
Map.containsKey(java.lang.Object)
public boolean containsValue(Object value)
containsValue
in interface Map<Object,Object>
Map.containsValue(java.lang.Object)
public Set<Map.Entry<Object,Object>> entrySet()
entrySet
in interface Map<Object,Object>
Map.entrySet()
public Object get(Object key)
get
in interface Map<Object,Object>
Map.get(java.lang.Object)
public boolean isEmpty()
isEmpty
in interface Map<Object,Object>
Map.isEmpty()
public Set<Object> keySet()
keySet
in interface Map<Object,Object>
Map.keySet()
public Object put(Object arg0, Object arg1)
put
in interface Map<Object,Object>
Map.put(java.lang.Object, java.lang.Object)
public void putAll(Map arg0)
putAll
in interface Map<Object,Object>
Map.putAll(java.util.Map)
public Object remove(Object key)
remove
in interface Map<Object,Object>
Map.remove(java.lang.Object)
public Collection<Object> values()
values
in interface Map<Object,Object>
Map.values()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.