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

public Interface ImmutableLongFloatMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.LongFunction, .FloatFunction, org.eclipse.collections.api.map.primitive.LongFloatMap, .ImmutableLongFloatMap

A factory which creates instances of type ImmutableLongFloatMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.
Since
4.0.

Method Summary

Modifier and TypeMethod and Description
public ImmutableLongFloatMap
public <T> ImmutableLongFloatMap
from(Iterable<T> iterable, LongFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)

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

public ImmutableLongFloatMap
of()

Same as empty().

public ImmutableLongFloatMap
of(long key, float value)

Same as with(long, float).

public ImmutableLongFloatMap
public ImmutableLongFloatMap
with()

Same as empty().

public ImmutableLongFloatMap
with(long key, float value)

public ImmutableLongFloatMap

Method Detail

emptyback to summary
public ImmutableLongFloatMap empty()
Since
6.0
fromback to summary
public <T> ImmutableLongFloatMap from(Iterable<T> iterable, LongFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)

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

Since
10.0
ofback to summary
public ImmutableLongFloatMap of()

Same as empty().

ofback to summary
public ImmutableLongFloatMap of(long key, float value)

Same as with(long, float).

ofAllback to summary
public ImmutableLongFloatMap ofAll(LongFloatMap map)

Same as withAll(LongFloatMap).

withback to summary
public ImmutableLongFloatMap with()

Same as empty().

withback to summary
public ImmutableLongFloatMap with(long key, float value)
withAllback to summary
public ImmutableLongFloatMap withAll(LongFloatMap map)