Class MutableIntObjectMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableIntObjectMapFactoryImpl
-
- All Implemented Interfaces:
MutableIntObjectMapFactory
public class MutableIntObjectMapFactoryImpl extends Object implements MutableIntObjectMapFactory
MutableIntObjectMapFactoryImpl is a factory implementation which creates instances of typeMutableIntObjectMap
. This file was automatically generated from template file mutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableIntObjectMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntObjectMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> MutableIntObjectMap<V>
empty()
<T,V>
MutableIntObjectMap<V>from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
<V> MutableIntObjectMap<V>
of()
<V> MutableIntObjectMap<V>
of(int key, V value)
<V> MutableIntObjectMap<V>
of(int key1, V value1, int key2, V value2)
<V> MutableIntObjectMap<V>
of(int key1, V value1, int key2, V value2, int key3, V value3)
<V> MutableIntObjectMap<V>
of(int key1, V value1, int key2, V value2, int key3, V value3, int key4, V value4)
<V> MutableIntObjectMap<V>
ofAll(IntObjectMap<? extends V> map)
<V> MutableIntObjectMap<V>
ofInitialCapacity(int capacity)
<V> MutableIntObjectMap<V>
with()
<V> MutableIntObjectMap<V>
with(int key, V value)
<V> MutableIntObjectMap<V>
with(int key1, V value1, int key2, V value2)
<V> MutableIntObjectMap<V>
with(int key1, V value1, int key2, V value2, int key3, V value3)
<V> MutableIntObjectMap<V>
with(int key1, V value1, int key2, V value2, int key3, V value3, int key4, V value4)
<V> MutableIntObjectMap<V>
withAll(IntObjectMap<? extends V> map)
<V> MutableIntObjectMap<V>
withInitialCapacity(int capacity)
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntObjectMapFactory INSTANCE
-
-
Method Detail
-
empty
public <V> MutableIntObjectMap<V> empty()
- Specified by:
empty
in interfaceMutableIntObjectMapFactory
-
of
public <V> MutableIntObjectMap<V> of()
- Specified by:
of
in interfaceMutableIntObjectMapFactory
-
with
public <V> MutableIntObjectMap<V> with()
- Specified by:
with
in interfaceMutableIntObjectMapFactory
-
of
public <V> MutableIntObjectMap<V> of(int key, V value)
- Specified by:
of
in interfaceMutableIntObjectMapFactory
-
with
public <V> MutableIntObjectMap<V> with(int key, V value)
- Specified by:
with
in interfaceMutableIntObjectMapFactory
-
of
public <V> MutableIntObjectMap<V> of(int key1, V value1, int key2, V value2)
- Specified by:
of
in interfaceMutableIntObjectMapFactory
-
with
public <V> MutableIntObjectMap<V> with(int key1, V value1, int key2, V value2)
- Specified by:
with
in interfaceMutableIntObjectMapFactory
-
of
public <V> MutableIntObjectMap<V> of(int key1, V value1, int key2, V value2, int key3, V value3)
- Specified by:
of
in interfaceMutableIntObjectMapFactory
-
with
public <V> MutableIntObjectMap<V> with(int key1, V value1, int key2, V value2, int key3, V value3)
- Specified by:
with
in interfaceMutableIntObjectMapFactory
-
of
public <V> MutableIntObjectMap<V> of(int key1, V value1, int key2, V value2, int key3, V value3, int key4, V value4)
- Specified by:
of
in interfaceMutableIntObjectMapFactory
-
with
public <V> MutableIntObjectMap<V> with(int key1, V value1, int key2, V value2, int key3, V value3, int key4, V value4)
- Specified by:
with
in interfaceMutableIntObjectMapFactory
-
ofInitialCapacity
public <V> MutableIntObjectMap<V> ofInitialCapacity(int capacity)
- Specified by:
ofInitialCapacity
in interfaceMutableIntObjectMapFactory
-
withInitialCapacity
public <V> MutableIntObjectMap<V> withInitialCapacity(int capacity)
- Specified by:
withInitialCapacity
in interfaceMutableIntObjectMapFactory
-
ofAll
public <V> MutableIntObjectMap<V> ofAll(IntObjectMap<? extends V> map)
- Specified by:
ofAll
in interfaceMutableIntObjectMapFactory
-
withAll
public <V> MutableIntObjectMap<V> withAll(IntObjectMap<? extends V> map)
- Specified by:
withAll
in interfaceMutableIntObjectMapFactory
-
from
public <T,V> MutableIntObjectMap<V> from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
- Specified by:
from
in interfaceMutableIntObjectMapFactory
-
-