public class ConcurrentHashMapBuilder<K,V> extends BaseMapBuilder
Modifier and Type | Class and Description |
---|---|
static class |
ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> |
BaseMapBuilder.UnsafeFunction<T,R,E extends java.lang.Throwable>, BaseMapBuilder.UnsafeSupplier<T,E extends java.lang.Throwable>
Constructor and Description |
---|
ConcurrentHashMapBuilder() |
Modifier and Type | Method and Description |
---|---|
static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> |
create(int initialCapacity) |
static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> |
create(int initialCapacity,
float loadFactor) |
static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> |
create(int initialCapacity,
float loadFactor,
int concurrencyLevel) |
static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> |
create(java.util.Map<? extends K,? extends V> map) |
static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> |
put(BaseMapBuilder.UnsafeSupplier<K,java.lang.Exception> keyUnsafeSupplier,
BaseMapBuilder.UnsafeSupplier<V,java.lang.Exception> valueUnsafeSupplier) |
static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> |
put(BaseMapBuilder.UnsafeSupplier<K,java.lang.Exception> keyUnsafeSupplier,
V value) |
static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> |
put(java.util.Collection<? extends K> inputCollection,
BaseMapBuilder.UnsafeFunction<K,V,java.lang.Exception> unsafeFunction) |
static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> |
put(K key,
BaseMapBuilder.UnsafeSupplier<V,java.lang.Exception> valueUnsafeSupplier) |
static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> |
put(K key,
V value) |
static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> |
putAll(java.util.Map<? extends K,? extends V> inputMap) |
public static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> create(int initialCapacity)
public static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> create(int initialCapacity, float loadFactor)
public static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> create(int initialCapacity, float loadFactor, int concurrencyLevel)
public static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> create(java.util.Map<? extends K,? extends V> map)
public static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> put(java.util.Collection<? extends K> inputCollection, BaseMapBuilder.UnsafeFunction<K,V,java.lang.Exception> unsafeFunction)
public static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> put(K key, BaseMapBuilder.UnsafeSupplier<V,java.lang.Exception> valueUnsafeSupplier)
public static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> put(K key, V value)
public static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> put(BaseMapBuilder.UnsafeSupplier<K,java.lang.Exception> keyUnsafeSupplier, BaseMapBuilder.UnsafeSupplier<V,java.lang.Exception> valueUnsafeSupplier)
public static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> put(BaseMapBuilder.UnsafeSupplier<K,java.lang.Exception> keyUnsafeSupplier, V value)
public static <K,V> ConcurrentHashMapBuilder.ConcurrentHashMapWrapper<K,V> putAll(java.util.Map<? extends K,? extends V> inputMap)