Interface MutableIntShortMapFactory
- All Known Implementing Classes:
MutableIntShortMapFactoryImpl
public interface MutableIntShortMapFactory
A factory which creates instances of type
MutableIntShortMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableIntShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.default MutableIntShortMap
of
(int key, short value) default MutableIntShortMap
of
(int key1, short value1, int key2, short value2) default MutableIntShortMap
of
(int key1, short value1, int key2, short value2, int key3, short value3) default MutableIntShortMap
of
(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4) ofAll
(IntShortMap map) Same aswithAll(IntShortMap)
.ofInitialCapacity
(int capacity) Same asempty()
.with()
Same asempty()
.default MutableIntShortMap
with
(int key, short value) default MutableIntShortMap
with
(int key1, short value1, int key2, short value2) default MutableIntShortMap
with
(int key1, short value1, int key2, short value2, int key3, short value3) default MutableIntShortMap
with
(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4) withAll
(IntShortMap map) withInitialCapacity
(int capacity) Same asempty()
.
-
Method Details
-
empty
MutableIntShortMap empty() -
of
MutableIntShortMap of()Same asempty()
. -
with
MutableIntShortMap with()Same asempty()
. -
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
default MutableIntShortMap of(int key1, short value1, int key2, short value2, int key3, short value3) - Since:
- 11.1.
-
with
default MutableIntShortMap with(int key1, short value1, int key2, short value2, int key3, short value3) - Since:
- 11.1.
-
of
default MutableIntShortMap of(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4) - Since:
- 11.1.
-
with
default MutableIntShortMap with(int key1, short value1, int key2, short value2, int key3, short value3, int 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(IntShortMap)
. -
withAll
-
from
<T> MutableIntShortMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableIntShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-