Class MutableDoubleDoubleMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableDoubleDoubleMapFactoryImpl
- All Implemented Interfaces:
MutableDoubleDoubleMapFactory
public class MutableDoubleDoubleMapFactoryImpl
extends Object
implements MutableDoubleDoubleMapFactory
MutableDoubleDoubleMapFactoryImpl is a factory implementation which creates instances of type
MutableDoubleDoubleMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Creates anMutableDoubleDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
of
(double key, double value) of
(double key1, double value1, double key2, double value2) of
(double key1, double value1, double key2, double value2, double key3, double value3) of
(double key1, double value1, double key2, double value2, double key3, double value3, double key4, double value4) ofAll
(DoubleDoubleMap map) ofInitialCapacity
(int capacity) with()
with
(double key, double value) with
(double key1, double value1, double key2, double value2) with
(double key1, double value1, double key2, double value2, double key3, double value3) with
(double key1, double value1, double key2, double value2, double key3, double value3, double key4, double value4) withAll
(DoubleDoubleMap map) withInitialCapacity
(int capacity)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableDoubleDoubleMapFactoryImpl
public MutableDoubleDoubleMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableDoubleDoubleMapFactory
-
of
Description copied from interface:MutableDoubleDoubleMapFactory
- Specified by:
of
in interfaceMutableDoubleDoubleMapFactory
-
with
Description copied from interface:MutableDoubleDoubleMapFactory
- Specified by:
with
in interfaceMutableDoubleDoubleMapFactory
-
with
- Specified by:
with
in interfaceMutableDoubleDoubleMapFactory
-
of
- Specified by:
of
in interfaceMutableDoubleDoubleMapFactory
-
of
- Specified by:
of
in interfaceMutableDoubleDoubleMapFactory
-
with
- Specified by:
with
in interfaceMutableDoubleDoubleMapFactory
-
of
public MutableDoubleDoubleMap of(double key1, double value1, double key2, double value2, double key3, double value3) - Specified by:
of
in interfaceMutableDoubleDoubleMapFactory
-
with
public MutableDoubleDoubleMap with(double key1, double value1, double key2, double value2, double key3, double value3) - Specified by:
with
in interfaceMutableDoubleDoubleMapFactory
-
of
public MutableDoubleDoubleMap of(double key1, double value1, double key2, double value2, double key3, double value3, double key4, double value4) - Specified by:
of
in interfaceMutableDoubleDoubleMapFactory
-
with
public MutableDoubleDoubleMap with(double key1, double value1, double key2, double value2, double key3, double value3, double key4, double value4) - Specified by:
with
in interfaceMutableDoubleDoubleMapFactory
-
ofInitialCapacity
Description copied from interface:MutableDoubleDoubleMapFactory
Same asMutableDoubleDoubleMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableDoubleDoubleMapFactory
-
withInitialCapacity
Description copied from interface:MutableDoubleDoubleMapFactory
Same asMutableDoubleDoubleMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableDoubleDoubleMapFactory
-
ofAll
Description copied from interface:MutableDoubleDoubleMapFactory
- Specified by:
ofAll
in interfaceMutableDoubleDoubleMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableDoubleDoubleMapFactory
-
from
public <T> MutableDoubleDoubleMap from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Description copied from interface:MutableDoubleDoubleMapFactory
Creates anMutableDoubleDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableDoubleDoubleMapFactory
-