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

public Interface ImmutableShortByteMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ShortFunction, .ByteFunction, org.eclipse.collections.api.map.primitive.ShortByteMap, .ImmutableShortByteMap

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

Method Summary

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

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

public ImmutableShortByteMap
of()

Same as empty().

public ImmutableShortByteMap
of(short key, byte value)

Same as with(short, byte).

public ImmutableShortByteMap
public ImmutableShortByteMap
with()

Same as empty().

public ImmutableShortByteMap
with(short key, byte value)

public ImmutableShortByteMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableShortByteMap of()

Same as empty().

ofback to summary
public ImmutableShortByteMap of(short key, byte value)

Same as with(short, byte).

ofAllback to summary
public ImmutableShortByteMap ofAll(ShortByteMap map)

Same as withAll(ShortByteMap).

withback to summary
public ImmutableShortByteMap with()

Same as empty().

withback to summary
public ImmutableShortByteMap with(short key, byte value)
withAllback to summary
public ImmutableShortByteMap withAll(ShortByteMap map)