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

public Interface MutableIntByteMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.IntFunction, .ByteFunction, org.eclipse.collections.api.map.primitive.MutableIntByteMap, .IntByteMap

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

Method Summary

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

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

public MutableIntByteMap
of()

Same as empty().

public default MutableIntByteMap
of(int key, byte value)

public default MutableIntByteMap
of(int key1, byte value1, int key2, byte value2)

public default MutableIntByteMap
of(int key1, byte value1, int key2, byte value2, int key3, byte value3)

public default MutableIntByteMap
of(int key1, byte value1, int key2, byte value2, int key3, byte value3, int key4, byte value4)

public MutableIntByteMap
public MutableIntByteMap
ofInitialCapacity(int capacity)

Same as empty().

public MutableIntByteMap
with()

Same as empty().

public default MutableIntByteMap
with(int key, byte value)

public default MutableIntByteMap
with(int key1, byte value1, int key2, byte value2)

public default MutableIntByteMap
with(int key1, byte value1, int key2, byte value2, int key3, byte value3)

public default MutableIntByteMap
with(int key1, byte value1, int key2, byte value2, int key3, byte value3, int key4, byte value4)

public MutableIntByteMap
public MutableIntByteMap
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

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

Since
10.0
ofback to summary
public MutableIntByteMap of()

Same as empty().

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

Same as withAll(IntByteMap).

ofInitialCapacityback to summary
public MutableIntByteMap ofInitialCapacity(int capacity)

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

withback to summary
public MutableIntByteMap with()

Same as empty().

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

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