Interface ImmutableObjectFloatMapFactory
- All Known Implementing Classes:
ImmutableObjectFloatMapFactoryImpl
public interface ImmutableObjectFloatMapFactory
A factory which creates instances of type
ImmutableObjectFloatMap.
This file was automatically generated from template file immutableObjectPrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and Type Method Description <K> ImmutableObjectFloatMap<K>empty()<T, K> ImmutableObjectFloatMap<K>from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, FloatFunction<? super T> valueFunction)Creates anImmutableObjectFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<K> ImmutableObjectFloatMap<K>of()Same asempty().<K> ImmutableObjectFloatMap<K>of(K key, float value)Same aswith(Object, float).<K> ImmutableObjectFloatMap<K>ofAll(ObjectFloatMap<? extends K> map)Same aswithAll(ObjectFloatMap).<K> ImmutableObjectFloatMap<K>with()Same asempty().<K> ImmutableObjectFloatMap<K>with(K key, float value)<K> ImmutableObjectFloatMap<K>withAll(ObjectFloatMap<? extends K> map)
-
Method Details
-
empty
- Since:
- 6.0
-
of
Same asempty(). -
with
Same asempty(). -
of
Same aswith(Object, float). -
with
-
ofAll
Same aswithAll(ObjectFloatMap). -
withAll
-
from
<T, K> ImmutableObjectFloatMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, FloatFunction<? super T> valueFunction)Creates anImmutableObjectFloatMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-