Enum ImmutableCharListFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableCharListFactoryImpl>
org.eclipse.collections.impl.list.immutable.primitive.ImmutableCharListFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableCharListFactoryImpl>
,java.lang.constant.Constable
,ImmutableCharListFactory
public enum ImmutableCharListFactoryImpl extends Enum<ImmutableCharListFactoryImpl> implements ImmutableCharListFactory
ImmutableCharListFactoryImpl is a factory implementation which creates instances of type
ImmutableCharList
.
This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.- Since:
- 3.2.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description ImmutableCharList
empty()
ImmutableCharList
of()
Same asImmutableCharListFactory.empty()
.ImmutableCharList
of(char one)
Same asImmutableCharListFactory.with(char)
.ImmutableCharList
of(char... items)
ImmutableCharList
ofAll(Iterable<Character> iterable)
ImmutableCharList
ofAll(CharIterable items)
static ImmutableCharListFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableCharListFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.ImmutableCharList
with()
Same asImmutableCharListFactory.empty()
.ImmutableCharList
with(char one)
ImmutableCharList
with(char... items)
ImmutableCharList
withAll(Iterable<Character> iterable)
ImmutableCharList
withAll(CharIterable items)
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
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 interfaceImmutableCharListFactory
-
of
Description copied from interface:ImmutableCharListFactory
Same asImmutableCharListFactory.empty()
.- Specified by:
of
in interfaceImmutableCharListFactory
-
with
Description copied from interface:ImmutableCharListFactory
Same asImmutableCharListFactory.empty()
.- Specified by:
with
in interfaceImmutableCharListFactory
-
of
Description copied from interface:ImmutableCharListFactory
Same asImmutableCharListFactory.with(char)
.- Specified by:
of
in interfaceImmutableCharListFactory
-
with
- Specified by:
with
in interfaceImmutableCharListFactory
-
of
Description copied from interface:ImmutableCharListFactory
- Specified by:
of
in interfaceImmutableCharListFactory
-
with
- Specified by:
with
in interfaceImmutableCharListFactory
-
ofAll
Description copied from interface:ImmutableCharListFactory
- Specified by:
ofAll
in interfaceImmutableCharListFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableCharListFactory
-
ofAll
Description copied from interface:ImmutableCharListFactory
- Specified by:
ofAll
in interfaceImmutableCharListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableCharListFactory
- Since:
- 10.0
-