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