Interface MutableCharShortMapFactory
-
- All Known Implementing Classes:
MutableCharShortMapFactoryImpl
public interface MutableCharShortMapFactory
A factory which creates instances of typeMutableCharShortMap
. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MutableCharShortMap
empty()
<T> MutableCharShortMap
from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anMutableCharShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableCharShortMap
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)
MutableCharShortMap
ofAll(CharShortMap map)
Same aswithAll(CharShortMap)
.MutableCharShortMap
ofInitialCapacity(int capacity)
Same asempty()
.MutableCharShortMap
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)
MutableCharShortMap
withAll(CharShortMap map)
MutableCharShortMap
withInitialCapacity(int capacity)
Same asempty()
.
-
-
-
Method Detail
-
empty
MutableCharShortMap empty()
-
of
MutableCharShortMap of()
Same asempty()
.
-
with
MutableCharShortMap with()
Same asempty()
.
-
of
default MutableCharShortMap of(char key, short value)
- Since:
- 11.1.
-
with
default MutableCharShortMap with(char key, short value)
- Since:
- 11.1.
-
of
default MutableCharShortMap of(char key1, short value1, char key2, short value2)
- Since:
- 11.1.
-
with
default MutableCharShortMap with(char key1, short value1, char key2, short value2)
- 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
MutableCharShortMap ofInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
withInitialCapacity
MutableCharShortMap withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
ofAll
MutableCharShortMap ofAll(CharShortMap map)
Same aswithAll(CharShortMap)
.
-
withAll
MutableCharShortMap withAll(CharShortMap map)
-
from
<T> MutableCharShortMap from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anMutableCharShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-