Interface MutableIntObjectMapFactory
- All Known Implementing Classes:
MutableIntObjectMapFactoryImpl
public interface MutableIntObjectMapFactory
A factory which creates instances of type
MutableIntObjectMap.
This file was automatically generated from template file mutablePrimitiveObjectMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescription<V> MutableIntObjectMap<V>empty()<T,V> MutableIntObjectMap<V> from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableIntObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<V> MutableIntObjectMap<V>of()Same asempty().<V> MutableIntObjectMap<V>ofAll(IntObjectMap<? extends V> map) Same aswithAll(IntObjectMap).<V> MutableIntObjectMap<V>ofInitialCapacity(int capacity) Same asempty().<V> MutableIntObjectMap<V>with()Same asempty().<V> MutableIntObjectMap<V>withAll(IntObjectMap<? extends V> map) <V> MutableIntObjectMap<V>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(IntObjectMap). -
withAll
-
from
<T,V> MutableIntObjectMap<V> from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableIntObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-