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