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

public Interface ImmutableShortCharMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ShortFunction, .CharFunction, org.eclipse.collections.api.map.primitive.ShortCharMap, .ImmutableShortCharMap

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

Method Summary

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

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

public ImmutableShortCharMap
of()

Same as empty().

public ImmutableShortCharMap
of(short key, char value)

Same as with(short, char).

public ImmutableShortCharMap
public ImmutableShortCharMap
with()

Same as empty().

public ImmutableShortCharMap
with(short key, char value)

public ImmutableShortCharMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableShortCharMap of()

Same as empty().

ofback to summary
public ImmutableShortCharMap of(short key, char value)

Same as with(short, char).

ofAllback to summary
public ImmutableShortCharMap ofAll(ShortCharMap map)

Same as withAll(ShortCharMap).

withback to summary
public ImmutableShortCharMap with()

Same as empty().

withback to summary
public ImmutableShortCharMap with(short key, char value)
withAllback to summary
public ImmutableShortCharMap withAll(ShortCharMap map)