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
Fields -
Constructor Summary
Constructors -
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 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:
emptyin interfaceMutableIntObjectMapFactory
-
of
Description copied from interface:MutableIntObjectMapFactorySame asMutableIntObjectMapFactory.empty().- Specified by:
ofin interfaceMutableIntObjectMapFactory
-
with
Description copied from interface:MutableIntObjectMapFactorySame asMutableIntObjectMapFactory.empty().- Specified by:
within interfaceMutableIntObjectMapFactory
-
of
- Specified by:
ofin interfaceMutableIntObjectMapFactory
-
with
- Specified by:
within interfaceMutableIntObjectMapFactory
-
of
- Specified by:
ofin interfaceMutableIntObjectMapFactory
-
with
- Specified by:
within interfaceMutableIntObjectMapFactory
-
of
- Specified by:
ofin interfaceMutableIntObjectMapFactory
-
with
- Specified by:
within 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:
ofin 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:
within interfaceMutableIntObjectMapFactory
-
ofInitialCapacity
Description copied from interface:MutableIntObjectMapFactorySame asMutableIntObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableIntObjectMapFactory
-
withInitialCapacity
Description copied from interface:MutableIntObjectMapFactorySame asMutableIntObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntObjectMapFactory
-
ofAll
Description copied from interface:MutableIntObjectMapFactory- Specified by:
ofAllin interfaceMutableIntObjectMapFactory
-
withAll
- Specified by:
withAllin 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:MutableIntObjectMapFactoryCreates anMutableIntObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableIntObjectMapFactory
-