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