Class MutableIntFloatMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableIntFloatMapFactoryImpl
-
- All Implemented Interfaces:
MutableIntFloatMapFactory
public class MutableIntFloatMapFactoryImpl extends java.lang.Object implements MutableIntFloatMapFactory
MutableIntFloatMapFactoryImpl is a factory implementation which creates instances of typeMutableIntFloatMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableIntFloatMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntFloatMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntFloatMapempty()<T> MutableIntFloatMapfrom(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)Creates anMutableIntFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntFloatMapof()Same asMutableIntFloatMapFactory.empty().MutableIntFloatMapof(int key, float value)MutableIntFloatMapof(int key1, float value1, int key2, float value2)MutableIntFloatMapof(int key1, float value1, int key2, float value2, int key3, float value3)MutableIntFloatMapof(int key1, float value1, int key2, float value2, int key3, float value3, int key4, float value4)MutableIntFloatMapofAll(IntFloatMap map)MutableIntFloatMapofInitialCapacity(int capacity)Same asMutableIntFloatMapFactory.empty().MutableIntFloatMapwith()Same asMutableIntFloatMapFactory.empty().MutableIntFloatMapwith(int key, float value)MutableIntFloatMapwith(int key1, float value1, int key2, float value2)MutableIntFloatMapwith(int key1, float value1, int key2, float value2, int key3, float value3)MutableIntFloatMapwith(int key1, float value1, int key2, float value2, int key3, float value3, int key4, float value4)MutableIntFloatMapwithAll(IntFloatMap map)MutableIntFloatMapwithInitialCapacity(int capacity)Same asMutableIntFloatMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntFloatMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntFloatMap empty()
- Specified by:
emptyin interfaceMutableIntFloatMapFactory
-
of
public MutableIntFloatMap of()
Description copied from interface:MutableIntFloatMapFactorySame asMutableIntFloatMapFactory.empty().- Specified by:
ofin interfaceMutableIntFloatMapFactory
-
with
public MutableIntFloatMap with()
Description copied from interface:MutableIntFloatMapFactorySame asMutableIntFloatMapFactory.empty().- Specified by:
within interfaceMutableIntFloatMapFactory
-
with
public MutableIntFloatMap with(int key, float value)
- Specified by:
within interfaceMutableIntFloatMapFactory
-
of
public MutableIntFloatMap of(int key, float value)
- Specified by:
ofin interfaceMutableIntFloatMapFactory
-
of
public MutableIntFloatMap of(int key1, float value1, int key2, float value2)
- Specified by:
ofin interfaceMutableIntFloatMapFactory
-
with
public MutableIntFloatMap with(int key1, float value1, int key2, float value2)
- Specified by:
within interfaceMutableIntFloatMapFactory
-
of
public MutableIntFloatMap of(int key1, float value1, int key2, float value2, int key3, float value3)
- Specified by:
ofin interfaceMutableIntFloatMapFactory
-
with
public MutableIntFloatMap with(int key1, float value1, int key2, float value2, int key3, float value3)
- Specified by:
within interfaceMutableIntFloatMapFactory
-
of
public MutableIntFloatMap of(int key1, float value1, int key2, float value2, int key3, float value3, int key4, float value4)
- Specified by:
ofin interfaceMutableIntFloatMapFactory
-
with
public MutableIntFloatMap with(int key1, float value1, int key2, float value2, int key3, float value3, int key4, float value4)
- Specified by:
within interfaceMutableIntFloatMapFactory
-
ofInitialCapacity
public MutableIntFloatMap ofInitialCapacity(int capacity)
Description copied from interface:MutableIntFloatMapFactorySame asMutableIntFloatMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableIntFloatMapFactory
-
withInitialCapacity
public MutableIntFloatMap withInitialCapacity(int capacity)
Description copied from interface:MutableIntFloatMapFactorySame asMutableIntFloatMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntFloatMapFactory
-
ofAll
public MutableIntFloatMap ofAll(IntFloatMap map)
Description copied from interface:MutableIntFloatMapFactory- Specified by:
ofAllin interfaceMutableIntFloatMapFactory
-
withAll
public MutableIntFloatMap withAll(IntFloatMap map)
- Specified by:
withAllin interfaceMutableIntFloatMapFactory
-
from
public <T> MutableIntFloatMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)
Description copied from interface:MutableIntFloatMapFactoryCreates anMutableIntFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableIntFloatMapFactory
-
-