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

public Interface MutableCharByteMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.CharFunction, .ByteFunction, org.eclipse.collections.api.map.primitive.MutableCharByteMap, .CharByteMap

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

Method Summary

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

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

public MutableCharByteMap
of()

Same as empty().

public default MutableCharByteMap
of(char key, byte value)

public default MutableCharByteMap
of(char key1, byte value1, char key2, byte value2)

public default MutableCharByteMap
of(char key1, byte value1, char key2, byte value2, char key3, byte value3)

public default MutableCharByteMap
of(char key1, byte value1, char key2, byte value2, char key3, byte value3, char key4, byte value4)

public MutableCharByteMap
public MutableCharByteMap
ofInitialCapacity(int capacity)

Same as empty().

public MutableCharByteMap
with()

Same as empty().

public default MutableCharByteMap
with(char key, byte value)

public default MutableCharByteMap
with(char key1, byte value1, char key2, byte value2)

public default MutableCharByteMap
with(char key1, byte value1, char key2, byte value2, char key3, byte value3)

public default MutableCharByteMap
with(char key1, byte value1, char key2, byte value2, char key3, byte value3, char key4, byte value4)

public MutableCharByteMap
public MutableCharByteMap
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

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

Since
10.0
ofback to summary
public MutableCharByteMap of()

Same as empty().

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

Same as withAll(CharByteMap).

ofInitialCapacityback to summary
public MutableCharByteMap ofInitialCapacity(int capacity)

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

withback to summary
public MutableCharByteMap with()

Same as empty().

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

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