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 MutableIntFloatMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntFloatMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntFloatMap
empty()
<T> MutableIntFloatMap
from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)
Creates anMutableIntFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableIntFloatMap
of()
Same asMutableIntFloatMapFactory.empty()
.MutableIntFloatMap
of(int key, float value)
MutableIntFloatMap
of(int key1, float value1, int key2, float value2)
MutableIntFloatMap
of(int key1, float value1, int key2, float value2, int key3, float value3)
MutableIntFloatMap
of(int key1, float value1, int key2, float value2, int key3, float value3, int key4, float value4)
MutableIntFloatMap
ofAll(IntFloatMap map)
MutableIntFloatMap
ofInitialCapacity(int capacity)
Same asMutableIntFloatMapFactory.empty()
.MutableIntFloatMap
with()
Same asMutableIntFloatMapFactory.empty()
.MutableIntFloatMap
with(int key, float value)
MutableIntFloatMap
with(int key1, float value1, int key2, float value2)
MutableIntFloatMap
with(int key1, float value1, int key2, float value2, int key3, float value3)
MutableIntFloatMap
with(int key1, float value1, int key2, float value2, int key3, float value3, int key4, float value4)
MutableIntFloatMap
withAll(IntFloatMap map)
MutableIntFloatMap
withInitialCapacity(int capacity)
Same asMutableIntFloatMapFactory.empty()
.
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntFloatMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntFloatMap empty()
- Specified by:
empty
in interfaceMutableIntFloatMapFactory
-
of
public MutableIntFloatMap of()
Description copied from interface:MutableIntFloatMapFactory
Same asMutableIntFloatMapFactory.empty()
.- Specified by:
of
in interfaceMutableIntFloatMapFactory
-
with
public MutableIntFloatMap with()
Description copied from interface:MutableIntFloatMapFactory
Same asMutableIntFloatMapFactory.empty()
.- Specified by:
with
in interfaceMutableIntFloatMapFactory
-
with
public MutableIntFloatMap with(int key, float value)
- Specified by:
with
in interfaceMutableIntFloatMapFactory
-
of
public MutableIntFloatMap of(int key, float value)
- Specified by:
of
in interfaceMutableIntFloatMapFactory
-
of
public MutableIntFloatMap of(int key1, float value1, int key2, float value2)
- Specified by:
of
in interfaceMutableIntFloatMapFactory
-
with
public MutableIntFloatMap with(int key1, float value1, int key2, float value2)
- Specified by:
with
in interfaceMutableIntFloatMapFactory
-
of
public MutableIntFloatMap of(int key1, float value1, int key2, float value2, int key3, float value3)
- Specified by:
of
in interfaceMutableIntFloatMapFactory
-
with
public MutableIntFloatMap with(int key1, float value1, int key2, float value2, int key3, float value3)
- Specified by:
with
in interfaceMutableIntFloatMapFactory
-
of
public MutableIntFloatMap of(int key1, float value1, int key2, float value2, int key3, float value3, int key4, float value4)
- Specified by:
of
in interfaceMutableIntFloatMapFactory
-
with
public MutableIntFloatMap with(int key1, float value1, int key2, float value2, int key3, float value3, int key4, float value4)
- Specified by:
with
in interfaceMutableIntFloatMapFactory
-
ofInitialCapacity
public MutableIntFloatMap ofInitialCapacity(int capacity)
Description copied from interface:MutableIntFloatMapFactory
Same asMutableIntFloatMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableIntFloatMapFactory
-
withInitialCapacity
public MutableIntFloatMap withInitialCapacity(int capacity)
Description copied from interface:MutableIntFloatMapFactory
Same asMutableIntFloatMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableIntFloatMapFactory
-
ofAll
public MutableIntFloatMap ofAll(IntFloatMap map)
Description copied from interface:MutableIntFloatMapFactory
- Specified by:
ofAll
in interfaceMutableIntFloatMapFactory
-
withAll
public MutableIntFloatMap withAll(IntFloatMap map)
- Specified by:
withAll
in interfaceMutableIntFloatMapFactory
-
from
public <T> MutableIntFloatMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)
Description copied from interface:MutableIntFloatMapFactory
Creates anMutableIntFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableIntFloatMapFactory
-
-