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

public Interface ImmutableIntLongMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.IntFunction, .LongFunction, org.eclipse.collections.api.map.primitive.IntLongMap, .ImmutableIntLongMap

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

Method Summary

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

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

public ImmutableIntLongMap
of()

Same as empty().

public ImmutableIntLongMap
of(int key, long value)

Same as with(int, long).

public ImmutableIntLongMap
public ImmutableIntLongMap
with()

Same as empty().

public ImmutableIntLongMap
with(int key, long value)

public ImmutableIntLongMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableIntLongMap of()

Same as empty().

ofback to summary
public ImmutableIntLongMap of(int key, long value)

Same as with(int, long).

ofAllback to summary
public ImmutableIntLongMap ofAll(IntLongMap map)

Same as withAll(IntLongMap).

withback to summary
public ImmutableIntLongMap with()

Same as empty().

withback to summary
public ImmutableIntLongMap with(int key, long value)
withAllback to summary
public ImmutableIntLongMap withAll(IntLongMap map)