Class MutableCharShortMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableCharShortMapFactoryImpl
- All Implemented Interfaces:
MutableCharShortMapFactory
MutableCharShortMapFactoryImpl is a factory implementation which creates instances of type
MutableCharShortMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, CharFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableCharShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asMutableCharShortMapFactory.empty()
.of
(char key, short value) of
(char key1, short value1, char key2, short value2) of
(char key1, short value1, char key2, short value2, char key3, short value3) of
(char key1, short value1, char key2, short value2, char key3, short value3, char key4, short value4) ofAll
(CharShortMap map) ofInitialCapacity
(int capacity) Same asMutableCharShortMapFactory.empty()
.with()
Same asMutableCharShortMapFactory.empty()
.with
(char key, short value) with
(char key1, short value1, char key2, short value2) with
(char key1, short value1, char key2, short value2, char key3, short value3) with
(char key1, short value1, char key2, short value2, char key3, short value3, char key4, short value4) withAll
(CharShortMap map) withInitialCapacity
(int capacity) Same asMutableCharShortMapFactory.empty()
.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableCharShortMapFactoryImpl
public MutableCharShortMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceMutableCharShortMapFactory
-
of
Description copied from interface:MutableCharShortMapFactory
Same asMutableCharShortMapFactory.empty()
.- Specified by:
of
in interfaceMutableCharShortMapFactory
-
with
Description copied from interface:MutableCharShortMapFactory
Same asMutableCharShortMapFactory.empty()
.- Specified by:
with
in interfaceMutableCharShortMapFactory
-
with
- Specified by:
with
in interfaceMutableCharShortMapFactory
-
of
- Specified by:
of
in interfaceMutableCharShortMapFactory
-
of
- Specified by:
of
in interfaceMutableCharShortMapFactory
-
with
- Specified by:
with
in interfaceMutableCharShortMapFactory
-
of
public MutableCharShortMap of(char key1, short value1, char key2, short value2, char key3, short value3) - Specified by:
of
in interfaceMutableCharShortMapFactory
-
with
public MutableCharShortMap with(char key1, short value1, char key2, short value2, char key3, short value3) - Specified by:
with
in interfaceMutableCharShortMapFactory
-
of
public MutableCharShortMap of(char key1, short value1, char key2, short value2, char key3, short value3, char key4, short value4) - Specified by:
of
in interfaceMutableCharShortMapFactory
-
with
public MutableCharShortMap with(char key1, short value1, char key2, short value2, char key3, short value3, char key4, short value4) - Specified by:
with
in interfaceMutableCharShortMapFactory
-
ofInitialCapacity
Description copied from interface:MutableCharShortMapFactory
Same asMutableCharShortMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableCharShortMapFactory
-
withInitialCapacity
Description copied from interface:MutableCharShortMapFactory
Same asMutableCharShortMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableCharShortMapFactory
-
ofAll
Description copied from interface:MutableCharShortMapFactory
- Specified by:
ofAll
in interfaceMutableCharShortMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableCharShortMapFactory
-
from
public <T> MutableCharShortMap from(Iterable<T> iterable, CharFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Description copied from interface:MutableCharShortMapFactory
Creates anMutableCharShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableCharShortMapFactory
-