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 MutableCharDoubleMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableCharDoubleMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableCharDoubleMapempty()<T> MutableCharDoubleMapfrom(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)Creates anMutableCharDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableCharDoubleMapof()Same asMutableCharDoubleMapFactory.empty().MutableCharDoubleMapof(char key, double value)MutableCharDoubleMapof(char key1, double value1, char key2, double value2)MutableCharDoubleMapof(char key1, double value1, char key2, double value2, char key3, double value3)MutableCharDoubleMapof(char key1, double value1, char key2, double value2, char key3, double value3, char key4, double value4)MutableCharDoubleMapofAll(CharDoubleMap map)MutableCharDoubleMapofInitialCapacity(int capacity)Same asMutableCharDoubleMapFactory.empty().MutableCharDoubleMapwith()Same asMutableCharDoubleMapFactory.empty().MutableCharDoubleMapwith(char key, double value)MutableCharDoubleMapwith(char key1, double value1, char key2, double value2)MutableCharDoubleMapwith(char key1, double value1, char key2, double value2, char key3, double value3)MutableCharDoubleMapwith(char key1, double value1, char key2, double value2, char key3, double value3, char key4, double value4)MutableCharDoubleMapwithAll(CharDoubleMap map)MutableCharDoubleMapwithInitialCapacity(int capacity)Same asMutableCharDoubleMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableCharDoubleMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableCharDoubleMap empty()
- Specified by:
emptyin interfaceMutableCharDoubleMapFactory
-
of
public MutableCharDoubleMap of()
Description copied from interface:MutableCharDoubleMapFactorySame asMutableCharDoubleMapFactory.empty().- Specified by:
ofin interfaceMutableCharDoubleMapFactory
-
with
public MutableCharDoubleMap with()
Description copied from interface:MutableCharDoubleMapFactorySame asMutableCharDoubleMapFactory.empty().- Specified by:
within interfaceMutableCharDoubleMapFactory
-
with
public MutableCharDoubleMap with(char key, double value)
- Specified by:
within interfaceMutableCharDoubleMapFactory
-
of
public MutableCharDoubleMap of(char key, double value)
- Specified by:
ofin interfaceMutableCharDoubleMapFactory
-
of
public MutableCharDoubleMap of(char key1, double value1, char key2, double value2)
- Specified by:
ofin interfaceMutableCharDoubleMapFactory
-
with
public MutableCharDoubleMap with(char key1, double value1, char key2, double value2)
- Specified by:
within interfaceMutableCharDoubleMapFactory
-
of
public MutableCharDoubleMap of(char key1, double value1, char key2, double value2, char key3, double value3)
- Specified by:
ofin interfaceMutableCharDoubleMapFactory
-
with
public MutableCharDoubleMap with(char key1, double value1, char key2, double value2, char key3, double value3)
- Specified by:
within interfaceMutableCharDoubleMapFactory
-
of
public MutableCharDoubleMap of(char key1, double value1, char key2, double value2, char key3, double value3, char key4, double value4)
- Specified by:
ofin interfaceMutableCharDoubleMapFactory
-
with
public MutableCharDoubleMap with(char key1, double value1, char key2, double value2, char key3, double value3, char key4, double value4)
- Specified by:
within interfaceMutableCharDoubleMapFactory
-
ofInitialCapacity
public MutableCharDoubleMap ofInitialCapacity(int capacity)
Description copied from interface:MutableCharDoubleMapFactorySame asMutableCharDoubleMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableCharDoubleMapFactory
-
withInitialCapacity
public MutableCharDoubleMap withInitialCapacity(int capacity)
Description copied from interface:MutableCharDoubleMapFactorySame asMutableCharDoubleMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableCharDoubleMapFactory
-
ofAll
public MutableCharDoubleMap ofAll(CharDoubleMap map)
Description copied from interface:MutableCharDoubleMapFactory- Specified by:
ofAllin interfaceMutableCharDoubleMapFactory
-
withAll
public MutableCharDoubleMap withAll(CharDoubleMap map)
- Specified by:
withAllin interfaceMutableCharDoubleMapFactory
-
from
public <T> MutableCharDoubleMap from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
Description copied from interface:MutableCharDoubleMapFactoryCreates anMutableCharDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableCharDoubleMapFactory
-
-