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

public Interface ImmutableFloatShortMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.FloatFunction, .ShortFunction, org.eclipse.collections.api.map.primitive.FloatShortMap, .ImmutableFloatShortMap

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

Method Summary

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

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

public ImmutableFloatShortMap
of()

Same as empty().

public ImmutableFloatShortMap
of(float key, short value)

Same as with(float, short).

public ImmutableFloatShortMap
public ImmutableFloatShortMap
with()

Same as empty().

public ImmutableFloatShortMap
with(float key, short value)

public ImmutableFloatShortMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableFloatShortMap of()

Same as empty().

ofback to summary
public ImmutableFloatShortMap of(float key, short value)

Same as with(float, short).

ofAllback to summary
public ImmutableFloatShortMap ofAll(FloatShortMap map)

Same as withAll(FloatShortMap).

withback to summary
public ImmutableFloatShortMap with()

Same as empty().

withback to summary
public ImmutableFloatShortMap with(float key, short value)
withAllback to summary
public ImmutableFloatShortMap withAll(FloatShortMap map)