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
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description MutableShortStack
empty()
MutableShortStack
of()
Same asMutableShortStackFactory.empty()
.MutableShortStack
of(short... items)
MutableShortStack
ofAll(Iterable<Short> iterable)
MutableShortStack
ofAll(ShortIterable items)
MutableShortStack
ofAllReversed(ShortIterable items)
static MutableShortStackFactoryImpl
valueOf(String name)
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.MutableShortStack
with()
Same asMutableShortStackFactory.empty()
.MutableShortStack
with(short... items)
MutableShortStack
withAll(Iterable<Short> iterable)
MutableShortStack
withAll(ShortIterable items)
MutableShortStack
withAllReversed(ShortIterable 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 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
-