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 ImmutableDoubleIntMap
empty()
<T> ImmutableDoubleIntMap
from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Creates anImmutableDoubleIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableDoubleIntMap
of()
Same asempty()
.ImmutableDoubleIntMap
of(double key, int value)
Same aswith(double, int)
.ImmutableDoubleIntMap
ofAll(DoubleIntMap map)
Same aswithAll(DoubleIntMap)
.ImmutableDoubleIntMap
with()
Same asempty()
.ImmutableDoubleIntMap
with(double key, int value)
ImmutableDoubleIntMap
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
-