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

public Interface MutableByteByteMapFactory

Imports
org.eclipse.collections.api.block.function.primitive.ByteFunction, org.eclipse.collections.api.map.primitive.MutableByteByteMap, .ByteByteMap

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

Method Summary

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

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

public MutableByteByteMap
of()

Same as empty().

public default MutableByteByteMap
of(byte key, byte value)

public default MutableByteByteMap
of(byte key1, byte value1, byte key2, byte value2)

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

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

public MutableByteByteMap
public MutableByteByteMap
ofInitialCapacity(int capacity)

Same as empty().

public MutableByteByteMap
with()

Same as empty().

public default MutableByteByteMap
with(byte key, byte value)

public default MutableByteByteMap
with(byte key1, byte value1, byte key2, byte value2)

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

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

public MutableByteByteMap
public MutableByteByteMap
withInitialCapacity(int capacity)

Same as empty().

Method Detail

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

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

Since
10.0
ofback to summary
public MutableByteByteMap of()

Same as empty().

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

Same as withAll(ByteByteMap).

ofInitialCapacityback to summary
public MutableByteByteMap ofInitialCapacity(int capacity)

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

withback to summary
public MutableByteByteMap with()

Same as empty().

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

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