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 ImmutableShortStackempty()ImmutableShortStackof()Same asImmutableShortStackFactory.empty().ImmutableShortStackof(short one)ImmutableShortStackof(short... items)ImmutableShortStackofAll(Iterable<Short> iterable)ImmutableShortStackofAll(ShortIterable items)ImmutableShortStackofAllReversed(ShortIterable items)static ImmutableShortStackFactoryImplvalueOf(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.ImmutableShortStackwith()Same asImmutableShortStackFactory.empty().ImmutableShortStackwith(short one)ImmutableShortStackwith(short... items)ImmutableShortStackwithAll(Iterable<Short> iterable)ImmutableShortStackwithAll(ShortIterable items)ImmutableShortStackwithAllReversed(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:
emptyin interfaceImmutableShortStackFactory
-
of
Description copied from interface:ImmutableShortStackFactorySame asImmutableShortStackFactory.empty().- Specified by:
ofin interfaceImmutableShortStackFactory
-
with
Description copied from interface:ImmutableShortStackFactorySame asImmutableShortStackFactory.empty().- Specified by:
within interfaceImmutableShortStackFactory
-
of
Description copied from interface:ImmutableShortStackFactory- Specified by:
ofin interfaceImmutableShortStackFactory
-
with
- Specified by:
within interfaceImmutableShortStackFactory
-
of
Description copied from interface:ImmutableShortStackFactory- Specified by:
ofin interfaceImmutableShortStackFactory
-
with
- Specified by:
within interfaceImmutableShortStackFactory
-
ofAll
Description copied from interface:ImmutableShortStackFactory- Specified by:
ofAllin interfaceImmutableShortStackFactory
-
withAll
- Specified by:
withAllin interfaceImmutableShortStackFactory
-
ofAll
Description copied from interface:ImmutableShortStackFactory- Specified by:
ofAllin interfaceImmutableShortStackFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceImmutableShortStackFactory- Since:
- 10.0
-
ofAllReversed
Description copied from interface:ImmutableShortStackFactory- Specified by:
ofAllReversedin interfaceImmutableShortStackFactory
-
withAllReversed
- Specified by:
withAllReversedin interfaceImmutableShortStackFactory
-