Class HashMapCollision1<K,V>
java.lang.Object
com.github.andrewoma.dexx.collection.internal.hashmap.CompactHashMap<K,V>
com.github.andrewoma.dexx.collection.internal.hashmap.HashMapCollision1<K,V>
-
Field Summary
FieldsFields inherited from class com.github.andrewoma.dexx.collection.internal.hashmap.CompactHashMap
EMPTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<U> void
protected V
get0
(K key, int hash, int level, KeyFunction<K, V> keyFunction) iterator
(KeyFunction<K, V> kf) protected CompactHashMap
<K, V> removed0
(K key, int hash, int level, KeyFunction<K, V> keyFunction) int
size()
protected CompactHashMap
<K, V> Methods inherited from class com.github.andrewoma.dexx.collection.internal.hashmap.CompactHashMap
computeHash, elemHashCode, empty, get, improve, makeHashTrieMap, put, remove, unwrap, wrap
-
Field Details
-
hash
private final int hash -
kvs
-
-
Constructor Details
-
HashMapCollision1
-
-
Method Details
-
size
public int size()- Overrides:
size
in classCompactHashMap<K,
V>
-
get0
- Overrides:
get0
in classCompactHashMap<K,
V>
-
updated0
protected CompactHashMap<K,V> updated0(K key, int hash, int level, V value, Pair<K, V> kv, KeyFunction<K, V> keyFunction) - Overrides:
updated0
in classCompactHashMap<K,
V>
-
removed0
- Overrides:
removed0
in classCompactHashMap<K,
V>
-
forEach
- Overrides:
forEach
in classCompactHashMap<K,
V>
-
iterator
- Overrides:
iterator
in classCompactHashMap<K,
V>
-