Class MutableObjectIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableObjectIntMapFactoryImpl
-
- All Implemented Interfaces:
MutableObjectIntMapFactory
public class MutableObjectIntMapFactoryImpl extends java.lang.Object implements MutableObjectIntMapFactory
MutableObjectIntMapFactoryImpl is a factory implementation which creates instances of typeMutableObjectIntMap
. This file was automatically generated from template file mutableObjectPrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableObjectIntMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableObjectIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K> MutableObjectIntMap<K>
empty()
<T,K>
MutableObjectIntMap<K>from(java.lang.Iterable<T> iterable, Function<? super T,? extends K> keyFunction, IntFunction<? super T> valueFunction)
Creates anMutableObjectIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> MutableObjectIntMap<K>
of()
Same asMutableObjectIntMapFactory.empty()
.<K> MutableObjectIntMap<K>
of(K key, int value)
<K> MutableObjectIntMap<K>
of(K key1, int value1, K key2, int value2)
<K> MutableObjectIntMap<K>
of(K key1, int value1, K key2, int value2, K key3, int value3)
<K> MutableObjectIntMap<K>
of(K key1, int value1, K key2, int value2, K key3, int value3, K key4, int value4)
<K> MutableObjectIntMap<K>
ofAll(ObjectIntMap<? extends K> map)
<K> MutableObjectIntMap<K>
ofInitialCapacity(int capacity)
Same asMutableObjectIntMapFactory.empty()
.<K> MutableObjectIntMap<K>
with()
Same asMutableObjectIntMapFactory.empty()
.<K> MutableObjectIntMap<K>
with(K key, int value)
<K> MutableObjectIntMap<K>
with(K key1, int value1, K key2, int value2)
<K> MutableObjectIntMap<K>
with(K key1, int value1, K key2, int value2, K key3, int value3)
<K> MutableObjectIntMap<K>
with(K key1, int value1, K key2, int value2, K key3, int value3, K key4, int value4)
<K> MutableObjectIntMap<K>
withAll(ObjectIntMap<? extends K> map)
<K> MutableObjectIntMap<K>
withInitialCapacity(int capacity)
Same asMutableObjectIntMapFactory.empty()
.
-
-
-
Field Detail
-
INSTANCE
public static final MutableObjectIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public <K> MutableObjectIntMap<K> empty()
- Specified by:
empty
in interfaceMutableObjectIntMapFactory
-
of
public <K> MutableObjectIntMap<K> of()
Description copied from interface:MutableObjectIntMapFactory
Same asMutableObjectIntMapFactory.empty()
.- Specified by:
of
in interfaceMutableObjectIntMapFactory
-
with
public <K> MutableObjectIntMap<K> with()
Description copied from interface:MutableObjectIntMapFactory
Same asMutableObjectIntMapFactory.empty()
.- Specified by:
with
in interfaceMutableObjectIntMapFactory
-
of
public <K> MutableObjectIntMap<K> of(K key, int value)
- Specified by:
of
in interfaceMutableObjectIntMapFactory
-
with
public <K> MutableObjectIntMap<K> with(K key, int value)
- Specified by:
with
in interfaceMutableObjectIntMapFactory
-
of
public <K> MutableObjectIntMap<K> of(K key1, int value1, K key2, int value2)
- Specified by:
of
in interfaceMutableObjectIntMapFactory
-
with
public <K> MutableObjectIntMap<K> with(K key1, int value1, K key2, int value2)
- Specified by:
with
in interfaceMutableObjectIntMapFactory
-
of
public <K> MutableObjectIntMap<K> of(K key1, int value1, K key2, int value2, K key3, int value3)
- Specified by:
of
in interfaceMutableObjectIntMapFactory
-
with
public <K> MutableObjectIntMap<K> with(K key1, int value1, K key2, int value2, K key3, int value3)
- Specified by:
with
in interfaceMutableObjectIntMapFactory
-
of
public <K> MutableObjectIntMap<K> of(K key1, int value1, K key2, int value2, K key3, int value3, K key4, int value4)
- Specified by:
of
in interfaceMutableObjectIntMapFactory
-
with
public <K> MutableObjectIntMap<K> with(K key1, int value1, K key2, int value2, K key3, int value3, K key4, int value4)
- Specified by:
with
in interfaceMutableObjectIntMapFactory
-
ofInitialCapacity
public <K> MutableObjectIntMap<K> ofInitialCapacity(int capacity)
Description copied from interface:MutableObjectIntMapFactory
Same asMutableObjectIntMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableObjectIntMapFactory
-
withInitialCapacity
public <K> MutableObjectIntMap<K> withInitialCapacity(int capacity)
Description copied from interface:MutableObjectIntMapFactory
Same asMutableObjectIntMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableObjectIntMapFactory
-
ofAll
public <K> MutableObjectIntMap<K> ofAll(ObjectIntMap<? extends K> map)
Description copied from interface:MutableObjectIntMapFactory
- Specified by:
ofAll
in interfaceMutableObjectIntMapFactory
-
withAll
public <K> MutableObjectIntMap<K> withAll(ObjectIntMap<? extends K> map)
- Specified by:
withAll
in interfaceMutableObjectIntMapFactory
-
from
public <T,K> MutableObjectIntMap<K> from(java.lang.Iterable<T> iterable, Function<? super T,? extends K> keyFunction, IntFunction<? super T> valueFunction)
Description copied from interface:MutableObjectIntMapFactory
Creates anMutableObjectIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableObjectIntMapFactory
-
-