Class MutableShortLongMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableShortLongMapFactoryImpl
-
- All Implemented Interfaces:
MutableShortLongMapFactory
public class MutableShortLongMapFactoryImpl extends java.lang.Object implements MutableShortLongMapFactory
MutableShortLongMapFactoryImpl is a factory implementation which creates instances of typeMutableShortLongMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableShortLongMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableShortLongMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableShortLongMapempty()<T> MutableShortLongMapfrom(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anMutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableShortLongMapof()Same asMutableShortLongMapFactory.empty().MutableShortLongMapof(short key, long value)MutableShortLongMapof(short key1, long value1, short key2, long value2)MutableShortLongMapof(short key1, long value1, short key2, long value2, short key3, long value3)MutableShortLongMapof(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4)MutableShortLongMapofAll(ShortLongMap map)MutableShortLongMapofInitialCapacity(int capacity)Same asMutableShortLongMapFactory.empty().MutableShortLongMapwith()Same asMutableShortLongMapFactory.empty().MutableShortLongMapwith(short key, long value)MutableShortLongMapwith(short key1, long value1, short key2, long value2)MutableShortLongMapwith(short key1, long value1, short key2, long value2, short key3, long value3)MutableShortLongMapwith(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4)MutableShortLongMapwithAll(ShortLongMap map)MutableShortLongMapwithInitialCapacity(int capacity)Same asMutableShortLongMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableShortLongMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableShortLongMap empty()
- Specified by:
emptyin interfaceMutableShortLongMapFactory
-
of
public MutableShortLongMap of()
Description copied from interface:MutableShortLongMapFactorySame asMutableShortLongMapFactory.empty().- Specified by:
ofin interfaceMutableShortLongMapFactory
-
with
public MutableShortLongMap with()
Description copied from interface:MutableShortLongMapFactorySame asMutableShortLongMapFactory.empty().- Specified by:
within interfaceMutableShortLongMapFactory
-
with
public MutableShortLongMap with(short key, long value)
- Specified by:
within interfaceMutableShortLongMapFactory
-
of
public MutableShortLongMap of(short key, long value)
- Specified by:
ofin interfaceMutableShortLongMapFactory
-
of
public MutableShortLongMap of(short key1, long value1, short key2, long value2)
- Specified by:
ofin interfaceMutableShortLongMapFactory
-
with
public MutableShortLongMap with(short key1, long value1, short key2, long value2)
- Specified by:
within interfaceMutableShortLongMapFactory
-
of
public MutableShortLongMap of(short key1, long value1, short key2, long value2, short key3, long value3)
- Specified by:
ofin interfaceMutableShortLongMapFactory
-
with
public MutableShortLongMap with(short key1, long value1, short key2, long value2, short key3, long value3)
- Specified by:
within interfaceMutableShortLongMapFactory
-
of
public MutableShortLongMap of(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4)
- Specified by:
ofin interfaceMutableShortLongMapFactory
-
with
public MutableShortLongMap with(short key1, long value1, short key2, long value2, short key3, long value3, short key4, long value4)
- Specified by:
within interfaceMutableShortLongMapFactory
-
ofInitialCapacity
public MutableShortLongMap ofInitialCapacity(int capacity)
Description copied from interface:MutableShortLongMapFactorySame asMutableShortLongMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableShortLongMapFactory
-
withInitialCapacity
public MutableShortLongMap withInitialCapacity(int capacity)
Description copied from interface:MutableShortLongMapFactorySame asMutableShortLongMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableShortLongMapFactory
-
ofAll
public MutableShortLongMap ofAll(ShortLongMap map)
Description copied from interface:MutableShortLongMapFactory- Specified by:
ofAllin interfaceMutableShortLongMapFactory
-
withAll
public MutableShortLongMap withAll(ShortLongMap map)
- Specified by:
withAllin interfaceMutableShortLongMapFactory
-
from
public <T> MutableShortLongMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Description copied from interface:MutableShortLongMapFactoryCreates anMutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableShortLongMapFactory
-
-