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

public Interface ImmutableShortDoubleMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ShortFunction, .DoubleFunction, org.eclipse.collections.api.map.primitive.ShortDoubleMap, .ImmutableShortDoubleMap

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

Method Summary

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

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

public ImmutableShortDoubleMap
of()

Same as empty().

public ImmutableShortDoubleMap
of(short key, double value)

Same as with(short, double).

public ImmutableShortDoubleMap
public ImmutableShortDoubleMap
with()

Same as empty().

public ImmutableShortDoubleMap
with(short key, double value)

public ImmutableShortDoubleMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableShortDoubleMap of()

Same as empty().

ofback to summary
public ImmutableShortDoubleMap of(short key, double value)

Same as with(short, double).

ofAllback to summary
public ImmutableShortDoubleMap ofAll(ShortDoubleMap map)

Same as withAll(ShortDoubleMap).

withback to summary
public ImmutableShortDoubleMap with()

Same as empty().

withback to summary
public ImmutableShortDoubleMap with(short key, double value)
withAllback to summary
public ImmutableShortDoubleMap withAll(ShortDoubleMap map)