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 MutableIntDoubleMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntDoubleMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntDoubleMapempty()<T> MutableIntDoubleMapfrom(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)Creates anMutableIntDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntDoubleMapof()Same asMutableIntDoubleMapFactory.empty().MutableIntDoubleMapof(int key, double value)MutableIntDoubleMapof(int key1, double value1, int key2, double value2)MutableIntDoubleMapof(int key1, double value1, int key2, double value2, int key3, double value3)MutableIntDoubleMapof(int key1, double value1, int key2, double value2, int key3, double value3, int key4, double value4)MutableIntDoubleMapofAll(IntDoubleMap map)MutableIntDoubleMapofInitialCapacity(int capacity)Same asMutableIntDoubleMapFactory.empty().MutableIntDoubleMapwith()Same asMutableIntDoubleMapFactory.empty().MutableIntDoubleMapwith(int key, double value)MutableIntDoubleMapwith(int key1, double value1, int key2, double value2)MutableIntDoubleMapwith(int key1, double value1, int key2, double value2, int key3, double value3)MutableIntDoubleMapwith(int key1, double value1, int key2, double value2, int key3, double value3, int key4, double value4)MutableIntDoubleMapwithAll(IntDoubleMap map)MutableIntDoubleMapwithInitialCapacity(int capacity)Same asMutableIntDoubleMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntDoubleMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntDoubleMap empty()
- Specified by:
emptyin interfaceMutableIntDoubleMapFactory
-
of
public MutableIntDoubleMap of()
Description copied from interface:MutableIntDoubleMapFactorySame asMutableIntDoubleMapFactory.empty().- Specified by:
ofin interfaceMutableIntDoubleMapFactory
-
with
public MutableIntDoubleMap with()
Description copied from interface:MutableIntDoubleMapFactorySame asMutableIntDoubleMapFactory.empty().- Specified by:
within interfaceMutableIntDoubleMapFactory
-
with
public MutableIntDoubleMap with(int key, double value)
- Specified by:
within interfaceMutableIntDoubleMapFactory
-
of
public MutableIntDoubleMap of(int key, double value)
- Specified by:
ofin interfaceMutableIntDoubleMapFactory
-
of
public MutableIntDoubleMap of(int key1, double value1, int key2, double value2)
- Specified by:
ofin interfaceMutableIntDoubleMapFactory
-
with
public MutableIntDoubleMap with(int key1, double value1, int key2, double value2)
- Specified by:
within interfaceMutableIntDoubleMapFactory
-
of
public MutableIntDoubleMap of(int key1, double value1, int key2, double value2, int key3, double value3)
- Specified by:
ofin interfaceMutableIntDoubleMapFactory
-
with
public MutableIntDoubleMap with(int key1, double value1, int key2, double value2, int key3, double value3)
- Specified by:
within interfaceMutableIntDoubleMapFactory
-
of
public MutableIntDoubleMap of(int key1, double value1, int key2, double value2, int key3, double value3, int key4, double value4)
- Specified by:
ofin interfaceMutableIntDoubleMapFactory
-
with
public MutableIntDoubleMap with(int key1, double value1, int key2, double value2, int key3, double value3, int key4, double value4)
- Specified by:
within interfaceMutableIntDoubleMapFactory
-
ofInitialCapacity
public MutableIntDoubleMap ofInitialCapacity(int capacity)
Description copied from interface:MutableIntDoubleMapFactorySame asMutableIntDoubleMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableIntDoubleMapFactory
-
withInitialCapacity
public MutableIntDoubleMap withInitialCapacity(int capacity)
Description copied from interface:MutableIntDoubleMapFactorySame asMutableIntDoubleMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntDoubleMapFactory
-
ofAll
public MutableIntDoubleMap ofAll(IntDoubleMap map)
Description copied from interface:MutableIntDoubleMapFactory- Specified by:
ofAllin interfaceMutableIntDoubleMapFactory
-
withAll
public MutableIntDoubleMap withAll(IntDoubleMap map)
- Specified by:
withAllin interfaceMutableIntDoubleMapFactory
-
from
public <T> MutableIntDoubleMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
Description copied from interface:MutableIntDoubleMapFactoryCreates anMutableIntDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableIntDoubleMapFactory
-
-