Class MutableShortIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableShortIntMapFactoryImpl
-
- All Implemented Interfaces:
MutableShortIntMapFactory
public class MutableShortIntMapFactoryImpl extends 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(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
MutableShortIntMap
of()
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)
MutableShortIntMap
with()
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)
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortIntMap empty()
- Specified by:
empty
in interfaceMutableShortIntMapFactory
-
of
public MutableShortIntMap of()
- Specified by:
of
in interfaceMutableShortIntMapFactory
-
with
public MutableShortIntMap with()
- 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)
- Specified by:
ofInitialCapacity
in interfaceMutableShortIntMapFactory
-
withInitialCapacity
public MutableShortIntMap withInitialCapacity(int capacity)
- Specified by:
withInitialCapacity
in interfaceMutableShortIntMapFactory
-
ofAll
public MutableShortIntMap ofAll(ShortIntMap map)
- Specified by:
ofAll
in interfaceMutableShortIntMapFactory
-
withAll
public MutableShortIntMap withAll(ShortIntMap map)
- Specified by:
withAll
in interfaceMutableShortIntMapFactory
-
from
public <T> MutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
- Specified by:
from
in interfaceMutableShortIntMapFactory
-
-