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