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 ImmutableCharStack
empty()
ImmutableCharStack
of()
Same asImmutableCharStackFactory.empty()
.ImmutableCharStack
of(char one)
Same asImmutableCharStackFactory.with(char)
.ImmutableCharStack
of(char... items)
ImmutableCharStack
ofAll(Iterable<Character> iterable)
ImmutableCharStack
ofAll(CharIterable items)
ImmutableCharStack
ofAllReversed(CharIterable items)
static ImmutableCharStackFactoryImpl
valueOf(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.ImmutableCharStack
with()
Same asImmutableCharStackFactory.empty()
.ImmutableCharStack
with(char one)
ImmutableCharStack
with(char... items)
ImmutableCharStack
withAll(Iterable<Character> iterable)
ImmutableCharStack
withAll(CharIterable items)
ImmutableCharStack
withAllReversed(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 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
-