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

public Interface ImmutableIntBooleanMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.IntFunction, .BooleanFunction, org.eclipse.collections.api.map.primitive.IntBooleanMap, .ImmutableIntBooleanMap

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

Method Summary

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

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

public ImmutableIntBooleanMap
of()

Same as empty().

public ImmutableIntBooleanMap
of(int key, boolean value)

Same as with(int, boolean).

public ImmutableIntBooleanMap
public ImmutableIntBooleanMap
with()

Same as empty().

public ImmutableIntBooleanMap
with(int key, boolean value)

public ImmutableIntBooleanMap

Method Detail

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

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

Since
10.0
ofback to summary
public ImmutableIntBooleanMap of()

Same as empty().

ofback to summary
public ImmutableIntBooleanMap of(int key, boolean value)

Same as with(int, boolean).

ofAllback to summary
public ImmutableIntBooleanMap ofAll(IntBooleanMap map)

Same as withAll(IntBooleanMap).

withback to summary
public ImmutableIntBooleanMap with()

Same as empty().

withback to summary
public ImmutableIntBooleanMap with(int key, boolean value)
withAllback to summary
public ImmutableIntBooleanMap withAll(IntBooleanMap map)