Interface ImmutableFloatObjectMapFactory
- All Known Implementing Classes:
ImmutableFloatObjectMapFactoryImpl
public interface ImmutableFloatObjectMapFactory
A factory which creates instances of type
ImmutableFloatObjectMap
.
This file was automatically generated from template file immutablePrimitiveObjectMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and Type Method Description <V> ImmutableFloatObjectMap<V>
empty()
<T, V> ImmutableFloatObjectMap<V>
from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableFloatObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> ImmutableFloatObjectMap<V>
of()
Same asempty()
.<V> ImmutableFloatObjectMap<V>
of(float key, V value)
Same aswith(float, Object)
.<V> ImmutableFloatObjectMap<V>
ofAll(FloatObjectMap<? extends V> map)
Same aswithAll(FloatObjectMap)
.<V> ImmutableFloatObjectMap<V>
with()
Same asempty()
.<V> ImmutableFloatObjectMap<V>
with(float key, V value)
<V> ImmutableFloatObjectMap<V>
withAll(FloatObjectMap<? extends V> map)
-
Method Details
-
empty
- Since:
- 6.0
-
of
Same asempty()
. -
with
Same asempty()
. -
of
Same aswith(float, Object)
. -
with
-
ofAll
Same aswithAll(FloatObjectMap)
. -
withAll
-
from
<T, V> ImmutableFloatObjectMap<V> from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Creates anImmutableFloatObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-