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 Type Method Description ImmutableDoubleIntMapempty()<T> ImmutableDoubleIntMapfrom(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Creates anImmutableDoubleIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableDoubleIntMapof()Same asempty().ImmutableDoubleIntMapof(double key, int value)Same aswith(double, int).ImmutableDoubleIntMapofAll(DoubleIntMap map)Same aswithAll(DoubleIntMap).ImmutableDoubleIntMapwith()Same asempty().ImmutableDoubleIntMapwith(double key, int value)ImmutableDoubleIntMapwithAll(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 anImmutableDoubleIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-