Class MutableIntLongMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableIntLongMapFactoryImpl
- All Implemented Interfaces:
MutableIntLongMapFactory
MutableIntLongMapFactoryImpl is a factory implementation which creates instances of type
MutableIntLongMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableIntLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asMutableIntLongMapFactory.empty().of(int key, long value) of(int key1, long value1, int key2, long value2) of(int key1, long value1, int key2, long value2, int key3, long value3) of(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4) ofAll(IntLongMap map) ofInitialCapacity(int capacity) Same asMutableIntLongMapFactory.empty().with()Same asMutableIntLongMapFactory.empty().with(int key, long value) with(int key1, long value1, int key2, long value2) with(int key1, long value1, int key2, long value2, int key3, long value3) with(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4) withAll(IntLongMap map) withInitialCapacity(int capacity) Same asMutableIntLongMapFactory.empty().
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableIntLongMapFactoryImpl
public MutableIntLongMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableIntLongMapFactory
-
of
Description copied from interface:MutableIntLongMapFactorySame asMutableIntLongMapFactory.empty().- Specified by:
ofin interfaceMutableIntLongMapFactory
-
with
Description copied from interface:MutableIntLongMapFactorySame asMutableIntLongMapFactory.empty().- Specified by:
within interfaceMutableIntLongMapFactory
-
with
- Specified by:
within interfaceMutableIntLongMapFactory
-
of
- Specified by:
ofin interfaceMutableIntLongMapFactory
-
of
- Specified by:
ofin interfaceMutableIntLongMapFactory
-
with
- Specified by:
within interfaceMutableIntLongMapFactory
-
of
- Specified by:
ofin interfaceMutableIntLongMapFactory
-
with
- Specified by:
within interfaceMutableIntLongMapFactory
-
of
public MutableIntLongMap of(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4) - Specified by:
ofin interfaceMutableIntLongMapFactory
-
with
public MutableIntLongMap with(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4) - Specified by:
within interfaceMutableIntLongMapFactory
-
ofInitialCapacity
Description copied from interface:MutableIntLongMapFactorySame asMutableIntLongMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableIntLongMapFactory
-
withInitialCapacity
Description copied from interface:MutableIntLongMapFactorySame asMutableIntLongMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntLongMapFactory
-
ofAll
Description copied from interface:MutableIntLongMapFactory- Specified by:
ofAllin interfaceMutableIntLongMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableIntLongMapFactory
-
from
public <T> MutableIntLongMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Description copied from interface:MutableIntLongMapFactoryCreates anMutableIntLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableIntLongMapFactory
-