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