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 MutableShortIntMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableShortIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableShortIntMapempty()<T> MutableShortIntMapfrom(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)MutableShortIntMapof()MutableShortIntMapof(short key, int value)MutableShortIntMapof(short key1, int value1, short key2, int value2)MutableShortIntMapof(short key1, int value1, short key2, int value2, short key3, int value3)MutableShortIntMapof(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4)MutableShortIntMapofAll(ShortIntMap map)MutableShortIntMapofInitialCapacity(int capacity)MutableShortIntMapwith()MutableShortIntMapwith(short key, int value)MutableShortIntMapwith(short key1, int value1, short key2, int value2)MutableShortIntMapwith(short key1, int value1, short key2, int value2, short key3, int value3)MutableShortIntMapwith(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4)MutableShortIntMapwithAll(ShortIntMap map)MutableShortIntMapwithInitialCapacity(int capacity)
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortIntMap empty()
- Specified by:
emptyin interfaceMutableShortIntMapFactory
-
of
public MutableShortIntMap of()
- Specified by:
ofin interfaceMutableShortIntMapFactory
-
with
public MutableShortIntMap with()
- Specified by:
within interfaceMutableShortIntMapFactory
-
with
public MutableShortIntMap with(short key, int value)
- Specified by:
within interfaceMutableShortIntMapFactory
-
of
public MutableShortIntMap of(short key, int value)
- Specified by:
ofin interfaceMutableShortIntMapFactory
-
of
public MutableShortIntMap of(short key1, int value1, short key2, int value2)
- Specified by:
ofin interfaceMutableShortIntMapFactory
-
with
public MutableShortIntMap with(short key1, int value1, short key2, int value2)
- Specified by:
within interfaceMutableShortIntMapFactory
-
of
public MutableShortIntMap of(short key1, int value1, short key2, int value2, short key3, int value3)
- Specified by:
ofin interfaceMutableShortIntMapFactory
-
with
public MutableShortIntMap with(short key1, int value1, short key2, int value2, short key3, int value3)
- Specified by:
within interfaceMutableShortIntMapFactory
-
of
public MutableShortIntMap of(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4)
- Specified by:
ofin interfaceMutableShortIntMapFactory
-
with
public MutableShortIntMap with(short key1, int value1, short key2, int value2, short key3, int value3, short key4, int value4)
- Specified by:
within interfaceMutableShortIntMapFactory
-
ofInitialCapacity
public MutableShortIntMap ofInitialCapacity(int capacity)
- Specified by:
ofInitialCapacityin interfaceMutableShortIntMapFactory
-
withInitialCapacity
public MutableShortIntMap withInitialCapacity(int capacity)
- Specified by:
withInitialCapacityin interfaceMutableShortIntMapFactory
-
ofAll
public MutableShortIntMap ofAll(ShortIntMap map)
- Specified by:
ofAllin interfaceMutableShortIntMapFactory
-
withAll
public MutableShortIntMap withAll(ShortIntMap map)
- Specified by:
withAllin interfaceMutableShortIntMapFactory
-
from
public <T> MutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
- Specified by:
fromin interfaceMutableShortIntMapFactory
-
-