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

public Interface ImmutableIntDoubleMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.IntFunction, .DoubleFunction, org.eclipse.collections.api.map.primitive.IntDoubleMap, .ImmutableIntDoubleMap

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

Method Summary

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

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

public ImmutableIntDoubleMap
of()

Same as empty().

public ImmutableIntDoubleMap
of(int key, double value)

Same as with(int, double).

public ImmutableIntDoubleMap
public ImmutableIntDoubleMap
with()

Same as empty().

public ImmutableIntDoubleMap
with(int key, double value)

public ImmutableIntDoubleMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableIntDoubleMap of()

Same as empty().

ofback to summary
public ImmutableIntDoubleMap of(int key, double value)

Same as with(int, double).

ofAllback to summary
public ImmutableIntDoubleMap ofAll(IntDoubleMap map)

Same as withAll(IntDoubleMap).

withback to summary
public ImmutableIntDoubleMap with()

Same as empty().

withback to summary
public ImmutableIntDoubleMap with(int key, double value)
withAllback to summary
public ImmutableIntDoubleMap withAll(IntDoubleMap map)