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 MutableLongShortMapempty()<T> MutableLongShortMapfrom(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongShortMapof()Same asempty().MutableLongShortMapofAll(LongShortMap map)Same aswithAll(LongShortMap).MutableLongShortMapofInitialCapacity(int capacity)Same asempty().MutableLongShortMapwith()Same asempty().MutableLongShortMapwithAll(LongShortMap map)MutableLongShortMapwithInitialCapacity(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 anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-