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