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