Interface MutableShortIntMapFactory
- All Known Implementing Classes:
MutableShortIntMapFactoryImpl
public interface MutableShortIntMapFactory
A factory which creates instances of type
MutableShortIntMap
.
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, IntFunction<? super T> valueFunction) Creates anMutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.default MutableShortIntMap
of
(short key, int value) default MutableShortIntMap
of
(short key1, int value1, short key2, int value2) default MutableShortIntMap
of
(short key1, int value1, short key2, int value2, short key3, int value3) default MutableShortIntMap
of
(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4) ofAll
(ShortIntMap map) Same aswithAll(ShortIntMap)
.ofInitialCapacity
(int capacity) Same asempty()
.with()
Same asempty()
.default MutableShortIntMap
with
(short key, int value) default MutableShortIntMap
with
(short key1, int value1, short key2, int value2) default MutableShortIntMap
with
(short key1, int value1, short key2, int value2, short key3, int value3) default MutableShortIntMap
with
(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4) withAll
(ShortIntMap map) withInitialCapacity
(int capacity) Same asempty()
.
-
Method Details
-
empty
MutableShortIntMap empty() -
of
MutableShortIntMap of()Same asempty()
. -
with
MutableShortIntMap with()Same asempty()
. -
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
default MutableShortIntMap of(short key1, int value1, short key2, int value2, short key3, int value3) - Since:
- 11.1.
-
with
default MutableShortIntMap with(short key1, int value1, short key2, int value2, short key3, int value3) - Since:
- 11.1.
-
of
default MutableShortIntMap of(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4) - Since:
- 11.1.
-
with
default MutableShortIntMap with(short key1, int value1, short key2, int value2, short key3, int value3, short 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(ShortIntMap)
. -
withAll
-
from
<T> MutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-