MutableMapFactoryImpl
public interface MutableMapFactory
Modifier and Type | Method | Description |
---|---|---|
<K,V> MutableMap<K,V> |
empty() |
|
<K,V> MutableMap<K,V> |
of() |
Same as
empty() . |
<K,V> MutableMap<K,V> |
of(K key,
V value) |
Same as
with(Object, Object) . |
<K,V> MutableMap<K,V> |
of(K key1,
V value1,
K key2,
V value2) |
Same as
with(Object, Object, Object, Object) . |
<K,V> MutableMap<K,V> |
of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> MutableMap<K,V> |
of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
|
<K,V> MutableMap<K,V> |
ofInitialCapacity(int capacity) |
Same as
empty() . |
<K,V> MutableMap<K,V> |
ofMap(java.util.Map<? extends K,? extends V> map) |
|
<K,V> MutableMap<K,V> |
ofMapIterable(MapIterable<? extends K,? extends V> mapIterable) |
|
<K,V> MutableMap<K,V> |
with() |
Same as
empty() . |
<K,V> MutableMap<K,V> |
with(K key,
V value) |
|
<K,V> MutableMap<K,V> |
with(K key1,
V value1,
K key2,
V value2) |
|
<K,V> MutableMap<K,V> |
with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> MutableMap<K,V> |
with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
|
<K,V> MutableMap<K,V> |
withInitialCapacity(int capacity) |
Same as
empty() . |
<K,V> MutableMap<K,V> |
withMap(java.util.Map<? extends K,? extends V> map) |
|
<K,V> MutableMap<K,V> |
withMapIterable(MapIterable<? extends K,? extends V> mapIterable) |
<K,V> MutableMap<K,V> empty()
<K,V> MutableMap<K,V> of()
empty()
.<K,V> MutableMap<K,V> with()
empty()
.<K,V> MutableMap<K,V> ofInitialCapacity(int capacity)
empty()
. but takes in an initial capacity<K,V> MutableMap<K,V> withInitialCapacity(int capacity)
empty()
. but takes in an initial capacity<K,V> MutableMap<K,V> of(K key, V value)
with(Object, Object)
.<K,V> MutableMap<K,V> with(K key, V value)
<K,V> MutableMap<K,V> of(K key1, V value1, K key2, V value2)
with(Object, Object, Object, Object)
.<K,V> MutableMap<K,V> with(K key1, V value1, K key2, V value2)
<K,V> MutableMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3)
<K,V> MutableMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3)
<K,V> MutableMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
<K,V> MutableMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
<K,V> MutableMap<K,V> ofMap(java.util.Map<? extends K,? extends V> map)
<K,V> MutableMap<K,V> withMap(java.util.Map<? extends K,? extends V> map)
<K,V> MutableMap<K,V> ofMapIterable(MapIterable<? extends K,? extends V> mapIterable)
<K,V> MutableMap<K,V> withMapIterable(MapIterable<? extends K,? extends V> mapIterable)
Copyright © 2004–2020. All rights reserved.