Interface MutableLongIntMapFactory
public interface MutableLongIntMapFactory
A factory which creates instances of type
MutableLongIntMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().default MutableLongIntMapof(long key, int value) default MutableLongIntMapof(long key1, int value1, long key2, int value2) default MutableLongIntMapof(long key1, int value1, long key2, int value2, long key3, int value3) default MutableLongIntMapof(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4) ofAll(LongIntMap map) Same aswithAll(LongIntMap).ofInitialCapacity(int capacity) Same asempty(). but takes in an initial capacitywith()Same asempty().default MutableLongIntMapwith(long key, int value) default MutableLongIntMapwith(long key1, int value1, long key2, int value2) default MutableLongIntMapwith(long key1, int value1, long key2, int value2, long key3, int value3) default MutableLongIntMapwith(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4) withAll(LongIntMap map) withInitialCapacity(int capacity) Same asempty(). but takes in an initial capacity
-
Method Details
-
empty
MutableLongIntMap empty() -
of
MutableLongIntMap of()Same asempty(). -
with
MutableLongIntMap with()Same asempty(). -
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
- Since:
- 11.1.
-
with
- Since:
- 11.1.
-
of
default MutableLongIntMap of(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int value4) - Since:
- 11.1.
-
with
default MutableLongIntMap with(long key1, int value1, long key2, int value2, long key3, int value3, long key4, int 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(LongIntMap). -
withAll
-
from
<T> MutableLongIntMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableLongIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-