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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableIntLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.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:
empty
in interfaceMutableIntLongMapFactory
-
of
Description copied from interface:MutableIntLongMapFactory
Same asMutableIntLongMapFactory.empty()
.- Specified by:
of
in interfaceMutableIntLongMapFactory
-
with
Description copied from interface:MutableIntLongMapFactory
Same asMutableIntLongMapFactory.empty()
.- Specified by:
with
in interfaceMutableIntLongMapFactory
-
with
- Specified by:
with
in interfaceMutableIntLongMapFactory
-
of
- Specified by:
of
in interfaceMutableIntLongMapFactory
-
of
- Specified by:
of
in interfaceMutableIntLongMapFactory
-
with
- Specified by:
with
in interfaceMutableIntLongMapFactory
-
of
- Specified by:
of
in interfaceMutableIntLongMapFactory
-
with
- Specified by:
with
in interfaceMutableIntLongMapFactory
-
of
public MutableIntLongMap of(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4) - Specified by:
of
in interfaceMutableIntLongMapFactory
-
with
public MutableIntLongMap with(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4) - Specified by:
with
in interfaceMutableIntLongMapFactory
-
ofInitialCapacity
Description copied from interface:MutableIntLongMapFactory
Same asMutableIntLongMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableIntLongMapFactory
-
withInitialCapacity
Description copied from interface:MutableIntLongMapFactory
Same asMutableIntLongMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableIntLongMapFactory
-
ofAll
Description copied from interface:MutableIntLongMapFactory
- Specified by:
ofAll
in interfaceMutableIntLongMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableIntLongMapFactory
-
from
public <T> MutableIntLongMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Description copied from interface:MutableIntLongMapFactory
Creates anMutableIntLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableIntLongMapFactory
-