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

public Interface ImmutableByteIntMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ByteFunction, .IntFunction, org.eclipse.collections.api.map.primitive.ByteIntMap, .ImmutableByteIntMap

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

Method Summary

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

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

public ImmutableByteIntMap
of()

Same as empty().

public ImmutableByteIntMap
of(byte key, int value)

Same as with(byte, int).

public ImmutableByteIntMap
public ImmutableByteIntMap
with()

Same as empty().

public ImmutableByteIntMap
with(byte key, int value)

public ImmutableByteIntMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableByteIntMap of()

Same as empty().

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

Same as with(byte, int).

ofAllback to summary
public ImmutableByteIntMap ofAll(ByteIntMap map)

Same as withAll(ByteIntMap).

withback to summary
public ImmutableByteIntMap with()

Same as empty().

withback to summary
public ImmutableByteIntMap with(byte key, int value)
withAllback to summary
public ImmutableByteIntMap withAll(ByteIntMap map)