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 MutableShortDoubleMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableShortDoubleMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableShortDoubleMapempty()<T> MutableShortDoubleMapfrom(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)Creates anMutableShortDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableShortDoubleMapof()Same asMutableShortDoubleMapFactory.empty().MutableShortDoubleMapof(short key, double value)MutableShortDoubleMapof(short key1, double value1, short key2, double value2)MutableShortDoubleMapof(short key1, double value1, short key2, double value2, short key3, double value3)MutableShortDoubleMapof(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4)MutableShortDoubleMapofAll(ShortDoubleMap map)MutableShortDoubleMapofInitialCapacity(int capacity)Same asMutableShortDoubleMapFactory.empty().MutableShortDoubleMapwith()Same asMutableShortDoubleMapFactory.empty().MutableShortDoubleMapwith(short key, double value)MutableShortDoubleMapwith(short key1, double value1, short key2, double value2)MutableShortDoubleMapwith(short key1, double value1, short key2, double value2, short key3, double value3)MutableShortDoubleMapwith(short key1, double value1, short key2, double value2, short key3, double value3, short key4, double value4)MutableShortDoubleMapwithAll(ShortDoubleMap map)MutableShortDoubleMapwithInitialCapacity(int capacity)Same asMutableShortDoubleMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortDoubleMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortDoubleMap empty()
- Specified by:
emptyin interfaceMutableShortDoubleMapFactory
-
of
public MutableShortDoubleMap of()
Description copied from interface:MutableShortDoubleMapFactorySame asMutableShortDoubleMapFactory.empty().- Specified by:
ofin interfaceMutableShortDoubleMapFactory
-
with
public MutableShortDoubleMap with()
Description copied from interface:MutableShortDoubleMapFactorySame asMutableShortDoubleMapFactory.empty().- Specified by:
within interfaceMutableShortDoubleMapFactory
-
with
public MutableShortDoubleMap with(short key, double value)
- Specified by:
within interfaceMutableShortDoubleMapFactory
-
of
public MutableShortDoubleMap of(short key, double value)
- Specified by:
ofin interfaceMutableShortDoubleMapFactory
-
of
public MutableShortDoubleMap of(short key1, double value1, short key2, double value2)
- Specified by:
ofin interfaceMutableShortDoubleMapFactory
-
with
public MutableShortDoubleMap with(short key1, double value1, short key2, double value2)
- 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
public MutableShortDoubleMap ofInitialCapacity(int capacity)
Description copied from interface:MutableShortDoubleMapFactorySame asMutableShortDoubleMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableShortDoubleMapFactory
-
withInitialCapacity
public MutableShortDoubleMap withInitialCapacity(int capacity)
Description copied from interface:MutableShortDoubleMapFactorySame asMutableShortDoubleMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableShortDoubleMapFactory
-
ofAll
public MutableShortDoubleMap ofAll(ShortDoubleMap map)
Description copied from interface:MutableShortDoubleMapFactory- Specified by:
ofAllin interfaceMutableShortDoubleMapFactory
-
withAll
public MutableShortDoubleMap withAll(ShortDoubleMap map)
- Specified by:
withAllin interfaceMutableShortDoubleMapFactory
-
from
public <T> MutableShortDoubleMap from(java.lang.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
-
-