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

public Interface ImmutableShortShortMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ShortFunction, org.eclipse.collections.api.map.primitive.ShortShortMap, .ImmutableShortShortMap

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

Method Summary

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

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

public ImmutableShortShortMap
of()

Same as empty().

public ImmutableShortShortMap
of(short key, short value)

Same as with(short, short).

public ImmutableShortShortMap
public ImmutableShortShortMap
with()

Same as empty().

public ImmutableShortShortMap
with(short key, short value)

public ImmutableShortShortMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableShortShortMap of()

Same as empty().

ofback to summary
public ImmutableShortShortMap of(short key, short value)

Same as with(short, short).

ofAllback to summary
public ImmutableShortShortMap ofAll(ShortShortMap map)

Same as withAll(ShortShortMap).

withback to summary
public ImmutableShortShortMap with()

Same as empty().

withback to summary
public ImmutableShortShortMap with(short key, short value)
withAllback to summary
public ImmutableShortShortMap withAll(ShortShortMap map)