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

public Interface MutableShortByteMapFactory

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

A factory which creates instances of type MutableShortByteMap. This file was automatically generated from template file mutablePrimitivePrimitiveMapFactory.stg.
Since
6.0.

Method Summary

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

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

public MutableShortByteMap
of()

Same as empty().

public default MutableShortByteMap
of(short key, byte value)

public default MutableShortByteMap
of(short key1, byte value1, short key2, byte value2)

public default MutableShortByteMap
of(short key1, byte value1, short key2, byte value2, short key3, byte value3)

public default MutableShortByteMap
of(short key1, byte value1, short key2, byte value2, short key3, byte value3, short key4, byte value4)

public MutableShortByteMap
public MutableShortByteMap
ofInitialCapacity(int capacity)

Same as empty().

public MutableShortByteMap
with()

Same as empty().

public default MutableShortByteMap
with(short key, byte value)

public default MutableShortByteMap
with(short key1, byte value1, short key2, byte value2)

public default MutableShortByteMap
with(short key1, byte value1, short key2, byte value2, short key3, byte value3)

public default MutableShortByteMap
with(short key1, byte value1, short key2, byte value2, short key3, byte value3, short key4, byte value4)

public MutableShortByteMap
public MutableShortByteMap
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

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

Since
10.0
ofback to summary
public MutableShortByteMap of()

Same as empty().

ofback to summary
public default MutableShortByteMap of(short key, byte value)
Since
11.1.
ofback to summary
public default MutableShortByteMap of(short key1, byte value1, short key2, byte value2)
Since
11.1.
ofback to summary
public default MutableShortByteMap of(short key1, byte value1, short key2, byte value2, short key3, byte value3)
Since
11.1.
ofback to summary
public default MutableShortByteMap of(short key1, byte value1, short key2, byte value2, short key3, byte value3, short key4, byte value4)
Since
11.1.
ofAllback to summary
public MutableShortByteMap ofAll(ShortByteMap map)

Same as withAll(ShortByteMap).

ofInitialCapacityback to summary
public MutableShortByteMap ofInitialCapacity(int capacity)

Same as empty(). but takes in an initial capacity

withback to summary
public MutableShortByteMap with()

Same as empty().

withback to summary
public default MutableShortByteMap with(short key, byte value)
Since
11.1.
withback to summary
public default MutableShortByteMap with(short key1, byte value1, short key2, byte value2)
Since
11.1.
withback to summary
public default MutableShortByteMap with(short key1, byte value1, short key2, byte value2, short key3, byte value3)
Since
11.1.
withback to summary
public default MutableShortByteMap with(short key1, byte value1, short key2, byte value2, short key3, byte value3, short key4, byte value4)
Since
11.1.
withAllback to summary
public MutableShortByteMap withAll(ShortByteMap map)
withInitialCapacityback to summary
public MutableShortByteMap withInitialCapacity(int capacity)

Same as empty(). but takes in an initial capacity