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 anMutableDoubleObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<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:
emptyin interfaceMutableDoubleObjectMapFactory
-
of
Description copied from interface:MutableDoubleObjectMapFactory- Specified by:
ofin interfaceMutableDoubleObjectMapFactory
-
with
Description copied from interface:MutableDoubleObjectMapFactory- Specified by:
within interfaceMutableDoubleObjectMapFactory
-
of
- Specified by:
ofin interfaceMutableDoubleObjectMapFactory
-
with
- Specified by:
within interfaceMutableDoubleObjectMapFactory
-
of
- Specified by:
ofin interfaceMutableDoubleObjectMapFactory
-
with
- Specified by:
within interfaceMutableDoubleObjectMapFactory
-
of
public <V> MutableDoubleObjectMap<V> of(double key1, V value1, double key2, V value2, double key3, V value3) - Specified by:
ofin interfaceMutableDoubleObjectMapFactory
-
with
public <V> MutableDoubleObjectMap<V> with(double key1, V value1, double key2, V value2, double key3, V value3) - Specified by:
within 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:
ofin 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:
within interfaceMutableDoubleObjectMapFactory
-
ofInitialCapacity
Description copied from interface:MutableDoubleObjectMapFactorySame asMutableDoubleObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableDoubleObjectMapFactory
-
withInitialCapacity
Description copied from interface:MutableDoubleObjectMapFactorySame asMutableDoubleObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableDoubleObjectMapFactory
-
ofAll
Description copied from interface:MutableDoubleObjectMapFactory- Specified by:
ofAllin interfaceMutableDoubleObjectMapFactory
-
withAll
- Specified by:
withAllin 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:MutableDoubleObjectMapFactoryCreates anMutableDoubleObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableDoubleObjectMapFactory
-