Interface MutableDoubleShortMapFactory
public interface MutableDoubleShortMapFactory
A factory which creates instances of type
MutableDoubleShortMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableDoubleShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().default MutableDoubleShortMapof(double key, short value) default MutableDoubleShortMapof(double key1, short value1, double key2, short value2) default MutableDoubleShortMapof(double key1, short value1, double key2, short value2, double key3, short value3) default MutableDoubleShortMapof(double key1, short value1, double key2, short value2, double key3, short value3, double key4, short value4) ofAll(DoubleShortMap map) Same aswithAll(DoubleShortMap).ofInitialCapacity(int capacity) Same asempty(). but takes in an initial capacitywith()Same asempty().default MutableDoubleShortMapwith(double key, short value) default MutableDoubleShortMapwith(double key1, short value1, double key2, short value2) default MutableDoubleShortMapwith(double key1, short value1, double key2, short value2, double key3, short value3) default MutableDoubleShortMapwith(double key1, short value1, double key2, short value2, double key3, short value3, double key4, short value4) withAll(DoubleShortMap map) withInitialCapacity(int capacity) Same asempty(). but takes in an initial capacity
-
Method Details
-
empty
MutableDoubleShortMap empty() -
of
Same asempty(). -
with
MutableDoubleShortMap with()Same asempty(). -
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
default MutableDoubleShortMap of(double key1, short value1, double key2, short value2, double key3, short value3) - Since:
- 11.1.
-
with
default MutableDoubleShortMap with(double key1, short value1, double key2, short value2, double key3, short value3) - Since:
- 11.1.
-
of
default MutableDoubleShortMap of(double key1, short value1, double key2, short value2, double key3, short value3, double key4, short value4) - Since:
- 11.1.
-
with
default MutableDoubleShortMap with(double key1, short value1, double key2, short value2, double key3, short value3, double key4, short 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(DoubleShortMap). -
withAll
-
from
<T> MutableDoubleShortMap from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableDoubleShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-