Enum MutableShortStackFactoryImpl
java.lang.Object
java.lang.Enum<MutableShortStackFactoryImpl>
org.eclipse.collections.impl.stack.mutable.primitive.MutableShortStackFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<MutableShortStackFactoryImpl>
,java.lang.constant.Constable
,MutableShortStackFactory
public enum MutableShortStackFactoryImpl
extends Enum<MutableShortStackFactoryImpl>
implements MutableShortStackFactory
MutableShortStackFactoryImpl is a factory implementation which creates instances of type
MutableShortStack
.
This file was automatically generated from template file mutablePrimitiveStackFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
of()
Same asMutableShortStackFactory.empty()
.of
(short... items) ofAll
(ShortIterable items) ofAllReversed
(ShortIterable items) static MutableShortStackFactoryImpl
Returns the enum constant of this type with the specified name.static MutableShortStackFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.with()
Same asMutableShortStackFactory.empty()
.with
(short... items) withAll
(ShortIterable items) withAllReversed
(ShortIterable 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 interfaceMutableShortStackFactory
-
of
Description copied from interface:MutableShortStackFactory
Same asMutableShortStackFactory.empty()
.- Specified by:
of
in interfaceMutableShortStackFactory
-
with
Description copied from interface:MutableShortStackFactory
Same asMutableShortStackFactory.empty()
.- Specified by:
with
in interfaceMutableShortStackFactory
-
of
Description copied from interface:MutableShortStackFactory
- Specified by:
of
in interfaceMutableShortStackFactory
-
with
- Specified by:
with
in interfaceMutableShortStackFactory
-
ofAll
Description copied from interface:MutableShortStackFactory
- Specified by:
ofAll
in interfaceMutableShortStackFactory
-
withAll
- Specified by:
withAll
in interfaceMutableShortStackFactory
-
ofAll
Description copied from interface:MutableShortStackFactory
- Specified by:
ofAll
in interfaceMutableShortStackFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceMutableShortStackFactory
- Since:
- 10.0
-
ofAllReversed
Description copied from interface:MutableShortStackFactory
- Specified by:
ofAllReversed
in interfaceMutableShortStackFactory
-
withAllReversed
- Specified by:
withAllReversed
in interfaceMutableShortStackFactory
-