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 MutableShortStackempty()MutableShortStackof()Same asMutableShortStackFactory.empty().MutableShortStackof(short... items)MutableShortStackofAll(Iterable<Short> iterable)MutableShortStackofAll(ShortIterable items)MutableShortStackofAllReversed(ShortIterable items)static MutableShortStackFactoryImplvalueOf(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.MutableShortStackwith()Same asMutableShortStackFactory.empty().MutableShortStackwith(short... items)MutableShortStackwithAll(Iterable<Short> iterable)MutableShortStackwithAll(ShortIterable items)MutableShortStackwithAllReversed(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 interfaceMutableShortStackFactory
-
of
Description copied from interface:MutableShortStackFactorySame asMutableShortStackFactory.empty().- Specified by:
ofin interfaceMutableShortStackFactory
-
with
Description copied from interface:MutableShortStackFactorySame asMutableShortStackFactory.empty().- Specified by:
within interfaceMutableShortStackFactory
-
of
Description copied from interface:MutableShortStackFactory- Specified by:
ofin interfaceMutableShortStackFactory
-
with
- Specified by:
within interfaceMutableShortStackFactory
-
ofAll
Description copied from interface:MutableShortStackFactory- Specified by:
ofAllin interfaceMutableShortStackFactory
-
withAll
- Specified by:
withAllin interfaceMutableShortStackFactory
-
ofAll
Description copied from interface:MutableShortStackFactory- Specified by:
ofAllin interfaceMutableShortStackFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceMutableShortStackFactory- Since:
- 10.0
-
ofAllReversed
Description copied from interface:MutableShortStackFactory- Specified by:
ofAllReversedin interfaceMutableShortStackFactory
-
withAllReversed
- Specified by:
withAllReversedin interfaceMutableShortStackFactory
-