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