Class MutableMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.MutableMapFactoryImpl
-
- All Implemented Interfaces:
MutableMapFactory
public class MutableMapFactoryImpl extends Object implements MutableMapFactory
-
-
Field Summary
Fields Modifier and Type Field Description static MutableMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K,V>
MutableMap<K,V>empty()
<K,V>
MutableMap<K,V>of()
<K,V>
MutableMap<K,V>of(K key, V value)
<K,V>
MutableMap<K,V>of(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>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)
<K,V>
MutableMap<K,V>ofMap(Map<? extends K,? extends V> map)
<K,V>
MutableMap<K,V>ofMapIterable(MapIterable<? extends K,? extends V> mapIterable)
<K,V>
MutableMap<K,V>with()
<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)
<K,V>
MutableMap<K,V>withMap(Map<? extends K,? extends V> map)
<K,V>
MutableMap<K,V>withMapIterable(MapIterable<? extends K,? extends V> mapIterable)
-
-
-
Field Detail
-
INSTANCE
public static final MutableMapFactory INSTANCE
-
-
Method Detail
-
empty
public <K,V> MutableMap<K,V> empty()
- Specified by:
empty
in interfaceMutableMapFactory
-
of
public <K,V> MutableMap<K,V> of()
- Specified by:
of
in interfaceMutableMapFactory
-
with
public <K,V> MutableMap<K,V> with()
- Specified by:
with
in interfaceMutableMapFactory
-
ofInitialCapacity
public <K,V> MutableMap<K,V> ofInitialCapacity(int capacity)
- Specified by:
ofInitialCapacity
in interfaceMutableMapFactory
-
withInitialCapacity
public <K,V> MutableMap<K,V> withInitialCapacity(int capacity)
- Specified by:
withInitialCapacity
in interfaceMutableMapFactory
-
of
public <K,V> MutableMap<K,V> of(K key, V value)
- Specified by:
of
in interfaceMutableMapFactory
-
with
public <K,V> MutableMap<K,V> with(K key, V value)
- Specified by:
with
in interfaceMutableMapFactory
-
of
public <K,V> MutableMap<K,V> of(K key1, V value1, K key2, V value2)
- Specified by:
of
in interfaceMutableMapFactory
-
with
public <K,V> MutableMap<K,V> with(K key1, V value1, K key2, V value2)
- Specified by:
with
in interfaceMutableMapFactory
-
of
public <K,V> MutableMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3)
- Specified by:
of
in interfaceMutableMapFactory
-
with
public <K,V> MutableMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3)
- Specified by:
with
in interfaceMutableMapFactory
-
of
public <K,V> MutableMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
- Specified by:
of
in interfaceMutableMapFactory
-
with
public <K,V> MutableMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
- Specified by:
with
in interfaceMutableMapFactory
-
ofMap
public <K,V> MutableMap<K,V> ofMap(Map<? extends K,? extends V> map)
- Specified by:
ofMap
in interfaceMutableMapFactory
-
withMap
public <K,V> MutableMap<K,V> withMap(Map<? extends K,? extends V> map)
- Specified by:
withMap
in interfaceMutableMapFactory
-
ofMapIterable
public <K,V> MutableMap<K,V> ofMapIterable(MapIterable<? extends K,? extends V> mapIterable)
- Specified by:
ofMapIterable
in interfaceMutableMapFactory
-
withMapIterable
public <K,V> MutableMap<K,V> withMapIterable(MapIterable<? extends K,? extends V> mapIterable)
- Specified by:
withMapIterable
in interfaceMutableMapFactory
-
-