K - the type of keys maintained by this mapV - the type of mapped valuespublic class SmallMap<K,V> extends AbstractMap<K,V>
Object.hashCode() or
Object.equals(Object).
Null keys are not supported by this map.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SmallMap()
Creates a new small map which is initially empty.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
int |
size() |
public SmallMap()
public boolean containsKey(Object key)
containsKey in interface Map<K,V>containsKey in class AbstractMap<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>containsValue in class AbstractMap<K,V>public void clear()
public int size()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.