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