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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Creates anMutableShortDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.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:
empty
in interfaceMutableShortDoubleMapFactory
-
of
Description copied from interface:MutableShortDoubleMapFactory
Same asMutableShortDoubleMapFactory.empty()
.- Specified by:
of
in interfaceMutableShortDoubleMapFactory
-
with
Description copied from interface:MutableShortDoubleMapFactory
Same asMutableShortDoubleMapFactory.empty()
.- Specified by:
with
in interfaceMutableShortDoubleMapFactory
-
with
- Specified by:
with
in interfaceMutableShortDoubleMapFactory
-
of
- Specified by:
of
in interfaceMutableShortDoubleMapFactory
-
of
- Specified by:
of
in interfaceMutableShortDoubleMapFactory
-
with
- Specified by:
with
in interfaceMutableShortDoubleMapFactory
-
of
public MutableShortDoubleMap of(short key1, double value1, short key2, double value2, short key3, double value3) - Specified by:
of
in interfaceMutableShortDoubleMapFactory
-
with
public MutableShortDoubleMap with(short key1, double value1, short key2, double value2, short key3, double value3) - Specified by:
with
in interfaceMutableShortDoubleMapFactory
-
of
public MutableShortDoubleMap of(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4) - Specified by:
of
in interfaceMutableShortDoubleMapFactory
-
with
public MutableShortDoubleMap with(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4) - Specified by:
with
in interfaceMutableShortDoubleMapFactory
-
ofInitialCapacity
Description copied from interface:MutableShortDoubleMapFactory
Same asMutableShortDoubleMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableShortDoubleMapFactory
-
withInitialCapacity
Description copied from interface:MutableShortDoubleMapFactory
Same asMutableShortDoubleMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableShortDoubleMapFactory
-
ofAll
Description copied from interface:MutableShortDoubleMapFactory
- Specified by:
ofAll
in interfaceMutableShortDoubleMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableShortDoubleMapFactory
-
from
public <T> MutableShortDoubleMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Description copied from interface:MutableShortDoubleMapFactory
Creates anMutableShortDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableShortDoubleMapFactory
-