Interface MutableLongShortMapFactory
- All Known Implementing Classes:
MutableLongShortMapFactoryImpl
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 anMutableLongShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.default MutableLongShortMap
of
(long key, short value) default MutableLongShortMap
of
(long key1, short value1, long key2, short value2) default MutableLongShortMap
of
(long key1, short value1, long key2, short value2, long key3, short value3) default MutableLongShortMap
of
(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()
.with()
Same asempty()
.default MutableLongShortMap
with
(long key, short value) default MutableLongShortMap
with
(long key1, short value1, long key2, short value2) default MutableLongShortMap
with
(long key1, short value1, long key2, short value2, long key3, short value3) default MutableLongShortMap
with
(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) withAll
(LongShortMap map) withInitialCapacity
(int capacity) Same asempty()
.
-
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 anMutableLongShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-