public static final class HashMapBuilder.HashMapWrapper<K,V> extends BaseMapWrapper<K,V>
Constructor and Description |
---|
HashMapWrapper() |
HashMapWrapper(int initialCapacity) |
HashMapWrapper(int initialCapacity,
float loadFactor) |
HashMapWrapper(Map<? extends K,? extends V> map) |
Modifier and Type | Method and Description |
---|---|
HashMap<K,V> |
build() |
protected HashMap<K,V> |
getMap() |
HashMapBuilder.HashMapWrapper<K,V> |
put(BaseMapBuilder.UnsafeSupplier<K,Exception> keyUnsafeSupplier,
BaseMapBuilder.UnsafeSupplier<V,Exception> valueUnsafeSupplier) |
HashMapBuilder.HashMapWrapper<K,V> |
put(BaseMapBuilder.UnsafeSupplier<K,Exception> keyUnsafeSupplier,
V value) |
HashMapBuilder.HashMapWrapper<K,V> |
put(Collection<? extends K> inputCollection,
BaseMapBuilder.UnsafeFunction<K,V,Exception> unsafeFunction) |
HashMapBuilder.HashMapWrapper<K,V> |
put(K key,
BaseMapBuilder.UnsafeSupplier<V,Exception> valueUnsafeSupplier) |
HashMapBuilder.HashMapWrapper<K,V> |
put(K key,
V value) |
HashMapBuilder.HashMapWrapper<K,V> |
putAll(Dictionary<? extends K,? extends V> dictionary) |
HashMapBuilder.HashMapWrapper<K,V> |
putAll(Map<? extends K,? extends V> inputMap) |
public HashMapWrapper()
public HashMapWrapper(int initialCapacity)
public HashMapWrapper(int initialCapacity, float loadFactor)
public HashMapBuilder.HashMapWrapper<K,V> put(Collection<? extends K> inputCollection, BaseMapBuilder.UnsafeFunction<K,V,Exception> unsafeFunction)
public HashMapBuilder.HashMapWrapper<K,V> put(K key, BaseMapBuilder.UnsafeSupplier<V,Exception> valueUnsafeSupplier)
public HashMapBuilder.HashMapWrapper<K,V> put(K key, V value)
public HashMapBuilder.HashMapWrapper<K,V> put(BaseMapBuilder.UnsafeSupplier<K,Exception> keyUnsafeSupplier, BaseMapBuilder.UnsafeSupplier<V,Exception> valueUnsafeSupplier)
public HashMapBuilder.HashMapWrapper<K,V> put(BaseMapBuilder.UnsafeSupplier<K,Exception> keyUnsafeSupplier, V value)
public HashMapBuilder.HashMapWrapper<K,V> putAll(Dictionary<? extends K,? extends V> dictionary)
public HashMapBuilder.HashMapWrapper<K,V> putAll(Map<? extends K,? extends V> inputMap)