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