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 ImmutableDoubleBagempty()ImmutableDoubleBagof()Same asImmutableDoubleBagFactory.empty().ImmutableDoubleBagof(double one)ImmutableDoubleBagof(double... items)ImmutableDoubleBagofAll(Iterable<Double> iterable)ImmutableDoubleBagofAll(DoubleStream items)ImmutableDoubleBagofAll(DoubleIterable items)static ImmutableDoubleBagFactoryImplvalueOf(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.ImmutableDoubleBagwith()Same asImmutableDoubleBagFactory.empty().ImmutableDoubleBagwith(double one)ImmutableDoubleBagwith(double... items)ImmutableDoubleBagwithAll(Iterable<Double> iterable)ImmutableDoubleBagwithAll(DoubleStream items)ImmutableDoubleBagwithAll(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:
emptyin interfaceImmutableDoubleBagFactory
-
of
Description copied from interface:ImmutableDoubleBagFactorySame asImmutableDoubleBagFactory.empty().- Specified by:
ofin interfaceImmutableDoubleBagFactory
-
with
Description copied from interface:ImmutableDoubleBagFactorySame asImmutableDoubleBagFactory.empty().- Specified by:
within interfaceImmutableDoubleBagFactory
-
of
Description copied from interface:ImmutableDoubleBagFactory- Specified by:
ofin interfaceImmutableDoubleBagFactory
-
with
- Specified by:
within interfaceImmutableDoubleBagFactory
-
of
Description copied from interface:ImmutableDoubleBagFactory- Specified by:
ofin interfaceImmutableDoubleBagFactory
-
with
- Specified by:
within interfaceImmutableDoubleBagFactory
-
ofAll
Description copied from interface:ImmutableDoubleBagFactory- Specified by:
ofAllin interfaceImmutableDoubleBagFactory
-
withAll
- Specified by:
withAllin interfaceImmutableDoubleBagFactory
-
ofAll
Description copied from interface:ImmutableDoubleBagFactory- Specified by:
ofAllin interfaceImmutableDoubleBagFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceImmutableDoubleBagFactory- Since:
- 10.0
-
ofAll
- Specified by:
ofAllin interfaceImmutableDoubleBagFactory- Since:
- 9.0
-
withAll
- Specified by:
withAllin interfaceImmutableDoubleBagFactory- Since:
- 9.0
-