Class MutableCharIntMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableCharIntMapFactoryImpl
- All Implemented Interfaces:
MutableCharIntMapFactory
MutableCharIntMapFactoryImpl is a factory implementation which creates instances of type
MutableCharIntMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, CharFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableCharIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asMutableCharIntMapFactory.empty().of(char key, int value) of(char key1, int value1, char key2, int value2) of(char key1, int value1, char key2, int value2, char key3, int value3) of(char key1, int value1, char key2, int value2, char key3, int value3, char key4, int value4) ofAll(CharIntMap map) ofInitialCapacity(int capacity) Same asMutableCharIntMapFactory.empty().with()Same asMutableCharIntMapFactory.empty().with(char key, int value) with(char key1, int value1, char key2, int value2) with(char key1, int value1, char key2, int value2, char key3, int value3) with(char key1, int value1, char key2, int value2, char key3, int value3, char key4, int value4) withAll(CharIntMap map) withInitialCapacity(int capacity) Same asMutableCharIntMapFactory.empty().
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableCharIntMapFactoryImpl
public MutableCharIntMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableCharIntMapFactory
-
of
Description copied from interface:MutableCharIntMapFactorySame asMutableCharIntMapFactory.empty().- Specified by:
ofin interfaceMutableCharIntMapFactory
-
with
Description copied from interface:MutableCharIntMapFactorySame asMutableCharIntMapFactory.empty().- Specified by:
within interfaceMutableCharIntMapFactory
-
with
- Specified by:
within interfaceMutableCharIntMapFactory
-
of
- Specified by:
ofin interfaceMutableCharIntMapFactory
-
of
- Specified by:
ofin interfaceMutableCharIntMapFactory
-
with
- Specified by:
within interfaceMutableCharIntMapFactory
-
of
- Specified by:
ofin interfaceMutableCharIntMapFactory
-
with
- Specified by:
within interfaceMutableCharIntMapFactory
-
of
public MutableCharIntMap of(char key1, int value1, char key2, int value2, char key3, int value3, char key4, int value4) - Specified by:
ofin interfaceMutableCharIntMapFactory
-
with
public MutableCharIntMap with(char key1, int value1, char key2, int value2, char key3, int value3, char key4, int value4) - Specified by:
within interfaceMutableCharIntMapFactory
-
ofInitialCapacity
Description copied from interface:MutableCharIntMapFactorySame asMutableCharIntMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableCharIntMapFactory
-
withInitialCapacity
Description copied from interface:MutableCharIntMapFactorySame asMutableCharIntMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableCharIntMapFactory
-
ofAll
Description copied from interface:MutableCharIntMapFactory- Specified by:
ofAllin interfaceMutableCharIntMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableCharIntMapFactory
-
from
public <T> MutableCharIntMap from(Iterable<T> iterable, CharFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Description copied from interface:MutableCharIntMapFactoryCreates anMutableCharIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableCharIntMapFactory
-