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

public Interface ImmutableShortBooleanMapFactory

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

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

Method Summary

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

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

public ImmutableShortBooleanMap
of()

Same as empty().

public ImmutableShortBooleanMap
of(short key, boolean value)

Same as with(short, boolean).

public ImmutableShortBooleanMap
public ImmutableShortBooleanMap
with()

Same as empty().

public ImmutableShortBooleanMap
with(short key, boolean value)

public ImmutableShortBooleanMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableShortBooleanMap of()

Same as empty().

ofback to summary
public ImmutableShortBooleanMap of(short key, boolean value)

Same as with(short, boolean).

ofAllback to summary
public ImmutableShortBooleanMap ofAll(ShortBooleanMap map)

Same as withAll(ShortBooleanMap).

withback to summary
public ImmutableShortBooleanMap with()

Same as empty().

withback to summary
public ImmutableShortBooleanMap with(short key, boolean value)
withAllback to summary
public ImmutableShortBooleanMap withAll(ShortBooleanMap map)