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 ImmutableCharListempty()ImmutableCharListof()Same asImmutableCharListFactory.empty().ImmutableCharListof(char one)Same asImmutableCharListFactory.with(char).ImmutableCharListof(char... items)ImmutableCharListofAll(Iterable<Character> iterable)ImmutableCharListofAll(CharIterable items)static ImmutableCharListFactoryImplvalueOf(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.ImmutableCharListwith()Same asImmutableCharListFactory.empty().ImmutableCharListwith(char one)ImmutableCharListwith(char... items)ImmutableCharListwithAll(Iterable<Character> iterable)ImmutableCharListwithAll(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:
emptyin interfaceImmutableCharListFactory
-
of
Description copied from interface:ImmutableCharListFactorySame asImmutableCharListFactory.empty().- Specified by:
ofin interfaceImmutableCharListFactory
-
with
Description copied from interface:ImmutableCharListFactorySame asImmutableCharListFactory.empty().- Specified by:
within interfaceImmutableCharListFactory
-
of
Description copied from interface:ImmutableCharListFactorySame asImmutableCharListFactory.with(char).- Specified by:
ofin interfaceImmutableCharListFactory
-
with
- Specified by:
within interfaceImmutableCharListFactory
-
of
Description copied from interface:ImmutableCharListFactory- Specified by:
ofin interfaceImmutableCharListFactory
-
with
- Specified by:
within interfaceImmutableCharListFactory
-
ofAll
Description copied from interface:ImmutableCharListFactory- Specified by:
ofAllin interfaceImmutableCharListFactory
-
withAll
- Specified by:
withAllin interfaceImmutableCharListFactory
-
ofAll
Description copied from interface:ImmutableCharListFactory- Specified by:
ofAllin interfaceImmutableCharListFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceImmutableCharListFactory- Since:
- 10.0
-