Interface ImmutableIntFloatMapFactory
- All Known Implementing Classes:
ImmutableIntFloatMapFactoryImpl
public interface ImmutableIntFloatMapFactory
A factory which creates instances of type
ImmutableIntFloatMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and TypeMethodDescriptionempty()
from
(Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction) Creates anImmutableIntFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asempty()
.of
(int key, float value) Same aswith(int, float)
.ofAll
(IntFloatMap map) Same aswithAll(IntFloatMap)
.with()
Same asempty()
.with
(int key, float value) withAll
(IntFloatMap map)
-
Method Details
-
empty
ImmutableIntFloatMap empty()- Since:
- 6.0
-
of
ImmutableIntFloatMap of()Same asempty()
. -
with
ImmutableIntFloatMap with()Same asempty()
. -
of
Same aswith(int, float)
. -
with
-
ofAll
Same aswithAll(IntFloatMap)
. -
withAll
-
from
<T> ImmutableIntFloatMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction) Creates anImmutableIntFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-