Enum ImmutableDoubleSetFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableDoubleSetFactoryImpl>
org.eclipse.collections.impl.set.immutable.primitive.ImmutableDoubleSetFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableDoubleSetFactoryImpl>
,java.lang.constant.Constable
,ImmutableDoubleSetFactory
public enum ImmutableDoubleSetFactoryImpl extends Enum<ImmutableDoubleSetFactoryImpl> implements ImmutableDoubleSetFactory
ImmutableDoubleSetFactoryImpl is a factory implementation which creates instances of type
ImmutableDoubleSet
.
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 ImmutableDoubleSet
empty()
ImmutableDoubleSet
of()
Same asImmutableDoubleSetFactory.empty()
.ImmutableDoubleSet
of(double one)
ImmutableDoubleSet
of(double... items)
ImmutableDoubleSet
ofAll(Iterable<Double> iterable)
ImmutableDoubleSet
ofAll(DoubleStream items)
ImmutableDoubleSet
ofAll(DoubleIterable items)
static ImmutableDoubleSetFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableDoubleSetFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.ImmutableDoubleSet
with()
Same asImmutableDoubleSetFactory.empty()
.ImmutableDoubleSet
with(double one)
ImmutableDoubleSet
with(double... items)
ImmutableDoubleSet
withAll(Iterable<Double> iterable)
ImmutableDoubleSet
withAll(DoubleStream items)
ImmutableDoubleSet
withAll(DoubleIterable 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 interfaceImmutableDoubleSetFactory
-
of
Description copied from interface:ImmutableDoubleSetFactory
Same asImmutableDoubleSetFactory.empty()
.- Specified by:
of
in interfaceImmutableDoubleSetFactory
-
with
Description copied from interface:ImmutableDoubleSetFactory
Same asImmutableDoubleSetFactory.empty()
.- Specified by:
with
in interfaceImmutableDoubleSetFactory
-
of
Description copied from interface:ImmutableDoubleSetFactory
- Specified by:
of
in interfaceImmutableDoubleSetFactory
-
with
- Specified by:
with
in interfaceImmutableDoubleSetFactory
-
of
Description copied from interface:ImmutableDoubleSetFactory
- Specified by:
of
in interfaceImmutableDoubleSetFactory
-
with
- Specified by:
with
in interfaceImmutableDoubleSetFactory
-
ofAll
Description copied from interface:ImmutableDoubleSetFactory
- Specified by:
ofAll
in interfaceImmutableDoubleSetFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableDoubleSetFactory
-
ofAll
Description copied from interface:ImmutableDoubleSetFactory
- Specified by:
ofAll
in interfaceImmutableDoubleSetFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableDoubleSetFactory
- Since:
- 10.0
-
ofAll
- Specified by:
ofAll
in interfaceImmutableDoubleSetFactory
- Since:
- 9.0
-
withAll
- Specified by:
withAll
in interfaceImmutableDoubleSetFactory
- Since:
- 9.0
-