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

public Interface MutableByteListFactory

Imports
org.eclipse.collections.api.ByteIterable, org.eclipse.collections.api.list.primitive.MutableByteList

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

Method Summary

Modifier and TypeMethod and Description
public MutableByteList
public MutableByteList
of()

Same as empty().

public MutableByteList
of(byte... items)

Same as with(byte[]).

public MutableByteList
public MutableByteList
ofAll(Iterable<Byte> iterable)

Same as withAll(Iterable).

public MutableByteList
with()

Same as empty().

public MutableByteList
with(byte... items)

Creates a new list using the passed items argument as the backing store.

public MutableByteList
public MutableByteList
withAll(Iterable<Byte> iterable)

public default MutableByteList
withInitialCapacity(int capacity)

Same as empty().

public default MutableByteList
wrapCopy(byte... array)

Creates a new list by first copying the array passed in.

Method Detail

emptyback to summary
public MutableByteList empty()
ofback to summary
public MutableByteList of()

Same as empty().

ofback to summary
public MutableByteList of(byte... items)

Same as with(byte[]).

ofAllback to summary
public MutableByteList ofAll(ByteIterable items)

Same as withAll(ByteIterable).

ofAllback to summary
public MutableByteList ofAll(Iterable<Byte> iterable)

Same as withAll(Iterable).

withback to summary
public MutableByteList with()

Same as empty().

withback to summary
public MutableByteList with(byte... items)

Creates a new list using the passed items argument as the backing store.

!!! WARNING: This method uses the passed in array, so can be very unsafe if the original array is held onto anywhere else.

withAllback to summary
public MutableByteList withAll(ByteIterable items)
withAllback to summary
public MutableByteList withAll(Iterable<Byte> iterable)
withInitialCapacityback to summary
public default MutableByteList withInitialCapacity(int capacity)

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

Since
10.3
wrapCopyback to summary
public default MutableByteList wrapCopy(byte... array)

Creates a new list by first copying the array passed in.