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