Interface ImmutableIntDoubleMapFactory
- All Known Implementing Classes:
ImmutableIntDoubleMapFactoryImpl
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 Type Method Description ImmutableIntDoubleMapempty()<T> ImmutableIntDoubleMapfrom(Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)Creates anImmutableIntDoubleMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableIntDoubleMapof()Same asempty().ImmutableIntDoubleMapof(int key, double value)Same aswith(int, double).ImmutableIntDoubleMapofAll(IntDoubleMap map)Same aswithAll(IntDoubleMap).ImmutableIntDoubleMapwith()Same asempty().ImmutableIntDoubleMapwith(int key, double value)ImmutableIntDoubleMapwithAll(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
-