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