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