K - the key typeV - the value typepublic class ArrayHashMap<K,V> extends Object implements Map<K,V>
| Constructor and Description |
|---|
ArrayHashMap() |
ArrayHashMap(Class<? extends Map> mapType) |
ArrayHashMap(int initialCapacity) |
ArrayHashMap(Map<? extends K,? extends V> m) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear.
|
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object obj) |
V |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty()
Checks if is empty.
|
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<V> |
values() |
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ArrayHashMap()
public ArrayHashMap(int initialCapacity)
public boolean containsKey(Object key)
containsKey in interface Map<K,V>key - public boolean containsValue(Object value)
containsValue in interface Map<K,V>value - public boolean isEmpty()
public int hashCode()
public boolean equals(Object obj)
Copyright © 2021. All rights reserved.