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