Interface MutableLongObjectMapFactory
-
- All Known Implementing Classes:
MutableLongObjectMapFactoryImpl
public interface MutableLongObjectMapFactory
A factory which creates instances of typeMutableLongObjectMap
. This file was automatically generated from template file mutablePrimitiveObjectMapFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default 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 asempty()
.default <V> MutableLongObjectMap<V>
of(long key, V value)
default <V> MutableLongObjectMap<V>
of(long key1, V value1, long key2, V value2)
default <V> MutableLongObjectMap<V>
of(long key1, V value1, long key2, V value2, long key3, V value3)
default <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)
Same aswithAll(LongObjectMap)
.<V> MutableLongObjectMap<V>
ofInitialCapacity(int capacity)
Same asempty()
.<V> MutableLongObjectMap<V>
with()
Same asempty()
.default <V> MutableLongObjectMap<V>
with(long key, V value)
default <V> MutableLongObjectMap<V>
with(long key1, V value1, long key2, V value2)
default <V> MutableLongObjectMap<V>
with(long key1, V value1, long key2, V value2, long key3, V value3)
default <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 asempty()
.
-
-
-
Method Detail
-
empty
<V> MutableLongObjectMap<V> empty()
-
of
<V> MutableLongObjectMap<V> of()
Same asempty()
.
-
with
<V> MutableLongObjectMap<V> with()
Same asempty()
.
-
of
default <V> MutableLongObjectMap<V> of(long key, V value)
- Since:
- 11.1.
-
with
default <V> MutableLongObjectMap<V> with(long key, V value)
- Since:
- 11.1.
-
of
default <V> MutableLongObjectMap<V> of(long key1, V value1, long key2, V value2)
- Since:
- 11.1.
-
with
default <V> MutableLongObjectMap<V> with(long key1, V value1, long key2, V value2)
- Since:
- 11.1.
-
of
default <V> MutableLongObjectMap<V> of(long key1, V value1, long key2, V value2, long key3, V value3)
- Since:
- 11.1.
-
with
default <V> MutableLongObjectMap<V> with(long key1, V value1, long key2, V value2, long key3, V value3)
- Since:
- 11.1.
-
of
default <V> MutableLongObjectMap<V> of(long key1, V value1, long key2, V value2, long key3, V value3, long key4, V value4)
- Since:
- 11.1.
-
with
default <V> MutableLongObjectMap<V> with(long key1, V value1, long key2, V value2, long key3, V value3, long key4, V value4)
- Since:
- 11.1.
-
ofInitialCapacity
<V> MutableLongObjectMap<V> ofInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
withInitialCapacity
<V> MutableLongObjectMap<V> withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity
-
ofAll
<V> MutableLongObjectMap<V> ofAll(LongObjectMap<? extends V> map)
Same aswithAll(LongObjectMap)
.
-
withAll
<V> MutableLongObjectMap<V> withAll(LongObjectMap<? extends V> map)
-
from
<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
.- Since:
- 10.0
-
-