Class MutableCharListFactoryImpl
java.lang.Object
org.eclipse.collections.impl.list.mutable.primitive.MutableCharListFactoryImpl
- All Implemented Interfaces:
MutableCharListFactory
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()of()Same asMutableCharListFactory.empty().of(char... items) Same asMutableCharListFactory.with(char[]).ofAll(CharIterable items) with()Same asMutableCharListFactory.empty().with(char... items) Creates a new list using the passeditemsargument as the backing store.withAll(CharIterable items) withInitialCapacity(int capacity) Same asMutableCharListFactory.empty().Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MutableCharListFactory
wrapCopy
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableCharListFactoryImpl
public MutableCharListFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableCharListFactory
-
of
Description copied from interface:MutableCharListFactorySame asMutableCharListFactory.empty().- Specified by:
ofin interfaceMutableCharListFactory
-
with
Description copied from interface:MutableCharListFactorySame asMutableCharListFactory.empty().- Specified by:
within interfaceMutableCharListFactory
-
withInitialCapacity
Description copied from interface:MutableCharListFactorySame asMutableCharListFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableCharListFactory
-
of
Description copied from interface:MutableCharListFactorySame asMutableCharListFactory.with(char[]).- Specified by:
ofin interfaceMutableCharListFactory
-
with
Creates a new list using the passeditemsargument 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:
within interfaceMutableCharListFactory
-
ofAll
Description copied from interface:MutableCharListFactory- Specified by:
ofAllin interfaceMutableCharListFactory
-
withAll
- Specified by:
withAllin interfaceMutableCharListFactory
-
ofAll
Description copied from interface:MutableCharListFactory- Specified by:
ofAllin interfaceMutableCharListFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceMutableCharListFactory- Since:
- 10.0
-