Interface MutableObjectLongMapFactory
- All Known Implementing Classes:
MutableObjectLongMapFactoryImpl
public interface MutableObjectLongMapFactory
A factory which creates instances of type
MutableObjectLongMap
.
This file was automatically generated from template file mutableObjectPrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescription<K> MutableObjectLongMap<K>
empty()
<T,
K> MutableObjectLongMap<K> from
(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableObjectLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> MutableObjectLongMap<K>
of()
Same asempty()
.default <K> MutableObjectLongMap<K>
of
(K key, long value) default <K> MutableObjectLongMap<K>
of
(K key1, long value1, K key2, long value2) default <K> MutableObjectLongMap<K>
of
(K key1, long value1, K key2, long value2, K key3, long value3) default <K> MutableObjectLongMap<K>
of
(K key1, long value1, K key2, long value2, K key3, long value3, K key4, long value4) <K> MutableObjectLongMap<K>
ofAll
(ObjectLongMap<? extends K> map) Same aswithAll(ObjectLongMap)
.<K> MutableObjectLongMap<K>
ofInitialCapacity
(int capacity) Same asempty()
.<K> MutableObjectLongMap<K>
with()
Same asempty()
.default <K> MutableObjectLongMap<K>
with
(K key, long value) default <K> MutableObjectLongMap<K>
with
(K key1, long value1, K key2, long value2) default <K> MutableObjectLongMap<K>
with
(K key1, long value1, K key2, long value2, K key3, long value3) default <K> MutableObjectLongMap<K>
with
(K key1, long value1, K key2, long value2, K key3, long value3, K key4, long value4) <K> MutableObjectLongMap<K>
withAll
(ObjectLongMap<? extends K> map) <K> MutableObjectLongMap<K>
withInitialCapacity
(int capacity) Same asempty()
.
-
Method Details
-
empty
-
of
Same asempty()
. -
with
Same asempty()
. -
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
default <K> MutableObjectLongMap<K> with(K key1, long value1, K key2, long value2, K key3, long value3) - Since:
- 11.1.
-
of
default <K> MutableObjectLongMap<K> of(K key1, long value1, K key2, long value2, K key3, long value3) - Since:
- 11.1.
-
with
default <K> MutableObjectLongMap<K> with(K key1, long value1, K key2, long value2, K key3, long value3, K key4, long value4) - Since:
- 11.1.
-
of
default <K> MutableObjectLongMap<K> of(K key1, long value1, K key2, long value2, K key3, long value3, K key4, long value4) - Since:
- 11.1.
-
ofInitialCapacity
Same asempty()
. but takes in an initial capacity -
withInitialCapacity
Same asempty()
. but takes in an initial capacity -
ofAll
Same aswithAll(ObjectLongMap)
. -
withAll
-
from
<T,K> MutableObjectLongMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, LongFunction<? super T> valueFunction) Creates anMutableObjectLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-