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

public Interface ImmutableByteLongMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ByteFunction, .LongFunction, org.eclipse.collections.api.map.primitive.ByteLongMap, .ImmutableByteLongMap

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

Method Summary

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

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

public ImmutableByteLongMap
of()

Same as empty().

public ImmutableByteLongMap
of(byte key, long value)

Same as with(byte, long).

public ImmutableByteLongMap
public ImmutableByteLongMap
with()

Same as empty().

public ImmutableByteLongMap
with(byte key, long value)

public ImmutableByteLongMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableByteLongMap of()

Same as empty().

ofback to summary
public ImmutableByteLongMap of(byte key, long value)

Same as with(byte, long).

ofAllback to summary
public ImmutableByteLongMap ofAll(ByteLongMap map)

Same as withAll(ByteLongMap).

withback to summary
public ImmutableByteLongMap with()

Same as empty().

withback to summary
public ImmutableByteLongMap with(byte key, long value)
withAllback to summary
public ImmutableByteLongMap withAll(ByteLongMap map)