Interface MutableLongObjectMapFactory
public interface MutableLongObjectMapFactory
A factory which creates instances of type
MutableLongObjectMap.
This file was automatically generated from template file mutablePrimitiveObjectMapFactory.stg.- Since:
- 6.0.
-
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 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(). but takes in an initial capacity<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(). but takes in an initial capacity
-
Method Details
-
empty
-
of
Same asempty(). -
with
Same asempty(). -
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- 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
Same asempty(). but takes in an initial capacity -
withInitialCapacity
Same asempty(). but takes in an initial capacity -
ofAll
Same aswithAll(LongObjectMap). -
withAll
-
from
<T,V> MutableLongObjectMap<V> from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anMutableLongObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-