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 MutableIntShortMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntShortMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntShortMapempty()<T> MutableIntShortMapfrom(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anMutableIntShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntShortMapof()Same asMutableIntShortMapFactory.empty().MutableIntShortMapof(int key, short value)MutableIntShortMapof(int key1, short value1, int key2, short value2)MutableIntShortMapof(int key1, short value1, int key2, short value2, int key3, short value3)MutableIntShortMapof(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4)MutableIntShortMapofAll(IntShortMap map)MutableIntShortMapofInitialCapacity(int capacity)Same asMutableIntShortMapFactory.empty().MutableIntShortMapwith()Same asMutableIntShortMapFactory.empty().MutableIntShortMapwith(int key, short value)MutableIntShortMapwith(int key1, short value1, int key2, short value2)MutableIntShortMapwith(int key1, short value1, int key2, short value2, int key3, short value3)MutableIntShortMapwith(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4)MutableIntShortMapwithAll(IntShortMap map)MutableIntShortMapwithInitialCapacity(int capacity)Same asMutableIntShortMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntShortMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntShortMap empty()
- Specified by:
emptyin interfaceMutableIntShortMapFactory
-
of
public MutableIntShortMap of()
Description copied from interface:MutableIntShortMapFactorySame asMutableIntShortMapFactory.empty().- Specified by:
ofin interfaceMutableIntShortMapFactory
-
with
public MutableIntShortMap with()
Description copied from interface:MutableIntShortMapFactorySame asMutableIntShortMapFactory.empty().- Specified by:
within interfaceMutableIntShortMapFactory
-
with
public MutableIntShortMap with(int key, short value)
- Specified by:
within interfaceMutableIntShortMapFactory
-
of
public MutableIntShortMap of(int key, short value)
- Specified by:
ofin interfaceMutableIntShortMapFactory
-
of
public MutableIntShortMap of(int key1, short value1, int key2, short value2)
- Specified by:
ofin interfaceMutableIntShortMapFactory
-
with
public MutableIntShortMap with(int key1, short value1, int key2, short value2)
- Specified by:
within interfaceMutableIntShortMapFactory
-
of
public MutableIntShortMap of(int key1, short value1, int key2, short value2, int key3, short value3)
- Specified by:
ofin interfaceMutableIntShortMapFactory
-
with
public MutableIntShortMap with(int key1, short value1, int key2, short value2, int key3, short value3)
- Specified by:
within interfaceMutableIntShortMapFactory
-
of
public MutableIntShortMap of(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4)
- Specified by:
ofin interfaceMutableIntShortMapFactory
-
with
public MutableIntShortMap with(int key1, short value1, int key2, short value2, int key3, short value3, int key4, short value4)
- Specified by:
within interfaceMutableIntShortMapFactory
-
ofInitialCapacity
public MutableIntShortMap ofInitialCapacity(int capacity)
Description copied from interface:MutableIntShortMapFactorySame asMutableIntShortMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableIntShortMapFactory
-
withInitialCapacity
public MutableIntShortMap withInitialCapacity(int capacity)
Description copied from interface:MutableIntShortMapFactorySame asMutableIntShortMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntShortMapFactory
-
ofAll
public MutableIntShortMap ofAll(IntShortMap map)
Description copied from interface:MutableIntShortMapFactory- Specified by:
ofAllin interfaceMutableIntShortMapFactory
-
withAll
public MutableIntShortMap withAll(IntShortMap map)
- Specified by:
withAllin interfaceMutableIntShortMapFactory
-
from
public <T> MutableIntShortMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Description copied from interface:MutableIntShortMapFactoryCreates anMutableIntShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableIntShortMapFactory
-
-