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