Interface MutableCharShortMapFactory
- All Known Implementing Classes:
MutableCharShortMapFactoryImpl
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 anMutableCharShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.default MutableCharShortMap
of
(char key, short value) default MutableCharShortMap
of
(char key1, short value1, char key2, short value2) default MutableCharShortMap
of
(char key1, short value1, char key2, short value2, char key3, short value3) default MutableCharShortMap
of
(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()
.with()
Same asempty()
.default MutableCharShortMap
with
(char key, short value) default MutableCharShortMap
with
(char key1, short value1, char key2, short value2) default MutableCharShortMap
with
(char key1, short value1, char key2, short value2, char key3, short value3) default MutableCharShortMap
with
(char key1, short value1, char key2, short value2, char key3, short value3, char key4, short value4) withAll
(CharShortMap map) withInitialCapacity
(int capacity) Same asempty()
.
-
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 anMutableCharShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-