Class MutableLongObjectMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.MutableLongObjectMapFactoryImpl
- All Implemented Interfaces:
MutableLongObjectMapFactory
MutableLongObjectMapFactoryImpl is a factory implementation which creates instances of type
MutableLongObjectMap.
This file was automatically generated from template file mutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 6.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> MutableLongObjectMap<V> empty()<T,V> MutableLongObjectMap <V> from(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 Details
-
INSTANCE
-
-
Constructor Details
-
MutableLongObjectMapFactoryImpl
public MutableLongObjectMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableLongObjectMapFactory
-
of
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty().- Specified by:
ofin interfaceMutableLongObjectMapFactory
-
with
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty().- Specified by:
within interfaceMutableLongObjectMapFactory
-
of
- Specified by:
ofin interfaceMutableLongObjectMapFactory
-
with
- Specified by:
within interfaceMutableLongObjectMapFactory
-
of
- Specified by:
ofin interfaceMutableLongObjectMapFactory
-
with
- 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
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableLongObjectMapFactory
-
withInitialCapacity
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableLongObjectMapFactory
-
ofAll
Description copied from interface:MutableLongObjectMapFactory- Specified by:
ofAllin interfaceMutableLongObjectMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableLongObjectMapFactory
-
from
public <T,V> MutableLongObjectMap<V> from(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
-