Enum ImmutableCharBagFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableCharBagFactoryImpl>
org.eclipse.collections.impl.bag.immutable.primitive.ImmutableCharBagFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableCharBagFactoryImpl>
,java.lang.constant.Constable
,ImmutableCharBagFactory
public enum ImmutableCharBagFactoryImpl extends Enum<ImmutableCharBagFactoryImpl> implements ImmutableCharBagFactory
ImmutableCharBagFactoryImpl is a factory implementation which creates instances of type
ImmutableCharBag
.
This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description ImmutableCharBag
empty()
ImmutableCharBag
of()
Same asImmutableCharBagFactory.empty()
.ImmutableCharBag
of(char one)
Same asImmutableCharBagFactory.with(char)
.ImmutableCharBag
of(char... items)
Same asImmutableCharBagFactory.with(char[])
.ImmutableCharBag
ofAll(Iterable<Character> iterable)
ImmutableCharBag
ofAll(CharIterable items)
static ImmutableCharBagFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableCharBagFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.ImmutableCharBag
with()
Same asImmutableCharBagFactory.empty()
.ImmutableCharBag
with(char one)
ImmutableCharBag
with(char... items)
ImmutableCharBag
withAll(Iterable<Character> iterable)
ImmutableCharBag
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 interfaceImmutableCharBagFactory
-
of
Description copied from interface:ImmutableCharBagFactory
Same asImmutableCharBagFactory.empty()
.- Specified by:
of
in interfaceImmutableCharBagFactory
-
with
Description copied from interface:ImmutableCharBagFactory
Same asImmutableCharBagFactory.empty()
.- Specified by:
with
in interfaceImmutableCharBagFactory
-
of
Description copied from interface:ImmutableCharBagFactory
Same asImmutableCharBagFactory.with(char)
.- Specified by:
of
in interfaceImmutableCharBagFactory
-
with
- Specified by:
with
in interfaceImmutableCharBagFactory
-
of
Description copied from interface:ImmutableCharBagFactory
Same asImmutableCharBagFactory.with(char[])
.- Specified by:
of
in interfaceImmutableCharBagFactory
-
with
- Specified by:
with
in interfaceImmutableCharBagFactory
-
ofAll
Description copied from interface:ImmutableCharBagFactory
- Specified by:
ofAll
in interfaceImmutableCharBagFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableCharBagFactory
-
ofAll
Description copied from interface:ImmutableCharBagFactory
- Specified by:
ofAll
in interfaceImmutableCharBagFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableCharBagFactory
- Since:
- 10.0
-