Enum ImmutableByteListFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableByteListFactoryImpl>
org.eclipse.collections.impl.list.immutable.primitive.ImmutableByteListFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableByteListFactoryImpl>
,java.lang.constant.Constable
,ImmutableByteListFactory
public enum ImmutableByteListFactoryImpl extends Enum<ImmutableByteListFactoryImpl> implements ImmutableByteListFactory
ImmutableByteListFactoryImpl is a factory implementation which creates instances of type
ImmutableByteList
.
This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.- Since:
- 3.2.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description ImmutableByteList
empty()
ImmutableByteList
of()
Same asImmutableByteListFactory.empty()
.ImmutableByteList
of(byte one)
Same asImmutableByteListFactory.with(byte)
.ImmutableByteList
of(byte... items)
ImmutableByteList
ofAll(Iterable<Byte> iterable)
ImmutableByteList
ofAll(ByteIterable items)
static ImmutableByteListFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableByteListFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.ImmutableByteList
with()
Same asImmutableByteListFactory.empty()
.ImmutableByteList
with(byte one)
ImmutableByteList
with(byte... items)
ImmutableByteList
withAll(Iterable<Byte> iterable)
ImmutableByteList
withAll(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 interfaceImmutableByteListFactory
-
of
Description copied from interface:ImmutableByteListFactory
Same asImmutableByteListFactory.empty()
.- Specified by:
of
in interfaceImmutableByteListFactory
-
with
Description copied from interface:ImmutableByteListFactory
Same asImmutableByteListFactory.empty()
.- Specified by:
with
in interfaceImmutableByteListFactory
-
of
Description copied from interface:ImmutableByteListFactory
Same asImmutableByteListFactory.with(byte)
.- Specified by:
of
in interfaceImmutableByteListFactory
-
with
- Specified by:
with
in interfaceImmutableByteListFactory
-
of
Description copied from interface:ImmutableByteListFactory
- Specified by:
of
in interfaceImmutableByteListFactory
-
with
- Specified by:
with
in interfaceImmutableByteListFactory
-
ofAll
Description copied from interface:ImmutableByteListFactory
- Specified by:
ofAll
in interfaceImmutableByteListFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableByteListFactory
-
ofAll
Description copied from interface:ImmutableByteListFactory
- Specified by:
ofAll
in interfaceImmutableByteListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableByteListFactory
- Since:
- 10.0
-