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