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

public Interface ImmutableByteObjectMapFactory

Imports
org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.ByteFunction, org.eclipse.collections.api.map.primitive.ImmutableByteObjectMap, .ByteObjectMap

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

Method Summary

Modifier and TypeMethod and Description
public <V> ImmutableByteObjectMap<V>
public <T, V> ImmutableByteObjectMap<V>
from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction)

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

public <V> ImmutableByteObjectMap<V>
of()

Same as empty().

public <V> ImmutableByteObjectMap<V>
of(byte key, V value)

Same as with(byte, Object).

public <V> ImmutableByteObjectMap<V>
ofAll(ByteObjectMap<? extends V> map)

Same as withAll(ByteObjectMap).

public <V> ImmutableByteObjectMap<V>
with()

Same as empty().

public <V> ImmutableByteObjectMap<V>
with(byte key, V value)

public <V> ImmutableByteObjectMap<V>
withAll(ByteObjectMap<? extends V> map)

Method Detail

emptyback to summary
public <V> ImmutableByteObjectMap<V> empty()
Since
6.0
fromback to summary
public <T, V> ImmutableByteObjectMap<V> from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction)

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

Since
10.0
ofback to summary
public <V> ImmutableByteObjectMap<V> of()

Same as empty().

ofback to summary
public <V> ImmutableByteObjectMap<V> of(byte key, V value)

Same as with(byte, Object).

ofAllback to summary
public <V> ImmutableByteObjectMap<V> ofAll(ByteObjectMap<? extends V> map)

Same as withAll(ByteObjectMap).

withback to summary
public <V> ImmutableByteObjectMap<V> with()

Same as empty().

withback to summary
public <V> ImmutableByteObjectMap<V> with(byte key, V value)
withAllback to summary
public <V> ImmutableByteObjectMap<V> withAll(ByteObjectMap<? extends V> map)