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