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