Class MutableFloatLongMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableFloatLongMapFactoryImpl
-
- All Implemented Interfaces:
MutableFloatLongMapFactory
public class MutableFloatLongMapFactoryImpl extends java.lang.Object implements MutableFloatLongMapFactory
MutableFloatLongMapFactoryImpl is a factory implementation which creates instances of typeMutableFloatLongMap
. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableFloatLongMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableFloatLongMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableFloatLongMap
empty()
<T> MutableFloatLongMap
from(java.lang.Iterable<T> iterable, FloatFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Creates anMutableFloatLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableFloatLongMap
of()
Same asMutableFloatLongMapFactory.empty()
.MutableFloatLongMap
of(float key, long value)
MutableFloatLongMap
of(float key1, long value1, float key2, long value2)
MutableFloatLongMap
of(float key1, long value1, float key2, long value2, float key3, long value3)
MutableFloatLongMap
of(float key1, long value1, float key2, long value2, float key3, long value3, float key4, long value4)
MutableFloatLongMap
ofAll(FloatLongMap map)
MutableFloatLongMap
ofInitialCapacity(int capacity)
Same asMutableFloatLongMapFactory.empty()
.MutableFloatLongMap
with()
Same asMutableFloatLongMapFactory.empty()
.MutableFloatLongMap
with(float key, long value)
MutableFloatLongMap
with(float key1, long value1, float key2, long value2)
MutableFloatLongMap
with(float key1, long value1, float key2, long value2, float key3, long value3)
MutableFloatLongMap
with(float key1, long value1, float key2, long value2, float key3, long value3, float key4, long value4)
MutableFloatLongMap
withAll(FloatLongMap map)
MutableFloatLongMap
withInitialCapacity(int capacity)
Same asMutableFloatLongMapFactory.empty()
.
-
-
-
Field Detail
-
INSTANCE
public static final MutableFloatLongMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableFloatLongMap empty()
- Specified by:
empty
in interfaceMutableFloatLongMapFactory
-
of
public MutableFloatLongMap of()
Description copied from interface:MutableFloatLongMapFactory
Same asMutableFloatLongMapFactory.empty()
.- Specified by:
of
in interfaceMutableFloatLongMapFactory
-
with
public MutableFloatLongMap with()
Description copied from interface:MutableFloatLongMapFactory
Same asMutableFloatLongMapFactory.empty()
.- Specified by:
with
in interfaceMutableFloatLongMapFactory
-
with
public MutableFloatLongMap with(float key, long value)
- Specified by:
with
in interfaceMutableFloatLongMapFactory
-
of
public MutableFloatLongMap of(float key, long value)
- Specified by:
of
in interfaceMutableFloatLongMapFactory
-
of
public MutableFloatLongMap of(float key1, long value1, float key2, long value2)
- Specified by:
of
in interfaceMutableFloatLongMapFactory
-
with
public MutableFloatLongMap with(float key1, long value1, float key2, long value2)
- Specified by:
with
in interfaceMutableFloatLongMapFactory
-
of
public MutableFloatLongMap of(float key1, long value1, float key2, long value2, float key3, long value3)
- Specified by:
of
in interfaceMutableFloatLongMapFactory
-
with
public MutableFloatLongMap with(float key1, long value1, float key2, long value2, float key3, long value3)
- Specified by:
with
in interfaceMutableFloatLongMapFactory
-
of
public MutableFloatLongMap of(float key1, long value1, float key2, long value2, float key3, long value3, float key4, long value4)
- Specified by:
of
in interfaceMutableFloatLongMapFactory
-
with
public MutableFloatLongMap with(float key1, long value1, float key2, long value2, float key3, long value3, float key4, long value4)
- Specified by:
with
in interfaceMutableFloatLongMapFactory
-
ofInitialCapacity
public MutableFloatLongMap ofInitialCapacity(int capacity)
Description copied from interface:MutableFloatLongMapFactory
Same asMutableFloatLongMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableFloatLongMapFactory
-
withInitialCapacity
public MutableFloatLongMap withInitialCapacity(int capacity)
Description copied from interface:MutableFloatLongMapFactory
Same asMutableFloatLongMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableFloatLongMapFactory
-
ofAll
public MutableFloatLongMap ofAll(FloatLongMap map)
Description copied from interface:MutableFloatLongMapFactory
- Specified by:
ofAll
in interfaceMutableFloatLongMapFactory
-
withAll
public MutableFloatLongMap withAll(FloatLongMap map)
- Specified by:
withAll
in interfaceMutableFloatLongMapFactory
-
from
public <T> MutableFloatLongMap from(java.lang.Iterable<T> iterable, FloatFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Description copied from interface:MutableFloatLongMapFactory
Creates anMutableFloatLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableFloatLongMapFactory
-
-