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