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