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