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