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

public Interface ImmutableCharByteMapFactory

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

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

Method Summary

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

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

public ImmutableCharByteMap
of()

Same as empty().

public ImmutableCharByteMap
of(char key, byte value)

Same as with(char, byte).

public ImmutableCharByteMap
public ImmutableCharByteMap
with()

Same as empty().

public ImmutableCharByteMap
with(char key, byte value)

public ImmutableCharByteMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableCharByteMap of()

Same as empty().

ofback to summary
public ImmutableCharByteMap of(char key, byte value)

Same as with(char, byte).

ofAllback to summary
public ImmutableCharByteMap ofAll(CharByteMap map)

Same as withAll(CharByteMap).

withback to summary
public ImmutableCharByteMap with()

Same as empty().

withback to summary
public ImmutableCharByteMap with(char key, byte value)
withAllback to summary
public ImmutableCharByteMap withAll(CharByteMap map)