Class MutableCharListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.primitive.MutableCharListFactoryImpl
-
- All Implemented Interfaces:
MutableCharListFactory
public class MutableCharListFactoryImpl extends java.lang.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()
Same asMutableCharListFactory.empty()
.MutableCharList
of(char... items)
Same asMutableCharListFactory.with(char[])
.MutableCharList
ofAll(java.lang.Iterable<java.lang.Character> iterable)
MutableCharList
ofAll(CharIterable items)
MutableCharList
with()
Same asMutableCharListFactory.empty()
.MutableCharList
with(char... items)
Creates a new list using the passeditems
argument as the backing store.MutableCharList
withAll(java.lang.Iterable<java.lang.Character> iterable)
MutableCharList
withAll(CharIterable items)
MutableCharList
withInitialCapacity(int capacity)
Same asMutableCharListFactory.empty()
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, 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()
Description copied from interface:MutableCharListFactory
Same asMutableCharListFactory.empty()
.- Specified by:
of
in interfaceMutableCharListFactory
-
with
public MutableCharList with()
Description copied from interface:MutableCharListFactory
Same asMutableCharListFactory.empty()
.- Specified by:
with
in interfaceMutableCharListFactory
-
withInitialCapacity
public MutableCharList withInitialCapacity(int capacity)
Description copied from interface:MutableCharListFactory
Same asMutableCharListFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableCharListFactory
-
of
public MutableCharList of(char... items)
Description copied from interface:MutableCharListFactory
Same asMutableCharListFactory.with(char[])
.- 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)
Description copied from interface:MutableCharListFactory
- Specified by:
ofAll
in interfaceMutableCharListFactory
-
withAll
public MutableCharList withAll(CharIterable items)
- Specified by:
withAll
in interfaceMutableCharListFactory
-
ofAll
public MutableCharList ofAll(java.lang.Iterable<java.lang.Character> iterable)
Description copied from interface:MutableCharListFactory
- Specified by:
ofAll
in interfaceMutableCharListFactory
- Since:
- 10.0
-
withAll
public MutableCharList withAll(java.lang.Iterable<java.lang.Character> iterable)
- Specified by:
withAll
in interfaceMutableCharListFactory
- Since:
- 10.0
-
-