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