Enum ImmutableCharStackFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableCharStackFactoryImpl>
org.eclipse.collections.impl.stack.immutable.primitive.ImmutableCharStackFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableCharStackFactoryImpl>,java.lang.constant.Constable,ImmutableCharStackFactory
public enum ImmutableCharStackFactoryImpl extends Enum<ImmutableCharStackFactoryImpl> implements ImmutableCharStackFactory
ImmutableCharStackFactoryImpl is a factory implementation which creates instances of type
ImmutableCharStack.
This file was automatically generated from template file immutablePrimitiveStackFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description ImmutableCharStackempty()ImmutableCharStackof()Same asImmutableCharStackFactory.empty().ImmutableCharStackof(char one)Same asImmutableCharStackFactory.with(char).ImmutableCharStackof(char... items)ImmutableCharStackofAll(Iterable<Character> iterable)ImmutableCharStackofAll(CharIterable items)ImmutableCharStackofAllReversed(CharIterable items)static ImmutableCharStackFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableCharStackFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.ImmutableCharStackwith()Same asImmutableCharStackFactory.empty().ImmutableCharStackwith(char one)ImmutableCharStackwith(char... items)ImmutableCharStackwithAll(Iterable<Character> iterable)ImmutableCharStackwithAll(CharIterable items)ImmutableCharStackwithAllReversed(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 interfaceImmutableCharStackFactory
-
of
Description copied from interface:ImmutableCharStackFactorySame asImmutableCharStackFactory.empty().- Specified by:
ofin interfaceImmutableCharStackFactory
-
with
Description copied from interface:ImmutableCharStackFactorySame asImmutableCharStackFactory.empty().- Specified by:
within interfaceImmutableCharStackFactory
-
of
Description copied from interface:ImmutableCharStackFactorySame asImmutableCharStackFactory.with(char).- Specified by:
ofin interfaceImmutableCharStackFactory
-
with
- Specified by:
within interfaceImmutableCharStackFactory
-
of
Description copied from interface:ImmutableCharStackFactory- Specified by:
ofin interfaceImmutableCharStackFactory
-
with
- Specified by:
within interfaceImmutableCharStackFactory
-
ofAll
Description copied from interface:ImmutableCharStackFactory- Specified by:
ofAllin interfaceImmutableCharStackFactory
-
withAll
- Specified by:
withAllin interfaceImmutableCharStackFactory
-
ofAll
Description copied from interface:ImmutableCharStackFactory- Specified by:
ofAllin interfaceImmutableCharStackFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceImmutableCharStackFactory- Since:
- 10.0
-
ofAllReversed
Description copied from interface:ImmutableCharStackFactory- Specified by:
ofAllReversedin interfaceImmutableCharStackFactory
-
withAllReversed
- Specified by:
withAllReversedin interfaceImmutableCharStackFactory
-