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 MutableShortIntMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableShortIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableShortIntMapempty()<T> MutableShortIntMapfrom(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Creates anMutableShortIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableShortIntMapof()Same asMutableShortIntMapFactory.empty().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)Same asMutableShortIntMapFactory.empty().MutableShortIntMapwith()Same asMutableShortIntMapFactory.empty().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)Same asMutableShortIntMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortIntMap empty()
- Specified by:
emptyin interfaceMutableShortIntMapFactory
-
of
public MutableShortIntMap of()
Description copied from interface:MutableShortIntMapFactorySame asMutableShortIntMapFactory.empty().- Specified by:
ofin interfaceMutableShortIntMapFactory
-
with
public MutableShortIntMap with()
Description copied from interface:MutableShortIntMapFactorySame asMutableShortIntMapFactory.empty().- 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)
Description copied from interface:MutableShortIntMapFactorySame asMutableShortIntMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableShortIntMapFactory
-
withInitialCapacity
public MutableShortIntMap withInitialCapacity(int capacity)
Description copied from interface:MutableShortIntMapFactorySame asMutableShortIntMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableShortIntMapFactory
-
ofAll
public MutableShortIntMap ofAll(ShortIntMap map)
Description copied from interface:MutableShortIntMapFactory- Specified by:
ofAllin interfaceMutableShortIntMapFactory
-
withAll
public MutableShortIntMap withAll(ShortIntMap map)
- Specified by:
withAllin interfaceMutableShortIntMapFactory
-
from
public <T> MutableShortIntMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Description copied from interface:MutableShortIntMapFactoryCreates anMutableShortIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableShortIntMapFactory
-
-