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