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

public Interface ImmutableShortLongMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ShortFunction, .LongFunction, org.eclipse.collections.api.map.primitive.ShortLongMap, .ImmutableShortLongMap

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

Method Summary

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

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

public ImmutableShortLongMap
of()

Same as empty().

public ImmutableShortLongMap
of(short key, long value)

Same as with(short, long).

public ImmutableShortLongMap
public ImmutableShortLongMap
with()

Same as empty().

public ImmutableShortLongMap
with(short key, long value)

public ImmutableShortLongMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableShortLongMap of()

Same as empty().

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

Same as with(short, long).

ofAllback to summary
public ImmutableShortLongMap ofAll(ShortLongMap map)

Same as withAll(ShortLongMap).

withback to summary
public ImmutableShortLongMap with()

Same as empty().

withback to summary
public ImmutableShortLongMap with(short key, long value)
withAllback to summary
public ImmutableShortLongMap withAll(ShortLongMap map)