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