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 Type Method Description MutableLongShortMap
empty()
<T> MutableLongShortMap
from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anMutableLongShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableLongShortMap
of()
Same asempty()
.MutableLongShortMap
ofAll(LongShortMap map)
Same aswithAll(LongShortMap)
.MutableLongShortMap
ofInitialCapacity(int capacity)
Same asempty()
.MutableLongShortMap
with()
Same asempty()
.MutableLongShortMap
withAll(LongShortMap map)
MutableLongShortMap
withInitialCapacity(int capacity)
Same asempty()
.
-
Method Details
-
empty
MutableLongShortMap empty() -
of
MutableLongShortMap of()Same asempty()
. -
with
MutableLongShortMap with()Same asempty()
. -
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
-