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

public Interface ImmutableCharShortMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.CharFunction, .ShortFunction, org.eclipse.collections.api.map.primitive.CharShortMap, .ImmutableCharShortMap

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

Method Summary

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

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

public ImmutableCharShortMap
of()

Same as empty().

public ImmutableCharShortMap
of(char key, short value)

Same as with(char, short).

public ImmutableCharShortMap
public ImmutableCharShortMap
with()

Same as empty().

public ImmutableCharShortMap
with(char key, short value)

public ImmutableCharShortMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableCharShortMap of()

Same as empty().

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

Same as with(char, short).

ofAllback to summary
public ImmutableCharShortMap ofAll(CharShortMap map)

Same as withAll(CharShortMap).

withback to summary
public ImmutableCharShortMap with()

Same as empty().

withback to summary
public ImmutableCharShortMap with(char key, short value)
withAllback to summary
public ImmutableCharShortMap withAll(CharShortMap map)