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