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