Class MutableIntObjectMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableIntObjectMapFactoryImpl
- All Implemented Interfaces:
MutableIntObjectMapFactory
MutableIntObjectMapFactoryImpl is a factory implementation which creates instances of type
MutableIntObjectMap
.
This file was automatically generated from template file mutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
-
Constructor Summary
-
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 anMutableIntObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> MutableIntObjectMap<V>
of()
Same asMutableIntObjectMapFactory.empty()
.<V> MutableIntObjectMap<V>
of
(int key, V value) <V> MutableIntObjectMap<V>
of
(int key1, V value1, int key2, V value2) <V> MutableIntObjectMap<V>
of
(int key1, V value1, int key2, V value2, int key3, V value3) <V> MutableIntObjectMap<V>
of
(int key1, V value1, int key2, V value2, int key3, V value3, int key4, V value4) <V> MutableIntObjectMap<V>
ofAll
(IntObjectMap<? extends V> map) <V> MutableIntObjectMap<V>
ofInitialCapacity
(int capacity) Same asMutableIntObjectMapFactory.empty()
.<V> MutableIntObjectMap<V>
with()
Same asMutableIntObjectMapFactory.empty()
.<V> MutableIntObjectMap<V>
with
(int key, V value) <V> MutableIntObjectMap<V>
with
(int key1, V value1, int key2, V value2) <V> MutableIntObjectMap<V>
with
(int key1, V value1, int key2, V value2, int key3, V value3) <V> MutableIntObjectMap<V>
with
(int key1, V value1, int key2, V value2, int key3, V value3, int key4, V value4) <V> MutableIntObjectMap<V>
withAll
(IntObjectMap<? extends V> map) <V> MutableIntObjectMap<V>
withInitialCapacity
(int capacity) Same asMutableIntObjectMapFactory.empty()
.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableIntObjectMapFactoryImpl
public MutableIntObjectMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableIntObjectMapFactory
-
of
Description copied from interface:MutableIntObjectMapFactory
Same asMutableIntObjectMapFactory.empty()
.- Specified by:
of
in interfaceMutableIntObjectMapFactory
-
with
Description copied from interface:MutableIntObjectMapFactory
Same asMutableIntObjectMapFactory.empty()
.- Specified by:
with
in interfaceMutableIntObjectMapFactory
-
of
- Specified by:
of
in interfaceMutableIntObjectMapFactory
-
with
- Specified by:
with
in interfaceMutableIntObjectMapFactory
-
of
- Specified by:
of
in interfaceMutableIntObjectMapFactory
-
with
- Specified by:
with
in interfaceMutableIntObjectMapFactory
-
of
- Specified by:
of
in interfaceMutableIntObjectMapFactory
-
with
- Specified by:
with
in interfaceMutableIntObjectMapFactory
-
of
public <V> MutableIntObjectMap<V> of(int key1, V value1, int key2, V value2, int key3, V value3, int key4, V value4) - Specified by:
of
in interfaceMutableIntObjectMapFactory
-
with
public <V> MutableIntObjectMap<V> with(int key1, V value1, int key2, V value2, int key3, V value3, int key4, V value4) - Specified by:
with
in interfaceMutableIntObjectMapFactory
-
ofInitialCapacity
Description copied from interface:MutableIntObjectMapFactory
Same asMutableIntObjectMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableIntObjectMapFactory
-
withInitialCapacity
Description copied from interface:MutableIntObjectMapFactory
Same asMutableIntObjectMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableIntObjectMapFactory
-
ofAll
Description copied from interface:MutableIntObjectMapFactory
- Specified by:
ofAll
in interfaceMutableIntObjectMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableIntObjectMapFactory
-
from
public <T,V> MutableIntObjectMap<V> from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Description copied from interface:MutableIntObjectMapFactory
Creates anMutableIntObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableIntObjectMapFactory
-