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