Enum MutableByteStackFactoryImpl
java.lang.Object
java.lang.Enum<MutableByteStackFactoryImpl>
org.eclipse.collections.impl.stack.mutable.primitive.MutableByteStackFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<MutableByteStackFactoryImpl>
,java.lang.constant.Constable
,MutableByteStackFactory
public enum MutableByteStackFactoryImpl extends Enum<MutableByteStackFactoryImpl> implements MutableByteStackFactory
MutableByteStackFactoryImpl is a factory implementation which creates instances of type
MutableByteStack
.
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 MutableByteStack
empty()
MutableByteStack
of()
Same asMutableByteStackFactory.empty()
.MutableByteStack
of(byte... items)
Same asMutableByteStackFactory.with(byte[])
.MutableByteStack
ofAll(Iterable<Byte> iterable)
MutableByteStack
ofAll(ByteIterable items)
MutableByteStack
ofAllReversed(ByteIterable items)
static MutableByteStackFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static MutableByteStackFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.MutableByteStack
with()
Same asMutableByteStackFactory.empty()
.MutableByteStack
with(byte... items)
MutableByteStack
withAll(Iterable<Byte> iterable)
MutableByteStack
withAll(ByteIterable items)
MutableByteStack
withAllReversed(ByteIterable 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 interfaceMutableByteStackFactory
-
of
Description copied from interface:MutableByteStackFactory
Same asMutableByteStackFactory.empty()
.- Specified by:
of
in interfaceMutableByteStackFactory
-
with
Description copied from interface:MutableByteStackFactory
Same asMutableByteStackFactory.empty()
.- Specified by:
with
in interfaceMutableByteStackFactory
-
of
Description copied from interface:MutableByteStackFactory
Same asMutableByteStackFactory.with(byte[])
.- Specified by:
of
in interfaceMutableByteStackFactory
-
with
- Specified by:
with
in interfaceMutableByteStackFactory
-
ofAll
Description copied from interface:MutableByteStackFactory
- Specified by:
ofAll
in interfaceMutableByteStackFactory
-
withAll
- Specified by:
withAll
in interfaceMutableByteStackFactory
-
ofAll
Description copied from interface:MutableByteStackFactory
- Specified by:
ofAll
in interfaceMutableByteStackFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceMutableByteStackFactory
- Since:
- 10.0
-
ofAllReversed
Description copied from interface:MutableByteStackFactory
- Specified by:
ofAllReversed
in interfaceMutableByteStackFactory
-
withAllReversed
- Specified by:
withAllReversed
in interfaceMutableByteStackFactory
-