Class MutableShortIntMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableShortIntMapFactoryImpl
- All Implemented Interfaces:
MutableShortIntMapFactory
MutableShortIntMapFactoryImpl is a factory implementation which creates instances of type
MutableShortIntMap
.
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, IntFunction<? super T> valueFunction) Creates anMutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asMutableShortIntMapFactory.empty()
.of
(short key, int value) of
(short key1, int value1, short key2, int value2) of
(short key1, int value1, short key2, int value2, short key3, int value3) of
(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4) ofAll
(ShortIntMap map) ofInitialCapacity
(int capacity) Same asMutableShortIntMapFactory.empty()
.with()
Same asMutableShortIntMapFactory.empty()
.with
(short key, int value) with
(short key1, int value1, short key2, int value2) with
(short key1, int value1, short key2, int value2, short key3, int value3) with
(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4) withAll
(ShortIntMap map) withInitialCapacity
(int capacity) Same asMutableShortIntMapFactory.empty()
.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableShortIntMapFactoryImpl
public MutableShortIntMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableShortIntMapFactory
-
of
Description copied from interface:MutableShortIntMapFactory
Same asMutableShortIntMapFactory.empty()
.- Specified by:
of
in interfaceMutableShortIntMapFactory
-
with
Description copied from interface:MutableShortIntMapFactory
Same asMutableShortIntMapFactory.empty()
.- Specified by:
with
in interfaceMutableShortIntMapFactory
-
with
- Specified by:
with
in interfaceMutableShortIntMapFactory
-
of
- Specified by:
of
in interfaceMutableShortIntMapFactory
-
of
- Specified by:
of
in interfaceMutableShortIntMapFactory
-
with
- Specified by:
with
in interfaceMutableShortIntMapFactory
-
of
public MutableShortIntMap of(short key1, int value1, short key2, int value2, short key3, int value3) - Specified by:
of
in interfaceMutableShortIntMapFactory
-
with
public MutableShortIntMap with(short key1, int value1, short key2, int value2, short key3, int value3) - Specified by:
with
in interfaceMutableShortIntMapFactory
-
of
public MutableShortIntMap of(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4) - Specified by:
of
in interfaceMutableShortIntMapFactory
-
with
public MutableShortIntMap with(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4) - Specified by:
with
in interfaceMutableShortIntMapFactory
-
ofInitialCapacity
Description copied from interface:MutableShortIntMapFactory
Same asMutableShortIntMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableShortIntMapFactory
-
withInitialCapacity
Description copied from interface:MutableShortIntMapFactory
Same asMutableShortIntMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableShortIntMapFactory
-
ofAll
Description copied from interface:MutableShortIntMapFactory
- Specified by:
ofAll
in interfaceMutableShortIntMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableShortIntMapFactory
-
from
public <T> MutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Description copied from interface:MutableShortIntMapFactory
Creates anMutableShortIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableShortIntMapFactory
-