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

public Interface ImmutableLongShortMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.LongFunction, .ShortFunction, org.eclipse.collections.api.map.primitive.LongShortMap, .ImmutableLongShortMap

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

Method Summary

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

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

public ImmutableLongShortMap
of()

Same as empty().

public ImmutableLongShortMap
of(long key, short value)

Same as with(long, short).

public ImmutableLongShortMap
public ImmutableLongShortMap
with()

Same as empty().

public ImmutableLongShortMap
with(long key, short value)

public ImmutableLongShortMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableLongShortMap of()

Same as empty().

ofback to summary
public ImmutableLongShortMap of(long key, short value)

Same as with(long, short).

ofAllback to summary
public ImmutableLongShortMap ofAll(LongShortMap map)

Same as withAll(LongShortMap).

withback to summary
public ImmutableLongShortMap with()

Same as empty().

withback to summary
public ImmutableLongShortMap with(long key, short value)
withAllback to summary
public ImmutableLongShortMap withAll(LongShortMap map)