Interface MutableShortLongMapFactory
public interface MutableShortLongMapFactory
A factory which creates instances of type
MutableShortLongMap.
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, LongFunction<? super T> valueFunction) Creates anMutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().default MutableShortLongMapof(short key, long value) default MutableShortLongMapof(short key1, long value1, short key2, long value2) default MutableShortLongMapof(short key1, long value1, short key2, long value2, short key3, long value3) default MutableShortLongMapof(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4) ofAll(ShortLongMap map) Same aswithAll(ShortLongMap).ofInitialCapacity(int capacity) Same asempty(). but takes in an initial capacitywith()Same asempty().default MutableShortLongMapwith(short key, long value) default MutableShortLongMapwith(short key1, long value1, short key2, long value2) default MutableShortLongMapwith(short key1, long value1, short key2, long value2, short key3, long value3) default MutableShortLongMapwith(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4) withAll(ShortLongMap map) withInitialCapacity(int capacity) Same asempty(). but takes in an initial capacity
-
Method Details
-
empty
MutableShortLongMap empty() -
of
MutableShortLongMap of()Same asempty(). -
with
MutableShortLongMap with()Same asempty(). -
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
default MutableShortLongMap of(short key1, long value1, short key2, long value2, short key3, long value3) - Since:
- 11.1.
-
with
default MutableShortLongMap with(short key1, long value1, short key2, long value2, short key3, long value3) - Since:
- 11.1.
-
of
default MutableShortLongMap of(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4) - Since:
- 11.1.
-
with
default MutableShortLongMap with(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long 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(ShortLongMap). -
withAll
-
from
<T> MutableShortLongMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-