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