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