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 MutableIntIntMap
empty()
<T> MutableIntIntMap
from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anMutableIntIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.MutableIntIntMap
of()
Same asempty()
.MutableIntIntMap
ofAll(IntIntMap map)
Same aswithAll(IntIntMap)
.MutableIntIntMap
ofInitialCapacity(int capacity)
Same asempty()
.MutableIntIntMap
with()
Same asempty()
.MutableIntIntMap
withAll(IntIntMap map)
MutableIntIntMap
withInitialCapacity(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 anMutableIntIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-