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

public Interface ImmutableByteShortMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ByteFunction, .ShortFunction, org.eclipse.collections.api.map.primitive.ByteShortMap, .ImmutableByteShortMap

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

Method Summary

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

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

public ImmutableByteShortMap
of()

Same as empty().

public ImmutableByteShortMap
of(byte key, short value)

Same as with(byte, short).

public ImmutableByteShortMap
public ImmutableByteShortMap
with()

Same as empty().

public ImmutableByteShortMap
with(byte key, short value)

public ImmutableByteShortMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableByteShortMap of()

Same as empty().

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

Same as with(byte, short).

ofAllback to summary
public ImmutableByteShortMap ofAll(ByteShortMap map)

Same as withAll(ByteShortMap).

withback to summary
public ImmutableByteShortMap with()

Same as empty().

withback to summary
public ImmutableByteShortMap with(byte key, short value)
withAllback to summary
public ImmutableByteShortMap withAll(ByteShortMap map)