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 TypeMethodDescription<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()
.default <K> MutableObjectIntMap<K>
of
(K key, int value) default <K> MutableObjectIntMap<K>
of
(K key1, int value1, K key2, int value2) default <K> MutableObjectIntMap<K>
of
(K key1, int value1, K key2, int value2, K key3, int value3) default <K> MutableObjectIntMap<K>
of
(K key1, int value1, K key2, int value2, K key3, int value3, K key4, int value4) <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()
.default <K> MutableObjectIntMap<K>
with
(K key, int value) default <K> MutableObjectIntMap<K>
with
(K key1, int value1, K key2, int value2) default <K> MutableObjectIntMap<K>
with
(K key1, int value1, K key2, int value2, K key3, int value3) default <K> MutableObjectIntMap<K>
with
(K key1, int value1, K key2, int value2, K key3, int value3, K key4, int value4) <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()
. -
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
default <K> MutableObjectIntMap<K> with(K key1, int value1, K key2, int value2, K key3, int value3, K key4, int value4) - Since:
- 11.1.
-
of
default <K> MutableObjectIntMap<K> of(K key1, int value1, K key2, int value2, K key3, int value3, K key4, int value4) - Since:
- 11.1.
-
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
-