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