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