Interface MutableMapFactory
-
- All Known Implementing Classes:
MutableMapFactoryImpl
public interface MutableMapFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K,V>
MutableMap<K,V>empty()
<K,V>
MutableMap<K,V>of()
Same asempty()
.<K,V>
MutableMap<K,V>of(K key, V value)
Same aswith(Object, Object)
.<K,V>
MutableMap<K,V>of(K key1, V value1, K key2, V value2)
Same aswith(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 asempty()
.<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 asempty()
.<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 asempty()
.<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)
-
-
-
Method Detail
-
empty
<K,V> MutableMap<K,V> empty()
- Since:
- 6.0
-
of
<K,V> MutableMap<K,V> of()
Same asempty()
.
-
with
<K,V> MutableMap<K,V> with()
Same asempty()
.
-
ofInitialCapacity
<K,V> MutableMap<K,V> ofInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
withInitialCapacity
<K,V> MutableMap<K,V> withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
of
<K,V> MutableMap<K,V> of(K key, V value)
Same aswith(Object, Object)
.
-
with
<K,V> MutableMap<K,V> with(K key, V value)
-
of
<K,V> MutableMap<K,V> of(K key1, V value1, K key2, V value2)
Same aswith(Object, Object, Object, Object)
.
-
with
<K,V> MutableMap<K,V> with(K key1, V value1, K key2, V value2)
-
of
<K,V> MutableMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3)
-
with
<K,V> MutableMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3)
-
of
<K,V> MutableMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
-
with
<K,V> MutableMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
-
ofMap
<K,V> MutableMap<K,V> ofMap(java.util.Map<? extends K,? extends V> map)
-
withMap
<K,V> MutableMap<K,V> withMap(java.util.Map<? extends K,? extends V> map)
-
ofMapIterable
<K,V> MutableMap<K,V> ofMapIterable(MapIterable<? extends K,? extends V> mapIterable)
-
withMapIterable
<K,V> MutableMap<K,V> withMapIterable(MapIterable<? extends K,? extends V> mapIterable)
-
-