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