Class MutableLongShortMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableLongShortMapFactoryImpl
-
- All Implemented Interfaces:
MutableLongShortMapFactory
public class MutableLongShortMapFactoryImpl extends java.lang.Object implements MutableLongShortMapFactory
MutableLongShortMapFactoryImpl is a factory implementation which creates instances of typeMutableLongShortMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableLongShortMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableLongShortMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableLongShortMapempty()<T> MutableLongShortMapfrom(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)Creates anMutableLongShortMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongShortMapof()Same asMutableLongShortMapFactory.empty().MutableLongShortMapof(long key, short value)MutableLongShortMapof(long key1, short value1, long key2, short value2)MutableLongShortMapof(long key1, short value1, long key2, short value2, long key3, short value3)MutableLongShortMapof(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4)MutableLongShortMapofAll(LongShortMap map)MutableLongShortMapofInitialCapacity(int capacity)Same asMutableLongShortMapFactory.empty().MutableLongShortMapwith()Same asMutableLongShortMapFactory.empty().MutableLongShortMapwith(long key, short value)MutableLongShortMapwith(long key1, short value1, long key2, short value2)MutableLongShortMapwith(long key1, short value1, long key2, short value2, long key3, short value3)MutableLongShortMapwith(long key1, short value1, long key2, short value2, long key3, short value3, long key4, short value4)MutableLongShortMapwithAll(LongShortMap map)MutableLongShortMapwithInitialCapacity(int capacity)Same asMutableLongShortMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongShortMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableLongShortMap empty()
- Specified by:
emptyin interfaceMutableLongShortMapFactory
-
of
public MutableLongShortMap of()
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty().- Specified by:
ofin interfaceMutableLongShortMapFactory
-
with
public MutableLongShortMap with()
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty().- Specified by:
within interfaceMutableLongShortMapFactory
-
with
public MutableLongShortMap with(long key, short value)
- Specified by:
within interfaceMutableLongShortMapFactory
-
of
public MutableLongShortMap of(long key, short value)
- Specified by:
ofin interfaceMutableLongShortMapFactory
-
of
public MutableLongShortMap of(long key1, short value1, long key2, short value2)
- Specified by:
ofin interfaceMutableLongShortMapFactory
-
with
public MutableLongShortMap with(long key1, short value1, long key2, short value2)
- 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
public MutableLongShortMap ofInitialCapacity(int capacity)
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableLongShortMapFactory
-
withInitialCapacity
public MutableLongShortMap withInitialCapacity(int capacity)
Description copied from interface:MutableLongShortMapFactorySame asMutableLongShortMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableLongShortMapFactory
-
ofAll
public MutableLongShortMap ofAll(LongShortMap map)
Description copied from interface:MutableLongShortMapFactory- Specified by:
ofAllin interfaceMutableLongShortMapFactory
-
withAll
public MutableLongShortMap withAll(LongShortMap map)
- Specified by:
withAllin interfaceMutableLongShortMapFactory
-
from
public <T> MutableLongShortMap from(java.lang.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
-
-