Class MutableLongShortMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableLongShortMapFactoryImpl
-
- All Implemented Interfaces:
MutableLongShortMapFactory
public class MutableLongShortMapFactoryImpl extends 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(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)MutableLongShortMapof()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)MutableLongShortMapwith()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)
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongShortMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableLongShortMap empty()
- Specified by:
emptyin interfaceMutableLongShortMapFactory
-
of
public MutableLongShortMap of()
- Specified by:
ofin interfaceMutableLongShortMapFactory
-
with
public MutableLongShortMap with()
- 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)
- Specified by:
ofInitialCapacityin interfaceMutableLongShortMapFactory
-
withInitialCapacity
public MutableLongShortMap withInitialCapacity(int capacity)
- Specified by:
withInitialCapacityin interfaceMutableLongShortMapFactory
-
ofAll
public MutableLongShortMap ofAll(LongShortMap map)
- Specified by:
ofAllin interfaceMutableLongShortMapFactory
-
withAll
public MutableLongShortMap withAll(LongShortMap map)
- Specified by:
withAllin interfaceMutableLongShortMapFactory
-
from
public <T> MutableLongShortMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
- Specified by:
fromin interfaceMutableLongShortMapFactory
-
-