Constructor and Description |
---|
SmallMap() |
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) |
K |
getKey(int i)
Use with care.
|
Object |
getValue(int i)
Use with care.
|
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(Object key,
Object value) |
void |
putAll(Map<? extends K,? extends V> t) |
V |
remove(Object key) |
int |
size() |
Collection<V> |
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 K getKey(int i) throws IllegalStateException
IllegalStateException
public Object getValue(int i) throws IllegalStateException
IllegalStateException
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
public V remove(Object key) throws UnsupportedOperationException
remove
in interface Map<K,V>
UnsupportedOperationException
public void putAll(Map<? extends K,? extends V> t) throws UnsupportedOperationException
putAll
in interface Map<K,V>
UnsupportedOperationException
public Set<Map.Entry<K,V>> entrySet() throws UnimplementedError
entrySet
in interface Map<K,V>
UnimplementedError