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

public Interface MutableShortBooleanMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ShortFunction, .BooleanFunction, org.eclipse.collections.api.map.primitive.MutableShortBooleanMap, .ShortBooleanMap

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

Method Summary

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

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

public MutableShortBooleanMap
of()

Same as empty().

public default MutableShortBooleanMap
of(short key, boolean value)

public default MutableShortBooleanMap
of(short key1, boolean value1, short key2, boolean value2)

public default MutableShortBooleanMap
of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3)

public default MutableShortBooleanMap
of(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4)

public MutableShortBooleanMap
public MutableShortBooleanMap
ofInitialCapacity(int capacity)

Same as empty().

public MutableShortBooleanMap
with()

Same as empty().

public default MutableShortBooleanMap
with(short key, boolean value)

public default MutableShortBooleanMap
with(short key1, boolean value1, short key2, boolean value2)

public default MutableShortBooleanMap
with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3)

public default MutableShortBooleanMap
with(short key1, boolean value1, short key2, boolean value2, short key3, boolean value3, short key4, boolean value4)

public MutableShortBooleanMap
public MutableShortBooleanMap
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

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

Since
10.0
ofback to summary
public MutableShortBooleanMap of()

Same as empty().

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

Same as withAll(ShortBooleanMap).

ofInitialCapacityback to summary
public MutableShortBooleanMap ofInitialCapacity(int capacity)

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

withback to summary
public MutableShortBooleanMap with()

Same as empty().

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

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