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

public Interface MutableIntLongMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.IntFunction, .LongFunction, org.eclipse.collections.api.map.primitive.MutableIntLongMap, .IntLongMap

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

Method Summary

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

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

public MutableIntLongMap
of()

Same as empty().

public default MutableIntLongMap
of(int key, long value)

public default MutableIntLongMap
of(int key1, long value1, int key2, long value2)

public default MutableIntLongMap
of(int key1, long value1, int key2, long value2, int key3, long value3)

public default MutableIntLongMap
of(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4)

public MutableIntLongMap
public MutableIntLongMap
ofInitialCapacity(int capacity)

Same as empty().

public MutableIntLongMap
with()

Same as empty().

public default MutableIntLongMap
with(int key, long value)

public default MutableIntLongMap
with(int key1, long value1, int key2, long value2)

public default MutableIntLongMap
with(int key1, long value1, int key2, long value2, int key3, long value3)

public default MutableIntLongMap
with(int key1, long value1, int key2, long value2, int key3, long value3, int key4, long value4)

public MutableIntLongMap
public MutableIntLongMap
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

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

Since
10.0
ofback to summary
public MutableIntLongMap of()

Same as empty().

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

Same as withAll(IntLongMap).

ofInitialCapacityback to summary
public MutableIntLongMap ofInitialCapacity(int capacity)

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

withback to summary
public MutableIntLongMap with()

Same as empty().

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

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