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