Top Description Methods
org.eclipse.collections.api.factory.map.primitive

public Interface ImmutableFloatObjectMapFactory

Imports
org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.FloatFunction, org.eclipse.collections.api.map.primitive.ImmutableFloatObjectMap, .FloatObjectMap

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 TypeMethod and Description
public <V> ImmutableFloatObjectMap<V>
public <T, V> ImmutableFloatObjectMap<V>
from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction)

Creates an ImmutableFloatObjectMap from an Iterable<T> by applying keyFunction and valueFunction.

public <V> ImmutableFloatObjectMap<V>
of()

Same as empty().

public <V> ImmutableFloatObjectMap<V>
of(float key, V value)

Same as with(float, Object).

public <V> ImmutableFloatObjectMap<V>
ofAll(FloatObjectMap<? extends V> map)

Same as withAll(FloatObjectMap).

public <V> ImmutableFloatObjectMap<V>
with()

Same as empty().

public <V> ImmutableFloatObjectMap<V>
with(float key, V value)

public <V> ImmutableFloatObjectMap<V>
withAll(FloatObjectMap<? extends V> map)

Method Detail

emptyback to summary
public <V> ImmutableFloatObjectMap<V> empty()
Since
6.0
fromback to summary
public <T, V> ImmutableFloatObjectMap<V> from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction)

Creates an ImmutableFloatObjectMap from an Iterable<T> by applying keyFunction and valueFunction.

Since
10.0
ofback to summary
public <V> ImmutableFloatObjectMap<V> of()

Same as empty().

ofback to summary
public <V> ImmutableFloatObjectMap<V> of(float key, V value)

Same as with(float, Object).

ofAllback to summary
public <V> ImmutableFloatObjectMap<V> ofAll(FloatObjectMap<? extends V> map)

Same as withAll(FloatObjectMap).

withback to summary
public <V> ImmutableFloatObjectMap<V> with()

Same as empty().

withback to summary
public <V> ImmutableFloatObjectMap<V> with(float key, V value)
withAllback to summary
public <V> ImmutableFloatObjectMap<V> withAll(FloatObjectMap<? extends V> map)