Enum ImmutableCharSetFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableCharSetFactoryImpl>
org.eclipse.collections.impl.set.immutable.primitive.ImmutableCharSetFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableCharSetFactoryImpl>,java.lang.constant.Constable,ImmutableCharSetFactory
public enum ImmutableCharSetFactoryImpl extends Enum<ImmutableCharSetFactoryImpl> implements ImmutableCharSetFactory
ImmutableCharSetFactoryImpl is a factory implementation which creates instances of type
ImmutableCharSet.
This file was automatically generated from template file immutablePrimitiveSetFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description ImmutableCharSetempty()ImmutableCharSetof()Same asImmutableCharSetFactory.empty().ImmutableCharSetof(char one)Same asImmutableCharSetFactory.with(char).ImmutableCharSetof(char... items)Same asImmutableCharSetFactory.with(char[]).ImmutableCharSetofAll(Iterable<Character> iterable)ImmutableCharSetofAll(CharIterable items)static ImmutableCharSetFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableCharSetFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.ImmutableCharSetwith()Same asImmutableCharSetFactory.empty().ImmutableCharSetwith(char one)ImmutableCharSetwith(char... items)ImmutableCharSetwithAll(Iterable<Character> iterable)ImmutableCharSetwithAll(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 interfaceImmutableCharSetFactory
-
of
Description copied from interface:ImmutableCharSetFactorySame asImmutableCharSetFactory.empty().- Specified by:
ofin interfaceImmutableCharSetFactory
-
with
Description copied from interface:ImmutableCharSetFactorySame asImmutableCharSetFactory.empty().- Specified by:
within interfaceImmutableCharSetFactory
-
of
Description copied from interface:ImmutableCharSetFactorySame asImmutableCharSetFactory.with(char).- Specified by:
ofin interfaceImmutableCharSetFactory
-
with
- Specified by:
within interfaceImmutableCharSetFactory
-
of
Description copied from interface:ImmutableCharSetFactorySame asImmutableCharSetFactory.with(char[]).- Specified by:
ofin interfaceImmutableCharSetFactory
-
with
- Specified by:
within interfaceImmutableCharSetFactory
-
ofAll
Description copied from interface:ImmutableCharSetFactory- Specified by:
ofAllin interfaceImmutableCharSetFactory
-
withAll
- Specified by:
withAllin interfaceImmutableCharSetFactory
-
ofAll
Description copied from interface:ImmutableCharSetFactory- Specified by:
ofAllin interfaceImmutableCharSetFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceImmutableCharSetFactory- Since:
- 10.0
-