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