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