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

public Interface ImmutableShortIntMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ShortFunction, .IntFunction, org.eclipse.collections.api.map.primitive.ShortIntMap, .ImmutableShortIntMap

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

Method Summary

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

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

public ImmutableShortIntMap
of()

Same as empty().

public ImmutableShortIntMap
of(short key, int value)

Same as with(short, int).

public ImmutableShortIntMap
public ImmutableShortIntMap
with()

Same as empty().

public ImmutableShortIntMap
with(short key, int value)

public ImmutableShortIntMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableShortIntMap of()

Same as empty().

ofback to summary
public ImmutableShortIntMap of(short key, int value)

Same as with(short, int).

ofAllback to summary
public ImmutableShortIntMap ofAll(ShortIntMap map)

Same as withAll(ShortIntMap).

withback to summary
public ImmutableShortIntMap with()

Same as empty().

withback to summary
public ImmutableShortIntMap with(short key, int value)
withAllback to summary
public ImmutableShortIntMap withAll(ShortIntMap map)