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