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