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

public Interface ImmutableIntByteMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.IntFunction, .ByteFunction, org.eclipse.collections.api.map.primitive.IntByteMap, .ImmutableIntByteMap

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

Method Summary

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

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

public ImmutableIntByteMap
of()

Same as empty().

public ImmutableIntByteMap
of(int key, byte value)

Same as with(int, byte).

public ImmutableIntByteMap
public ImmutableIntByteMap
with()

Same as empty().

public ImmutableIntByteMap
with(int key, byte value)

public ImmutableIntByteMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableIntByteMap of()

Same as empty().

ofback to summary
public ImmutableIntByteMap of(int key, byte value)

Same as with(int, byte).

ofAllback to summary
public ImmutableIntByteMap ofAll(IntByteMap map)

Same as withAll(IntByteMap).

withback to summary
public ImmutableIntByteMap with()

Same as empty().

withback to summary
public ImmutableIntByteMap with(int key, byte value)
withAllback to summary
public ImmutableIntByteMap withAll(IntByteMap map)