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 ImmutableCharBagempty()ImmutableCharBagof()Same asImmutableCharBagFactory.empty().ImmutableCharBagof(char one)Same asImmutableCharBagFactory.with(char).ImmutableCharBagof(char... items)Same asImmutableCharBagFactory.with(char[]).ImmutableCharBagofAll(Iterable<Character> iterable)ImmutableCharBagofAll(CharIterable items)static ImmutableCharBagFactoryImplvalueOf(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.ImmutableCharBagwith()Same asImmutableCharBagFactory.empty().ImmutableCharBagwith(char one)ImmutableCharBagwith(char... items)ImmutableCharBagwithAll(Iterable<Character> iterable)ImmutableCharBagwithAll(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 interfaceImmutableCharBagFactory
-
of
Description copied from interface:ImmutableCharBagFactorySame asImmutableCharBagFactory.empty().- Specified by:
ofin interfaceImmutableCharBagFactory
-
with
Description copied from interface:ImmutableCharBagFactorySame asImmutableCharBagFactory.empty().- Specified by:
within interfaceImmutableCharBagFactory
-
of
Description copied from interface:ImmutableCharBagFactorySame asImmutableCharBagFactory.with(char).- Specified by:
ofin interfaceImmutableCharBagFactory
-
with
- Specified by:
within interfaceImmutableCharBagFactory
-
of
Description copied from interface:ImmutableCharBagFactorySame asImmutableCharBagFactory.with(char[]).- Specified by:
ofin interfaceImmutableCharBagFactory
-
with
- Specified by:
within interfaceImmutableCharBagFactory
-
ofAll
Description copied from interface:ImmutableCharBagFactory- Specified by:
ofAllin interfaceImmutableCharBagFactory
-
withAll
- Specified by:
withAllin interfaceImmutableCharBagFactory
-
ofAll
Description copied from interface:ImmutableCharBagFactory- Specified by:
ofAllin interfaceImmutableCharBagFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceImmutableCharBagFactory- Since:
- 10.0
-