Interface ImmutableIntDoubleMapFactory
-
- All Known Implementing Classes:
ImmutableIntDoubleMapFactoryImpl
public interface ImmutableIntDoubleMapFactory
A factory which creates instances of typeImmutableIntDoubleMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImmutableIntDoubleMap
empty()
<T> ImmutableIntDoubleMap
from(java.lang.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 Detail
-
empty
ImmutableIntDoubleMap empty()
- Since:
- 6.0
-
of
ImmutableIntDoubleMap of()
Same asempty()
.
-
with
ImmutableIntDoubleMap with()
Same asempty()
.
-
of
ImmutableIntDoubleMap of(int key, double value)
Same aswith(int, double)
.
-
with
ImmutableIntDoubleMap with(int key, double value)
-
ofAll
ImmutableIntDoubleMap ofAll(IntDoubleMap map)
Same aswithAll(IntDoubleMap)
.
-
withAll
ImmutableIntDoubleMap withAll(IntDoubleMap map)
-
from
<T> ImmutableIntDoubleMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, DoubleFunction<? super T> valueFunction)
Creates anImmutableIntDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-