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 anMutableShortByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.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:
empty
in interfaceMutableShortByteMapFactory
-
of
Description copied from interface:MutableShortByteMapFactory
Same asMutableShortByteMapFactory.empty()
.- Specified by:
of
in interfaceMutableShortByteMapFactory
-
with
Description copied from interface:MutableShortByteMapFactory
Same asMutableShortByteMapFactory.empty()
.- Specified by:
with
in interfaceMutableShortByteMapFactory
-
with
- Specified by:
with
in interfaceMutableShortByteMapFactory
-
of
- Specified by:
of
in interfaceMutableShortByteMapFactory
-
of
- Specified by:
of
in interfaceMutableShortByteMapFactory
-
with
- Specified by:
with
in interfaceMutableShortByteMapFactory
-
of
public MutableShortByteMap of(short key1, byte value1, short key2, byte value2, short key3, byte value3) - Specified by:
of
in interfaceMutableShortByteMapFactory
-
with
public MutableShortByteMap with(short key1, byte value1, short key2, byte value2, short key3, byte value3) - Specified by:
with
in interfaceMutableShortByteMapFactory
-
of
public MutableShortByteMap of(short key1, byte value1, short key2, byte value2, short key3, byte value3, short key4, byte value4) - Specified by:
of
in interfaceMutableShortByteMapFactory
-
with
public MutableShortByteMap with(short key1, byte value1, short key2, byte value2, short key3, byte value3, short key4, byte value4) - Specified by:
with
in interfaceMutableShortByteMapFactory
-
ofInitialCapacity
Description copied from interface:MutableShortByteMapFactory
Same asMutableShortByteMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableShortByteMapFactory
-
withInitialCapacity
Description copied from interface:MutableShortByteMapFactory
Same asMutableShortByteMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableShortByteMapFactory
-
ofAll
Description copied from interface:MutableShortByteMapFactory
- Specified by:
ofAll
in interfaceMutableShortByteMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableShortByteMapFactory
-
from
public <T> MutableShortByteMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction) Description copied from interface:MutableShortByteMapFactory
Creates anMutableShortByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableShortByteMapFactory
-