Top Description Fields Constructors Methods
org.eclipse.collections.impl.list.mutable.primitive

public Class MutableByteListFactoryImpl

extends Object
implements MutableByteListFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory
Annotations
@ServiceProvider:MutableByteListFactory
Imports
org.eclipse.collections.api.ByteIterable, org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory, org.eclipse.collections.api.list.primitive.MutableByteList, org.eclipse.collections.impl.factory.primitive.ByteLists, org.eclipse.collections.impl.utility.Iterate

MutableByteListFactoryImpl is a factory implementation which creates instances of type MutableByteList. This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.
Since
6.0.

Field Summary

Modifier and TypeField and Description
public static final MutableByteListFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MutableByteList
public MutableByteList
public MutableByteList
public MutableByteList
public MutableByteList
public MutableByteList
public MutableByteList
with(byte... items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.with.

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

public MutableByteList
public MutableByteList
public MutableByteList
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final MutableByteListFactory INSTANCE

Constructor Detail

MutableByteListFactoryImplback to summary
public MutableByteListFactoryImpl()

Method Detail

emptyback to summary
public MutableByteList empty()

Implements org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.empty.

Annotations
@Override
ofback to summary
public MutableByteList of()

Implements org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.of.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.of.

Same as empty().

Annotations
@Override
ofback to summary
public MutableByteList of(byte... items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.of.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.of.

Same as with(byte[]).

Annotations
@Override
ofAllback to summary
public MutableByteList ofAll(ByteIterable items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.ofAll.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.ofAll.

Same as withAll(ByteIterable).

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

Implements org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.ofAll.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.ofAll.

Same as withAll(Iterable).

Annotations
@Override
Since
10.0
withback to summary
public MutableByteList with()

Implements org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.with.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.with.

Same as empty().

Annotations
@Override
withback to summary
public MutableByteList with(byte... items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.with.

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.

Annotations
@Override
withAllback to summary
public MutableByteList withAll(ByteIterable items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.withAll.

Annotations
@Override
withAllback to summary
public MutableByteList withAll(Iterable<Byte> iterable)

Implements org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.withAll.

Annotations
@Override
Since
10.0
withInitialCapacityback to summary
public MutableByteList withInitialCapacity(int capacity)

Overrides default org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.withInitialCapacity.

Doc from org.eclipse.collections.api.factory.list.primitive.MutableByteListFactory.withInitialCapacity.

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

Annotations
@Override