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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableShortLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.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:
empty
in interfaceMutableShortLongMapFactory
-
of
Description copied from interface:MutableShortLongMapFactory
Same asMutableShortLongMapFactory.empty()
.- Specified by:
of
in interfaceMutableShortLongMapFactory
-
with
Description copied from interface:MutableShortLongMapFactory
Same asMutableShortLongMapFactory.empty()
.- Specified by:
with
in interfaceMutableShortLongMapFactory
-
with
- Specified by:
with
in interfaceMutableShortLongMapFactory
-
of
- Specified by:
of
in interfaceMutableShortLongMapFactory
-
of
- Specified by:
of
in interfaceMutableShortLongMapFactory
-
with
- Specified by:
with
in interfaceMutableShortLongMapFactory
-
of
public MutableShortLongMap of(short key1, long value1, short key2, long value2, short key3, long value3) - Specified by:
of
in interfaceMutableShortLongMapFactory
-
with
public MutableShortLongMap with(short key1, long value1, short key2, long value2, short key3, long value3) - Specified by:
with
in interfaceMutableShortLongMapFactory
-
of
public MutableShortLongMap of(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4) - Specified by:
of
in interfaceMutableShortLongMapFactory
-
with
public MutableShortLongMap with(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4) - Specified by:
with
in interfaceMutableShortLongMapFactory
-
ofInitialCapacity
Description copied from interface:MutableShortLongMapFactory
Same asMutableShortLongMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableShortLongMapFactory
-
withInitialCapacity
Description copied from interface:MutableShortLongMapFactory
Same asMutableShortLongMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableShortLongMapFactory
-
ofAll
Description copied from interface:MutableShortLongMapFactory
- Specified by:
ofAll
in interfaceMutableShortLongMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableShortLongMapFactory
-
from
public <T> MutableShortLongMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction) Description copied from interface:MutableShortLongMapFactory
Creates anMutableShortLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableShortLongMapFactory
-