Enum MutableDoubleSetFactoryImpl
java.lang.Object
java.lang.Enum<MutableDoubleSetFactoryImpl>
org.eclipse.collections.impl.set.mutable.primitive.MutableDoubleSetFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<MutableDoubleSetFactoryImpl>
,java.lang.constant.Constable
,MutableDoubleSetFactory
public enum MutableDoubleSetFactoryImpl extends Enum<MutableDoubleSetFactoryImpl> implements MutableDoubleSetFactory
MutableDoubleSetFactoryImpl is a factory implementation which creates instances of type
MutableDoubleSet
.
This file was automatically generated from template file mutablePrimitiveSetFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description MutableDoubleSet
empty()
MutableDoubleSet
of()
Same asMutableDoubleSetFactory.empty()
.MutableDoubleSet
of(double... items)
MutableDoubleSet
ofAll(Iterable<Double> iterable)
MutableDoubleSet
ofAll(DoubleStream items)
MutableDoubleSet
ofAll(DoubleIterable items)
static MutableDoubleSetFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static MutableDoubleSetFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.MutableDoubleSet
with()
Same asMutableDoubleSetFactory.empty()
.MutableDoubleSet
with(double... items)
MutableDoubleSet
withAll(Iterable<Double> iterable)
MutableDoubleSet
withAll(DoubleStream items)
MutableDoubleSet
withAll(DoubleIterable items)
MutableDoubleSet
withInitialCapacity(int capacity)
Same asMutableDoubleSetFactory.empty()
.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 interfaceMutableDoubleSetFactory
-
of
Description copied from interface:MutableDoubleSetFactory
Same asMutableDoubleSetFactory.empty()
.- Specified by:
of
in interfaceMutableDoubleSetFactory
-
with
Description copied from interface:MutableDoubleSetFactory
Same asMutableDoubleSetFactory.empty()
.- Specified by:
with
in interfaceMutableDoubleSetFactory
-
withInitialCapacity
Description copied from interface:MutableDoubleSetFactory
Same asMutableDoubleSetFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableDoubleSetFactory
-
of
Description copied from interface:MutableDoubleSetFactory
- Specified by:
of
in interfaceMutableDoubleSetFactory
-
with
- Specified by:
with
in interfaceMutableDoubleSetFactory
-
ofAll
Description copied from interface:MutableDoubleSetFactory
- Specified by:
ofAll
in interfaceMutableDoubleSetFactory
-
withAll
- Specified by:
withAll
in interfaceMutableDoubleSetFactory
-
ofAll
Description copied from interface:MutableDoubleSetFactory
- Specified by:
ofAll
in interfaceMutableDoubleSetFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceMutableDoubleSetFactory
- Since:
- 10.0
-
ofAll
- Specified by:
ofAll
in interfaceMutableDoubleSetFactory
- Since:
- 9.0
-
withAll
- Specified by:
withAll
in interfaceMutableDoubleSetFactory
- Since:
- 9.0
-