public class ScopedHashMap<K,V> extends HashMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ScopedHashMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object o) |
boolean |
containsValue(Object o) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object o) |
V |
get(Object key) |
V |
getOrDefault(Object key,
V defaultValue) |
boolean |
isEmpty() |
Set<K> |
keySet() |
protected Iterator<K> |
keysIterator() |
V |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
int |
size() |
Collection<V> |
values() |
clone, compute, computeIfAbsent, computeIfPresent, forEach, merge, put, putAll, putIfAbsent, replace, replace, replaceAllhashCode, toStringpublic boolean containsKey(Object o)
containsKey in interface Map<K,V>containsKey in class HashMap<K,V>public boolean containsValue(Object o)
containsValue in interface Map<K,V>containsValue in class HashMap<K,V>public int size()
public boolean isEmpty()
public V getOrDefault(Object key, V defaultValue)
getOrDefault in interface Map<K,V>getOrDefault in class HashMap<K,V>public void clear()
public Collection<V> values()
Copyright © 2019 Streamx. All rights reserved.