Class MutableShortFloatMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableShortFloatMapFactoryImpl
- All Implemented Interfaces:
MutableShortFloatMapFactory
MutableShortFloatMapFactoryImpl is a factory implementation which creates instances of type
MutableShortFloatMap.
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, FloatFunction<? super T> valueFunction) Creates anMutableShortFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asMutableShortFloatMapFactory.empty().of(short key, float value) of(short key1, float value1, short key2, float value2) of(short key1, float value1, short key2, float value2, short key3, float value3) of(short key1, float value1, short key2, float value2, short key3, float value3, short key4, float value4) ofAll(ShortFloatMap map) ofInitialCapacity(int capacity) Same asMutableShortFloatMapFactory.empty().with()Same asMutableShortFloatMapFactory.empty().with(short key, float value) with(short key1, float value1, short key2, float value2) with(short key1, float value1, short key2, float value2, short key3, float value3) with(short key1, float value1, short key2, float value2, short key3, float value3, short key4, float value4) withAll(ShortFloatMap map) withInitialCapacity(int capacity) Same asMutableShortFloatMapFactory.empty().
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableShortFloatMapFactoryImpl
public MutableShortFloatMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableShortFloatMapFactory
-
of
Description copied from interface:MutableShortFloatMapFactorySame asMutableShortFloatMapFactory.empty().- Specified by:
ofin interfaceMutableShortFloatMapFactory
-
with
Description copied from interface:MutableShortFloatMapFactorySame asMutableShortFloatMapFactory.empty().- Specified by:
within interfaceMutableShortFloatMapFactory
-
with
- Specified by:
within interfaceMutableShortFloatMapFactory
-
of
- Specified by:
ofin interfaceMutableShortFloatMapFactory
-
of
- Specified by:
ofin interfaceMutableShortFloatMapFactory
-
with
- Specified by:
within interfaceMutableShortFloatMapFactory
-
of
public MutableShortFloatMap of(short key1, float value1, short key2, float value2, short key3, float value3) - Specified by:
ofin interfaceMutableShortFloatMapFactory
-
with
public MutableShortFloatMap with(short key1, float value1, short key2, float value2, short key3, float value3) - Specified by:
within interfaceMutableShortFloatMapFactory
-
of
public MutableShortFloatMap of(short key1, float value1, short key2, float value2, short key3, float value3, short key4, float value4) - Specified by:
ofin interfaceMutableShortFloatMapFactory
-
with
public MutableShortFloatMap with(short key1, float value1, short key2, float value2, short key3, float value3, short key4, float value4) - Specified by:
within interfaceMutableShortFloatMapFactory
-
ofInitialCapacity
Description copied from interface:MutableShortFloatMapFactorySame asMutableShortFloatMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableShortFloatMapFactory
-
withInitialCapacity
Description copied from interface:MutableShortFloatMapFactorySame asMutableShortFloatMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableShortFloatMapFactory
-
ofAll
Description copied from interface:MutableShortFloatMapFactory- Specified by:
ofAllin interfaceMutableShortFloatMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableShortFloatMapFactory
-
from
public <T> MutableShortFloatMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction) Description copied from interface:MutableShortFloatMapFactoryCreates anMutableShortFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableShortFloatMapFactory
-