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