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 ImmutableCharSet
empty()
ImmutableCharSet
of()
Same asImmutableCharSetFactory.empty()
.ImmutableCharSet
of(char one)
Same asImmutableCharSetFactory.with(char)
.ImmutableCharSet
of(char... items)
Same asImmutableCharSetFactory.with(char[])
.ImmutableCharSet
ofAll(Iterable<Character> iterable)
ImmutableCharSet
ofAll(CharIterable items)
static ImmutableCharSetFactoryImpl
valueOf(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.ImmutableCharSet
with()
Same asImmutableCharSetFactory.empty()
.ImmutableCharSet
with(char one)
ImmutableCharSet
with(char... items)
ImmutableCharSet
withAll(Iterable<Character> iterable)
ImmutableCharSet
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 interfaceImmutableCharSetFactory
-
of
Description copied from interface:ImmutableCharSetFactory
Same asImmutableCharSetFactory.empty()
.- Specified by:
of
in interfaceImmutableCharSetFactory
-
with
Description copied from interface:ImmutableCharSetFactory
Same asImmutableCharSetFactory.empty()
.- Specified by:
with
in interfaceImmutableCharSetFactory
-
of
Description copied from interface:ImmutableCharSetFactory
Same asImmutableCharSetFactory.with(char)
.- Specified by:
of
in interfaceImmutableCharSetFactory
-
with
- Specified by:
with
in interfaceImmutableCharSetFactory
-
of
Description copied from interface:ImmutableCharSetFactory
Same asImmutableCharSetFactory.with(char[])
.- Specified by:
of
in interfaceImmutableCharSetFactory
-
with
- Specified by:
with
in interfaceImmutableCharSetFactory
-
ofAll
Description copied from interface:ImmutableCharSetFactory
- Specified by:
ofAll
in interfaceImmutableCharSetFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableCharSetFactory
-
ofAll
Description copied from interface:ImmutableCharSetFactory
- Specified by:
ofAll
in interfaceImmutableCharSetFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableCharSetFactory
- Since:
- 10.0
-