Class MutableLongIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableLongIntMapFactoryImpl
-
- All Implemented Interfaces:
MutableLongIntMapFactory
public class MutableLongIntMapFactoryImpl extends java.lang.Object implements MutableLongIntMapFactory
MutableLongIntMapFactoryImpl is a factory implementation which creates instances of typeMutableLongIntMap
. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableLongIntMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableLongIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableLongIntMap
empty()
<T> MutableLongIntMap
from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anMutableLongIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableLongIntMap
of()
Same asMutableLongIntMapFactory.empty()
.MutableLongIntMap
of(long key, int value)
MutableLongIntMap
of(long key1, int value1, long key2, int value2)
MutableLongIntMap
of(long key1, int value1, long key2, int value2, long key3, int value3)
MutableLongIntMap
of(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4)
MutableLongIntMap
ofAll(LongIntMap map)
MutableLongIntMap
ofInitialCapacity(int capacity)
Same asMutableLongIntMapFactory.empty()
.MutableLongIntMap
with()
Same asMutableLongIntMapFactory.empty()
.MutableLongIntMap
with(long key, int value)
MutableLongIntMap
with(long key1, int value1, long key2, int value2)
MutableLongIntMap
with(long key1, int value1, long key2, int value2, long key3, int value3)
MutableLongIntMap
with(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4)
MutableLongIntMap
withAll(LongIntMap map)
MutableLongIntMap
withInitialCapacity(int capacity)
Same asMutableLongIntMapFactory.empty()
.
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableLongIntMap empty()
- Specified by:
empty
in interfaceMutableLongIntMapFactory
-
of
public MutableLongIntMap of()
Description copied from interface:MutableLongIntMapFactory
Same asMutableLongIntMapFactory.empty()
.- Specified by:
of
in interfaceMutableLongIntMapFactory
-
with
public MutableLongIntMap with()
Description copied from interface:MutableLongIntMapFactory
Same asMutableLongIntMapFactory.empty()
.- Specified by:
with
in interfaceMutableLongIntMapFactory
-
with
public MutableLongIntMap with(long key, int value)
- Specified by:
with
in interfaceMutableLongIntMapFactory
-
of
public MutableLongIntMap of(long key, int value)
- Specified by:
of
in interfaceMutableLongIntMapFactory
-
of
public MutableLongIntMap of(long key1, int value1, long key2, int value2)
- Specified by:
of
in interfaceMutableLongIntMapFactory
-
with
public MutableLongIntMap with(long key1, int value1, long key2, int value2)
- Specified by:
with
in interfaceMutableLongIntMapFactory
-
of
public MutableLongIntMap of(long key1, int value1, long key2, int value2, long key3, int value3)
- Specified by:
of
in interfaceMutableLongIntMapFactory
-
with
public MutableLongIntMap with(long key1, int value1, long key2, int value2, long key3, int value3)
- Specified by:
with
in interfaceMutableLongIntMapFactory
-
of
public MutableLongIntMap of(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4)
- Specified by:
of
in interfaceMutableLongIntMapFactory
-
with
public MutableLongIntMap with(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4)
- Specified by:
with
in interfaceMutableLongIntMapFactory
-
ofInitialCapacity
public MutableLongIntMap ofInitialCapacity(int capacity)
Description copied from interface:MutableLongIntMapFactory
Same asMutableLongIntMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableLongIntMapFactory
-
withInitialCapacity
public MutableLongIntMap withInitialCapacity(int capacity)
Description copied from interface:MutableLongIntMapFactory
Same asMutableLongIntMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableLongIntMapFactory
-
ofAll
public MutableLongIntMap ofAll(LongIntMap map)
Description copied from interface:MutableLongIntMapFactory
- Specified by:
ofAll
in interfaceMutableLongIntMapFactory
-
withAll
public MutableLongIntMap withAll(LongIntMap map)
- Specified by:
withAll
in interfaceMutableLongIntMapFactory
-
from
public <T> MutableLongIntMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Description copied from interface:MutableLongIntMapFactory
Creates anMutableLongIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableLongIntMapFactory
-
-