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