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