Interface MutableIntIntMapFactory
- All Known Implementing Classes:
MutableIntIntMapFactoryImpl
public interface MutableIntIntMapFactory
A factory which creates instances of type
MutableIntIntMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.- Since:
- 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()
<T> MutableIntIntMap
from
(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableIntIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.default MutableIntIntMap
of
(int key, int value) default MutableIntIntMap
of
(int key1, int value1, int key2, int value2) default MutableIntIntMap
of
(int key1, int value1, int key2, int value2, int key3, int value3) default MutableIntIntMap
of
(int key1, int value1, int key2, int value2, int key3, int value3, int key4, int value4) Same aswithAll(IntIntMap)
.ofInitialCapacity
(int capacity) Same asempty()
.with()
Same asempty()
.default MutableIntIntMap
with
(int key, int value) default MutableIntIntMap
with
(int key1, int value1, int key2, int value2) default MutableIntIntMap
with
(int key1, int value1, int key2, int value2, int key3, int value3) default MutableIntIntMap
with
(int key1, int value1, int key2, int value2, int key3, int value3, int key4, int value4) withInitialCapacity
(int capacity) Same asempty()
.
-
Method Details
-
empty
MutableIntIntMap empty() -
of
MutableIntIntMap of()Same asempty()
. -
with
MutableIntIntMap 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 MutableIntIntMap of(int key1, int value1, int key2, int value2, int key3, int value3, int key4, int value4) - Since:
- 11.1.
-
with
default MutableIntIntMap with(int key1, int value1, int key2, int value2, int key3, int value3, int 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(IntIntMap)
. -
withAll
-
from
<T> MutableIntIntMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableIntIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-