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

public Interface ImmutableObjectCharMapFactory

Imports
org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.CharFunction, org.eclipse.collections.api.map.primitive.ImmutableObjectCharMap, .ObjectCharMap

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

Method Summary

Modifier and TypeMethod and Description
public <K> ImmutableObjectCharMap<K>
public <T, K> ImmutableObjectCharMap<K>
from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, CharFunction<? super T> valueFunction)

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

public <K> ImmutableObjectCharMap<K>
of()

Same as empty().

public <K> ImmutableObjectCharMap<K>
of(K key, char value)

Same as with(Object, char).

public <K> ImmutableObjectCharMap<K>
ofAll(ObjectCharMap<? extends K> map)

Same as withAll(ObjectCharMap).

public <K> ImmutableObjectCharMap<K>
with()

Same as empty().

public <K> ImmutableObjectCharMap<K>
with(K key, char value)

public <K> ImmutableObjectCharMap<K>
withAll(ObjectCharMap<? extends K> map)

Method Detail

emptyback to summary
public <K> ImmutableObjectCharMap<K> empty()
Since
6.0
fromback to summary
public <T, K> ImmutableObjectCharMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, CharFunction<? super T> valueFunction)

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

Since
10.0
ofback to summary
public <K> ImmutableObjectCharMap<K> of()

Same as empty().

ofback to summary
public <K> ImmutableObjectCharMap<K> of(K key, char value)

Same as with(Object, char).

ofAllback to summary
public <K> ImmutableObjectCharMap<K> ofAll(ObjectCharMap<? extends K> map)

Same as withAll(ObjectCharMap).

withback to summary
public <K> ImmutableObjectCharMap<K> with()

Same as empty().

withback to summary
public <K> ImmutableObjectCharMap<K> with(K key, char value)
withAllback to summary
public <K> ImmutableObjectCharMap<K> withAll(ObjectCharMap<? extends K> map)