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

public Interface ImmutableCharIntMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.CharFunction, .IntFunction, org.eclipse.collections.api.map.primitive.CharIntMap, .ImmutableCharIntMap

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

Method Summary

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

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

public ImmutableCharIntMap
of()

Same as empty().

public ImmutableCharIntMap
of(char key, int value)

Same as with(char, int).

public ImmutableCharIntMap
public ImmutableCharIntMap
with()

Same as empty().

public ImmutableCharIntMap
with(char key, int value)

public ImmutableCharIntMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableCharIntMap of()

Same as empty().

ofback to summary
public ImmutableCharIntMap of(char key, int value)

Same as with(char, int).

ofAllback to summary
public ImmutableCharIntMap ofAll(CharIntMap map)

Same as withAll(CharIntMap).

withback to summary
public ImmutableCharIntMap with()

Same as empty().

withback to summary
public ImmutableCharIntMap with(char key, int value)
withAllback to summary
public ImmutableCharIntMap withAll(CharIntMap map)