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