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

public Interface ImmutableLongBooleanMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.LongFunction, .BooleanFunction, org.eclipse.collections.api.map.primitive.LongBooleanMap, .ImmutableLongBooleanMap

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

Method Summary

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

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

public ImmutableLongBooleanMap
of()

Same as empty().

public ImmutableLongBooleanMap
of(long key, boolean value)

Same as with(long, boolean).

public ImmutableLongBooleanMap
public ImmutableLongBooleanMap
with()

Same as empty().

public ImmutableLongBooleanMap
with(long key, boolean value)

public ImmutableLongBooleanMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableLongBooleanMap of()

Same as empty().

ofback to summary
public ImmutableLongBooleanMap of(long key, boolean value)

Same as with(long, boolean).

ofAllback to summary
public ImmutableLongBooleanMap ofAll(LongBooleanMap map)

Same as withAll(LongBooleanMap).

withback to summary
public ImmutableLongBooleanMap with()

Same as empty().

withback to summary
public ImmutableLongBooleanMap with(long key, boolean value)
withAllback to summary
public ImmutableLongBooleanMap withAll(LongBooleanMap map)