Interface MutableShortIntMapFactory
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 anMutableShortIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().default MutableShortIntMapof(short key, int value) default MutableShortIntMapof(short key1, int value1, short key2, int value2) default MutableShortIntMapof(short key1, int value1, short key2, int value2, short key3, int value3) default MutableShortIntMapof(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(). but takes in an initial capacitywith()Same asempty().default MutableShortIntMapwith(short key, int value) default MutableShortIntMapwith(short key1, int value1, short key2, int value2) default MutableShortIntMapwith(short key1, int value1, short key2, int value2, short key3, int value3) default MutableShortIntMapwith(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4) withAll(ShortIntMap map) withInitialCapacity(int capacity) Same asempty(). but takes in an initial capacity
-
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 anMutableShortIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-