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