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

public Interface ImmutableObjectBooleanMapFactory

Imports
org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.BooleanFunction, org.eclipse.collections.api.map.primitive.ImmutableObjectBooleanMap, .ObjectBooleanMap

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

Method Summary

Modifier and TypeMethod and Description
public <K> ImmutableObjectBooleanMap<K>
public <T, K> ImmutableObjectBooleanMap<K>
from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, BooleanFunction<? super T> valueFunction)

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

public <K> ImmutableObjectBooleanMap<K>
of()

Same as empty().

public <K> ImmutableObjectBooleanMap<K>
of(K key, boolean value)

Same as with(Object, boolean).

public <K> ImmutableObjectBooleanMap<K>
public <K> ImmutableObjectBooleanMap<K>
with()

Same as empty().

public <K> ImmutableObjectBooleanMap<K>
with(K key, boolean value)

public <K> ImmutableObjectBooleanMap<K>
withAll(ObjectBooleanMap<? extends K> map)

Method Detail

emptyback to summary
public <K> ImmutableObjectBooleanMap<K> empty()
Since
6.0
fromback to summary
public <T, K> ImmutableObjectBooleanMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, BooleanFunction<? super T> valueFunction)

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

Since
10.0
ofback to summary
public <K> ImmutableObjectBooleanMap<K> of()

Same as empty().

ofback to summary
public <K> ImmutableObjectBooleanMap<K> of(K key, boolean value)

Same as with(Object, boolean).

ofAllback to summary
public <K> ImmutableObjectBooleanMap<K> ofAll(ObjectBooleanMap<? extends K> map)

Same as withAll(ObjectBooleanMap).

withback to summary
public <K> ImmutableObjectBooleanMap<K> with()

Same as empty().

withback to summary
public <K> ImmutableObjectBooleanMap<K> with(K key, boolean value)
withAllback to summary
public <K> ImmutableObjectBooleanMap<K> withAll(ObjectBooleanMap<? extends K> map)