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 anMutableDoubleShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.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:
emptyin interfaceMutableDoubleShortMapFactory
-
of
Description copied from interface:MutableDoubleShortMapFactorySame asMutableDoubleShortMapFactory.empty().- Specified by:
ofin interfaceMutableDoubleShortMapFactory
-
with
Description copied from interface:MutableDoubleShortMapFactorySame asMutableDoubleShortMapFactory.empty().- Specified by:
within interfaceMutableDoubleShortMapFactory
-
with
- Specified by:
within interfaceMutableDoubleShortMapFactory
-
of
- Specified by:
ofin interfaceMutableDoubleShortMapFactory
-
of
- Specified by:
ofin interfaceMutableDoubleShortMapFactory
-
with
- Specified by:
within interfaceMutableDoubleShortMapFactory
-
of
public MutableDoubleShortMap of(double key1, short value1, double key2, short value2, double key3, short value3) - Specified by:
ofin interfaceMutableDoubleShortMapFactory
-
with
public MutableDoubleShortMap with(double key1, short value1, double key2, short value2, double key3, short value3) - Specified by:
within interfaceMutableDoubleShortMapFactory
-
of
public MutableDoubleShortMap of(double key1, short value1, double key2, short value2, double key3, short value3, double key4, short value4) - Specified by:
ofin interfaceMutableDoubleShortMapFactory
-
with
public MutableDoubleShortMap with(double key1, short value1, double key2, short value2, double key3, short value3, double key4, short value4) - Specified by:
within interfaceMutableDoubleShortMapFactory
-
ofInitialCapacity
Description copied from interface:MutableDoubleShortMapFactorySame asMutableDoubleShortMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableDoubleShortMapFactory
-
withInitialCapacity
Description copied from interface:MutableDoubleShortMapFactorySame asMutableDoubleShortMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableDoubleShortMapFactory
-
ofAll
Description copied from interface:MutableDoubleShortMapFactory- Specified by:
ofAllin interfaceMutableDoubleShortMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableDoubleShortMapFactory
-
from
public <T> MutableDoubleShortMap from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Description copied from interface:MutableDoubleShortMapFactoryCreates anMutableDoubleShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableDoubleShortMapFactory
-