Class MutableLongIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableLongIntMapFactoryImpl
-
- All Implemented Interfaces:
MutableLongIntMapFactory
public class MutableLongIntMapFactoryImpl extends java.lang.Object implements MutableLongIntMapFactory
MutableLongIntMapFactoryImpl is a factory implementation which creates instances of typeMutableLongIntMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableLongIntMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableLongIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableLongIntMapempty()<T> MutableLongIntMapfrom(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Creates anMutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableLongIntMapof()Same asMutableLongIntMapFactory.empty().MutableLongIntMapof(long key, int value)MutableLongIntMapof(long key1, int value1, long key2, int value2)MutableLongIntMapof(long key1, int value1, long key2, int value2, long key3, int value3)MutableLongIntMapof(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4)MutableLongIntMapofAll(LongIntMap map)MutableLongIntMapofInitialCapacity(int capacity)Same asMutableLongIntMapFactory.empty().MutableLongIntMapwith()Same asMutableLongIntMapFactory.empty().MutableLongIntMapwith(long key, int value)MutableLongIntMapwith(long key1, int value1, long key2, int value2)MutableLongIntMapwith(long key1, int value1, long key2, int value2, long key3, int value3)MutableLongIntMapwith(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4)MutableLongIntMapwithAll(LongIntMap map)MutableLongIntMapwithInitialCapacity(int capacity)Same asMutableLongIntMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableLongIntMap empty()
- Specified by:
emptyin interfaceMutableLongIntMapFactory
-
of
public MutableLongIntMap of()
Description copied from interface:MutableLongIntMapFactorySame asMutableLongIntMapFactory.empty().- Specified by:
ofin interfaceMutableLongIntMapFactory
-
with
public MutableLongIntMap with()
Description copied from interface:MutableLongIntMapFactorySame asMutableLongIntMapFactory.empty().- Specified by:
within interfaceMutableLongIntMapFactory
-
with
public MutableLongIntMap with(long key, int value)
- Specified by:
within interfaceMutableLongIntMapFactory
-
of
public MutableLongIntMap of(long key, int value)
- Specified by:
ofin interfaceMutableLongIntMapFactory
-
of
public MutableLongIntMap of(long key1, int value1, long key2, int value2)
- Specified by:
ofin interfaceMutableLongIntMapFactory
-
with
public MutableLongIntMap with(long key1, int value1, long key2, int value2)
- Specified by:
within interfaceMutableLongIntMapFactory
-
of
public MutableLongIntMap of(long key1, int value1, long key2, int value2, long key3, int value3)
- Specified by:
ofin interfaceMutableLongIntMapFactory
-
with
public MutableLongIntMap with(long key1, int value1, long key2, int value2, long key3, int value3)
- Specified by:
within interfaceMutableLongIntMapFactory
-
of
public MutableLongIntMap of(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4)
- Specified by:
ofin interfaceMutableLongIntMapFactory
-
with
public MutableLongIntMap with(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4)
- Specified by:
within interfaceMutableLongIntMapFactory
-
ofInitialCapacity
public MutableLongIntMap ofInitialCapacity(int capacity)
Description copied from interface:MutableLongIntMapFactorySame asMutableLongIntMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableLongIntMapFactory
-
withInitialCapacity
public MutableLongIntMap withInitialCapacity(int capacity)
Description copied from interface:MutableLongIntMapFactorySame asMutableLongIntMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableLongIntMapFactory
-
ofAll
public MutableLongIntMap ofAll(LongIntMap map)
Description copied from interface:MutableLongIntMapFactory- Specified by:
ofAllin interfaceMutableLongIntMapFactory
-
withAll
public MutableLongIntMap withAll(LongIntMap map)
- Specified by:
withAllin interfaceMutableLongIntMapFactory
-
from
public <T> MutableLongIntMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Description copied from interface:MutableLongIntMapFactoryCreates anMutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableLongIntMapFactory
-
-