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