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 MutableLongObjectMapFactory
INSTANCE
-
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 anMutableLongObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<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:
empty
in interfaceMutableLongObjectMapFactory
-
of
public <V> MutableLongObjectMap<V> of()
Description copied from interface:MutableLongObjectMapFactory
Same asMutableLongObjectMapFactory.empty()
.- Specified by:
of
in interfaceMutableLongObjectMapFactory
-
with
public <V> MutableLongObjectMap<V> with()
Description copied from interface:MutableLongObjectMapFactory
Same asMutableLongObjectMapFactory.empty()
.- Specified by:
with
in interfaceMutableLongObjectMapFactory
-
of
public <V> MutableLongObjectMap<V> of(long key, V value)
- Specified by:
of
in interfaceMutableLongObjectMapFactory
-
with
public <V> MutableLongObjectMap<V> with(long key, V value)
- Specified by:
with
in interfaceMutableLongObjectMapFactory
-
of
public <V> MutableLongObjectMap<V> of(long key1, V value1, long key2, V value2)
- Specified by:
of
in interfaceMutableLongObjectMapFactory
-
with
public <V> MutableLongObjectMap<V> with(long key1, V value1, long key2, V value2)
- Specified by:
with
in interfaceMutableLongObjectMapFactory
-
of
public <V> MutableLongObjectMap<V> of(long key1, V value1, long key2, V value2, long key3, V value3)
- Specified by:
of
in interfaceMutableLongObjectMapFactory
-
with
public <V> MutableLongObjectMap<V> with(long key1, V value1, long key2, V value2, long key3, V value3)
- Specified by:
with
in 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:
of
in 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:
with
in interfaceMutableLongObjectMapFactory
-
ofInitialCapacity
public <V> MutableLongObjectMap<V> ofInitialCapacity(int capacity)
Description copied from interface:MutableLongObjectMapFactory
Same asMutableLongObjectMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableLongObjectMapFactory
-
withInitialCapacity
public <V> MutableLongObjectMap<V> withInitialCapacity(int capacity)
Description copied from interface:MutableLongObjectMapFactory
Same asMutableLongObjectMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableLongObjectMapFactory
-
ofAll
public <V> MutableLongObjectMap<V> ofAll(LongObjectMap<? extends V> map)
Description copied from interface:MutableLongObjectMapFactory
- Specified by:
ofAll
in interfaceMutableLongObjectMapFactory
-
withAll
public <V> MutableLongObjectMap<V> withAll(LongObjectMap<? extends V> map)
- Specified by:
withAll
in 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:MutableLongObjectMapFactory
Creates anMutableLongObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableLongObjectMapFactory
-
-