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

public Interface ImmutableCharLongMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.CharFunction, .LongFunction, org.eclipse.collections.api.map.primitive.CharLongMap, .ImmutableCharLongMap

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

Method Summary

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

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

public ImmutableCharLongMap
of()

Same as empty().

public ImmutableCharLongMap
of(char key, long value)

Same as with(char, long).

public ImmutableCharLongMap
public ImmutableCharLongMap
with()

Same as empty().

public ImmutableCharLongMap
with(char key, long value)

public ImmutableCharLongMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableCharLongMap of()

Same as empty().

ofback to summary
public ImmutableCharLongMap of(char key, long value)

Same as with(char, long).

ofAllback to summary
public ImmutableCharLongMap ofAll(CharLongMap map)

Same as withAll(CharLongMap).

withback to summary
public ImmutableCharLongMap with()

Same as empty().

withback to summary
public ImmutableCharLongMap with(char key, long value)
withAllback to summary
public ImmutableCharLongMap withAll(CharLongMap map)