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