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