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