Map
public class DictionaryMap extends AbstractMap
Dictionary
class as a Map
.AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
Constructor | Description |
---|---|
DictionaryMap(Dictionary dictionary) |
Modifier and Type | Method | Description |
---|---|---|
Set |
entrySet() |
|
Object |
get(Object key) |
|
boolean |
isEmpty() |
|
Set |
keySet() |
|
Object |
put(Object key,
Object value) |
|
Object |
remove(Object key) |
|
int |
size() |
clear, clone, containsKey, containsValue, equals, hashCode, putAll, toString, values
compute, computeIfAbsent, computeIfPresent, entry, forEach, getOrDefault, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, putIfAbsent, remove, replace, replace, replaceAll
public DictionaryMap(Dictionary dictionary)
public Object get(Object key)
get
in interface Map
get
in class AbstractMap
public Object put(Object key, Object value)
put
in interface Map
put
in class AbstractMap
public Object remove(Object key)
remove
in interface Map
remove
in class AbstractMap
public int size()
size
in interface Map
size
in class AbstractMap
public boolean isEmpty()
isEmpty
in interface Map
isEmpty
in class AbstractMap
public Set entrySet()
entrySet
in interface Map
entrySet
in class AbstractMap
public Set keySet()
keySet
in interface Map
keySet
in class AbstractMap
Copyright © 2005–2018. All rights reserved.