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

public Interface ImmutableIntShortMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.IntFunction, .ShortFunction, org.eclipse.collections.api.map.primitive.IntShortMap, .ImmutableIntShortMap

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

Method Summary

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

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

public ImmutableIntShortMap
of()

Same as empty().

public ImmutableIntShortMap
of(int key, short value)

Same as with(int, short).

public ImmutableIntShortMap
public ImmutableIntShortMap
with()

Same as empty().

public ImmutableIntShortMap
with(int key, short value)

public ImmutableIntShortMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableIntShortMap of()

Same as empty().

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

Same as with(int, short).

ofAllback to summary
public ImmutableIntShortMap ofAll(IntShortMap map)

Same as withAll(IntShortMap).

withback to summary
public ImmutableIntShortMap with()

Same as empty().

withback to summary
public ImmutableIntShortMap with(int key, short value)
withAllback to summary
public ImmutableIntShortMap withAll(IntShortMap map)