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

public Interface ImmutableCharBooleanMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.CharFunction, .BooleanFunction, org.eclipse.collections.api.map.primitive.CharBooleanMap, .ImmutableCharBooleanMap

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

Method Summary

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

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

public ImmutableCharBooleanMap
of()

Same as empty().

public ImmutableCharBooleanMap
of(char key, boolean value)

Same as with(char, boolean).

public ImmutableCharBooleanMap
public ImmutableCharBooleanMap
with()

Same as empty().

public ImmutableCharBooleanMap
with(char key, boolean value)

public ImmutableCharBooleanMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableCharBooleanMap of()

Same as empty().

ofback to summary
public ImmutableCharBooleanMap of(char key, boolean value)

Same as with(char, boolean).

ofAllback to summary
public ImmutableCharBooleanMap ofAll(CharBooleanMap map)

Same as withAll(CharBooleanMap).

withback to summary
public ImmutableCharBooleanMap with()

Same as empty().

withback to summary
public ImmutableCharBooleanMap with(char key, boolean value)
withAllback to summary
public ImmutableCharBooleanMap withAll(CharBooleanMap map)