Class MutableLongIntMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableLongIntMapFactoryImpl
- All Implemented Interfaces:
MutableLongIntMapFactory
MutableLongIntMapFactoryImpl is a factory implementation which creates instances of type
MutableLongIntMap.
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, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asMutableLongIntMapFactory.empty().of(long key, int value) of(long key1, int value1, long key2, int value2) of(long key1, int value1, long key2, int value2, long key3, int value3) of(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4) ofAll(LongIntMap map) ofInitialCapacity(int capacity) Same asMutableLongIntMapFactory.empty().with()Same asMutableLongIntMapFactory.empty().with(long key, int value) with(long key1, int value1, long key2, int value2) with(long key1, int value1, long key2, int value2, long key3, int value3) with(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4) withAll(LongIntMap map) withInitialCapacity(int capacity) Same asMutableLongIntMapFactory.empty().
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableLongIntMapFactoryImpl
public MutableLongIntMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableLongIntMapFactory
-
of
Description copied from interface:MutableLongIntMapFactorySame asMutableLongIntMapFactory.empty().- Specified by:
ofin interfaceMutableLongIntMapFactory
-
with
Description copied from interface:MutableLongIntMapFactorySame asMutableLongIntMapFactory.empty().- Specified by:
within interfaceMutableLongIntMapFactory
-
with
- Specified by:
within interfaceMutableLongIntMapFactory
-
of
- Specified by:
ofin interfaceMutableLongIntMapFactory
-
of
- Specified by:
ofin interfaceMutableLongIntMapFactory
-
with
- Specified by:
within interfaceMutableLongIntMapFactory
-
of
- Specified by:
ofin interfaceMutableLongIntMapFactory
-
with
- Specified by:
within interfaceMutableLongIntMapFactory
-
of
public MutableLongIntMap of(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4) - Specified by:
ofin interfaceMutableLongIntMapFactory
-
with
public MutableLongIntMap with(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4) - Specified by:
within interfaceMutableLongIntMapFactory
-
ofInitialCapacity
Description copied from interface:MutableLongIntMapFactorySame asMutableLongIntMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableLongIntMapFactory
-
withInitialCapacity
Description copied from interface:MutableLongIntMapFactorySame asMutableLongIntMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableLongIntMapFactory
-
ofAll
Description copied from interface:MutableLongIntMapFactory- Specified by:
ofAllin interfaceMutableLongIntMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableLongIntMapFactory
-
from
public <T> MutableLongIntMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Description copied from interface:MutableLongIntMapFactoryCreates anMutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableLongIntMapFactory
-