Class MutableFloatShortMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableFloatShortMapFactoryImpl
-
- All Implemented Interfaces:
MutableFloatShortMapFactory
public class MutableFloatShortMapFactoryImpl extends java.lang.Object implements MutableFloatShortMapFactory
MutableFloatShortMapFactoryImpl is a factory implementation which creates instances of typeMutableFloatShortMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableFloatShortMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableFloatShortMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableFloatShortMapempty()<T> MutableFloatShortMapfrom(java.lang.Iterable<T> iterable, FloatFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anMutableFloatShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableFloatShortMapof()Same asMutableFloatShortMapFactory.empty().MutableFloatShortMapof(float key, short value)MutableFloatShortMapof(float key1, short value1, float key2, short value2)MutableFloatShortMapof(float key1, short value1, float key2, short value2, float key3, short value3)MutableFloatShortMapof(float key1, short value1, float key2, short value2, float key3, short value3, float key4, short value4)MutableFloatShortMapofAll(FloatShortMap map)MutableFloatShortMapofInitialCapacity(int capacity)Same asMutableFloatShortMapFactory.empty().MutableFloatShortMapwith()Same asMutableFloatShortMapFactory.empty().MutableFloatShortMapwith(float key, short value)MutableFloatShortMapwith(float key1, short value1, float key2, short value2)MutableFloatShortMapwith(float key1, short value1, float key2, short value2, float key3, short value3)MutableFloatShortMapwith(float key1, short value1, float key2, short value2, float key3, short value3, float key4, short value4)MutableFloatShortMapwithAll(FloatShortMap map)MutableFloatShortMapwithInitialCapacity(int capacity)Same asMutableFloatShortMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableFloatShortMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableFloatShortMap empty()
- Specified by:
emptyin interfaceMutableFloatShortMapFactory
-
of
public MutableFloatShortMap of()
Description copied from interface:MutableFloatShortMapFactorySame asMutableFloatShortMapFactory.empty().- Specified by:
ofin interfaceMutableFloatShortMapFactory
-
with
public MutableFloatShortMap with()
Description copied from interface:MutableFloatShortMapFactorySame asMutableFloatShortMapFactory.empty().- Specified by:
within interfaceMutableFloatShortMapFactory
-
with
public MutableFloatShortMap with(float key, short value)
- Specified by:
within interfaceMutableFloatShortMapFactory
-
of
public MutableFloatShortMap of(float key, short value)
- Specified by:
ofin interfaceMutableFloatShortMapFactory
-
of
public MutableFloatShortMap of(float key1, short value1, float key2, short value2)
- Specified by:
ofin interfaceMutableFloatShortMapFactory
-
with
public MutableFloatShortMap with(float key1, short value1, float key2, short value2)
- 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
public MutableFloatShortMap ofInitialCapacity(int capacity)
Description copied from interface:MutableFloatShortMapFactorySame asMutableFloatShortMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableFloatShortMapFactory
-
withInitialCapacity
public MutableFloatShortMap withInitialCapacity(int capacity)
Description copied from interface:MutableFloatShortMapFactorySame asMutableFloatShortMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableFloatShortMapFactory
-
ofAll
public MutableFloatShortMap ofAll(FloatShortMap map)
Description copied from interface:MutableFloatShortMapFactory- Specified by:
ofAllin interfaceMutableFloatShortMapFactory
-
withAll
public MutableFloatShortMap withAll(FloatShortMap map)
- Specified by:
withAllin interfaceMutableFloatShortMapFactory
-
from
public <T> MutableFloatShortMap from(java.lang.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
-
-