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

public Interface MutableIntBooleanMapFactory

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

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

Method Summary

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

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

public MutableIntBooleanMap
of()

Same as empty().

public default MutableIntBooleanMap
of(int key, boolean value)

public default MutableIntBooleanMap
of(int key1, boolean value1, int key2, boolean value2)

public default MutableIntBooleanMap
of(int key1, boolean value1, int key2, boolean value2, int key3, boolean value3)

public default MutableIntBooleanMap
of(int key1, boolean value1, int key2, boolean value2, int key3, boolean value3, int key4, boolean value4)

public MutableIntBooleanMap
public MutableIntBooleanMap
ofInitialCapacity(int capacity)

Same as empty().

public MutableIntBooleanMap
with()

Same as empty().

public default MutableIntBooleanMap
with(int key, boolean value)

public default MutableIntBooleanMap
with(int key1, boolean value1, int key2, boolean value2)

public default MutableIntBooleanMap
with(int key1, boolean value1, int key2, boolean value2, int key3, boolean value3)

public default MutableIntBooleanMap
with(int key1, boolean value1, int key2, boolean value2, int key3, boolean value3, int key4, boolean value4)

public MutableIntBooleanMap
public MutableIntBooleanMap
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

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

Since
10.0
ofback to summary
public MutableIntBooleanMap of()

Same as empty().

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

Same as withAll(IntBooleanMap).

ofInitialCapacityback to summary
public MutableIntBooleanMap ofInitialCapacity(int capacity)

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

withback to summary
public MutableIntBooleanMap with()

Same as empty().

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

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