Class MutableShortDoubleMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableShortDoubleMapFactoryImpl
- All Implemented Interfaces:
MutableShortDoubleMapFactory
public class MutableShortDoubleMapFactoryImpl
extends Object
implements MutableShortDoubleMapFactory
MutableShortDoubleMapFactoryImpl is a factory implementation which creates instances of type
MutableShortDoubleMap.
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, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Creates anMutableShortDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asMutableShortDoubleMapFactory.empty().of(short key, double value) of(short key1, double value1, short key2, double value2) of(short key1, double value1, short key2, double value2, short key3, double value3) of(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4) ofAll(ShortDoubleMap map) ofInitialCapacity(int capacity) Same asMutableShortDoubleMapFactory.empty().with()Same asMutableShortDoubleMapFactory.empty().with(short key, double value) with(short key1, double value1, short key2, double value2) with(short key1, double value1, short key2, double value2, short key3, double value3) with(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4) withAll(ShortDoubleMap map) withInitialCapacity(int capacity) Same asMutableShortDoubleMapFactory.empty().
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableShortDoubleMapFactoryImpl
public MutableShortDoubleMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableShortDoubleMapFactory
-
of
Description copied from interface:MutableShortDoubleMapFactorySame asMutableShortDoubleMapFactory.empty().- Specified by:
ofin interfaceMutableShortDoubleMapFactory
-
with
Description copied from interface:MutableShortDoubleMapFactorySame asMutableShortDoubleMapFactory.empty().- Specified by:
within interfaceMutableShortDoubleMapFactory
-
with
- Specified by:
within interfaceMutableShortDoubleMapFactory
-
of
- Specified by:
ofin interfaceMutableShortDoubleMapFactory
-
of
- Specified by:
ofin interfaceMutableShortDoubleMapFactory
-
with
- Specified by:
within interfaceMutableShortDoubleMapFactory
-
of
public MutableShortDoubleMap of(short key1, double value1, short key2, double value2, short key3, double value3) - Specified by:
ofin interfaceMutableShortDoubleMapFactory
-
with
public MutableShortDoubleMap with(short key1, double value1, short key2, double value2, short key3, double value3) - Specified by:
within interfaceMutableShortDoubleMapFactory
-
of
public MutableShortDoubleMap of(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4) - Specified by:
ofin interfaceMutableShortDoubleMapFactory
-
with
public MutableShortDoubleMap with(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4) - Specified by:
within interfaceMutableShortDoubleMapFactory
-
ofInitialCapacity
Description copied from interface:MutableShortDoubleMapFactorySame asMutableShortDoubleMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableShortDoubleMapFactory
-
withInitialCapacity
Description copied from interface:MutableShortDoubleMapFactorySame asMutableShortDoubleMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableShortDoubleMapFactory
-
ofAll
Description copied from interface:MutableShortDoubleMapFactory- Specified by:
ofAllin interfaceMutableShortDoubleMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableShortDoubleMapFactory
-
from
public <T> MutableShortDoubleMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Description copied from interface:MutableShortDoubleMapFactoryCreates anMutableShortDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableShortDoubleMapFactory
-