Interface MutableShortIntMapFactory
- All Known Implementing Classes:
MutableShortIntMapFactoryImpl
public interface MutableShortIntMapFactory
A factory which creates instances of type
MutableShortIntMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and Type Method Description MutableShortIntMap
empty()
<T> MutableShortIntMap
from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anMutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableShortIntMap
of()
Same asempty()
.MutableShortIntMap
ofAll(ShortIntMap map)
Same aswithAll(ShortIntMap)
.MutableShortIntMap
ofInitialCapacity(int capacity)
Same asempty()
.MutableShortIntMap
with()
Same asempty()
.MutableShortIntMap
withAll(ShortIntMap map)
MutableShortIntMap
withInitialCapacity(int capacity)
Same asempty()
.
-
Method Details
-
empty
MutableShortIntMap empty() -
of
MutableShortIntMap of()Same asempty()
. -
with
MutableShortIntMap with()Same asempty()
. -
ofInitialCapacity
Same asempty()
. but takes in an initial capacity -
withInitialCapacity
Same asempty()
. but takes in an initial capacity -
ofAll
Same aswithAll(ShortIntMap)
. -
withAll
-
from
<T> MutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Creates anMutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-