Class MutableLongShortMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableLongShortMapFactoryImpl
-
- All Implemented Interfaces:
MutableLongShortMapFactory
public class MutableLongShortMapFactoryImpl extends 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(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
MutableLongShortMap
of()
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)
MutableLongShortMap
with()
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)
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongShortMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableLongShortMap empty()
- Specified by:
empty
in interfaceMutableLongShortMapFactory
-
of
public MutableLongShortMap of()
- Specified by:
of
in interfaceMutableLongShortMapFactory
-
with
public MutableLongShortMap with()
- 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)
- Specified by:
ofInitialCapacity
in interfaceMutableLongShortMapFactory
-
withInitialCapacity
public MutableLongShortMap withInitialCapacity(int capacity)
- Specified by:
withInitialCapacity
in interfaceMutableLongShortMapFactory
-
ofAll
public MutableLongShortMap ofAll(LongShortMap map)
- Specified by:
ofAll
in interfaceMutableLongShortMapFactory
-
withAll
public MutableLongShortMap withAll(LongShortMap map)
- Specified by:
withAll
in interfaceMutableLongShortMapFactory
-
from
public <T> MutableLongShortMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
- Specified by:
from
in interfaceMutableLongShortMapFactory
-
-