Class MutableCharObjectMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableCharObjectMapFactoryImpl
- All Implemented Interfaces:
MutableCharObjectMapFactory
MutableCharObjectMapFactoryImpl is a factory implementation which creates instances of type
MutableCharObjectMap.
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> MutableCharObjectMap<V>empty()<T,V> MutableCharObjectMap<V> from(Iterable<T> iterable, CharFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableCharObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<V> MutableCharObjectMap<V>of()Same asMutableCharObjectMapFactory.empty().<V> MutableCharObjectMap<V>of(char key, V value) <V> MutableCharObjectMap<V>of(char key1, V value1, char key2, V value2) <V> MutableCharObjectMap<V>of(char key1, V value1, char key2, V value2, char key3, V value3) <V> MutableCharObjectMap<V>of(char key1, V value1, char key2, V value2, char key3, V value3, char key4, V value4) <V> MutableCharObjectMap<V>ofAll(CharObjectMap<? extends V> map) <V> MutableCharObjectMap<V>ofInitialCapacity(int capacity) Same asMutableCharObjectMapFactory.empty().<V> MutableCharObjectMap<V>with()Same asMutableCharObjectMapFactory.empty().<V> MutableCharObjectMap<V>with(char key, V value) <V> MutableCharObjectMap<V>with(char key1, V value1, char key2, V value2) <V> MutableCharObjectMap<V>with(char key1, V value1, char key2, V value2, char key3, V value3) <V> MutableCharObjectMap<V>with(char key1, V value1, char key2, V value2, char key3, V value3, char key4, V value4) <V> MutableCharObjectMap<V>withAll(CharObjectMap<? extends V> map) <V> MutableCharObjectMap<V>withInitialCapacity(int capacity) Same asMutableCharObjectMapFactory.empty().
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableCharObjectMapFactoryImpl
public MutableCharObjectMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableCharObjectMapFactory
-
of
Description copied from interface:MutableCharObjectMapFactorySame asMutableCharObjectMapFactory.empty().- Specified by:
ofin interfaceMutableCharObjectMapFactory
-
with
Description copied from interface:MutableCharObjectMapFactorySame asMutableCharObjectMapFactory.empty().- Specified by:
within interfaceMutableCharObjectMapFactory
-
of
- Specified by:
ofin interfaceMutableCharObjectMapFactory
-
with
- Specified by:
within interfaceMutableCharObjectMapFactory
-
of
- Specified by:
ofin interfaceMutableCharObjectMapFactory
-
with
- Specified by:
within interfaceMutableCharObjectMapFactory
-
of
public <V> MutableCharObjectMap<V> of(char key1, V value1, char key2, V value2, char key3, V value3) - Specified by:
ofin interfaceMutableCharObjectMapFactory
-
with
public <V> MutableCharObjectMap<V> with(char key1, V value1, char key2, V value2, char key3, V value3) - Specified by:
within interfaceMutableCharObjectMapFactory
-
of
public <V> MutableCharObjectMap<V> of(char key1, V value1, char key2, V value2, char key3, V value3, char key4, V value4) - Specified by:
ofin interfaceMutableCharObjectMapFactory
-
with
public <V> MutableCharObjectMap<V> with(char key1, V value1, char key2, V value2, char key3, V value3, char key4, V value4) - Specified by:
within interfaceMutableCharObjectMapFactory
-
ofInitialCapacity
Description copied from interface:MutableCharObjectMapFactorySame asMutableCharObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableCharObjectMapFactory
-
withInitialCapacity
Description copied from interface:MutableCharObjectMapFactorySame asMutableCharObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableCharObjectMapFactory
-
ofAll
Description copied from interface:MutableCharObjectMapFactory- Specified by:
ofAllin interfaceMutableCharObjectMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableCharObjectMapFactory
-
from
public <T,V> MutableCharObjectMap<V> from(Iterable<T> iterable, CharFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Description copied from interface:MutableCharObjectMapFactoryCreates anMutableCharObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableCharObjectMapFactory
-