Class MutableDoubleShortMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableDoubleShortMapFactoryImpl
- All Implemented Interfaces:
MutableDoubleShortMapFactory
public class MutableDoubleShortMapFactoryImpl
extends Object
implements MutableDoubleShortMapFactory
MutableDoubleShortMapFactoryImpl is a factory implementation which creates instances of type
MutableDoubleShortMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableDoubleShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asMutableDoubleShortMapFactory.empty()
.of
(double key, short value) of
(double key1, short value1, double key2, short value2) of
(double key1, short value1, double key2, short value2, double key3, short value3) of
(double key1, short value1, double key2, short value2, double key3, short value3, double key4, short value4) ofAll
(DoubleShortMap map) ofInitialCapacity
(int capacity) Same asMutableDoubleShortMapFactory.empty()
.with()
Same asMutableDoubleShortMapFactory.empty()
.with
(double key, short value) with
(double key1, short value1, double key2, short value2) with
(double key1, short value1, double key2, short value2, double key3, short value3) with
(double key1, short value1, double key2, short value2, double key3, short value3, double key4, short value4) withAll
(DoubleShortMap map) withInitialCapacity
(int capacity) Same asMutableDoubleShortMapFactory.empty()
.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableDoubleShortMapFactoryImpl
public MutableDoubleShortMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableDoubleShortMapFactory
-
of
Description copied from interface:MutableDoubleShortMapFactory
Same asMutableDoubleShortMapFactory.empty()
.- Specified by:
of
in interfaceMutableDoubleShortMapFactory
-
with
Description copied from interface:MutableDoubleShortMapFactory
Same asMutableDoubleShortMapFactory.empty()
.- Specified by:
with
in interfaceMutableDoubleShortMapFactory
-
with
- Specified by:
with
in interfaceMutableDoubleShortMapFactory
-
of
- Specified by:
of
in interfaceMutableDoubleShortMapFactory
-
of
- Specified by:
of
in interfaceMutableDoubleShortMapFactory
-
with
- Specified by:
with
in interfaceMutableDoubleShortMapFactory
-
of
public MutableDoubleShortMap of(double key1, short value1, double key2, short value2, double key3, short value3) - Specified by:
of
in interfaceMutableDoubleShortMapFactory
-
with
public MutableDoubleShortMap with(double key1, short value1, double key2, short value2, double key3, short value3) - Specified by:
with
in interfaceMutableDoubleShortMapFactory
-
of
public MutableDoubleShortMap of(double key1, short value1, double key2, short value2, double key3, short value3, double key4, short value4) - Specified by:
of
in interfaceMutableDoubleShortMapFactory
-
with
public MutableDoubleShortMap with(double key1, short value1, double key2, short value2, double key3, short value3, double key4, short value4) - Specified by:
with
in interfaceMutableDoubleShortMapFactory
-
ofInitialCapacity
Description copied from interface:MutableDoubleShortMapFactory
Same asMutableDoubleShortMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableDoubleShortMapFactory
-
withInitialCapacity
Description copied from interface:MutableDoubleShortMapFactory
Same asMutableDoubleShortMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableDoubleShortMapFactory
-
ofAll
Description copied from interface:MutableDoubleShortMapFactory
- Specified by:
ofAll
in interfaceMutableDoubleShortMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableDoubleShortMapFactory
-
from
public <T> MutableDoubleShortMap from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Description copied from interface:MutableDoubleShortMapFactory
Creates anMutableDoubleShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableDoubleShortMapFactory
-