| Modifier and Type | Field and Description |
|---|---|
protected V |
defaultValue |
protected SimpleHashTable<MapEntry<K,V>> |
entries |
| Constructor and Description |
|---|
AbstractMapImpl(int capacity,
int bucketSize) |
AbstractMapImpl(SimpleHashTable<MapEntry<K,V>> entries) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
protected MapEntry<K,V> |
findEntry(K key) |
protected MapEntry<K,V> |
findEntry(K key,
SimpleBucket<MapEntry<K,V>> bucket) |
V |
getDefaultValue() |
void |
setDefaultValue(V defaultValue) |
protected final SimpleHashTable<MapEntry<K,V>> entries
protected V defaultValue
public AbstractMapImpl(SimpleHashTable<MapEntry<K,V>> entries)
public AbstractMapImpl(int capacity,
int bucketSize)
public void setDefaultValue(V defaultValue)
setDefaultValue in interface SimpleMap<K,V>public V getDefaultValue()
getDefaultValue in interface SimpleMap<K,V>Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.