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

public Interface MutableCharBooleanMapFactory

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

A factory which creates instances of type MutableCharBooleanMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.
Since
6.0.

Method Summary

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

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

public MutableCharBooleanMap
of()

Same as empty().

public default MutableCharBooleanMap
of(char key, boolean value)

public default MutableCharBooleanMap
of(char key1, boolean value1, char key2, boolean value2)

public default MutableCharBooleanMap
of(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3)

public default MutableCharBooleanMap
of(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3, char key4, boolean value4)

public MutableCharBooleanMap
public MutableCharBooleanMap
ofInitialCapacity(int capacity)

Same as empty().

public MutableCharBooleanMap
with()

Same as empty().

public default MutableCharBooleanMap
with(char key, boolean value)

public default MutableCharBooleanMap
with(char key1, boolean value1, char key2, boolean value2)

public default MutableCharBooleanMap
with(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3)

public default MutableCharBooleanMap
with(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3, char key4, boolean value4)

public MutableCharBooleanMap
public MutableCharBooleanMap
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

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

Since
10.0
ofback to summary
public MutableCharBooleanMap of()

Same as empty().

ofback to summary
public default MutableCharBooleanMap of(char key, boolean value)
Since
11.1.
ofback to summary
public default MutableCharBooleanMap of(char key1, boolean value1, char key2, boolean value2)
Since
11.1.
ofback to summary
public default MutableCharBooleanMap of(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3)
Since
11.1.
ofback to summary
public default MutableCharBooleanMap of(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3, char key4, boolean value4)
Since
11.1.
ofAllback to summary
public MutableCharBooleanMap ofAll(CharBooleanMap map)

Same as withAll(CharBooleanMap).

ofInitialCapacityback to summary
public MutableCharBooleanMap ofInitialCapacity(int capacity)

Same as empty(). but takes in an initial capacity

withback to summary
public MutableCharBooleanMap with()

Same as empty().

withback to summary
public default MutableCharBooleanMap with(char key, boolean value)
Since
11.1.
withback to summary
public default MutableCharBooleanMap with(char key1, boolean value1, char key2, boolean value2)
Since
11.1.
withback to summary
public default MutableCharBooleanMap with(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3)
Since
11.1.
withback to summary
public default MutableCharBooleanMap with(char key1, boolean value1, char key2, boolean value2, char key3, boolean value3, char key4, boolean value4)
Since
11.1.
withAllback to summary
public MutableCharBooleanMap withAll(CharBooleanMap map)
withInitialCapacityback to summary
public MutableCharBooleanMap withInitialCapacity(int capacity)

Same as empty(). but takes in an initial capacity