Enum ImmutableByteStackFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableByteStackFactoryImpl>
org.eclipse.collections.impl.stack.immutable.primitive.ImmutableByteStackFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableByteStackFactoryImpl>,java.lang.constant.Constable,ImmutableByteStackFactory
public enum ImmutableByteStackFactoryImpl extends Enum<ImmutableByteStackFactoryImpl> implements ImmutableByteStackFactory
ImmutableByteStackFactoryImpl is a factory implementation which creates instances of type
ImmutableByteStack.
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 ImmutableByteStackempty()ImmutableByteStackof()Same asImmutableByteStackFactory.empty().ImmutableByteStackof(byte one)Same asImmutableByteStackFactory.with(byte).ImmutableByteStackof(byte... items)ImmutableByteStackofAll(Iterable<Byte> iterable)ImmutableByteStackofAll(ByteIterable items)ImmutableByteStackofAllReversed(ByteIterable items)static ImmutableByteStackFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableByteStackFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.ImmutableByteStackwith()Same asImmutableByteStackFactory.empty().ImmutableByteStackwith(byte one)ImmutableByteStackwith(byte... items)ImmutableByteStackwithAll(Iterable<Byte> iterable)ImmutableByteStackwithAll(ByteIterable items)ImmutableByteStackwithAllReversed(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:
emptyin interfaceImmutableByteStackFactory
-
of
Description copied from interface:ImmutableByteStackFactorySame asImmutableByteStackFactory.empty().- Specified by:
ofin interfaceImmutableByteStackFactory
-
with
Description copied from interface:ImmutableByteStackFactorySame asImmutableByteStackFactory.empty().- Specified by:
within interfaceImmutableByteStackFactory
-
of
Description copied from interface:ImmutableByteStackFactorySame asImmutableByteStackFactory.with(byte).- Specified by:
ofin interfaceImmutableByteStackFactory
-
with
- Specified by:
within interfaceImmutableByteStackFactory
-
of
Description copied from interface:ImmutableByteStackFactory- Specified by:
ofin interfaceImmutableByteStackFactory
-
with
- Specified by:
within interfaceImmutableByteStackFactory
-
ofAll
Description copied from interface:ImmutableByteStackFactory- Specified by:
ofAllin interfaceImmutableByteStackFactory
-
withAll
- Specified by:
withAllin interfaceImmutableByteStackFactory
-
ofAll
Description copied from interface:ImmutableByteStackFactory- Specified by:
ofAllin interfaceImmutableByteStackFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceImmutableByteStackFactory- Since:
- 10.0
-
ofAllReversed
Description copied from interface:ImmutableByteStackFactory- Specified by:
ofAllReversedin interfaceImmutableByteStackFactory
-
withAllReversed
- Specified by:
withAllReversedin interfaceImmutableByteStackFactory
-