Interface ImmutableIntDoubleMapFactory
public interface ImmutableIntDoubleMapFactory
A factory which creates instances of type
ImmutableIntDoubleMap.
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, DoubleFunction<? super T> valueFunction) Creates anImmutableIntDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asempty().of(int key, double value) Same aswith(int, double).ofAll(IntDoubleMap map) Same aswithAll(IntDoubleMap).with()Same asempty().with(int key, double value) withAll(IntDoubleMap map)
-
Method Details
-
empty
ImmutableIntDoubleMap empty()- Since:
- 6.0
-
of
Same asempty(). -
with
ImmutableIntDoubleMap with()Same asempty(). -
of
Same aswith(int, double). -
with
-
ofAll
Same aswithAll(IntDoubleMap). -
withAll
-
from
<T> ImmutableIntDoubleMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction) Creates anImmutableIntDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-