Interface MutableShortShortMapFactory
public interface MutableShortShortMapFactory
A factory which creates instances of type
MutableShortShortMap.
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, ShortFunction<? super T> valueFunction) Creates anMutableShortShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().default MutableShortShortMapof(short key, short value) default MutableShortShortMapof(short key1, short value1, short key2, short value2) default MutableShortShortMapof(short key1, short value1, short key2, short value2, short key3, short value3) default MutableShortShortMapof(short key1, short value1, short key2, short value2, short key3, short value3, short key4, short value4) ofAll(ShortShortMap map) Same aswithAll(ShortShortMap).ofInitialCapacity(int capacity) Same asempty(). but takes in an initial capacitywith()Same asempty().default MutableShortShortMapwith(short key, short value) default MutableShortShortMapwith(short key1, short value1, short key2, short value2) default MutableShortShortMapwith(short key1, short value1, short key2, short value2, short key3, short value3) default MutableShortShortMapwith(short key1, short value1, short key2, short value2, short key3, short value3, short key4, short value4) withAll(ShortShortMap map) withInitialCapacity(int capacity) Same asempty(). but takes in an initial capacity
-
Method Details
-
empty
MutableShortShortMap empty() -
of
MutableShortShortMap of()Same asempty(). -
with
MutableShortShortMap with()Same asempty(). -
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
default MutableShortShortMap of(short key1, short value1, short key2, short value2, short key3, short value3) - Since:
- 11.1.
-
with
default MutableShortShortMap with(short key1, short value1, short key2, short value2, short key3, short value3) - Since:
- 11.1.
-
of
default MutableShortShortMap of(short key1, short value1, short key2, short value2, short key3, short value3, short key4, short value4) - Since:
- 11.1.
-
with
default MutableShortShortMap with(short key1, short value1, short key2, short value2, short key3, short value3, short 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(ShortShortMap). -
withAll
-
from
<T> MutableShortShortMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableShortShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-