Class MutableLongShortMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableLongShortMapFactoryImpl
- All Implemented Interfaces:
MutableLongShortMapFactory
MutableLongShortMapFactoryImpl is a factory implementation which creates instances of type
MutableLongShortMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Creates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asMutableLongShortMapFactory.empty().of(long key, short value) of(long key1, short value1, long key2, short value2) of(long key1, short value1, long key2, short value2, long key3, short value3) of(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) ofAll(LongShortMap map) ofInitialCapacity(int capacity) Same asMutableLongShortMapFactory.empty().with()Same asMutableLongShortMapFactory.empty().with(long key, short value) with(long key1, short value1, long key2, short value2) with(long key1, short value1, long key2, short value2, long key3, short value3) with(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) withAll(LongShortMap map) withInitialCapacity(int capacity) Same asMutableLongShortMapFactory.empty().
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableLongShortMapFactoryImpl
public MutableLongShortMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableLongShortMapFactory
-
of
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty().- Specified by:
ofin interfaceMutableLongShortMapFactory
-
with
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty().- Specified by:
within interfaceMutableLongShortMapFactory
-
with
- Specified by:
within interfaceMutableLongShortMapFactory
-
of
- Specified by:
ofin interfaceMutableLongShortMapFactory
-
of
- Specified by:
ofin interfaceMutableLongShortMapFactory
-
with
- Specified by:
within interfaceMutableLongShortMapFactory
-
of
public MutableLongShortMap of(long key1, short value1, long key2, short value2, long key3, short value3) - Specified by:
ofin interfaceMutableLongShortMapFactory
-
with
public MutableLongShortMap with(long key1, short value1, long key2, short value2, long key3, short value3) - Specified by:
within interfaceMutableLongShortMapFactory
-
of
public MutableLongShortMap of(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) - Specified by:
ofin interfaceMutableLongShortMapFactory
-
with
public MutableLongShortMap with(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4) - Specified by:
within interfaceMutableLongShortMapFactory
-
ofInitialCapacity
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableLongShortMapFactory
-
withInitialCapacity
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableLongShortMapFactory
-
ofAll
Description copied from interface:MutableLongShortMapFactory- Specified by:
ofAllin interfaceMutableLongShortMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableLongShortMapFactory
-
from
public <T> MutableLongShortMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction) Description copied from interface:MutableLongShortMapFactoryCreates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableLongShortMapFactory
-