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