Class MutableLongObjectMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.primitive.MutableLongObjectMapFactoryImpl
-
- All Implemented Interfaces:
MutableLongObjectMapFactory
public class MutableLongObjectMapFactoryImpl extends java.lang.Object implements MutableLongObjectMapFactory
MutableLongObjectMapFactoryImpl is a factory implementation which creates instances of typeMutableLongObjectMap. This file was automatically generated from template file mutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableLongObjectMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableLongObjectMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> MutableLongObjectMap<V>empty()<T,V>
MutableLongObjectMap<V>from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Creates anMutableLongObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<V> MutableLongObjectMap<V>of()Same asMutableLongObjectMapFactory.empty().<V> MutableLongObjectMap<V>of(long key, V value)<V> MutableLongObjectMap<V>of(long key1, V value1, long key2, V value2)<V> MutableLongObjectMap<V>of(long key1, V value1, long key2, V value2, long key3, V value3)<V> MutableLongObjectMap<V>of(long key1, V value1, long key2, V value2, long key3, V value3, long key4, V value4)<V> MutableLongObjectMap<V>ofAll(LongObjectMap<? extends V> map)<V> MutableLongObjectMap<V>ofInitialCapacity(int capacity)Same asMutableLongObjectMapFactory.empty().<V> MutableLongObjectMap<V>with()Same asMutableLongObjectMapFactory.empty().<V> MutableLongObjectMap<V>with(long key, V value)<V> MutableLongObjectMap<V>with(long key1, V value1, long key2, V value2)<V> MutableLongObjectMap<V>with(long key1, V value1, long key2, V value2, long key3, V value3)<V> MutableLongObjectMap<V>with(long key1, V value1, long key2, V value2, long key3, V value3, long key4, V value4)<V> MutableLongObjectMap<V>withAll(LongObjectMap<? extends V> map)<V> MutableLongObjectMap<V>withInitialCapacity(int capacity)Same asMutableLongObjectMapFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableLongObjectMapFactory INSTANCE
-
-
Method Detail
-
empty
public <V> MutableLongObjectMap<V> empty()
- Specified by:
emptyin interfaceMutableLongObjectMapFactory
-
of
public <V> MutableLongObjectMap<V> of()
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty().- Specified by:
ofin interfaceMutableLongObjectMapFactory
-
with
public <V> MutableLongObjectMap<V> with()
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty().- Specified by:
within interfaceMutableLongObjectMapFactory
-
of
public <V> MutableLongObjectMap<V> of(long key, V value)
- Specified by:
ofin interfaceMutableLongObjectMapFactory
-
with
public <V> MutableLongObjectMap<V> with(long key, V value)
- Specified by:
within interfaceMutableLongObjectMapFactory
-
of
public <V> MutableLongObjectMap<V> of(long key1, V value1, long key2, V value2)
- Specified by:
ofin interfaceMutableLongObjectMapFactory
-
with
public <V> MutableLongObjectMap<V> with(long key1, V value1, long key2, V value2)
- Specified by:
within interfaceMutableLongObjectMapFactory
-
of
public <V> MutableLongObjectMap<V> of(long key1, V value1, long key2, V value2, long key3, V value3)
- Specified by:
ofin interfaceMutableLongObjectMapFactory
-
with
public <V> MutableLongObjectMap<V> with(long key1, V value1, long key2, V value2, long key3, V value3)
- Specified by:
within interfaceMutableLongObjectMapFactory
-
of
public <V> MutableLongObjectMap<V> of(long key1, V value1, long key2, V value2, long key3, V value3, long key4, V value4)
- Specified by:
ofin interfaceMutableLongObjectMapFactory
-
with
public <V> MutableLongObjectMap<V> with(long key1, V value1, long key2, V value2, long key3, V value3, long key4, V value4)
- Specified by:
within interfaceMutableLongObjectMapFactory
-
ofInitialCapacity
public <V> MutableLongObjectMap<V> ofInitialCapacity(int capacity)
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableLongObjectMapFactory
-
withInitialCapacity
public <V> MutableLongObjectMap<V> withInitialCapacity(int capacity)
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableLongObjectMapFactory
-
ofAll
public <V> MutableLongObjectMap<V> ofAll(LongObjectMap<? extends V> map)
Description copied from interface:MutableLongObjectMapFactory- Specified by:
ofAllin interfaceMutableLongObjectMapFactory
-
withAll
public <V> MutableLongObjectMap<V> withAll(LongObjectMap<? extends V> map)
- Specified by:
withAllin interfaceMutableLongObjectMapFactory
-
from
public <T,V> MutableLongObjectMap<V> from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Description copied from interface:MutableLongObjectMapFactoryCreates anMutableLongObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableLongObjectMapFactory
-
-