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

public Interface ImmutableIntCharMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.IntFunction, .CharFunction, org.eclipse.collections.api.map.primitive.IntCharMap, .ImmutableIntCharMap

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

Method Summary

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

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

public ImmutableIntCharMap
of()

Same as empty().

public ImmutableIntCharMap
of(int key, char value)

Same as with(int, char).

public ImmutableIntCharMap
public ImmutableIntCharMap
with()

Same as empty().

public ImmutableIntCharMap
with(int key, char value)

public ImmutableIntCharMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableIntCharMap of()

Same as empty().

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

Same as with(int, char).

ofAllback to summary
public ImmutableIntCharMap ofAll(IntCharMap map)

Same as withAll(IntCharMap).

withback to summary
public ImmutableIntCharMap with()

Same as empty().

withback to summary
public ImmutableIntCharMap with(int key, char value)
withAllback to summary
public ImmutableIntCharMap withAll(IntCharMap map)