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

public Interface MutableShortCharMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ShortFunction, .CharFunction, org.eclipse.collections.api.map.primitive.MutableShortCharMap, .ShortCharMap

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

Method Summary

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

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

public MutableShortCharMap
of()

Same as empty().

public default MutableShortCharMap
of(short key, char value)

public default MutableShortCharMap
of(short key1, char value1, short key2, char value2)

public default MutableShortCharMap
of(short key1, char value1, short key2, char value2, short key3, char value3)

public default MutableShortCharMap
of(short key1, char value1, short key2, char value2, short key3, char value3, short key4, char value4)

public MutableShortCharMap
public MutableShortCharMap
ofInitialCapacity(int capacity)

Same as empty().

public MutableShortCharMap
with()

Same as empty().

public default MutableShortCharMap
with(short key, char value)

public default MutableShortCharMap
with(short key1, char value1, short key2, char value2)

public default MutableShortCharMap
with(short key1, char value1, short key2, char value2, short key3, char value3)

public default MutableShortCharMap
with(short key1, char value1, short key2, char value2, short key3, char value3, short key4, char value4)

public MutableShortCharMap
public MutableShortCharMap
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

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

Since
10.0
ofback to summary
public MutableShortCharMap of()

Same as empty().

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

Same as withAll(ShortCharMap).

ofInitialCapacityback to summary
public MutableShortCharMap ofInitialCapacity(int capacity)

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

withback to summary
public MutableShortCharMap with()

Same as empty().

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

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