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
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionempty()
of()
Same asImmutableCharStackFactory.empty()
.of
(char one) Same asImmutableCharStackFactory.with(char)
.of
(char... items) ofAll
(CharIterable items) ofAllReversed
(CharIterable items) 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.with()
Same asImmutableCharStackFactory.empty()
.with
(char one) with
(char... items) withAll
(CharIterable items) withAllReversed
(CharIterable items) Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INSTANCE
-
-
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 interfaceImmutableCharStackFactory
-
of
Description copied from interface:ImmutableCharStackFactory
Same asImmutableCharStackFactory.empty()
.- Specified by:
of
in interfaceImmutableCharStackFactory
-
with
Description copied from interface:ImmutableCharStackFactory
Same asImmutableCharStackFactory.empty()
.- Specified by:
with
in interfaceImmutableCharStackFactory
-
of
Description copied from interface:ImmutableCharStackFactory
Same asImmutableCharStackFactory.with(char)
.- Specified by:
of
in interfaceImmutableCharStackFactory
-
with
- Specified by:
with
in interfaceImmutableCharStackFactory
-
of
Description copied from interface:ImmutableCharStackFactory
- Specified by:
of
in interfaceImmutableCharStackFactory
-
with
- Specified by:
with
in interfaceImmutableCharStackFactory
-
ofAll
Description copied from interface:ImmutableCharStackFactory
- Specified by:
ofAll
in interfaceImmutableCharStackFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableCharStackFactory
-
ofAll
Description copied from interface:ImmutableCharStackFactory
- Specified by:
ofAll
in interfaceImmutableCharStackFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableCharStackFactory
- Since:
- 10.0
-
ofAllReversed
Description copied from interface:ImmutableCharStackFactory
- Specified by:
ofAllReversed
in interfaceImmutableCharStackFactory
-
withAllReversed
- Specified by:
withAllReversed
in interfaceImmutableCharStackFactory
-