Enum ImmutableShortStackFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableShortStackFactoryImpl>
org.eclipse.collections.impl.stack.immutable.primitive.ImmutableShortStackFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableShortStackFactoryImpl>
,java.lang.constant.Constable
,ImmutableShortStackFactory
public enum ImmutableShortStackFactoryImpl
extends Enum<ImmutableShortStackFactoryImpl>
implements ImmutableShortStackFactory
ImmutableShortStackFactoryImpl is a factory implementation which creates instances of type
ImmutableShortStack
.
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 asImmutableShortStackFactory.empty()
.of
(short one) of
(short... items) ofAll
(ShortIterable items) ofAllReversed
(ShortIterable items) Returns the enum constant of this type with the specified name.static ImmutableShortStackFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.with()
Same asImmutableShortStackFactory.empty()
.with
(short one) 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 interfaceImmutableShortStackFactory
-
of
Description copied from interface:ImmutableShortStackFactory
Same asImmutableShortStackFactory.empty()
.- Specified by:
of
in interfaceImmutableShortStackFactory
-
with
Description copied from interface:ImmutableShortStackFactory
Same asImmutableShortStackFactory.empty()
.- Specified by:
with
in interfaceImmutableShortStackFactory
-
of
Description copied from interface:ImmutableShortStackFactory
- Specified by:
of
in interfaceImmutableShortStackFactory
-
with
- Specified by:
with
in interfaceImmutableShortStackFactory
-
of
Description copied from interface:ImmutableShortStackFactory
- Specified by:
of
in interfaceImmutableShortStackFactory
-
with
- Specified by:
with
in interfaceImmutableShortStackFactory
-
ofAll
Description copied from interface:ImmutableShortStackFactory
- Specified by:
ofAll
in interfaceImmutableShortStackFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableShortStackFactory
-
ofAll
Description copied from interface:ImmutableShortStackFactory
- Specified by:
ofAll
in interfaceImmutableShortStackFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableShortStackFactory
- Since:
- 10.0
-
ofAllReversed
Description copied from interface:ImmutableShortStackFactory
- Specified by:
ofAllReversed
in interfaceImmutableShortStackFactory
-
withAllReversed
- Specified by:
withAllReversed
in interfaceImmutableShortStackFactory
-