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