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

public Interface MutableIntCharMapFactory

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

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

Method Summary

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

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

public MutableIntCharMap
of()

Same as empty().

public default MutableIntCharMap
of(int key, char value)

public default MutableIntCharMap
of(int key1, char value1, int key2, char value2)

public default MutableIntCharMap
of(int key1, char value1, int key2, char value2, int key3, char value3)

public default MutableIntCharMap
of(int key1, char value1, int key2, char value2, int key3, char value3, int key4, char value4)

public MutableIntCharMap
public MutableIntCharMap
ofInitialCapacity(int capacity)

Same as empty().

public MutableIntCharMap
with()

Same as empty().

public default MutableIntCharMap
with(int key, char value)

public default MutableIntCharMap
with(int key1, char value1, int key2, char value2)

public default MutableIntCharMap
with(int key1, char value1, int key2, char value2, int key3, char value3)

public default MutableIntCharMap
with(int key1, char value1, int key2, char value2, int key3, char value3, int key4, char value4)

public MutableIntCharMap
public MutableIntCharMap
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

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

Since
10.0
ofback to summary
public MutableIntCharMap of()

Same as empty().

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

Same as withAll(IntCharMap).

ofInitialCapacityback to summary
public MutableIntCharMap ofInitialCapacity(int capacity)

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

withback to summary
public MutableIntCharMap with()

Same as empty().

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

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