Interface MutableDoubleObjectMapFactory
- All Known Implementing Classes:
MutableDoubleObjectMapFactoryImpl
public interface MutableDoubleObjectMapFactory
A factory which creates instances of type
MutableDoubleObjectMap.
This file was automatically generated from template file mutablePrimitiveObjectMapFactory.stg.- Since:
- 6.0.
-
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()Same asempty().default <V> MutableDoubleObjectMap<V>of(double key, V value) default <V> MutableDoubleObjectMap<V>of(double key1, V value1, double key2, V value2) default <V> MutableDoubleObjectMap<V>of(double key1, V value1, double key2, V value2, double key3, V value3) default <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) Same aswithAll(DoubleObjectMap).<V> MutableDoubleObjectMap<V>ofInitialCapacity(int capacity) Same asempty().<V> MutableDoubleObjectMap<V>with()Same asempty().default <V> MutableDoubleObjectMap<V>with(double key, V value) default <V> MutableDoubleObjectMap<V>with(double key1, V value1, double key2, V value2) default <V> MutableDoubleObjectMap<V>with(double key1, V value1, double key2, V value2, double key3, V value3) default <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) Same asempty().
-
Method Details
-
empty
-
of
Same asempty(). -
with
Same asempty(). -
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
default <V> MutableDoubleObjectMap<V> of(double key1, V value1, double key2, V value2, double key3, V value3) - Since:
- 11.1.
-
with
default <V> MutableDoubleObjectMap<V> with(double key1, V value1, double key2, V value2, double key3, V value3) - Since:
- 11.1.
-
of
default <V> MutableDoubleObjectMap<V> of(double key1, V value1, double key2, V value2, double key3, V value3, double key4, V value4) - Since:
- 11.1.
-
with
default <V> MutableDoubleObjectMap<V> with(double key1, V value1, double key2, V value2, double key3, V value3, double key4, V value4) - Since:
- 11.1.
-
ofInitialCapacity
Same asempty(). but takes in an initial capacity -
withInitialCapacity
Same asempty(). but takes in an initial capacity -
ofAll
Same aswithAll(DoubleObjectMap). -
withAll
-
from
<T,V> MutableDoubleObjectMap<V> from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableDoubleObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-