Class MutableCharListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.primitive.MutableCharListFactoryImpl
-
- All Implemented Interfaces:
MutableCharListFactory
public class MutableCharListFactoryImpl extends Object implements MutableCharListFactory
MutableCharListFactoryImpl is a factory implementation which creates instances of typeMutableCharList
. This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableCharListFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableCharListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableCharList
empty()
MutableCharList
of()
MutableCharList
of(char... items)
MutableCharList
ofAll(Iterable<Character> iterable)
MutableCharList
ofAll(CharIterable items)
MutableCharList
with()
MutableCharList
with(char... items)
Creates a new list using the passeditems
argument as the backing store.MutableCharList
withAll(Iterable<Character> iterable)
MutableCharList
withAll(CharIterable items)
MutableCharList
withInitialCapacity(int capacity)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.factory.list.primitive.MutableCharListFactory
wrapCopy
-
-
-
-
Field Detail
-
INSTANCE
public static final MutableCharListFactory INSTANCE
-
-
Method Detail
-
empty
public MutableCharList empty()
- Specified by:
empty
in interfaceMutableCharListFactory
-
of
public MutableCharList of()
- Specified by:
of
in interfaceMutableCharListFactory
-
with
public MutableCharList with()
- Specified by:
with
in interfaceMutableCharListFactory
-
withInitialCapacity
public MutableCharList withInitialCapacity(int capacity)
- Specified by:
withInitialCapacity
in interfaceMutableCharListFactory
-
of
public MutableCharList of(char... items)
- Specified by:
of
in interfaceMutableCharListFactory
-
with
public MutableCharList with(char... items)
Creates a new list using the passeditems
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. !!!
- Specified by:
with
in interfaceMutableCharListFactory
-
ofAll
public MutableCharList ofAll(CharIterable items)
- Specified by:
ofAll
in interfaceMutableCharListFactory
-
withAll
public MutableCharList withAll(CharIterable items)
- Specified by:
withAll
in interfaceMutableCharListFactory
-
ofAll
public MutableCharList ofAll(Iterable<Character> iterable)
- Specified by:
ofAll
in interfaceMutableCharListFactory
- Since:
- 10.0
-
withAll
public MutableCharList withAll(Iterable<Character> iterable)
- Specified by:
withAll
in interfaceMutableCharListFactory
- Since:
- 10.0
-
-