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

public Interface ImmutableLongIntMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.LongFunction, .IntFunction, org.eclipse.collections.api.map.primitive.LongIntMap, .ImmutableLongIntMap

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

Method Summary

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

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

public ImmutableLongIntMap
of()

Same as empty().

public ImmutableLongIntMap
of(long key, int value)

Same as with(long, int).

public ImmutableLongIntMap
public ImmutableLongIntMap
with()

Same as empty().

public ImmutableLongIntMap
with(long key, int value)

public ImmutableLongIntMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableLongIntMap of()

Same as empty().

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

Same as with(long, int).

ofAllback to summary
public ImmutableLongIntMap ofAll(LongIntMap map)

Same as withAll(LongIntMap).

withback to summary
public ImmutableLongIntMap with()

Same as empty().

withback to summary
public ImmutableLongIntMap with(long key, int value)
withAllback to summary
public ImmutableLongIntMap withAll(LongIntMap map)