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

public Interface ImmutableDoubleShortMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.DoubleFunction, .ShortFunction, org.eclipse.collections.api.map.primitive.DoubleShortMap, .ImmutableDoubleShortMap

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

Method Summary

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

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

public ImmutableDoubleShortMap
of()

Same as empty().

public ImmutableDoubleShortMap
of(double key, short value)

Same as with(double, short).

public ImmutableDoubleShortMap
public ImmutableDoubleShortMap
with()

Same as empty().

public ImmutableDoubleShortMap
with(double key, short value)

public ImmutableDoubleShortMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableDoubleShortMap of()

Same as empty().

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

Same as with(double, short).

ofAllback to summary
public ImmutableDoubleShortMap ofAll(DoubleShortMap map)

Same as withAll(DoubleShortMap).

withback to summary
public ImmutableDoubleShortMap with()

Same as empty().

withback to summary
public ImmutableDoubleShortMap with(double key, short value)
withAllback to summary
public ImmutableDoubleShortMap withAll(DoubleShortMap map)