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