Class MutableIntLongMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableIntLongMapFactoryImpl
-
- All Implemented Interfaces:
MutableIntLongMapFactory
public class MutableIntLongMapFactoryImpl extends java.lang.Object implements MutableIntLongMapFactory
MutableIntLongMapFactoryImpl is a factory implementation which creates instances of typeMutableIntLongMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableIntLongMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntLongMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntLongMapempty()<T> MutableIntLongMapfrom(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anMutableIntLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntLongMapof()Same asMutableIntLongMapFactory.empty().MutableIntLongMapof(int key, long value)MutableIntLongMapof(int key1, long value1, int key2, long value2)MutableIntLongMapof(int key1, long value1, int key2, long value2, int key3, long value3)MutableIntLongMapof(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4)MutableIntLongMapofAll(IntLongMap map)MutableIntLongMapofInitialCapacity(int capacity)Same asMutableIntLongMapFactory.empty().MutableIntLongMapwith()Same asMutableIntLongMapFactory.empty().MutableIntLongMapwith(int key, long value)MutableIntLongMapwith(int key1, long value1, int key2, long value2)MutableIntLongMapwith(int key1, long value1, int key2, long value2, int key3, long value3)MutableIntLongMapwith(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4)MutableIntLongMapwithAll(IntLongMap map)MutableIntLongMapwithInitialCapacity(int capacity)Same asMutableIntLongMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntLongMapFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntLongMap empty()
- Specified by:
emptyin interfaceMutableIntLongMapFactory
-
of
public MutableIntLongMap of()
Description copied from interface:MutableIntLongMapFactorySame asMutableIntLongMapFactory.empty().- Specified by:
ofin interfaceMutableIntLongMapFactory
-
with
public MutableIntLongMap with()
Description copied from interface:MutableIntLongMapFactorySame asMutableIntLongMapFactory.empty().- Specified by:
within interfaceMutableIntLongMapFactory
-
with
public MutableIntLongMap with(int key, long value)
- Specified by:
within interfaceMutableIntLongMapFactory
-
of
public MutableIntLongMap of(int key, long value)
- Specified by:
ofin interfaceMutableIntLongMapFactory
-
of
public MutableIntLongMap of(int key1, long value1, int key2, long value2)
- Specified by:
ofin interfaceMutableIntLongMapFactory
-
with
public MutableIntLongMap with(int key1, long value1, int key2, long value2)
- Specified by:
within interfaceMutableIntLongMapFactory
-
of
public MutableIntLongMap of(int key1, long value1, int key2, long value2, int key3, long value3)
- Specified by:
ofin interfaceMutableIntLongMapFactory
-
with
public MutableIntLongMap with(int key1, long value1, int key2, long value2, int key3, long value3)
- Specified by:
within interfaceMutableIntLongMapFactory
-
of
public MutableIntLongMap of(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4)
- Specified by:
ofin interfaceMutableIntLongMapFactory
-
with
public MutableIntLongMap with(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4)
- Specified by:
within interfaceMutableIntLongMapFactory
-
ofInitialCapacity
public MutableIntLongMap ofInitialCapacity(int capacity)
Description copied from interface:MutableIntLongMapFactorySame asMutableIntLongMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableIntLongMapFactory
-
withInitialCapacity
public MutableIntLongMap withInitialCapacity(int capacity)
Description copied from interface:MutableIntLongMapFactorySame asMutableIntLongMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntLongMapFactory
-
ofAll
public MutableIntLongMap ofAll(IntLongMap map)
Description copied from interface:MutableIntLongMapFactory- Specified by:
ofAllin interfaceMutableIntLongMapFactory
-
withAll
public MutableIntLongMap withAll(IntLongMap map)
- Specified by:
withAllin interfaceMutableIntLongMapFactory
-
from
public <T> MutableIntLongMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Description copied from interface:MutableIntLongMapFactoryCreates anMutableIntLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableIntLongMapFactory
-
-