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