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