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