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> MutableIntIntMapfrom(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableIntIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.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:
emptyin interfaceMutableIntIntMapFactory
-
of
Description copied from interface:MutableIntIntMapFactorySame asMutableIntIntMapFactory.empty().- Specified by:
ofin interfaceMutableIntIntMapFactory
-
with
Description copied from interface:MutableIntIntMapFactorySame asMutableIntIntMapFactory.empty().- Specified by:
within interfaceMutableIntIntMapFactory
-
with
- Specified by:
within interfaceMutableIntIntMapFactory
-
of
- Specified by:
ofin interfaceMutableIntIntMapFactory
-
of
- Specified by:
ofin interfaceMutableIntIntMapFactory
-
with
- Specified by:
within interfaceMutableIntIntMapFactory
-
of
- Specified by:
ofin interfaceMutableIntIntMapFactory
-
with
- Specified by:
within interfaceMutableIntIntMapFactory
-
of
public MutableIntIntMap of(int key1, int value1, int key2, int value2, int key3, int value3, int key4, int value4) - Specified by:
ofin interfaceMutableIntIntMapFactory
-
with
public MutableIntIntMap with(int key1, int value1, int key2, int value2, int key3, int value3, int key4, int value4) - Specified by:
within interfaceMutableIntIntMapFactory
-
ofInitialCapacity
Description copied from interface:MutableIntIntMapFactorySame asMutableIntIntMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableIntIntMapFactory
-
withInitialCapacity
Description copied from interface:MutableIntIntMapFactorySame asMutableIntIntMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntIntMapFactory
-
ofAll
Description copied from interface:MutableIntIntMapFactory- Specified by:
ofAllin interfaceMutableIntIntMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableIntIntMapFactory
-
from
public <T> MutableIntIntMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Description copied from interface:MutableIntIntMapFactoryCreates anMutableIntIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableIntIntMapFactory
-