Interface MutableIntIntMapFactory
- All Known Implementing Classes:
MutableIntIntMapFactoryImpl
public interface MutableIntIntMapFactory
A factory which creates instances of type
MutableIntIntMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and Type Method Description MutableIntIntMapempty()<T> MutableIntIntMapfrom(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Creates anMutableIntIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntIntMapof()Same asempty().MutableIntIntMapofAll(IntIntMap map)Same aswithAll(IntIntMap).MutableIntIntMapofInitialCapacity(int capacity)Same asempty().MutableIntIntMapwith()Same asempty().MutableIntIntMapwithAll(IntIntMap map)MutableIntIntMapwithInitialCapacity(int capacity)Same asempty().
-
Method Details
-
empty
MutableIntIntMap empty() -
of
MutableIntIntMap of()Same asempty(). -
with
MutableIntIntMap with()Same asempty(). -
ofInitialCapacity
Same asempty(). but takes in an initial capacity -
withInitialCapacity
Same asempty(). but takes in an initial capacity -
ofAll
Same aswithAll(IntIntMap). -
withAll
-
from
<T> MutableIntIntMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Creates anMutableIntIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-