Interface MutableLongShortMapFactory
public interface MutableLongShortMapFactory
A factory which creates instances of type
MutableLongShortMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().default MutableLongShortMapof(long key, short value) default MutableLongShortMapof(long key1, short value1, long key2, short value2) default MutableLongShortMapof(long key1, short value1, long key2, short value2, long key3, short value3) default MutableLongShortMapof(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) ofAll(LongShortMap map) Same aswithAll(LongShortMap).ofInitialCapacity(int capacity) Same asempty(). but takes in an initial capacitywith()Same asempty().default MutableLongShortMapwith(long key, short value) default MutableLongShortMapwith(long key1, short value1, long key2, short value2) default MutableLongShortMapwith(long key1, short value1, long key2, short value2, long key3, short value3) default MutableLongShortMapwith(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) withAll(LongShortMap map) withInitialCapacity(int capacity) Same asempty(). but takes in an initial capacity
-
Method Details
-
empty
MutableLongShortMap empty() -
of
MutableLongShortMap of()Same asempty(). -
with
MutableLongShortMap with()Same asempty(). -
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
default MutableLongShortMap of(long key1, short value1, long key2, short value2, long key3, short value3) - Since:
- 11.1.
-
with
default MutableLongShortMap with(long key1, short value1, long key2, short value2, long key3, short value3) - Since:
- 11.1.
-
of
default MutableLongShortMap of(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) - Since:
- 11.1.
-
with
default MutableLongShortMap with(long key1, short value1, long key2, short value2, long key3, short value3, long 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(LongShortMap). -
withAll
-
from
<T> MutableLongShortMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-