Interface MutableIntLongMapFactory
- All Known Implementing Classes:
MutableIntLongMapFactoryImpl
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 anMutableIntLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.default MutableIntLongMap
of
(int key, long value) default MutableIntLongMap
of
(int key1, long value1, int key2, long value2) default MutableIntLongMap
of
(int key1, long value1, int key2, long value2, int key3, long value3) default MutableIntLongMap
of
(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()
.with()
Same asempty()
.default MutableIntLongMap
with
(int key, long value) default MutableIntLongMap
with
(int key1, long value1, int key2, long value2) default MutableIntLongMap
with
(int key1, long value1, int key2, long value2, int key3, long value3) default MutableIntLongMap
with
(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4) withAll
(IntLongMap map) withInitialCapacity
(int capacity) Same asempty()
.
-
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 anMutableIntLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-