Enum MutableCharListFactoryImpl
java.lang.Object
java.lang.Enum<MutableCharListFactoryImpl>
org.eclipse.collections.impl.list.mutable.primitive.MutableCharListFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<MutableCharListFactoryImpl>
,java.lang.constant.Constable
,MutableCharListFactory
public enum MutableCharListFactoryImpl
extends Enum<MutableCharListFactoryImpl>
implements 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionempty()
of()
Same asMutableCharListFactory.empty()
.of
(char... items) Same asMutableCharListFactory.with(char[])
.ofAll
(CharIterable items) static MutableCharListFactoryImpl
Returns the enum constant of this type with the specified name.static MutableCharListFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.with()
Same asMutableCharListFactory.empty()
.with
(char... items) Creates a new list using the passeditems
argument as the backing store.withAll
(CharIterable items) withInitialCapacity
(int capacity) Same asMutableCharListFactory.empty()
.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.eclipse.collections.api.factory.list.primitive.MutableCharListFactory
wrapCopy
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
empty
- Specified by:
empty
in interfaceMutableCharListFactory
-
of
Description copied from interface:MutableCharListFactory
Same asMutableCharListFactory.empty()
.- Specified by:
of
in interfaceMutableCharListFactory
-
with
Description copied from interface:MutableCharListFactory
Same asMutableCharListFactory.empty()
.- Specified by:
with
in interfaceMutableCharListFactory
-
withInitialCapacity
Description copied from interface:MutableCharListFactory
Same asMutableCharListFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableCharListFactory
-
of
Description copied from interface:MutableCharListFactory
Same asMutableCharListFactory.with(char[])
.- Specified by:
of
in interfaceMutableCharListFactory
-
with
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
Description copied from interface:MutableCharListFactory
- Specified by:
ofAll
in interfaceMutableCharListFactory
-
withAll
- Specified by:
withAll
in interfaceMutableCharListFactory
-
ofAll
Description copied from interface:MutableCharListFactory
- Specified by:
ofAll
in interfaceMutableCharListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceMutableCharListFactory
- Since:
- 10.0
-