Class MutableShortDoubleMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableShortDoubleMapFactoryImpl
-
- All Implemented Interfaces:
MutableShortDoubleMapFactory
public class MutableShortDoubleMapFactoryImpl extends java.lang.Object implements MutableShortDoubleMapFactory
MutableShortDoubleMapFactoryImpl is a factory implementation which creates instances of typeMutableShortDoubleMap
. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableShortDoubleMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableShortDoubleMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableShortDoubleMap
empty()
<T> MutableShortDoubleMap
from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
Creates anMutableShortDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableShortDoubleMap
of()
Same asMutableShortDoubleMapFactory.empty()
.MutableShortDoubleMap
of(short key, double value)
MutableShortDoubleMap
of(short key1, double value1, short key2, double value2)
MutableShortDoubleMap
of(short key1, double value1, short key2, double value2, short key3, double value3)
MutableShortDoubleMap
of(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4)
MutableShortDoubleMap
ofAll(ShortDoubleMap map)
MutableShortDoubleMap
ofInitialCapacity(int capacity)
Same asMutableShortDoubleMapFactory.empty()
.MutableShortDoubleMap
with()
Same asMutableShortDoubleMapFactory.empty()
.MutableShortDoubleMap
with(short key, double value)
MutableShortDoubleMap
with(short key1, double value1, short key2, double value2)
MutableShortDoubleMap
with(short key1, double value1, short key2, double value2, short key3, double value3)
MutableShortDoubleMap
with(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4)
MutableShortDoubleMap
withAll(ShortDoubleMap map)
MutableShortDoubleMap
withInitialCapacity(int capacity)
Same asMutableShortDoubleMapFactory.empty()
.
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortDoubleMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortDoubleMap empty()
- Specified by:
empty
in interfaceMutableShortDoubleMapFactory
-
of
public MutableShortDoubleMap of()
Description copied from interface:MutableShortDoubleMapFactory
Same asMutableShortDoubleMapFactory.empty()
.- Specified by:
of
in interfaceMutableShortDoubleMapFactory
-
with
public MutableShortDoubleMap with()
Description copied from interface:MutableShortDoubleMapFactory
Same asMutableShortDoubleMapFactory.empty()
.- Specified by:
with
in interfaceMutableShortDoubleMapFactory
-
with
public MutableShortDoubleMap with(short key, double value)
- Specified by:
with
in interfaceMutableShortDoubleMapFactory
-
of
public MutableShortDoubleMap of(short key, double value)
- Specified by:
of
in interfaceMutableShortDoubleMapFactory
-
of
public MutableShortDoubleMap of(short key1, double value1, short key2, double value2)
- Specified by:
of
in interfaceMutableShortDoubleMapFactory
-
with
public MutableShortDoubleMap with(short key1, double value1, short key2, double value2)
- 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
public MutableShortDoubleMap ofInitialCapacity(int capacity)
Description copied from interface:MutableShortDoubleMapFactory
Same asMutableShortDoubleMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableShortDoubleMapFactory
-
withInitialCapacity
public MutableShortDoubleMap withInitialCapacity(int capacity)
Description copied from interface:MutableShortDoubleMapFactory
Same asMutableShortDoubleMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableShortDoubleMapFactory
-
ofAll
public MutableShortDoubleMap ofAll(ShortDoubleMap map)
Description copied from interface:MutableShortDoubleMapFactory
- Specified by:
ofAll
in interfaceMutableShortDoubleMapFactory
-
withAll
public MutableShortDoubleMap withAll(ShortDoubleMap map)
- Specified by:
withAll
in interfaceMutableShortDoubleMapFactory
-
from
public <T> MutableShortDoubleMap from(java.lang.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
-
-