Class MutableObjectCharMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableObjectCharMapFactoryImpl
- All Implemented Interfaces:
MutableObjectCharMapFactory
MutableObjectCharMapFactoryImpl is a factory implementation which creates instances of type
MutableObjectCharMap.
This file was automatically generated from template file mutableObjectPrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<K> MutableObjectCharMap<K>empty()<T,K> MutableObjectCharMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, CharFunction<? super T> valueFunction) Creates anMutableObjectCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<K> MutableObjectCharMap<K>of()Same asMutableObjectCharMapFactory.empty().<K> MutableObjectCharMap<K>of(K key, char value) <K> MutableObjectCharMap<K>of(K key1, char value1, K key2, char value2) <K> MutableObjectCharMap<K>of(K key1, char value1, K key2, char value2, K key3, char value3) <K> MutableObjectCharMap<K>of(K key1, char value1, K key2, char value2, K key3, char value3, K key4, char value4) <K> MutableObjectCharMap<K>ofAll(ObjectCharMap<? extends K> map) <K> MutableObjectCharMap<K>ofInitialCapacity(int capacity) Same asMutableObjectCharMapFactory.empty().<K> MutableObjectCharMap<K>with()Same asMutableObjectCharMapFactory.empty().<K> MutableObjectCharMap<K>with(K key, char value) <K> MutableObjectCharMap<K>with(K key1, char value1, K key2, char value2) <K> MutableObjectCharMap<K>with(K key1, char value1, K key2, char value2, K key3, char value3) <K> MutableObjectCharMap<K>with(K key1, char value1, K key2, char value2, K key3, char value3, K key4, char value4) <K> MutableObjectCharMap<K>withAll(ObjectCharMap<? extends K> map) <K> MutableObjectCharMap<K>withInitialCapacity(int capacity) Same asMutableObjectCharMapFactory.empty().
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableObjectCharMapFactoryImpl
public MutableObjectCharMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableObjectCharMapFactory
-
of
Description copied from interface:MutableObjectCharMapFactorySame asMutableObjectCharMapFactory.empty().- Specified by:
ofin interfaceMutableObjectCharMapFactory
-
with
Description copied from interface:MutableObjectCharMapFactorySame asMutableObjectCharMapFactory.empty().- Specified by:
within interfaceMutableObjectCharMapFactory
-
of
- Specified by:
ofin interfaceMutableObjectCharMapFactory
-
with
- Specified by:
within interfaceMutableObjectCharMapFactory
-
of
- Specified by:
ofin interfaceMutableObjectCharMapFactory
-
with
- Specified by:
within interfaceMutableObjectCharMapFactory
-
of
public <K> MutableObjectCharMap<K> of(K key1, char value1, K key2, char value2, K key3, char value3) - Specified by:
ofin interfaceMutableObjectCharMapFactory
-
with
public <K> MutableObjectCharMap<K> with(K key1, char value1, K key2, char value2, K key3, char value3) - Specified by:
within interfaceMutableObjectCharMapFactory
-
of
public <K> MutableObjectCharMap<K> of(K key1, char value1, K key2, char value2, K key3, char value3, K key4, char value4) - Specified by:
ofin interfaceMutableObjectCharMapFactory
-
with
public <K> MutableObjectCharMap<K> with(K key1, char value1, K key2, char value2, K key3, char value3, K key4, char value4) - Specified by:
within interfaceMutableObjectCharMapFactory
-
ofInitialCapacity
Description copied from interface:MutableObjectCharMapFactorySame asMutableObjectCharMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableObjectCharMapFactory
-
withInitialCapacity
Description copied from interface:MutableObjectCharMapFactorySame asMutableObjectCharMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableObjectCharMapFactory
-
ofAll
Description copied from interface:MutableObjectCharMapFactory- Specified by:
ofAllin interfaceMutableObjectCharMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableObjectCharMapFactory
-
from
public <T,K> MutableObjectCharMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, CharFunction<? super T> valueFunction) Description copied from interface:MutableObjectCharMapFactoryCreates anMutableObjectCharMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableObjectCharMapFactory
-