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 CompactHashMap
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<U> voidprotected Vget0(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) intsize()protected CompactHashMap<K, V> Methods inherited from class 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:
sizein classCompactHashMap<K,V>
-
get0
- Overrides:
get0in 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:
updated0in classCompactHashMap<K,V>
-
removed0
- Overrides:
removed0in classCompactHashMap<K,V>
-
forEach
-
iterator
-