Interface ImmutableIntIntMapFactory
- All Known Implementing Classes:
ImmutableIntIntMapFactoryImpl
public interface ImmutableIntIntMapFactory
A factory which creates instances of type
ImmutableIntIntMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableIntIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.of
(int key, int value) Same aswith(int, int)
.Same aswithAll(IntIntMap)
.with()
Same asempty()
.with
(int key, int value)
-
Method Details
-
empty
ImmutableIntIntMap empty()- Since:
- 6.0
-
of
ImmutableIntIntMap of()Same asempty()
. -
with
ImmutableIntIntMap with()Same asempty()
. -
of
Same aswith(int, int)
. -
with
-
ofAll
Same aswithAll(IntIntMap)
. -
withAll
-
from
<T> ImmutableIntIntMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableIntIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-