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