Class MutableShortFloatMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableShortFloatMapFactoryImpl
-
- All Implemented Interfaces:
MutableShortFloatMapFactory
public class MutableShortFloatMapFactoryImpl extends java.lang.Object implements MutableShortFloatMapFactory
MutableShortFloatMapFactoryImpl is a factory implementation which creates instances of typeMutableShortFloatMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableShortFloatMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableShortFloatMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableShortFloatMapempty()<T> MutableShortFloatMapfrom(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)Creates anMutableShortFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableShortFloatMapof()Same asMutableShortFloatMapFactory.empty().MutableShortFloatMapof(short key, float value)MutableShortFloatMapof(short key1, float value1, short key2, float value2)MutableShortFloatMapof(short key1, float value1, short key2, float value2, short key3, float value3)MutableShortFloatMapof(short key1, float value1, short key2, float value2, short key3, float value3, short key4, float value4)MutableShortFloatMapofAll(ShortFloatMap map)MutableShortFloatMapofInitialCapacity(int capacity)Same asMutableShortFloatMapFactory.empty().MutableShortFloatMapwith()Same asMutableShortFloatMapFactory.empty().MutableShortFloatMapwith(short key, float value)MutableShortFloatMapwith(short key1, float value1, short key2, float value2)MutableShortFloatMapwith(short key1, float value1, short key2, float value2, short key3, float value3)MutableShortFloatMapwith(short key1, float value1, short key2, float value2, short key3, float value3, short key4, float value4)MutableShortFloatMapwithAll(ShortFloatMap map)MutableShortFloatMapwithInitialCapacity(int capacity)Same asMutableShortFloatMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortFloatMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortFloatMap empty()
- Specified by:
emptyin interfaceMutableShortFloatMapFactory
-
of
public MutableShortFloatMap of()
Description copied from interface:MutableShortFloatMapFactorySame asMutableShortFloatMapFactory.empty().- Specified by:
ofin interfaceMutableShortFloatMapFactory
-
with
public MutableShortFloatMap with()
Description copied from interface:MutableShortFloatMapFactorySame asMutableShortFloatMapFactory.empty().- Specified by:
within interfaceMutableShortFloatMapFactory
-
with
public MutableShortFloatMap with(short key, float value)
- Specified by:
within interfaceMutableShortFloatMapFactory
-
of
public MutableShortFloatMap of(short key, float value)
- Specified by:
ofin interfaceMutableShortFloatMapFactory
-
of
public MutableShortFloatMap of(short key1, float value1, short key2, float value2)
- Specified by:
ofin interfaceMutableShortFloatMapFactory
-
with
public MutableShortFloatMap with(short key1, float value1, short key2, float value2)
- 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
public MutableShortFloatMap ofInitialCapacity(int capacity)
Description copied from interface:MutableShortFloatMapFactorySame asMutableShortFloatMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableShortFloatMapFactory
-
withInitialCapacity
public MutableShortFloatMap withInitialCapacity(int capacity)
Description copied from interface:MutableShortFloatMapFactorySame asMutableShortFloatMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableShortFloatMapFactory
-
ofAll
public MutableShortFloatMap ofAll(ShortFloatMap map)
Description copied from interface:MutableShortFloatMapFactory- Specified by:
ofAllin interfaceMutableShortFloatMapFactory
-
withAll
public MutableShortFloatMap withAll(ShortFloatMap map)
- Specified by:
withAllin interfaceMutableShortFloatMapFactory
-
from
public <T> MutableShortFloatMap from(java.lang.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
-
-