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

public Class MutableCharListFactoryImpl

extends Object
implements MutableCharListFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.list.primitive.MutableCharListFactory
Annotations
@ServiceProvider:MutableCharListFactory
Imports
org.eclipse.collections.api.CharIterable, org.eclipse.collections.api.factory.list.primitive.MutableCharListFactory, org.eclipse.collections.api.list.primitive.MutableCharList, org.eclipse.collections.impl.factory.primitive.CharLists, org.eclipse.collections.impl.utility.Iterate

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

Field Summary

Modifier and TypeField and Description
public static final MutableCharListFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MutableCharList
public MutableCharList
public MutableCharList
public MutableCharList
public MutableCharList
public MutableCharList
public MutableCharList
with(char... items)

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

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

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

Field Detail

INSTANCEback to summary
public static final MutableCharListFactory INSTANCE

Constructor Detail

MutableCharListFactoryImplback to summary
public MutableCharListFactoryImpl()

Method Detail

emptyback to summary
public MutableCharList empty()

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

Annotations
@Override
ofback to summary
public MutableCharList of()

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

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

Same as empty().

Annotations
@Override
ofback to summary
public MutableCharList of(char... items)

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

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

Same as with(char[]).

Annotations
@Override
ofAllback to summary
public MutableCharList ofAll(CharIterable items)

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

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

Same as withAll(CharIterable).

Annotations
@Override
ofAllback to summary
public MutableCharList ofAll(Iterable<Character> iterable)

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

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

Same as withAll(Iterable).

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

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

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

Same as empty().

Annotations
@Override
withback to summary
public MutableCharList with(char... items)

Implements org.eclipse.collections.api.factory.list.primitive.MutableCharListFactory.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 MutableCharList withAll(CharIterable items)

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

Annotations
@Override
withAllback to summary
public MutableCharList withAll(Iterable<Character> iterable)

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

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

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

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

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

Annotations
@Override