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