Class MutableLongShortMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableLongShortMapFactoryImpl
- All Implemented Interfaces:
MutableLongShortMapFactory
MutableLongShortMapFactoryImpl is a factory implementation which creates instances of type
MutableLongShortMap
.
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, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableLongShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asMutableLongShortMapFactory.empty()
.of
(long key, short value) of
(long key1, short value1, long key2, short value2) of
(long key1, short value1, long key2, short value2, long key3, short value3) of
(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) ofAll
(LongShortMap map) ofInitialCapacity
(int capacity) Same asMutableLongShortMapFactory.empty()
.with()
Same asMutableLongShortMapFactory.empty()
.with
(long key, short value) with
(long key1, short value1, long key2, short value2) with
(long key1, short value1, long key2, short value2, long key3, short value3) with
(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) withAll
(LongShortMap map) withInitialCapacity
(int capacity) Same asMutableLongShortMapFactory.empty()
.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableLongShortMapFactoryImpl
public MutableLongShortMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableLongShortMapFactory
-
of
Description copied from interface:MutableLongShortMapFactory
Same asMutableLongShortMapFactory.empty()
.- Specified by:
of
in interfaceMutableLongShortMapFactory
-
with
Description copied from interface:MutableLongShortMapFactory
Same asMutableLongShortMapFactory.empty()
.- Specified by:
with
in interfaceMutableLongShortMapFactory
-
with
- Specified by:
with
in interfaceMutableLongShortMapFactory
-
of
- Specified by:
of
in interfaceMutableLongShortMapFactory
-
of
- Specified by:
of
in interfaceMutableLongShortMapFactory
-
with
- 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
Description copied from interface:MutableLongShortMapFactory
Same asMutableLongShortMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableLongShortMapFactory
-
withInitialCapacity
Description copied from interface:MutableLongShortMapFactory
Same asMutableLongShortMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableLongShortMapFactory
-
ofAll
Description copied from interface:MutableLongShortMapFactory
- Specified by:
ofAll
in interfaceMutableLongShortMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableLongShortMapFactory
-
from
public <T> MutableLongShortMap from(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
-